:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --accent: #22d3ee;
    --dark-bg: #020617;
    --dark-card: rgba(30, 41, 59, 0.5);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-hero: radial-gradient(circle at top right, #1e1b4b 0%, #020617 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --shadow-premium: 0 0 40px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-weight: 700;
}

.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Background Blooms - Match App Onboarding */
.bloom {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: bloomFloat 20s infinite alternate ease-in-out;
}

.bloom-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.bloom-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 10%;
    left: -50px;
    animation-delay: -5s;
}

.bloom-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes bloomFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
    text-shadow: 0 0 15px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 560px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

.app-mockup-container {
    position: relative;
    z-index: 1;
}

.app-preview {
    width: 100%;
    max-width: 480px;
    border-radius: 48px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.app-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    border: none;
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.6);
}

.btn-badge {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-badge:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

.app-store-badge {
    height: 54px;
    display: block;
}

.navbar-badge {
    height: 40px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.subtitle {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    word-wrap: break-word;
}

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

.feature-card {
    background: var(--glass-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 12rem 0;
    text-align: center;
    background: transparent;
    position: relative;
}

.cta-glass {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    padding: 6rem 4rem;
    border-radius: 48px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    max-width: 1000px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    padding: 10rem 0;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

/* Footer */
.footer {
    padding: 8rem 0 4rem;
    background: #020617;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 8rem;
    margin-bottom: 6rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-group h5 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        margin: 0 auto 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .app-preview {
        transform: none;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--white);
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 3.5rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-glass {
        padding: 4rem 2rem;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .subtitle {
        font-size: 2.25rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .cta-glass {
        padding: 4rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}