/* ============================================================================
   FORMBOX LANDING PAGE — DESIGN SYSTEM & COMPONENT STYLES
   Sentry dashboard-inspired dark theme with warm amber/orange accents.
   ============================================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Backgrounds */
    --bg-base: #0F0E13;
    --bg-surface: #16141C;
    --bg-elevated: #1E1C26;
    --bg-elevated-2: #262430;
    --bg-code: #1A1822;

    /* Borders */
    --border: rgba(255,255,255,0.06);
    --border-subtle: rgba(255,255,255,0.04);
    --border-hover: rgba(245,158,11,0.25);
    --border-strong: rgba(255,255,255,0.10);

    /* Accent — Warm Amber/Orange */
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --accent-muted: rgba(245,158,11,0.15);
    --accent-glow: rgba(245,158,11,0.08);
    --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    --accent-gradient-hover: linear-gradient(135deg, #D97706 0%, #EA580C 100%);

    /* Text */
    --text: #E8E6F0;
    --text-secondary: #8B8798;
    --text-muted: #5C5768;
    --text-inverse: #0F0E13;

    /* Status Colors */
    --success: #22C55E;
    --success-muted: rgba(34,197,94,0.12);
    --warning: #EAB308;
    --warning-muted: rgba(234,179,8,0.12);
    --error: #EF4444;
    --error-muted: rgba(239,68,68,0.12);
    --info: #3B82F6;
    --info-muted: rgba(59,130,246,0.12);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    /* Sizing */
    --container: 1200px;
    --container-wide: 1400px;
    --nav-height: 64px;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(245,158,11,0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

code, pre {
    font-family: var(--font-mono);
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ---------- Section Spacing ---------- */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: 0 2px 12px rgba(245,158,11,0.25);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--accent-glow);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

/* ---------- Badge / Pill ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-accent {
    background: var(--accent-muted);
    color: var(--accent);
    border: 1px solid rgba(245,158,11,0.2);
}

.badge-success {
    background: var(--success-muted);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-muted);
    color: var(--warning);
}

.badge-error {
    background: var(--error-muted);
    color: var(--error);
}

.badge-info {
    background: var(--info-muted);
    color: var(--info);
}

/* ============================================================================
   NAVBAR
   ============================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(15,14,19,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15,14,19,0.92);
    border-bottom-color: var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo .logo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-inverse);
    font-weight: 800;
}

/* Nav links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-link .caret {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
    opacity: 0.5;
}

.nav-item:hover .caret,
.nav-item.active .caret {
    transform: rotate(180deg);
}

/* Dropdown mega menu */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    min-width: 520px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all var(--transition);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.nav-dropdown.dropdown-lg {
    min-width: 640px;
    grid-template-columns: repeat(3, 1fr);
}

.nav-item:hover .nav-dropdown,
.nav-item.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-group {
    padding: 8px 0;
}

.dropdown-group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 4px 12px 8px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text);
}

.dropdown-link .link-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.dropdown-link:hover .link-icon {
    border-color: var(--border-hover);
    background: var(--accent-glow);
}

/* Navbar actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-signin {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.navbar-signin:hover {
    color: var(--text);
}

/* Mobile nav toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 20px;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero dashboard mock */
.hero-visual {
    position: relative;
    z-index: 1;
}

.mock-dashboard {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
}

.mock-dot:nth-child(1) { background: var(--error); opacity: 0.7; }
.mock-dot:nth-child(2) { background: var(--warning); opacity: 0.7; }
.mock-dot:nth-child(3) { background: var(--success); opacity: 0.7; }

.mock-breadcrumb {
    margin-left: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-breadcrumb span {
    color: var(--text-secondary);
}

.mock-breadcrumb .sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.mock-body {
    padding: 20px;
}

.mock-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mock-event-title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.mock-event-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mock-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mock-fields {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.mock-field {
    display: flex;
    padding: 10px 16px;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border);
}

.mock-field:last-child {
    border-bottom: none;
}

.mock-field-key {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}

.mock-field-value {
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.mock-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.mock-timeline-step {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.mock-timeline-step.done {
    color: var(--success);
}

.mock-timeline-arrow {
    color: var(--text-muted);
    opacity: 0.4;
}

/* ============================================================================
   SOCIAL PROOF / COMPATIBILITY
   ============================================================================ */
.compat {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}

.compat-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.compat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.compat-items {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.compat-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.compat-item:hover {
    color: var(--text-secondary);
}

.compat-item .compat-icon {
    font-size: 1.125rem;
    opacity: 0.6;
}

/* ============================================================================
   DIFFERENTIATORS (3 key value props)
   ============================================================================ */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.diff-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.diff-card:hover::before {
    opacity: 1;
}

.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--accent-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.diff-card h3 {
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================================================
   FEATURES SHOWCASE
   ============================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(22,20,28,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: rgba(22,20,28,0.8);
}

.feature-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-card-header p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* Mini dashboard preview inside feature card */
.feature-preview {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 16px;
    overflow-x: auto;
}

.feature-preview .preview-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.feature-preview .preview-label {
    color: var(--text-muted);
    min-width: 70px;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* Dotted connector line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(33.33% - 16px);
    right: calc(33.33% - 16px);
    height: 1px;
    border-top: 2px dashed var(--border-strong);
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.step-card:hover .step-number {
    border-color: var(--accent);
    background: var(--accent-muted);
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.step-preview {
    margin-top: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.step-preview .code-accent {
    color: var(--accent);
}

.step-preview .code-string {
    color: var(--success);
}

.step-preview .code-tag {
    color: var(--info);
}

/* ============================================================================
   INTEGRATIONS
   ============================================================================ */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.integration-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
}

.integration-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.integration-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.integration-card span {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================================================
   PRICING
   ============================================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), 0 0 60px rgba(245,158,11,0.05);
    background: linear-gradient(180deg, rgba(245,158,11,0.03) 0%, var(--bg-surface) 40%);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-tier {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-dollar {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pricing-annual {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-check {
    color: var(--success);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.pricing-cross {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-shrink: 0;
    opacity: 0.4;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 400;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 0 20px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================================================
   CTA / WAITLIST
   ============================================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245,158,11,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    margin-bottom: 12px;
}

.cta-inner > p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.waitlist-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text);
    transition: border-color var(--transition-fast);
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

.waitlist-input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-muted);
}

.waitlist-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(6, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 220px;
}

.footer-col-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* ============================================================================
   SCROLL ANIMATIONS
   ============================================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 80ms; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 160ms; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 240ms; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 320ms; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 400ms; }

/* ============================================================================
   MOBILE NAV
   ============================================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-base);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
    border-top: 1px solid var(--border);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-group {
    margin-bottom: 24px;
}

.mobile-nav-group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
    color: var(--text);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        max-width: 560px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-signin {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 48px);
        padding-bottom: 48px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .compat-inner {
        flex-direction: column;
        gap: 16px;
    }

    .compat-items {
        justify-content: center;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .waitlist-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
