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

:root {
    --bg: #ffffff;
    --bg-card: #f9f7ff;
    --bg-card-hover: #f4f0ff;
    --text: #111827;
    --text-muted: #6b7280;
    --accent: #7c3aed;
    --accent-2: #a855f7;
    --gradient: linear-gradient(135deg, #7c3aed, #a855f7);
    --border: #e9d5ff;
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-align: center; margin-bottom: 16px; }
h3 { font-size: 1.2rem; }

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; text-align: center; }

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(124, 58, 237, 0.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Hero === */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: #ffffff;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero h1 { margin-bottom: 28px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-list {
    list-style: none;
    max-width: 520px;
    margin: 0 auto 36px;
    text-align: left;
    display: inline-block;
}
.hero-list li {
    padding: 8px 0;
    font-size: 1.15rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 24px;
}
.hero-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-cta { margin-bottom: 48px; }
.hero-price {
    display: block;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

/* === Problem === */
.problem { padding: 80px 0; background: #faf5ff; }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.problem-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}
.problem-icon { font-size: 2.5rem; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-muted); }

/* === How It Works === */
.how-it-works { padding: 80px 0; background: #ffffff; }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.step {
    text-align: center;
    position: relative;
}
.step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}
.step-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* === Features === */
.features { padding: 80px 0; background: #faf5ff; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.feature {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
}
.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent-2);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* === Pricing === */
.pricing { padding: 80px 0; background: #ffffff; }
.pricing-card {
    max-width: 420px;
    margin: 48px auto 0;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.12);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}
.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 24px 0 8px;
}
.price-dollar { font-size: 1.5rem; font-weight: 600; margin-top: 8px; }
.price-num { font-size: 4rem; font-weight: 800; line-height: 1; }
.price-period { font-size: 1rem; color: var(--text-muted); margin-top: auto; margin-bottom: 8px; }
.price-daily { color: var(--accent); margin-bottom: 24px; font-size: 1rem; }
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}
.pricing-features li {
    padding: 8px 0 8px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Social Proof === */
.social-proof { padding: 80px 0; background: #faf5ff; }
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.proof-stat {
    text-align: center;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.proof-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.proof-stat p { color: var(--text-muted); }

/* === FAQ === */
.faq { padding: 80px 0; background: #ffffff; }
.faq-list {
    max-width: 700px;
    margin: 48px auto 0;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}
.faq-item.active .faq-q::after {
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}
.faq-a p { color: var(--text-muted); line-height: 1.7; }

/* === Final CTA === */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #faf5ff 0%, #f4f0ff 100%);
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta > .container > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}
.cta-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === Footer === */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 24px; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === Mobile === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
    }
    .mobile-menu { display: block; }
    .hero { padding: 120px 0 60px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.5rem; }
    .steps { gap: 24px; }
    .step-num { right: calc(50% - 60px); }
    .proof-grid { gap: 16px; }
    .footer-links { flex-wrap: wrap; }
}

/* === Animations === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-badge, .hero-sub, .hero-cta, .hero-stats {
    animation: fadeUp 0.6s ease-out both;
}
.hero-badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }
