/* SchoolTron Landing — light / dark professional marketing page */

:root {
    --st-primary: #206bc4;
    --st-primary-hover: #1a5aa8;
    --st-primary-soft: rgba(32, 107, 196, 0.12);
    --st-accent: #f76707;
    --st-accent-soft: rgba(247, 103, 7, 0.14);
    --st-success: #2fb344;
    --st-bg: #f4f7fb;
    --st-bg-elevated: #ffffff;
    --st-surface: #ffffff;
    --st-surface-2: #f8fafc;
    --st-text: #0f172a;
    --st-text-muted: #64748b;
    --st-border: #e2e8f0;
    --st-border-strong: #cbd5e1;
    --st-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --st-shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.14);
    --st-header-bg: rgba(255, 255, 255, 0.82);
    --st-hero-glow-1: rgba(32, 107, 196, 0.18);
    --st-hero-glow-2: rgba(247, 103, 7, 0.12);
    --st-gradient: linear-gradient(135deg, #206bc4 0%, #4299e1 55%, #63b3ed 100%);
    --st-cta-bg: linear-gradient(135deg, #eef5fd 0%, #f8fbff 52%, #fff8f1 100%);
    --st-cta-border: rgba(32, 107, 196, 0.2);
    --st-cta-shadow: 0 20px 48px rgba(32, 107, 196, 0.1);
    --st-cta-text: #0f172a;
    --st-cta-subtext: #475569;
    --st-cta-glow-1: rgba(32, 107, 196, 0.16);
    --st-cta-glow-2: rgba(247, 103, 7, 0.1);
    --st-radius: 1rem;
    --st-radius-lg: 1.35rem;
    --st-font: "Poppins", system-ui, -apple-system, sans-serif;
    --st-transition: 0.22s ease;
}

[data-theme="dark"] {
    --st-primary: #4dabf7;
    --st-primary-hover: #74c0fc;
    --st-primary-soft: rgba(77, 171, 247, 0.16);
    --st-accent: #ff922b;
    --st-accent-soft: rgba(255, 146, 43, 0.16);
    --st-bg: #070d18;
    --st-bg-elevated: #0d1526;
    --st-surface: #111a2e;
    --st-surface-2: #0f1728;
    --st-text: #f1f5f9;
    --st-text-muted: #94a3b8;
    --st-border: #1e293b;
    --st-border-strong: #334155;
    --st-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --st-shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.45);
    --st-header-bg: rgba(7, 13, 24, 0.86);
    --st-hero-glow-1: rgba(77, 171, 247, 0.22);
    --st-hero-glow-2: rgba(255, 146, 43, 0.14);
    --st-gradient: linear-gradient(135deg, #1864ab 0%, #228be6 55%, #4dabf7 100%);
    --st-cta-bg: linear-gradient(145deg, #0e1a30 0%, #122542 48%, #0b1220 100%);
    --st-cta-border: rgba(77, 171, 247, 0.24);
    --st-cta-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --st-cta-text: #f1f5f9;
    --st-cta-subtext: #94a3b8;
    --st-cta-glow-1: rgba(77, 171, 247, 0.22);
    --st-cta-glow-2: rgba(255, 146, 43, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    margin: 0;
    font-family: var(--st-font);
    color: var(--st-text);
    background: var(--st-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--st-primary); text-decoration: none; transition: color var(--st-transition); }
a:hover { color: var(--st-primary-hover); }

.st-container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.st-section {
    padding: 5.5rem 0;
}

.st-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.st-section-title {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.st-section-lead {
    font-size: 1.05rem;
    color: var(--st-text-muted);
    max-width: 42rem;
    margin: 0 auto;
}

.st-text-center { text-align: center; }

/* Header */
.st-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: var(--st-header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--st-border);
    transition: box-shadow var(--st-transition), background var(--st-transition);
}

.st-header.is-scrolled {
    box-shadow: var(--st-shadow);
}

.st-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}

.st-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--st-text);
    font-weight: 700;
    font-size: 1.15rem;
}

.st-brand img { height: 38px; width: auto; }

