*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #111216;
    --bg-elevated: #111216;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-glow: rgba(99,102,241,0.15);
    --primary-subtle: rgba(99,102,241,0.08);
    --green: #22c55e;
    --green-subtle: rgba(34,197,94,0.08);
    --amber: #f59e0b;
    --amber-subtle: rgba(245,158,11,0.08);
    --red: #ef4444;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); }
::selection { background: rgba(99,102,241,0.3); }

/* NAVBAR */
.navbar {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 1000;
    display: flex; align-items: center; gap: 2px; padding: 6px 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(17,18,22,0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; animation: navIn 0.6s ease 0.3s forwards;
}
.nav-logo {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: var(--radius-full);
    transition: background 0.2s;
}
.nav-logo:hover { background: rgba(255,255,255,0.04); }
.nav-logo svg { width: 18px; height: 18px; color: var(--primary-hover); }
.nav-logo span {
    font-family: var(--font-display); font-size: 14px; font-weight: 600;
    letter-spacing: -0.02em;
}
.nav-sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }
.nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--radius-full);
    font-size: 13px; color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link svg { width: 14px; height: 14px; }
.nav-auth {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    border: none; color: var(--text); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: background 0.2s;
}
.nav-auth:hover { background: rgba(255,255,255,0.1); }
.nav-auth svg { width: 14px; height: 14px; }

/* HERO */
.hero {
    position: relative; min-height: 100vh; width: 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; overflow: hidden;
}
.hero-glow {
    position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12), transparent 70%);
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}
.hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 20px;
    opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 12px; font-weight: 500; color: var(--text-muted);
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(34,197,94,0.5);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600; line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 700px;
}
.hero-title .accent {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary), #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    max-width: 480px; margin-top: 20px;
    font-size: 16px; line-height: 1.7; color: var(--text-muted);
}
.hero-btns {
    display: flex; gap: 12px; margin-top: 36px;
    flex-wrap: wrap; justify-content: center;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 28px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 500; cursor: pointer;
    border: none; transition: all 0.25s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.2s; }
.btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 0 20px var(--primary-glow), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 30px rgba(99,102,241,0.25), 0 6px 20px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--border-hover); color: var(--text); }

/* SECTIONS */
.section { position: relative; width: 100%; padding: 100px 20px; }
@media (min-width: 768px) { .section { padding: 120px 32px; } }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: var(--radius-full);
    border: 1px solid rgba(99,102,241,0.2);
    background: var(--primary-subtle);
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--primary-hover);
    margin-bottom: 20px;
}
.badge svg { width: 12px; height: 12px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600; line-height: 1.1;
    letter-spacing: -0.03em;
}
.section-desc {
    max-width: 520px; margin: 14px auto 0;
    font-size: 15px; line-height: 1.7; color: var(--text-muted);
}

/* BENTO */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento-card {
    position: relative; padding: 28px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); background: var(--bg-card);
    overflow: hidden; transition: border-color 0.3s, background 0.3s;
}
.bento-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.bento-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.bento-card:hover::before { opacity: 1; }
.bento-icon {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); margin-bottom: 18px;
}
.bento-icon svg { width: 20px; height: 20px; color: var(--text-muted); }
.bento-card:hover .bento-icon svg { color: var(--primary-hover); }
.bento-num {
    font-size: 11px; font-weight: 700; color: var(--primary-hover);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.bento-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.bento-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* HOW IT WORKS */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step {
    position: relative; text-align: center; padding: 32px 24px;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    background: var(--bg-card); transition: border-color 0.3s;
}
.step:hover { border-color: var(--border-hover); }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    background: var(--primary-subtle); border: 1px solid rgba(99,102,241,0.2);
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    color: var(--primary-hover);
}
.step-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.step-arrow {
    display: none; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 20px;
}
@media (min-width: 768px) { .step-arrow { display: block; } }

