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

body {
    font-family: 'DM Sans', sans-serif;
    scroll-behavior: smooth;
    background: #0a0e1a;
    color: #e8edf5;
    overflow-x: hidden;
}

.space-mono { font-family: 'Space Mono', monospace; }

:root {
    --primary: #57a5d8;
    --primary-dark: #4b7ca9;
    --accent: #3d6a99;
    --accent-glow: #57a5d844;
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --text-light: #e8edf5;
    --text-muted: #8b94a8;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(87, 165, 216, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(75, 124, 169, 0.08) 0%, transparent 50%),
            #0a0e1a;
    z-index: 0;
}

.animated-grid {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(87, 165, 216, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(87, 165, 216, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(87, 165, 216, 0.3);
    transform: translateY(-8px);
    box-shadow:
            0 20px 60px rgba(87, 165, 216, 0.15),
            0 0 0 1px rgba(87, 165, 216, 0.2) inset;
}

.iphone-mockup {
    position: relative;
    border: 12px solid #1a1d29;
    border-radius: 3.5rem;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.iphone-mockup-wrapper {
    position: relative;
    padding: 2rem;
}

.iphone-mockup-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(87, 165, 216, 0.15), transparent 70%);
    border-radius: 3.5rem;
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.iphone-mockup-wrapper:hover::before {
    opacity: 1;
}

.iphone-mockup-wrapper:hover .iphone-mockup {
    transform: scale(1.05) rotateY(5deg);
    box-shadow:
            0 50px 100px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 80px rgba(87, 165, 216, 0.4);
}

.iphone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1a1d29;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    font-weight: 700;
    padding: 18px 42px;
    border-radius: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(87, 165, 216, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(87, 165, 216, 0.5);
}

.accent-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 16px var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 24px rgba(87, 165, 216, 0.3);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover .feature-icon::after {
    opacity: 0.3;
}

.testimonial {
    background: linear-gradient(135deg, rgba(87, 165, 216, 0.05), rgba(75, 124, 169, 0.05));
    border: 1px solid rgba(87, 165, 216, 0.2);
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(87, 165, 216, 0.1);
    font-family: Georgia, serif;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    padding-left: 1rem;
}

.faq-item h3::before {
    content: '→';
    margin-right: 1rem;
    color: var(--primary);
    transition: transform 0.3s;
    display: inline-block;
}

.faq-item:hover h3::before {
    transform: translateX(8px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

.store-badge {
    height: 60px;
    transition: all 0.3s;
    filter: brightness(0.9);
}

.store-badge:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.section-header {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

@media (max-width: 768px) {
    .section-header {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-header::after {
        width: 60px;
        height: 4px;
        bottom: -12px;
    }

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

    header h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    header p {
        font-size: 1rem;
    }

    .accent-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .glass-card h3 {
        font-size: 1.25rem;
    }

    .iphone-mockup {
        border-width: 8px;
        border-radius: 2.5rem;
    }

    .iphone-mockup::before {
        width: 80px;
        height: 20px;
        top: 15px;
    }

    .iphone-mockup-wrapper {
        padding: 1rem;
    }

    .float {
        animation: none;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .testimonial::before {
        font-size: 80px;
        top: -10px;
        left: 10px;
    }

    .faq-item {
        padding: 1rem 0;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .faq-item:hover {
        padding-left: 0.5rem;
    }

    .store-badge {
        height: 48px;
    }

    section .glass-card.p-16 {
        padding: 2rem !important;
    }

    section .glass-card h2 {
        font-size: 2rem !important;
    }

    section .glass-card p {
        font-size: 1rem;
    }

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

    .py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .py-24 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    header.min-h-screen {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .grid.gap-16 {
        gap: 3rem;
    }

    .grid.gap-12 {
        gap: 2rem;
    }

    .grid.gap-8 {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem !important;
    }

    .section-header {
        font-size: 1.75rem;
    }

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

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .flex.flex-wrap.gap-6 {
        flex-direction: column;
    }

    .flex.flex-wrap.gap-4 {
        justify-content: center;
    }
}