.st-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.st-nav a {
    color: var(--st-text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 0.55rem;
}

.st-nav a:hover,
.st-nav a.is-active {
    color: var(--st-text);
    background: var(--st-surface-2);
}

.st-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    border-radius: 0.7rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.72rem 1.2rem;
    cursor: pointer;
    transition: transform var(--st-transition), box-shadow var(--st-transition), background var(--st-transition), color var(--st-transition);
    text-decoration: none;
    white-space: nowrap;
}

.st-btn:hover { transform: translateY(-1px); }

.st-btn-primary {
    background: var(--st-gradient);
    color: #fff;
    box-shadow: 0 10px 28px rgba(32, 107, 196, 0.28);
}

.st-btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 34px rgba(32, 107, 196, 0.34);
}

.st-btn-ghost {
    background: transparent;
    color: var(--st-text);
    border: 1px solid var(--st-border-strong);
}

.st-btn-ghost:hover {
    background: var(--st-surface-2);
    color: var(--st-text);
}

.st-btn-accent {
    background: var(--st-gradient);
    color: #fff;
    box-shadow: 0 10px 28px rgba(32, 107, 196, 0.28);
}

.st-btn-accent:hover {
    color: #fff;
    box-shadow: 0 14px 34px rgba(32, 107, 196, 0.34);
}

.st-icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 0.65rem;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    color: var(--st-text);
}

.st-icon-btn .ti-sun { display: none; }
[data-theme="dark"] .st-icon-btn .ti-moon { display: none; }
[data-theme="dark"] .st-icon-btn .ti-sun { display: inline; }

.st-nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--st-border);
    border-radius: 0.65rem;
    background: var(--st-surface);
    color: var(--st-text);
    cursor: pointer;
}

/* Hero */
.st-hero {
    position: relative;
    padding: 7.5rem 0 5rem;
    overflow: hidden;
}

.st-hero::before,
.st-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.st-hero::before {
    width: 420px;
    height: 420px;
    top: -80px;
    right: -60px;
    background: var(--st-hero-glow-1);
}

.st-hero::after {
    width: 320px;
    height: 320px;
    bottom: -40px;
    left: -40px;
    background: var(--st-hero-glow-2);
}

.st-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.st-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--st-border);
    background: var(--st-surface);
    font-size: 0.82rem;
    color: var(--st-text-muted);
    margin-bottom: 1.25rem;
}

.st-hero-badge strong { color: var(--st-success); }

.st-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    font-weight: 700;
}

.st-hero h1 span {
    background: var(--st-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.st-hero-lead {
    font-size: 1.12rem;
    color: var(--st-text-muted);
    max-width: 34rem;
    margin: 0 0 1.75rem;
}

.st-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.st-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.st-stat {
    padding: 1rem;
    border-radius: var(--st-radius);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
}

.st-stat strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.st-stat span {
    font-size: 0.8rem;
    color: var(--st-text-muted);
}

/* Dashboard mockup */
.st-mockup {
    position: relative;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
    overflow: hidden;
}

.st-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    background: var(--st-surface-2);
    border-bottom: 1px solid var(--st-border);
}

.st-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--st-border-strong);
}

.st-dot.red { background: #fa5252; }
.st-dot.yellow { background: #fab005; }
.st-dot.green { background: #51cf66; }

.st-mockup-body { padding: 1.25rem; }

.st-mockup-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--st-text-muted);
    margin-bottom: 0.35rem;
}

.st-mockup-school {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.st-mockup-progress {
    margin-bottom: 1rem;
}

.st-mockup-progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--st-text-muted);
    margin-bottom: 0.45rem;
}

.st-progress-track {
    height: 0.55rem;
    border-radius: 999px;
    background: var(--st-border);
    overflow: hidden;
}

.st-progress-fill {
    height: 100%;
    width: 68%;
    border-radius: inherit;
    background: var(--st-gradient);
    animation: stPulse 2.8s ease-in-out infinite;
}

@keyframes stPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}

.st-mockup-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.st-mini-card {
    padding: 0.85rem;
    border-radius: 0.8rem;
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
}

.st-mini-card small {
    display: block;
    color: var(--st-text-muted);
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.st-mini-card strong { font-size: 1.1rem; }

.st-mockup-float {
    position: absolute;
    right: -0.75rem;
    bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
    font-size: 0.82rem;
    animation: stFloat 4s ease-in-out infinite;
}

@keyframes stFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Dismissal 3-step flow */
.st-dismissal-flow {
    background: var(--st-surface-2);
    border-block: 1px solid var(--st-border);
}

.st-flow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.st-flow-step {
    flex: 1;
    max-width: 300px;
    padding: 1.5rem 1.25rem;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
    text-align: center;
}

.st-flow-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.85rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    font-size: 1.55rem;
}