/* FEATURES GRID */
.feat-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px; border-radius: var(--radius-md);
    border: 1px solid var(--border); background: var(--bg-card);
    transition: border-color 0.3s, background 0.3s;
}
.feat:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.feat-ico {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); flex-shrink: 0;
}
.feat-ico svg { width: 18px; height: 18px; }
.fi-blue { color: #60a5fa; } .fi-amber { color: #fbbf24; }
.fi-indigo { color: #818cf8; } .fi-rose { color: #fb7185; }
.fi-emerald { color: #34d399; } .fi-green { color: #4ade80; }
.feat-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.feat-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--bg-card); overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 20px; border: none; background: none;
    color: var(--text); font-size: 14px; font-weight: 500;
    cursor: pointer; text-align: left;
}
.faq-q:hover { color: var(--primary-hover); }
.faq-chevron {
    width: 18px; height: 18px; color: var(--text-muted);
    transition: transform 0.3s; flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary-hover); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner {
    padding: 0 20px 18px; font-size: 13px; line-height: 1.7; color: var(--text-muted);
}

/* PRICING */
.pricing { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card {
    position: relative; padding: 32px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); background: var(--bg-card);
    display: flex; flex-direction: column; transition: border-color 0.3s;
}
.price-card:hover { border-color: var(--border-hover); }
.price-card.popular {
    border-color: rgba(99,102,241,0.4);
    background: linear-gradient(180deg, rgba(99,102,241,0.06), var(--bg-card));
}
.price-card.popular::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-hover), transparent);
}
.price-label {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 14px; border-radius: var(--radius-full);
    background: var(--primary); color: white;
    font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; white-space: nowrap;
}
.price-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.price-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.price-amount {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.price-divider { height: 1px; background: var(--border); margin: 24px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-secondary);
}
.price-features li svg {
    width: 16px; height: 16px; color: var(--primary-hover); flex-shrink: 0;
}
.price-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 44px; margin-top: 24px;
    border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all 0.25s;
}
.price-btn-primary {
    background: var(--primary); color: white; border: none;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.price-btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
    transform: translateY(-1px);
}
.price-btn-outline {
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border);
}
.price-btn-outline:hover { background: var(--bg-card); border-color: var(--border-hover); color: var(--text); }
.price-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.price-btn:hover svg { transform: translateX(3px); }
.login-hint {
    margin-top: 12px; font-size: 12px; color: var(--text-muted); text-align: center;
}
.login-hint a { color: var(--primary-hover); }
.login-hint a:hover { text-decoration: underline; }

/* CTA */
.cta-wrap { max-width: 1000px; margin: 0 auto; }
.cta {
    position: relative; padding: 64px 32px; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #4f46e5, #6366f1, #7c3aed);
    overflow: hidden; text-align: center;
}
@media (min-width: 768px) { .cta { padding: 80px 48px; } }
.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0,0,0,0.2), transparent 50%);
    pointer-events: none;
}
.cta-title {
    position: relative; z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: white;
}
.cta-desc {
    position: relative; z-index: 1;
    max-width: 440px; margin: 16px auto 0;
    font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6;
}
.cta-btns {
    position: relative; z-index: 1;
    display: flex; gap: 12px; margin-top: 32px;
    justify-content: center; flex-wrap: wrap;
}
.cta-btn-w {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 24px; border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 14px; font-weight: 500; cursor: pointer;
    backdrop-filter: blur(8px); transition: background 0.2s;
}
.cta-btn-w:hover { background: rgba(255,255,255,0.25); }
.cta-btn-w svg { width: 14px; height: 14px; }
.cta-btn-d {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 24px; border-radius: var(--radius-full);
    background: var(--bg); border: none;
    color: white; font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background 0.2s;
}
.cta-btn-d:hover { background: #1e1f26; }
.cta-btn-d svg { width: 14px; height: 14px; transition: transform 0.2s; }
.cta-btn-d:hover svg { transform: translateX(3px); }

/* FOOTER */
.footer { max-width: 1100px; margin: 0 auto; padding: 48px 20px 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 20px; height: 20px; color: var(--primary-hover); }
.footer-brand span { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.footer-brand-desc {
    max-width: 240px; margin-top: 12px;
    font-size: 13px; color: var(--text-dim); line-height: 1.6;
}
.footer-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 13px; color: var(--text-muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-line { height: 1px; background: var(--border); margin: 28px 0; }
.footer-bottom {
    display: flex; flex-direction: column; gap: 16px;
    justify-content: space-between; align-items: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-muted); transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary-hover); }
.footer-social svg { width: 16px; height: 16px; }

/* ANIMATIONS */
@keyframes navIn { from { opacity: 0; transform: translateX(-50%) translateY(-12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
