/* Custom Properties / Variables */
:root {
    --color-primary: #00C2FF;
    --color-secondary: #8b5cf6;
    --color-dark-accent: #0099D6;
    --brand-gradient: linear-gradient(135deg, #8b5cf6, #00C2FF);

    --bg-true-black: #000000;
    --bg-slate: #0F172A;
    --bg-dark: #0A0A0A;
    --bg-purple: var(--color-primary);
    --bg-black: #050505;
    --bg-neon-dark: #121212;

    --text-primary: #FFFFFF;
    --text-dark: #000000;
    --text-accent: var(--color-primary);
    --text-yellow: var(--bg-true-black);
    --text-neon: var(--color-secondary);
    --text-white: #FFFFFF;
    --text-muted: #A0A0A0;

    --font-primary: 'Outfit', sans-serif;
    
    --radius-pill: 100px;
    --radius-card: 40px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Typography Scale */
.headline-xl {
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.headline-md {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.headline-sm {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    max-width: 600px;
    margin: 1.5rem auto 3rem;
    color: var(--text-muted);
}

.large-body {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-muted);
}

.text-accent { color: var(--text-accent); }
.text-yellow { color: var(--text-yellow); }
.text-neon { color: var(--text-neon); }
.text-white { color: var(--text-white); }
.text-center { text-align: center; }

/* Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.bg-purple { 
    background: var(--brand-gradient);
    color: var(--bg-true-black);
}
.bg-purple .text-white {
    color: rgba(0,0,0,0.8);
}

.bg-dark { background-color: var(--bg-dark); }
.bg-black { background-color: var(--bg-black); }
.bg-neon-dark { background-color: var(--bg-neon-dark); }
.bg-true-black { background-color: var(--bg-true-black); }

/* Buttons */
.pill-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--bg-true-black);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00c9a1, #00a8e0);
    box-shadow: 0 10px 20px rgba(0, 194, 255, 0.3);
}

.btn-neon {
    background-color: var(--text-neon);
    color: var(--text-dark);
}

.btn-dark {
    background-color: var(--bg-true-black);
    color: var(--text-white);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--brand-gradient);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 15vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-slate);
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 153, 214, 0.4) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.headline-hero {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtext-new {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    max-width: 550px;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 194, 255, 0.2);
}

.app-icon {
    width: 32px;
    height: 32px;
    fill: var(--text-white);
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-btn-text .small {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.app-btn-text .big {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.micro-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    padding-left: 0.5rem;
}

.hero-visuals-stacked {
    position: relative;
    width: 100%;
    height: 700px;
    perspective: 1000px;
}

.phone-mockup {
    position: absolute;
    width: 320px;
    border-radius: 44px;
    padding: 12px;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.phone-mockup img {
    border-radius: 32px;
    width: 100%;
}

.phone-back {
    top: 50px;
    right: 15%;
    transform: rotate(5deg) scale(0.9);
    opacity: 0.8;
    animation: float-back 8s ease-in-out infinite;
}

.phone-front {
    top: 120px;
    left: 5%;
    transform: rotate(-3deg);
    z-index: 2;
    animation: float-front 6s ease-in-out infinite;
    box-shadow: -20px 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.15);
}

@keyframes float-front {
    0% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    100% { transform: translateY(0) rotate(-3deg); }
}

@keyframes float-back {
    0% { transform: translateY(0) rotate(5deg) scale(0.9); }
    50% { transform: translateY(-20px) rotate(5deg) scale(0.9); }
    100% { transform: translateY(0) rotate(5deg) scale(0.9); }
}

@media (max-width: 1024px) {
    .phone-mockup { width: 280px; }
    .hero-visuals-stacked { height: 600px; }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
    .hero-container {
        display: flex;
        flex-direction: column-reverse; /* Puts mockups on top */
        text-align: center;
        gap: 3rem;
    }
    .hero-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 10;
        position: relative;
    }
    .app-btn-text { text-align: left; }
    .app-buttons { justify-content: center; }
    .hero-visuals-stacked {
        height: 380px;
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
        position: relative;
    }
    .phone-mockup {
        width: 200px;
    }
    .phone-back { right: 0; top: 0; transform: rotate(5deg); }
    .phone-front { left: 0; top: 40px; transform: rotate(-3deg); }
}

/* Product Explanation Carousel */
.explanation-section {
    padding: 8rem 0;
    overflow: hidden;
}

.carousel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-text-col {
    position: relative;
    height: 250px;
}

.carousel-item {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.carousel-visual-col {
    display: flex;
    justify-content: center;
}

.phone-mockup-carousel {
    position: relative;
    width: 300px;
    height: 620px;
    border-radius: 44px;
    padding: 12px;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,230,184,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.slide-img {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    border-radius: 32px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

@media (max-width: 900px) {
    .carousel-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .carousel-item {
        transform: translateY(0) translateX(0);
        position: relative;
        top: 0;
        display: none;
    }
    .carousel-item.active {
        display: block;
    }
    .carousel-text-col {
        height: auto;
        min-height: 180px;
    }
}

/* Feature Blocks */
.features-section {
    padding: 8rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pill-card {
    border-radius: var(--radius-card);
    padding: 3rem 2rem;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
    background-size: cover;
    background-position: center;
}

.pill-card:hover {
    transform: translateY(-5px);
}

.outline-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}

.outline-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.1);
}

.neon-outline {
    border-color: var(--color-secondary);
    background: linear-gradient(145deg, rgba(0,230,184,0.05) 0%, rgba(0,230,184,0.01) 100%);
}

.neon-outline:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0,230,184,0.15);
}

.solid-card {
    background-color: var(--text-neon);
    color: var(--bg-true-black);
}

.card-content h3 {
    margin-bottom: 1rem;
}

.solid-card .card-content p {
    color: rgba(0,0,0,0.7);
}

.outline-card .card-content p {
    color: var(--text-muted);
}

/* App Screenshots section */
.screenshots-section {
    padding: 8rem 0;
}

.screenshot-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone-frame {
    width: 300px;
    border-radius: 40px;
    overflow: hidden;
    padding: 2.5rem 1rem 1rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.phone-frame img {
    border-radius: 20px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-bg-1 { background-color: #2A1B3D; }
.mockup-bg-2 { background-color: #0A0A0A; }
.mockup-bg-3 { background-color: #1a1a2e; }

.transform-up {
    transform: translateY(-40px);
}

@media (max-width: 992px) {
    .screenshot-grid {
        flex-direction: column;
    }
    .transform-up {
        transform: translateY(0);
    }
}

/* Economy Section */
.economy-section {
    padding: 8rem 0;
}

/* Community Section */
.community-section {
    padding: 8rem 0;
    background-color: var(--bg-black);
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.flex-row > div {
    flex: 1;
}

.rounded-screenshot {
    border-radius: var(--radius-card);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
        text-align: center;
    }
}

/* Final CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    border-radius: 60px;
    padding: 6rem 2rem;
}

.cta-subtext {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    height: 30px;
    margin-bottom: 2rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-white);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; align-items: center; }
}

/* Utility Carousel */
.utility-section {
    padding: 8rem 0;
    overflow: hidden;
}

.utility-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.utility-carousel::-webkit-scrollbar {
    display: none;
}

.utility-card {
    min-width: 100%;
    scroll-snap-align: start;
    background: linear-gradient(145deg, #111827, #0f172a);
    border: 1px solid #2A3441;
    border-radius: 32px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.utility-card:hover {
    border-color: #00C2FF;
}

.utility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.utility-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #F8FAFC;
    font-size: 1.125rem;
}

.utility-list svg {
    width: 24px;
    height: 24px;
    color: #8b5cf6;
    flex-shrink: 0;
}

.utility-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.utility-img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,230,184,0.15));
}

@media (max-width: 900px) {
    .utility-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    background-color: #111827;
    padding: 8rem 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #1A2332;
    border: 1px solid #2A3441;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #00C2FF;
    box-shadow: 0 4px 20px rgba(0, 194, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F8FAFC;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: #8b5cf6;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    color: #94A3B8;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #8b5cf6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

.text-slate-400 { color: #94A3B8; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