.st-flow-num {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-primary);
    margin-bottom: 0.35rem;
}

.st-flow-step h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.st-flow-step p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--st-text-muted);
    line-height: 1.55;
}

.st-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-primary);
    font-size: 1.5rem;
    opacity: 0.55;
    padding-top: 2.5rem;
}

/* Trust bar */
.st-trust {
    padding: 2rem 0 3rem;
}

.st-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.st-trust-item {
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: var(--st-radius);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
}

.st-trust-item i {
    font-size: 1.5rem;
    color: var(--st-primary);
    margin-bottom: 0.5rem;
}

.st-trust-item strong {
    display: block;
    font-size: 1.35rem;
}

.st-trust-item span {
    font-size: 0.82rem;
    color: var(--st-text-muted);
}

/* Features bento */
.st-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.st-feature-card {
    padding: 1.5rem;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
    transition: transform var(--st-transition), border-color var(--st-transition);
}

.st-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--st-primary);
}

.st-feature-card.is-wide { grid-column: span 2; }

.st-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.st-feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.st-feature-card p {
    margin: 0;
    color: var(--st-text-muted);
    font-size: 0.92rem;
}

/* Steps */
.st-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: ststep;
}

.st-step {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
}

.st-step::before {
    counter-increment: ststep;
    content: counter(ststep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: var(--st-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.st-step h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.st-step p { margin: 0; color: var(--st-text-muted); font-size: 0.92rem; }

/* Modules */
.st-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.st-module {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--st-radius);
    background: var(--st-surface-2);
    border: 1px solid var(--st-border);
}

.st-module i {
    font-size: 1.5rem;
    color: var(--st-primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.st-module h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.st-module p { margin: 0; color: var(--st-text-muted); font-size: 0.88rem; }

/* Testimonials */
.st-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.st-quote {
    padding: 1.5rem;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
}

.st-quote p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--st-text-muted);
}

.st-quote-author strong { display: block; font-size: 0.92rem; }
.st-quote-author span { font-size: 0.8rem; color: var(--st-text-muted); }

/* CTA band */
.st-cta-band {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 2.5rem;
    border-radius: calc(var(--st-radius-lg) + 0.35rem);
    background: var(--st-cta-bg);
    border: 1px solid var(--st-cta-border);
    color: var(--st-cta-text);
    text-align: center;
    box-shadow: var(--st-cta-shadow);
}

.st-cta-band::before,
.st-cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    pointer-events: none;
}

.st-cta-band::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -40px;
    background: var(--st-cta-glow-1);
}

.st-cta-band::after {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: -30px;
    background: var(--st-cta-glow-2);
}

.st-cta-band-inner {
    position: relative;
    z-index: 1;
}

.st-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--st-primary);
    background: var(--st-primary-soft);
    border: 1px solid var(--st-cta-border);
}

.st-cta-band h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    color: var(--st-cta-text);
    letter-spacing: -0.02em;
}

.st-cta-band p {
    margin: 0 auto 1.6rem;
    max-width: 36rem;
    color: var(--st-cta-subtext);
    font-size: 1.02rem;
    line-height: 1.65;
}

.st-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.st-cta-band .st-btn-ghost {
    color: var(--st-text);
    border-color: var(--st-border-strong);
    background: var(--st-surface);
    box-shadow: var(--st-shadow);
}

.st-cta-band .st-btn-ghost:hover {
    background: var(--st-surface-2);
    color: var(--st-text);
    transform: translateY(-1px);
}

[data-theme="dark"] .st-cta-band .st-btn-ghost {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.32);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

[data-theme="dark"] .st-cta-band .st-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
}

/* Demo form */
.st-demo-section {
    background: var(--st-surface-2);
    border-block: 1px solid var(--st-border);
}

.st-demo-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.st-demo-points {
    display: grid;
    gap: 1rem;
}

.st-demo-point {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: var(--st-radius);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
}

.st-demo-point i {
    color: var(--st-success);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.st-demo-form-card {
    padding: 1.75rem;
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow-lg);
}

