/* TikVantage marketing site — aligned with app theme variables */
:root {
    --bg: #0D0D0D;
    --surface: #161616;
    --card: #1f1f1f;
    --border: #333;
    --text: #fff;
    --muted: #b0b0b0;
    --faint: #808080;
    --accent: #00B8FF;
    --accent-hover: #00A0E0;
    --primary: #FF6B35;
    --primary-hover: #FF5722;
    --success: #2d8659;
    --error: #FF4444;
    --radius: 12px;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Luckiest Guy", "Outfit", system-ui, sans-serif;
    --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 184, 255, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 107, 53, 0.08), transparent);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Nav */
.site-header {
    position: sticky; top: 0; z-index: 40;
    backdrop-filter: blur(12px);
    background: rgba(13, 13, 13, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 800; font-size: 1.15rem;
}
.site-logo img { width: 36px; height: 36px; border-radius: 8px; }
.site-logo:hover { color: var(--text); }
.site-nav-links {
    display: flex; flex-wrap: wrap; gap: 6px 14px;
    list-style: none; margin: 0; padding: 0;
    flex: 1;
}
.site-nav-links a {
    color: var(--muted); font-size: 0.92rem; font-weight: 600;
    padding: 6px 4px;
}
.site-nav-links a:hover,
.site-nav-links a.is-active { color: var(--accent); }
.site-nav-cta { display: flex; gap: 8px; flex-shrink: 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 0.92rem;
    border: none; cursor: pointer; font-family: inherit;
    transition: background 0.15s, transform 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #001018; }
.btn-primary:hover { background: var(--accent-hover); color: #001018; }
.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-download { background: var(--primary); color: #fff; }
.btn-download:hover { background: var(--primary-hover); color: #fff; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 10px;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 {
    font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800;
}
h1 .grad {
    background: linear-gradient(90deg, var(--accent), #7dd3fc, var(--primary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; margin: 0 0 24px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.9rem; }

.hero {
    padding: 72px 0 48px;
    text-align: left;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { margin-top: 16px; color: var(--faint); font-size: 0.88rem; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-icon { font-size: 1.6rem; margin-bottom: 10px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    font-size: 0.88rem; color: var(--muted);
}
.chip strong { color: var(--text); font-weight: 600; }
.badge-pro {
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.04em;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1200;
    padding: 2px 6px; border-radius: 4px;
}

.cta-band {
    margin: 24px 0;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 184, 255, 0.25);
    background: linear-gradient(135deg, rgba(0,184,255,0.12), rgba(255,107,53,0.08));
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.35rem; }
.cta-band p { margin: 0; color: var(--muted); }

/* Auth */
.auth-shell {
    max-width: 420px; margin: 48px auto; padding: 0 20px 64px;
}
.auth-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 6px; color: var(--muted);
}
.form-field input {
    width: 100%; padding: 11px 12px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
    font-family: inherit; font-size: 1rem;
}
.form-field input:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,184,255,0.2);
}
.auth-error {
    color: var(--error); font-size: 0.9rem; margin: 0 0 12px;
}
.auth-switch { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.auth-card .btn { width: 100%; margin-top: 4px; }

/* Pricing */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.price-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
}
.price-card.featured {
    border-color: rgba(0,184,255,0.5);
    box-shadow: 0 0 0 1px rgba(0,184,255,0.2);
}
.price-amount { font-size: 2rem; font-weight: 800; margin: 8px 0; }
.price-amount span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.price-card ul { margin: 16px 0 0; padding: 0 0 0 18px; color: var(--muted); }
.price-card li { margin-bottom: 6px; }

.prose { color: var(--muted); font-size: 0.95rem; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #0a0a0a;
    padding: 40px 0 24px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max); margin: 0 auto; padding: 0 20px;
}
.footer-brand { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.footer-col h4 {
    margin: 0 0 12px; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--faint);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--muted); font-size: 0.92rem; display: inline-block; padding: 3px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: var(--max); margin: 28px auto 0; padding: 16px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    color: var(--faint); font-size: 0.85rem;
}

@media (max-width: 800px) {
    .site-nav { flex-wrap: wrap; }
    .site-nav-links { order: 3; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 48px; }
}
