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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a1a;
    color: #e0e0e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.logo-icon {
    border-radius: 7px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #b0b0c0;
    transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

.nav-download-btn {
    background: #8b9cf7;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.2s, transform 0.15s;
}

.nav-download-btn:hover {
    background: #9dacff;
    transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-app-icon {
    width: 136px;
    height: 136px;
    margin: 0 auto 28px;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), 0 0 45px rgba(255, 255, 255, 0.08);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #9090b0;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 16px; }

.app-store-btn {
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s, box-shadow 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 156, 247, 0.25);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 280px;
    height: auto;
    border-radius: 36px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 156, 247, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(139, 156, 247, 0.12);
}

/* ── Features ── */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.features h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 60px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 32px;
    transition: border-color 0.3s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(139, 156, 247, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    color: #8b9cf7;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: #8888a8;
    line-height: 1.65;
}

/* ── Screenshots ── */
.screenshots {
    padding: 80px 0 100px;
    overflow: hidden;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 50px;
}

.screenshot-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px;
}

.screenshot-scroll::-webkit-scrollbar { display: none; }

.screenshot-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 10px 0;
}

.screenshot-track img {
    width: 260px;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.screenshot-track img:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 156, 247, 0.1);
}

/* ── How It Works ── */
.how-it-works {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 180px;
    padding: 0 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b9cf7, #6b7de0);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(139, 156, 247, 0.25);
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.88rem;
    color: #8888a8;
    line-height: 1.6;
}

.step-line {
    width: 60px;
    height: 2px;
    background: rgba(139, 156, 247, 0.25);
    margin-top: 24px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .steps { flex-direction: column; align-items: center; }
    .step-line { width: 2px; height: 40px; margin: 0; }
    .step { min-width: 0; max-width: 360px; }
}

/* ── Privacy Banner ── */
.privacy-banner {
    background: rgba(139, 156, 247, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 24px;
}

.privacy-banner-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.privacy-banner-content svg {
    color: #8b9cf7;
    margin-bottom: 20px;
}

.privacy-banner-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.privacy-banner-content p {
    font-size: 1rem;
    color: #9090b0;
    line-height: 1.7;
    margin-bottom: 24px;
}

.text-link {
    color: #8b9cf7;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.text-link:hover { color: #b3c0ff; }

/* ── Footer ── */
.footer {
    padding: 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #707088;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #707088;
    transition: color 0.2s;
}

.footer-links a:hover { color: #8b9cf7; }

.footer-copy {
    font-size: 0.82rem;
    color: #505070;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ── Legal Pages (Privacy & Support) ── */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

.legal-page h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 8px;
}

.last-updated {
    color: #606080;
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-page section {
    margin-bottom: 44px;
}

.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #d0d0e0;
    margin-bottom: 8px;
}

.legal-page p, .legal-page li {
    font-size: 0.95rem;
    color: #9090b0;
    line-height: 1.75;
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 10px;
}

.legal-page a {
    color: #8b9cf7;
    transition: color 0.2s;
}

.legal-page a:hover { color: #b3c0ff; }

/* ── Support Page ── */
.support-intro {
    color: #9090b0;
    font-size: 1.1rem;
    margin: -24px 0 48px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(139, 156, 247, 0.2);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #d0d0e0;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: #8080a0;
    line-height: 1.7;
}

.contact-section {
    background: rgba(139, 156, 247, 0.05);
    border: 1px solid rgba(139, 156, 247, 0.12);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    margin-top: 48px;
}

.contact-section h2 {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.contact-section p {
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0a0a1a;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.15s, box-shadow 0.2s;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 156, 247, 0.25);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 40px;
        gap: 40px;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero-app-icon {
        width: 120px;
        height: 120px;
        border-radius: 27px;
    }
    .hero-cta { justify-content: center; }
    .hero-image { width: 220px; }

    .features h2, .screenshots h2, .how-it-works h2 {
        font-size: 2rem;
    }

    .nav-links a:not(.nav-download-btn) { display: none; }
    .nav-links { gap: 12px; }

    .legal-page h1 { font-size: 2.2rem; }

    .contact-section { padding: 28px 20px; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-app-icon {
        width: 104px;
        height: 104px;
        border-radius: 23px;
        margin-bottom: 22px;
    }
    .hero-image { width: 180px; }
    .feature-grid { grid-template-columns: 1fr; }
    .screenshot-track img { width: 200px; }
}