.st-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.st-field { display: flex; flex-direction: column; gap: 0.35rem; }
.st-field.is-full { grid-column: 1 / -1; }

.st-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-text-muted);
}

.st-field input,
.st-field textarea,
.st-field select {
    width: 100%;
    border: 1px solid var(--st-border-strong);
    border-radius: 0.65rem;
    padding: 0.72rem 0.85rem;
    font: inherit;
    color: var(--st-text);
    background: var(--st-bg-elevated);
    transition: border-color var(--st-transition), box-shadow var(--st-transition);
}

.st-field input:focus,
.st-field textarea:focus,
.st-field select:focus {
    outline: none;
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.st-field.has-error input,
.st-field.has-error textarea {
    border-color: #e03131;
}

.st-field-error {
    font-size: 0.78rem;
    color: #e03131;
    min-height: 1rem;
}

.st-form-alert {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.st-form-alert.is-visible { display: block; }
.st-form-alert.is-success { background: rgba(47, 179, 68, 0.12); color: var(--st-success); border: 1px solid rgba(47, 179, 68, 0.25); }
.st-form-alert.is-error { background: rgba(224, 49, 49, 0.1); color: #e03131; border: 1px solid rgba(224, 49, 49, 0.25); }
.st-form-alert.is-loading { background: var(--st-primary-soft); color: var(--st-primary); border: 1px solid var(--st-border); }

/* FAQ */
.st-faq {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.st-faq-item {
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    background: var(--st-surface);
    overflow: hidden;
}

.st-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: none;
    background: transparent;
    color: var(--st-text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.st-faq-a {
    display: none;
    padding: 0 1.15rem 1rem;
    color: var(--st-text-muted);
    font-size: 0.92rem;
}

.st-faq-item.is-open .st-faq-a { display: block; }
.st-faq-item.is-open .st-faq-q i { transform: rotate(180deg); }

/* Footer */
.st-footer {
    background: var(--st-surface);
    border-top: 1px solid var(--st-border);
    padding: 3.5rem 0 1.5rem;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.st-footer h4 {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
}

.st-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.st-footer ul a { color: var(--st-text-muted); font-size: 0.88rem; }
.st-footer ul a:hover { color: var(--st-text); }

.st-footer-brand p {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    max-width: 22rem;
}

.st-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.st-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    border: 1px solid var(--st-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
}

.st-social a:hover {
    color: var(--st-primary);
    border-color: var(--st-primary);
}

.st-footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid var(--st-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--st-text-muted);
}

.st-footer-bottom a { color: var(--st-text-muted); }

/* Floating CTA */
.st-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    display: none;
}

/* Reveal animation */
.st-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.st-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile nav */
@media (max-width: 991.98px) {
    .st-flow-steps {
        flex-direction: column;
        align-items: center;
    }

    .st-flow-arrow {
        padding: 0;
        transform: rotate(90deg);
    }

    .st-flow-step {
        max-width: 100%;
        width: 100%;
    }

    .st-hero-grid,
    .st-demo-grid {
        grid-template-columns: 1fr;
    }

    .st-bento { grid-template-columns: 1fr; }
    .st-feature-card.is-wide { grid-column: auto; }
    .st-steps,
    .st-testimonials,
    .st-trust-grid { grid-template-columns: 1fr; }
    .st-modules { grid-template-columns: 1fr; }
    .st-footer-grid { grid-template-columns: 1fr 1fr; }

    .st-nav {
        position: fixed;
        inset: 4.5rem 1rem auto 1rem;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border-radius: var(--st-radius);
        background: var(--st-surface);
        border: 1px solid var(--st-border);
        box-shadow: var(--st-shadow-lg);
        display: none;
    }

    .st-nav.is-open { display: flex; }

    .st-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .st-header-actions .st-btn-ghost { display: none; }

    .st-fab { display: inline-flex; }

    .st-mockup-float { display: none; }
}

@media (max-width: 575.98px) {
    .st-hero-stats,
    .st-form-grid { grid-template-columns: 1fr; }
    .st-hero { padding-top: 6.5rem; }
    .st-section { padding: 4rem 0; }
    .st-cta-band { padding: 2rem 1.25rem; }
    .st-footer-grid { grid-template-columns: 1fr; }
}
