/* ═══════════════════════════════════════════════════════════════
   AI Workflows For Business - Design System
   Version 2.0 · April 2026
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Tokens ── */
:root {
    --purple: #6C63FF;
    --teal: #00D4AA;
    --navy: #1a1a2e;
    --navy-light: #2d2d5e;
    --text: #1a1a2e;
    --text-muted: #555;
    --text-light: #888;
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --border: rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --gradient: linear-gradient(135deg, var(--purple), var(--teal));
    --gradient-subtle: linear-gradient(135deg, rgba(108,99,255,0.06), rgba(0,212,170,0.04));
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 100px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1100px;
    --max-w-narrow: 900px;
    --transition: 0.25s ease;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }

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

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

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-bar {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}
.nav-logo-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: block;
}
.nav-logo em {
    font-style: normal;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.03); }
.nav-link.active { color: var(--purple); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
    content: '';
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.2s ease;
    pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--purple); }
.nav-dropdown-menu .dd-label { font-weight: 600; color: var(--text); }
.nav-dropdown-menu .dd-desc { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

.nav-cta {
    padding: 9px 20px;
    background: var(--gradient);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-left: 6px;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108,99,255,0.25);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-links.open .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        pointer-events: all;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-toggle { display: block; }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,99,255,0.25); }

.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    transition: all 0.2s;
    cursor: pointer;
    background: transparent;
}
.btn-ghost:hover { border-color: rgba(108,99,255,0.3); background: rgba(108,99,255,0.03); color: var(--purple); }

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ═══════════════════════════════════════════
   BADGE
   ═══════════════════════════════════════════ */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(108,99,255,0.08);
    color: var(--purple);
    border: 1px solid rgba(108,99,255,0.12);
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════ */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, rgba(0,212,170,0.03) 40%, transparent 70%);
    pointer-events: none;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: #fff;
    padding: 80px 24px 60px;
    width: 100%;
}
.page-hero-inner { max-width: var(--max-w-narrow); margin: 0 auto; }
.page-hero .badge { background: rgba(255,255,255,0.12); color: var(--teal); border-color: rgba(255,255,255,0.1); }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 0; line-height: 1.8; }

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 20px;
}
.breadcrumbs a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,0.3); }
.breadcrumbs .current { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg-alt); }
.section-center { text-align: center; }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }
.section-sub {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   ARTICLE CONTENT
   ═══════════════════════════════════════════ */
article { max-width: var(--max-w-narrow); margin: 0 auto; }

article section { padding: 60px 24px; }
article section:nth-of-type(even) { background: var(--bg-alt); }

article h2 { margin-top: 0; margin-bottom: 1.5rem; }
article h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
article ul, article ol { padding-left: 1.5rem; margin-bottom: 1.5rem; color: var(--text-muted); }
article li { margin-bottom: 0.5rem; line-height: 1.7; }

/* ═══════════════════════════════════════════
   FEATURE CARDS (2x2 homepage grid)
   ═══════════════════════════════════════════ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.feature-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.feature-card h3, .feature-card p, .feature-card svg, .feature-card a { position: relative; z-index: 1; }
.feature-card svg:first-of-type { margin-bottom: 18px; }
.feature-card h3 { color: #fff; }
.feature-card p { color: #fff; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.feature-card p:last-of-type { margin-bottom: 1.25rem; }
.feature-card strong { color: #fff; font-weight: 700; }
.feature-card .btn-primary,
.feature-card .btn-ghost {
    background: #6C63FF;
    color: #fff;
    border: none;
}
.feature-card .btn-primary:hover,
.feature-card .btn-ghost:hover {
    background: #5248d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.feature-card .card-arrow {
    position: absolute;
    bottom: 24px; right: 24px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
    z-index: 1;
}
.feature-card:hover .card-arrow { opacity: 0.7; transform: translateX(0); }

.fc-purple { background: linear-gradient(135deg, #6C63FF, #5248d9); }
.fc-teal { background: linear-gradient(135deg, #00B894, #00D4AA); }
.fc-blue { background: linear-gradient(135deg, #0984E3, #5dadec); }
.fc-navy { background: linear-gradient(135deg, #1a1a2e, #33335c); }
.fc-coral { background: linear-gradient(135deg, #e17055, #d63031); }
.fc-gold { background: linear-gradient(135deg, #f39c12, #f1c40f); }

/* ═══════════════════════════════════════════
   TOOL CARDS (inner pages)
   ═══════════════════════════════════════════ */
.tool-card {
    background: #fff;
    border-left: 4px solid var(--purple);
    border-radius: var(--radius);
    padding: 28px 28px 28px 32px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.tool-card h4 { margin-top: 0; }

.tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label {
    color: rgba(108,99,255,0.8);
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.meta-value { color: var(--text); font-weight: 500; font-size: 0.9rem; }
.tool-card p { margin-bottom: 0.75rem; }
.tool-card p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════ */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}
.comparison-table thead { background: var(--navy); }
.comparison-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}
.comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.comparison-table tbody tr { background: #fff; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.comparison-table tbody tr:hover { background: rgba(108,99,255,0.02); }
.comparison-table tr:last-child td { border-bottom: none; }

.highlight-row td {
    background: rgba(108,99,255,0.04) !important;
    font-weight: 500;
    color: var(--text);
}
.highlight-row td:first-child { border-left: 3px solid var(--purple); padding-left: 15px; }

.table-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--gradient);
    color: #fff;
    vertical-align: middle;
    margin-left: 6px;
}

