/* ──────────────────────────────────────────────────────────
   TryStat Marketing Site
   Theme: navy + electric green (matches app)
   ────────────────────────────────────────────────────────── */

:root {
    --bg-darkest: #0a0d12;
    --bg-dark:    #0d1117;
    --bg-card:    #161b22;
    --bg-muted:   #11161d;
    --border:    rgba(255,255,255,0.08);
    --text:       #e6edf3;
    --text-muted: #8b949e;
    --accent:     #00c853;
    --accent-glow: rgba(0,200,83,0.25);
}

* { box-sizing: border-box; }

body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #4ade80; }

.text-success { color: var(--accent) !important; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    background: rgba(13,17,23,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    padding: 0.85rem 0;
    transition: all 0.3s;
}
.navbar-scrolled {
    background: rgba(10,13,18,0.95);
    border-bottom: 1px solid var(--border);
}
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}
.brand-icon { margin-right: 4px; }
.brand-accent { color: var(--accent); }
.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.15s;
}
.navbar-nav .nav-link:hover { color: var(--text) !important; }

.btn-success {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0d12;
    font-weight: 600;
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: all 0.2s;
}
.btn-success:hover {
    background: #00e676;
    border-color: #00e676;
    color: #0a0d12;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-outline-success {
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}
.btn-outline-success:hover {
    background: var(--accent);
    color: #0a0d12;
    border-color: var(--accent);
}
.btn-outline-light {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
    font-weight: 500;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-color: rgba(255,255,255,0.3);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    padding: 9rem 0 6rem;
    background:
        radial-gradient(ellipse at top right, rgba(0,200,83,0.12), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(0,200,83,0.06), transparent 50%),
        var(--bg-dark);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(0,200,83,0.12);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,200,83,0.25);
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-meta {
    display: flex; gap: 24px; flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── MOCKUP FRAMES ─────────────────────────────────────── */
.mockup-frame {
    background: linear-gradient(135deg, #1a2330, #11161d);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.04) inset;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}
.mockup-frame:hover { transform: translateY(-4px); }
.mockup-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
/* Placeholder still needs a fixed ratio when no image is present */
.mockup-frame .mockup-placeholder { aspect-ratio: 16/10; }
.mockup-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background:
        repeating-linear-gradient(45deg,
            rgba(0,200,83,0.04) 0,
            rgba(0,200,83,0.04) 12px,
            transparent 12px,
            transparent 24px),
        rgba(0,200,83,0.03);
    border: 2px dashed rgba(0,200,83,0.3);
    border-radius: 10px;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}
.mockup-placeholder i { font-size: 3rem; color: var(--accent); opacity: 0.5; margin-bottom: 1rem; }
.mockup-placeholder p { margin: 0; font-weight: 600; color: var(--text); }
.mockup-placeholder small { display: block; margin-top: 6px; font-family: ui-monospace, monospace; font-size: 0.75rem; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-muted { background: var(--bg-muted); }
.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-sub { color: var(--text-muted); font-size: 1.1rem; }

/* ─── PROBLEM CARDS ──────────────────────────────────────── */
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: all 0.2s;
}
.problem-card:hover { border-color: rgba(0,200,83,0.3); transform: translateY(-2px); }
.problem-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.problem-card h5 { margin-bottom: 0.75rem; }
.problem-card p { color: var(--text-muted); margin: 0; }

/* ─── FEATURE CARDS ─────────────────────────────────────── */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: all 0.2s;
}
.feature-card:hover {
    border-color: rgba(0,200,83,0.4);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(0,200,83,0.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.feature-card h5 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); margin: 0; }

/* ─── STEP CARDS ─────────────────────────────────────────── */
.step-card {
    text-align: center;
    padding: 2rem 1rem;
}
.step-number {
    width: 56px; height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(0,200,83,0.1);
    color: var(--accent);
    border: 2px solid rgba(0,200,83,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.step-card h5 { margin-bottom: 0.75rem; }
.step-card p { color: var(--text-muted); }

/* ─── CHECK LISTS ────────────────────────────────────────── */
.check-list {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.check-list li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 12px;
}
.check-list li i { font-size: 1.1rem; flex-shrink: 0; }

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex; flex-direction: column;
    position: relative;
    transition: all 0.2s;
}
.pricing-card:hover {
    border-color: rgba(0,200,83,0.3);
    transform: translateY(-3px);
}
.pricing-card.pricing-featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(0,200,83,0.06), var(--bg-card));
    box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0a0d12;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card h4 { margin-bottom: 0.5rem; }
.price { margin: 1rem 0; }
.price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.price .period { color: var(--text-muted); font-size: 0.95rem; }
.plan-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; flex-grow: 1; }
.plan-features li {
    padding: 8px 0;
    color: var(--text);
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem;
}
.plan-features li i { font-size: 1.15rem; flex-shrink: 0; }

/* ─── FAQ ────────────────────────────────────────────────── */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border) !important;
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
}
.accordion-button {
    background: var(--bg-card) !important;
    color: var(--text) !important;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background: rgba(0,200,83,0.06) !important;
    color: var(--accent) !important;
}
.accordion-body {
    background: var(--bg-card);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem 1.5rem;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
    padding: 4rem 0;
    background:
        radial-gradient(ellipse at center, rgba(0,200,83,0.15), transparent 70%),
        var(--bg-darkest);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { color: var(--text-muted); margin: 0; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
    background: var(--bg-darkest);
    padding: 4rem 0 2rem;
    color: var(--text-muted);
}
.footer-brand {
    color: var(--text) !important;
    font-size: 1.3rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-tagline { font-size: 0.9rem; max-width: 320px; }
.footer h6 {
    color: var(--text);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }
.footer p a { color: var(--text-muted); }
.footer p a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

/* ─── LEGAL PAGES ────────────────────────────────────────── */
.legal-page {
    padding: 9rem 0 4rem;
    background: var(--bg-dark);
}
.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.legal-page .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}
.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}
.legal-page h3 {
    font-size: 1.1rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page ul { padding-left: 1.5rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero { padding: 7rem 0 4rem; }
    .section { padding: 4rem 0; }
    .navbar-collapse {
        background: var(--bg-card);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid var(--border);
    }
    .navbar-nav .nav-link { padding: 0.65rem 0 !important; }
    .hero-meta { gap: 12px; flex-direction: column; }
    .cta-banner h2 { font-size: 1.5rem; }
}
