/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #7c3aed;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 40px rgba(0,0,0,0.12);
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   HEADER
   ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0.875rem 0;
    transition: box-shadow 0.2s;
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-text strong {
    font-weight: 800;
    color: var(--primary);
}

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

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav a:hover { color: var(--primary); background: rgba(37,99,235,0.06); }

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-nav:hover { background: var(--primary-dark); }

/* =====================
   HERO
   ===================== */
.hero {
    padding: 7rem 0 5rem;
    background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 40%, #e0f2fe 100%);
    margin-top: 3.75rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    animation: fadeInUp 0.7s ease-out;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-proof-item svg { color: var(--success); }

/* =====================
   STATS BAR
   ===================== */
.stats {
    padding: 2.5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.375rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-white);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s ease 0.3s;
}

.workflow-steps.animated::before {
    transform: scaleX(1);
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.workflow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.375rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,99,235,0.4);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.workflow-step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(37,99,235,0.45);
}

.workflow-step:hover .step-number::after {
    opacity: 1;
    transform: scale(1.15);
}

.workflow-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* =====================
   FEATURES
   ===================== */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feature-icon.blue { background: rgba(37,99,235,0.1); color: var(--primary); }
.feature-icon.sky { background: rgba(14,165,233,0.1); color: var(--accent-dark); }
.feature-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.feature-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.feature-icon.amber { background: rgba(245,158,11,0.1); color: var(--warning); }
.feature-icon.red { background: rgba(239,68,68,0.1); color: var(--danger); }

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
}

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

.feature-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-tag.new { background: rgba(16,185,129,0.1); color: var(--success); }
.feature-tag.ai { background: rgba(124,58,237,0.1); color: var(--purple); }

/* =====================
   AI SECTION
   ===================== */
.ai-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.ai-section .section-header { color: white; }
.ai-section .section-header h2 { color: white; }
.ai-section .section-header p { color: rgba(255,255,255,0.75); }
.ai-section .section-eyebrow { color: #60a5fa; }

/* AI Hub Diagram */
.ai-hub-diagram {
    position: relative;
    width: 560px;
    height: 560px;
    margin: 2rem auto 0;
}

.ai-hub-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.ai-hub-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ai-hub-center.visible { opacity: 1; }

.ai-hub-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1.5px solid rgba(96,165,250,0.35);
    animation: hubPulse 2.6s ease-out infinite;
}

.ai-hub-ring-2 { animation-delay: 1.3s; }

@keyframes hubPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.75); opacity: 0; }
}

.ai-hub-core {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    box-shadow: 0 0 50px rgba(37,99,235,0.55);
    z-index: 1;
    position: relative;
}

.ai-hub-core span {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-node {
    position: absolute;
    left: var(--cx);
    top: var(--cy);
    transform: translate(-50%, -50%) scale(0.75);
    width: 108px;
    height: 108px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.75rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.45s ease var(--delay, 0.4s),
                transform 0.45s ease var(--delay, 0.4s),
                background 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: default;
    z-index: 2;
}

.ai-node.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ai-node:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(96,165,250,0.5);
    box-shadow: 0 0 24px rgba(96,165,250,0.22);
}

.ai-node-icon {
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-node-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
}

/* =====================
   WORKFLOW DEEP DIVE
   ===================== */
.workflow-detail {
    padding: 6rem 0;
    background: var(--bg-white);
}

.workflow-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.workflow-tab-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.workflow-tab-btn.active,
.workflow-tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.workflow-panel {
    display: none;
}

.workflow-panel.active { display: block; }

.workflow-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.workflow-panel-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.workflow-panel-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.workflow-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.workflow-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.workflow-list-check {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(37,99,235,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 0.125rem;
}

.workflow-visual {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
}

.state-flow {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.state-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.state-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    min-width: 160px;
    text-align: center;
}

.state-badge.draft { background: #f1f5f9; color: #64748b; border: 1px solid #cbd5e1; }
.state-badge.active { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.state-badge.review { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.state-badge.vendor { background: #ede9fe; color: #6d28d9; border: 1px solid #c4b5fd; }
.state-badge.done { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }

.state-arrow { color: var(--text-muted); font-size: 1rem; }
.state-note { font-size: 0.75rem; color: var(--text-muted); }

/* =====================
   ROLES SECTION
   ===================== */
.roles-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.role-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.25s;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.role-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.role-icon.admin { background: linear-gradient(135deg, #ef4444, #dc2626); }
.role-icon.manager { background: linear-gradient(135deg, #f59e0b, #d97706); }
.role-icon.assessor { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.role-icon.business { background: linear-gradient(135deg, #10b981, #059669); }

.role-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.role-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* =====================
   INDUSTRIES / USE CASES
   ===================== */
.industries {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.industry-card {
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    transition: all 0.25s;
    background: var(--bg-white);
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.industry-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.industry-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* =====================
   BENEFITS / VALUE PROPS
   ===================== */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-item h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.benefit-num {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* =====================
   CTA / CONTACT FORM
   ===================== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(160deg, var(--primary) 0%, var(--accent-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.cta-content { color: white; }

.cta-eyebrow {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.25rem;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.0625rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cta-bullets li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.cta-bullets li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.cta-form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.cta-form-card .form-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-form-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.875rem;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    padding: 3rem 0 1.5rem;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo-text { color: white; font-size: 1.375rem; }
.footer-brand .logo-text strong { color: #93c5fd; }

.footer-brand p {
    margin-top: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    max-width: 280px;
}

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

.footer-column h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    transition: color 0.2s;
}

.footer-column a:hover { color: white; }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-layout { gap: 2.5rem; }
    .cta-grid { gap: 3rem; }
    .workflow-steps::before { display: none; }
}

@media (max-width: 768px) {
    .nav a:not(.btn-nav) { display: none; }

    .hero { padding: 5.5rem 0 3.5rem; }
    .hero-title { font-size: 2.125rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .hero-proof { gap: 1rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }

    .workflow-steps { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .roles-grid { grid-template-columns: repeat(2, 1fr); }

    .ai-hub-diagram { transform: scale(0.72); transform-origin: top center; margin-bottom: -9rem; }
    .workflow-panel-grid { grid-template-columns: 1fr; }

    .cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ai-hub-diagram { transform: scale(0.55); transform-origin: top center; margin-bottom: -15rem; }
    .form-row { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

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

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 1.875rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta a, .hero-cta button { width: 100%; text-align: center; justify-content: center; }
    .roles-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .industry-card { flex-direction: column; gap: 1rem; }
}

/* =====================
   AI FEATURE MODAL
   ===================== */
.ai-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.ai-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.ai-modal-card {
    background: linear-gradient(160deg, #1a2744 0%, #0f172a 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 460px;
    width: 100%;
    position: relative;
    transform: scale(0.88) translateY(24px);
    transition: transform 0.4s cubic-bezier(0.34, 1.46, 0.64, 1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(96, 165, 250, 0.2),
                0 0 50px rgba(37, 99, 235, 0.12);
}

.ai-modal-overlay.open .ai-modal-card {
    transform: scale(1) translateY(0);
}

.ai-modal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 2rem; right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, #818cf8, transparent);
    border-radius: 999px;
}

.ai-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.ai-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.ai-modal-icon-wrap {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.35), rgba(14,165,233,0.35));
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #60a5fa;
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.2);
}

.ai-modal-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ai-modal-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.ai-modal-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.ai-modal-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.ai-modal-highlights li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    margin-top: 0.45rem;
}

.ai-node { cursor: pointer; }