/* ═══════════════════════════════════════════
   FEATURED CALLOUT
   ═══════════════════════════════════════════ */
.featured-callout {
    background: var(--gradient-subtle);
    border-left: 4px solid var(--purple);
    border-radius: var(--radius);
    padding: 32px;
    margin: 2.5rem 0;
    position: relative;
}
.featured-callout::before {
    content: attr(data-label);
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fff;
    padding: 0 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--purple);
    letter-spacing: 0.05em;
}
.featured-callout h4 { font-size: 1.2rem; margin-top: 4px; }
.featured-callout p { margin-bottom: 1.25rem; }

/* ═══════════════════════════════════════════
   STATS ROW
   ═══════════════════════════════════════════ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.88rem; color: var(--text-light); margin-top: 4px; }

/* ═══════════════════════════════════════════
   WORKFLOW STEPS
   ═══════════════════════════════════════════ */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}
.workflow-step { text-align: center; padding: 32px 20px; }
.step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.workflow-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.workflow-step p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* ═══════════════════════════════════════════
   ECOSYSTEM FLOW
   ═══════════════════════════════════════════ */
.ecosystem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 40px 0;
}
.eco-node {
    text-align: center;
    padding: 20px 24px;
    border-radius: var(--radius);
    min-width: 160px;
    transition: all 0.2s;
}
.eco-node:hover { transform: translateY(-2px); }
.eco-node.active {
    background: var(--gradient-subtle);
    border: 1px solid rgba(108,99,255,0.15);
}
.eco-node h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 4px; }
.eco-node p { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0; }
.eco-node a { color: var(--purple); }
.eco-arrow { font-size: 1.5rem; color: #ccc; padding: 0 4px; }

/* ═══════════════════════════════════════════
   EMAIL SIGNUP
   ═══════════════════════════════════════════ */
.signup-section {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.signup-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.signup-section h2 { color: #fff; }
.signup-section .section-sub { color: rgba(255,255,255,0.6); }

.signup-form { max-width: 500px; margin: 32px auto 0; position: relative; z-index: 1; }
.form-row { display: flex; gap: 10px; margin-bottom: 10px; }
.form-row input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}
.form-row input::placeholder { color: rgba(255,255,255,0.35); }
.form-row input:focus { border-color: rgba(108,99,255,0.5); }

.btn-signup {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
}
.btn-signup:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,99,255,0.3); }
.btn-signup:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 12px; }
.error-msg { color: #ff6b6b; font-size: 0.85rem; margin-top: 8px; display: none; }
.success-msg { display: none; text-align: center; }
.success-msg svg { width: 48px; height: 48px; stroke: var(--teal); fill: none; stroke-width: 2; margin: 0 auto 12px; }
.success-msg h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.success-msg p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--transition);
}
.faq-q:hover { color: var(--purple); }
.faq-q svg {
    width: 20px; height: 20px;
    stroke: var(--text-light);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-a-inner {
    padding: 0 0 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-a-inner a { color: var(--purple); }

/* ═══════════════════════════════════════════
   INTERNAL LINKS / RELATED GUIDES
   ═══════════════════════════════════════════ */
.related-guides {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.related-guides h4 { margin-bottom: 1rem; margin-top: 0; }
.related-guides ul { list-style: none; padding: 0; margin: 0; }
.related-guides li { margin-bottom: 0.75rem; }
.related-guides li:last-child { margin-bottom: 0; }
.related-guides a { color: var(--purple); transition: color var(--transition); }
.related-guides a:hover { color: var(--teal); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 52px 24px 32px;
    margin-top: 40px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: var(--text-light); font-size: 0.9rem; margin-top: 8px; max-width: 280px; line-height: 1.6; }
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple); }

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #bbb;
}
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: var(--purple); }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero { padding: 70px 24px 50px; }
    .page-hero { padding: 60px 24px 40px; }
    .section { padding: 48px 24px; }
    article section { padding: 40px 24px; }

    .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .workflow-steps { grid-template-columns: 1fr 1fr; }
    .ecosystem-flow { flex-direction: column; }
    .eco-arrow { transform: rotate(90deg); }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    .comparison-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; }

    .signup-section { padding: 40px 24px; border-radius: 16px; }
    .form-row { flex-direction: column; }

    .featured-callout { padding: 24px; }
    .tool-card { padding: 20px; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .workflow-steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* ═══════════════════════════════════════════
   QUICK ANSWER BOX
   ═══════════════════════════════════════════ */
.quick-answer {
    background: var(--gradient-subtle);
    border: 1px solid rgba(108,99,255,0.15);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin: 0 auto 48px;
    max-width: var(--max-w-narrow);
}
.quick-answer-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}
.quick-answer h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.quick-answer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.quick-answer ul li {
    padding: 10px 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.quick-answer ul li:last-child { border-bottom: none; }
.quick-answer ul li strong { color: var(--text); font-weight: 600; }
.quick-answer ul li span { color: var(--purple); font-weight: 600; }

/* ═══════════════════════════════════════════
   INTERACTIVE QUIZ
   ═══════════════════════════════════════════ */
.quiz-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: var(--max-w-narrow);
    margin: 0 auto;
}
.quiz-header {
    text-align: center;
    margin-bottom: 28px;
}
.quiz-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.quiz-header p {
    color: var(--text-muted);
    margin-bottom: 0;
}
.quiz-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 32px;
    justify-content: center;
}
.quiz-progress-dot {
    width: 42px;
    height: 5px;
    border-radius: 100px;
    background: #e5e7eb;
    transition: background var(--transition);
}
.quiz-progress-dot.active { background: var(--purple); }
.quiz-progress-dot.done { background: var(--teal); }

.quiz-question {
    display: none;
    animation: fadeIn 0.35s ease;
}
.quiz-question.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.quiz-question h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    text-align: center;
}
.quiz-options {
    display: grid;
    gap: 12px;
}
.quiz-option {
    display: block;
    width: 100%;
    padding: 18px 22px;
    text-align: left;
    background: var(--bg-alt);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.quiz-option:hover {
    border-color: var(--purple);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.quiz-option-label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.quiz-option-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 400;
}

.quiz-result {
    display: none;
    animation: fadeIn 0.4s ease;
    text-align: center;
}
.quiz-result.active { display: block; }
.quiz-result-badge {
    display: inline-block;
    background: var(--gradient);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.quiz-result h3 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.quiz-result p {
    max-width: 520px;
    margin: 0 auto 24px;
}
.quiz-result-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.quiz-restart {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 18px;
    text-decoration: underline;
    font-family: var(--font);
}
.quiz-restart:hover { color: var(--purple); }

/* ═══════════════════════════════════════════
   DECISION TREE
   ═══════════════════════════════════════════ */
.decision-tree {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.decision-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}
.decision-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}
.decision-card h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.decision-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.decision-card ul li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.decision-card ul li:last-child { border-bottom: none; }
.decision-card ul li strong { color: var(--purple); }

@media (max-width: 768px) {
    .decision-tree { grid-template-columns: 1fr; }
    .quiz-wrap { padding: 28px 22px; }
    .quick-answer { padding: 28px 24px; }
    .quiz-option { padding: 16px 18px; }
}
