@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --black: #000000;
    --white: #ffffff;
    
    --primary: var(--blue-500);
    --primary-light: var(--blue-400);
    --primary-dark: var(--blue-600);
    --accent: var(--cyan-400);
    
    --text-primary: var(--white);
    --text-secondary: var(--slate-400);
    --text-muted: var(--slate-500);
    
    --bg-primary: var(--black);
    --bg-secondary: var(--slate-950);
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-solid: #0f172a;
    
    --border: rgba(51, 65, 85, 0.5);
    --border-light: rgba(71, 85, 105, 0.3);
    
    --glow: 0 0 60px rgba(59, 130, 246, 0.3);
    --glow-strong: 0 0 100px rgba(59, 130, 246, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s ease;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--slate-600);
    background: rgba(255,255,255,0.03);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--black) !important;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity var(--transition);
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-hay {
    color: var(--primary);
}

.logo-analysis {
    color: var(--white);
}

/* Inline brand name styling for text content */
.brand-name {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-name .hay {
    color: var(--primary);
}

.brand-name .analysis {
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary);
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-workflow {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 32px;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* New Hero Chips */
.hero-chips {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-chip:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-chip.highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(59, 130, 246, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--accent);
}

.chip-icon {
    font-size: 1rem;
}

/* New Hero Title */
.hero-title-new {
    text-align: center;
    margin-bottom: 32px;
}

.title-small {
    display: block;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.title-nextgen {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    opacity: 0.9;
}

.title-big {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    white-space: nowrap;
    text-align: center;
    transform: translateX(-5%);
}

.word-fully {
    color: var(--text-primary);
    display: inline-block;
}

.word-soc {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

.word-automated {
    background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cursor-blink {
    -webkit-text-fill-color: var(--accent);
    animation: cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Demo Button */
.hero-demo-button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.btn-demo {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-demo:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Hero Stats Mini Bar */
.hero-stats-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.stat-mini {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

@media (max-width: 768px) {
    .hero-chips {
        gap: 8px;
    }
    
    .hero-chip {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .title-big {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        letter-spacing: -2px;
    }
    
    .word-fully {
        display: block;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
        border-radius: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
}

.metric-number {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.trust-item-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-icon-small {
    font-size: 1rem;
}

.trust-badge-small {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   TRUSTED BY SECTION
═══════════════════════════════════════════ */
.trusted-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trusted-logo-placeholder {
    width: 140px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.trusted-logo-placeholder:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.placeholder-icon {
    font-size: 28px;
    opacity: 1;
}

.placeholder-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.trusted-logo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.trusted-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
    margin-top: 10px;
}

/* ═══════════════════════════════════════════
   LOGOS SECTION
═══════════════════════════════════════════ */
.logos-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.logos-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity var(--transition);
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS SECTION
═══════════════════════════════════════════ */
.how-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.workflow-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}

.workflow-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.workflow-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.workflow-step-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, var(--bg-card) 100%);
}

.step-indicator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
}

.workflow-step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.workflow-step-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.step-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan-400));
}

.connector-arrow {
    display: none;
}

/* ═══════════════════════════════════════════
   AI BRAIN SECTION
═══════════════════════════════════════════ */
.ai-brain-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.brain-visual {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.signal-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.column-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    animation: fadeSlideIn 0.5s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.outputs .signal-item {
    animation-name: fadeSlideInRight;
}

@keyframes fadeSlideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.signal-item:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.signal-item.action {
    border-color: rgba(34, 211, 238, 0.3);
}

.signal-item.action:hover {
    border-color: var(--cyan-400);
    background: rgba(34, 211, 238, 0.05);
}

.signal-icon {
    font-size: 1.25rem;
}

.signal-text {
    font-weight: 500;
}

/* AI Core */
.ai-core {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-rings {
    position: absolute;
    inset: 0;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.ring-1 {
    inset: 0;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    inset: 30px;
    border-color: rgba(59, 130, 246, 0.3);
    animation: rotate 15s linear infinite reverse;
}

.ring-3 {
    inset: 60px;
    border-color: rgba(59, 130, 246, 0.4);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.core-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.core-icon {
    font-size: 3rem;
    color: var(--primary);
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.8));
    display: block;
    margin-bottom: 8px;
}

.core-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.core-sublabel {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.flow-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flow-line {
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.flow-line.left {
    right: 100%;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.flow-line.right {
    left: 100%;
}

/* ═══════════════════════════════════════════
   PLATFORM SECTION
═══════════════════════════════════════════ */
.platform-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

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

.platform-card.main-card {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-card) 100%);
}

.card-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.main-card .card-icon {
    font-size: 4rem;
    margin-bottom: 0;
}

.platform-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.card-tags span {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   DEPLOYMENT SECTION
═══════════════════════════════════════════ */
.deployment-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.deployment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transition: all var(--transition);
}

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

.deployment-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, var(--bg-card) 100%);
}

.deployment-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.deployment-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.deployment-badge.saas {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.deployment-badge.self-hosted {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.deployment-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.deployment-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.deployment-features {
    list-style: none;
    margin-bottom: 24px;
}

.deployment-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.deployment-features li:last-child {
    border-bottom: none;
}

.feature-check {
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
}

.deployment-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.note-icon {
    flex-shrink: 0;
}

.deployment-flexibility {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.deployment-flexibility h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.deployment-flexibility p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.flexibility-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flex-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.flex-badge:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   INTEGRATIONS SECTION
═══════════════════════════════════════════ */
.integrations-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.integration-category h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.integration-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.integration-items span {
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.integration-items span:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   RESULTS SECTION
═══════════════════════════════════════════ */
.results-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.results-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

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

.result-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   PROMISE / GUARANTEE SECTION
═══════════════════════════════════════════ */
.promise-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.promise-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.promise-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.promise-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.promise-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.promise-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    text-align: left;
}

.promise-item {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.promise-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.promise-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promise-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.promise-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.promise-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   TRUST / COMPLIANCE SECTION
═══════════════════════════════════════════ */
.trust-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.trust-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.trust-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ═══════════════════════════════════════════
   STATS BAR SECTION
═══════════════════════════════════════════ */
.stats-bar {
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(34, 211, 238, 0.04) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number-large {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════ */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: 'Syne', serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-company {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════ */
.faq-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--primary-light);
}

.contact-company {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.contact-company p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-company .company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.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(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-group label a {
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

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

/* Form Trust Badges */
.form-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.form-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-icon {
    font-size: 0.9rem;
}

.form-security-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
}

.shield-icon {
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-trust-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    margin-bottom: 48px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-trust-icon {
    font-size: 1.2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
}

.footer-company {
    margin-top: 8px !important;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.footer-company strong {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

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

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color var(--transition);
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .workflow-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .workflow-connector {
        transform: rotate(90deg);
        padding: 16px 0;
    }
    
    .brain-visual {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .ai-core {
        margin: 0 auto;
    }
    
    .signal-column {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card.main-card {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deployment-grid {
        grid-template-columns: 1fr;
    }
    
    .results-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .promise-details {
        grid-template-columns: 1fr;
    }
    
    .promise-card {
        padding: 40px 24px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-trust-bar {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 24px;
    }
    
    .metric-divider {
        width: 40px;
        height: 1px;
    }
    
    .logos-grid {
        gap: 24px;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .stat-number-large {
        font-size: 2rem;
    }
    
    .hero-trust-bar {
        flex-direction: column;
        gap: 12px;
    }
    
    .trusted-logos {
        gap: 12px;
    }
    
    .trusted-logo-placeholder {
        width: 110px;
        height: 70px;
    }
    
    .placeholder-icon {
        font-size: 22px;
    }
    
    .placeholder-text {
        font-size: 0.65rem;
    }
    
    .trusted-label {
        font-size: 1.1rem;
    }
    
    .form-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .form-security-badges {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ═══════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════ */
.legal-section {
    padding: 140px 0 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-highlight {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.legal-highlight strong {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.legal-highlight ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.legal-highlight ul li {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.legal-highlight.warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.legal-highlight.warning strong {
    color: #f59e0b;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.security-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.security-item h3 {
    margin-top: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.security-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.workflow-step-card,
.platform-card,
.result-card {
    animation: fadeIn 0.6s ease forwards;
}

/* ═══════════════════════════════════════════
   CHALLENGES SECTION
═══════════════════════════════════════════ */
.challenges-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.challenge-icon.problem {
    background: rgba(239, 68, 68, 0.15);
}

.challenge-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.challenge-problem,
.challenge-solution {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.challenge-problem {
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
}

.challenge-solution {
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid #22c55e;
}

.problem-label,
.solution-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.problem-label {
    color: #ef4444;
}

.solution-label {
    color: #22c55e;
}

.challenge-problem p,
.challenge-solution p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   AI FLEXIBILITY SECTION
═══════════════════════════════════════════ */
.ai-flexibility-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.ai-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.ai-option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.ai-option-card.highlight {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.ai-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.option-header {
    margin-bottom: 20px;
}

.option-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.option-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.option-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.option-badge.featured {
    background: var(--accent);
    color: var(--bg-primary);
}

.ai-option-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.option-features li:last-child {
    border-bottom: none;
}

.option-features .check {
    color: var(--accent);
    font-weight: bold;
}

.ai-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 48px;
    padding: 32px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
}

.privacy-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.privacy-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.privacy-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .ai-options-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-privacy-note {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════
   DEPLOYMENT MATRIX
═══════════════════════════════════════════ */
.deployment-matrix-container {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.matrix-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

.deployment-matrix {
    overflow-x: auto;
}

.deployment-matrix table {
    width: 100%;
    border-collapse: collapse;
}

.deployment-matrix th,
.deployment-matrix td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.deployment-matrix th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 600;
    color: var(--text-primary);
}

.deployment-matrix th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.deployment-matrix th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.th-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.th-badge.saas {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
}

.th-badge.self-hosted {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.deployment-matrix td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.deployment-matrix tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.matrix-check {
    color: #22c55e;
    font-weight: bold;
    margin-right: 6px;
}

.matrix-no {
    color: var(--text-muted);
}

.matrix-note {
    color: var(--text-secondary);
    font-style: italic;
}

/* ═══════════════════════════════════════════
   ARCHITECTURE SECTION
═══════════════════════════════════════════ */
.architecture-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.arch-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.arch-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.arch-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.arch-diagram {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
}

.arch-layer {
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.arch-layer.your-infra {
    background: rgba(34, 197, 94, 0.1);
    border: 1px dashed rgba(34, 197, 94, 0.3);
}

.arch-layer.hayanalysis {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.layer-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.arch-nodes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.arch-node.ha {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
}

.node-icon {
    font-size: 1rem;
}

.arch-flow-lines {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 12px 0;
}

.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-arrow.query {
    color: var(--accent);
}

.flow-arrow.results {
    color: #22c55e;
}

.arrow-line {
    width: 2px;
    height: 30px;
    position: relative;
}

.arrow-line.down {
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.arrow-line.down::after {
    content: '↓';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
}

.arrow-line.up {
    background: linear-gradient(to top, #22c55e, transparent);
}

.arrow-line.up::after {
    content: '↑';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #22c55e;
}

.arch-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--accent);
}

.note-icon {
    font-size: 1rem;
}

/* Tenant Diagram */
.arch-diagram.tenant {
    padding: 24px;
}

.tenant-visual {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.tenant-box {
    flex: 1;
    padding: 20px;
    border-radius: var(--radius-md);
}

.tenant-box.tenant-a {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.tenant-box.tenant-b {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tenant-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tenant-components {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tenant-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tenant-wall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border-left: 2px dashed rgba(239, 68, 68, 0.5);
    border-right: 2px dashed rgba(239, 68, 68, 0.5);
}

.tenant-wall span:first-child {
    font-size: 24px;
}

.wall-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ef4444;
    margin-top: 8px;
}

.arch-guarantees {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.guarantee-item {
    font-size: 0.8rem;
    color: #22c55e;
}

@media (max-width: 1024px) {
    .architecture-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tenant-visual {
        flex-direction: column;
    }
    
    .tenant-box.tenant-a,
    .tenant-box.tenant-b {
        border-radius: var(--radius-md);
        border: 1px solid;
    }
    
    .tenant-box.tenant-a {
        border-color: rgba(0, 212, 255, 0.3);
    }
    
    .tenant-box.tenant-b {
        border-color: rgba(168, 85, 247, 0.3);
    }
    
    .tenant-wall {
        writing-mode: initial;
        padding: 12px;
        border: none;
        border-top: 2px dashed rgba(239, 68, 68, 0.5);
        border-bottom: 2px dashed rgba(239, 68, 68, 0.5);
    }
    
    .wall-label {
        writing-mode: initial;
    }
}

/* ═══════════════════════════════════════════
   INDUSTRY VERTICALS SECTION
═══════════════════════════════════════════ */
.verticals-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.vertical-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
}

.vertical-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.vertical-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.vertical-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.vertical-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.vertical-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.vertical-features li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.vertical-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.vertical-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .verticals-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   COMPETITOR COMPARISON SECTION
═══════════════════════════════════════════ */
.comparison-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.comparison-table-wrapper {
    margin-top: 60px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.4);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comparison-table th.feature-col {
    width: 30%;
}

.comparison-table th.ha-col {
    background: rgba(0, 212, 255, 0.15);
}

.comparison-table th .logo-hay {
    color: var(--accent);
}

.comparison-table th .logo-analysis {
    color: var(--text-primary);
}

.comparison-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comparison-table td.feature-name {
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td.ha-cell {
    background: rgba(0, 212, 255, 0.05);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover td.ha-cell {
    background: rgba(0, 212, 255, 0.08);
}

.comp-yes {
    color: #22c55e;
    font-weight: bold;
}

.comp-no {
    color: #ef4444;
    font-weight: bold;
}

.comp-partial {
    color: #f59e0b;
    font-weight: bold;
}

.comparison-cta {
    text-align: center;
    margin-top: 40px;
}

.comparison-cta p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   FEATURED TESTIMONIALS
═══════════════════════════════════════════ */
.featured-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    margin-bottom: 48px;
}

.featured-testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.featured-testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    background: rgba(0, 212, 255, 0.03);
}

.featured-testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.featured-testimonial-card .testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.featured-testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.testimonial-metrics {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.testimonial-metrics .metric {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-sm);
}

.testimonial-metrics .metric strong {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .featured-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   RESOURCES SECTION
═══════════════════════════════════════════ */
.resources-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.resource-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    background: rgba(0, 212, 255, 0.03);
}

.resource-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.resource-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.resource-card:hover h3 {
    color: var(--accent);
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.resource-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   TRUST CENTER PAGE STYLES
═══════════════════════════════════════════ */
.trust-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.trust-hero h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 16px;
}

.trust-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.trust-certifications {
    padding: 80px 0;
    background: var(--bg-primary);
}

.trust-certifications h2,
.trust-architecture h2,
.trust-deployment h2,
.trust-practices h2,
.trust-docs h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.cert-badge {
    font-size: 40px;
    margin-bottom: 16px;
}

.cert-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cert-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.cert-status.compliant {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.cert-status.aligned {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
}

.cert-status.ready {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.cert-status.progress {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cert-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.cert-link:hover {
    text-decoration: underline;
}

.trust-architecture {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: -32px auto 48px;
    font-size: 1rem;
}

.arch-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.arch-overview-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.arch-overview-card .arch-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.arch-overview-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.arch-overview-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.arch-overview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arch-overview-card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.arch-overview-card ul li:last-child {
    border-bottom: none;
}

.arch-overview-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.trust-deployment {
    padding: 80px 0;
    background: var(--bg-primary);
}

.deployment-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.deploy-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.deploy-option.self-hosted {
    border-color: rgba(168, 85, 247, 0.3);
}

.deploy-option h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.deploy-option > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.deploy-table {
    width: 100%;
}

.deploy-table tr {
    border-bottom: 1px solid var(--border);
}

.deploy-table td {
    padding: 12px 0;
    font-size: 0.9rem;
}

.deploy-table td:first-child {
    color: var(--text-muted);
    width: 40%;
}

.deploy-table td:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.trust-practices {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.practice-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.practice-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.practice-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-card ul li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.practice-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.trust-docs {
    padding: 80px 0;
    background: var(--bg-primary);
}

.docs-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}

.docs-card h2 {
    margin-bottom: 16px;
}

.docs-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.docs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: left;
}

.doc-icon {
    font-size: 1.2rem;
}

.trust-contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.trust-contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-contact-card h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.trust-contact-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.security-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sec-contact {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.sec-contact h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sec-contact a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.sec-contact a:hover {
    text-decoration: underline;
}

.sec-contact span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-note {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .certifications-grid,
    .arch-overview-grid,
    .deployment-comparison,
    .practices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .certifications-grid,
    .arch-overview-grid,
    .deployment-comparison,
    .practices-grid,
    .security-contacts {
        grid-template-columns: 1fr;
    }
    
    .trust-hero h1 {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════
   COMPACT WORKFLOW SECTION
═══════════════════════════════════════════ */
/* Hero Workflow Flow Diagram */
.hero-workflow-flow {
    margin: 40px 0 60px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

.workflow-flow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 75vw;
    width: 75vw;
    margin: 0 auto;
    padding: 30px 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

/* Workflow Logo */
.workflow-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.workflow-logo .logo-icon {
    font-size: 1.2rem;
    color: var(--accent);
}

.workflow-logo .logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.workflow-logo .logo-hay {
    color: var(--primary);
}

.workflow-logo .logo-analysis {
    color: var(--white);
}

/* Engine Row - Horizontal layout with branches */
.engine-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

/* Branch Groups */
.branch-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    max-width: 350px;
    flex: 1;
}

.branch-group.left {
    align-items: flex-end;
}

.branch-group.right {
    align-items: flex-start;
}

/* Branch Categories */
.branch-category {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
}

.branch-category:last-child {
    margin-bottom: 0;
}

.category-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
    padding: 4px 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
}

.branch-group.left .category-label {
    text-align: center;
}

.branch-group.right .category-label {
    text-align: center;
}

.category-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.branch-group.left .category-items {
    justify-content: flex-end;
}

.branch-group.right .category-items {
    justify-content: flex-start;
}

/* Branch Items */
.branch-item {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    white-space: nowrap;
    opacity: 0;
    animation: branchAppear 0.5s ease forwards;
    animation-delay: var(--delay);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.branch-item:hover {
    transform: scale(1.05);
    border-color: #f59e0b;
    color: #f59e0b;
}

.branch-item.api {
    border-color: rgba(0, 212, 255, 0.4);
}

.branch-item.api:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.branch-item.action {
    border-color: rgba(34, 197, 94, 0.4);
}

.branch-item.action:hover {
    border-color: #22c55e;
    color: #22c55e;
}

@keyframes branchAppear {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.branch-group.right .branch-item {
    animation-name: branchAppearRight;
}

@keyframes branchAppearRight {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Connector Lines (SVG) */
.connector-lines {
    width: 60px;
    height: 100%;
    min-height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.connector-lines svg {
    width: 100%;
    height: 100%;
}

.connector-path {
    fill: none;
    stroke: rgba(245, 158, 11, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 1.5s ease forwards;
}

.connector-path.cyan {
    stroke: rgba(0, 212, 255, 0.25);
}

.connector-path.green {
    stroke: rgba(34, 197, 94, 0.25);
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* Neural Network Nodes - Subtle, minimal glow */
.neural-node {
    fill: rgba(245, 158, 11, 0.5);
}

.neural-node.start {
    fill: rgba(255, 255, 255, 0.3);
}

.neural-node.end {
    fill: rgba(245, 158, 11, 0.7);
}

.neural-node.end.gold {
    fill: rgba(245, 158, 11, 0.7);
}

.neural-node.cyan,
.neural-node.start.cyan {
    fill: rgba(0, 212, 255, 0.3);
}

.neural-node.end.cyan {
    fill: rgba(0, 212, 255, 0.7);
}

.neural-node.green,
.neural-node.start.green {
    fill: rgba(34, 197, 94, 0.3);
}

.neural-node.end.green {
    fill: rgba(34, 197, 94, 0.7);
}

/* Neural Network Animated Pulses - Subtle, minimal glow */
.neural-pulse {
    fill: rgba(245, 158, 11, 0.8);
}

.neural-pulse.gold {
    fill: rgba(245, 158, 11, 0.8);
}

.neural-pulse.cyan {
    fill: rgba(0, 212, 255, 0.8);
}

.neural-pulse.green {
    fill: rgba(34, 197, 94, 0.8);
}

/* Make paths subtle for neural effect */
.connector-lines.neural .connector-path {
    stroke-width: 1;
    stroke-opacity: 0.3;
}

/* Engine Core Box */
.engine-core {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.engine-core:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}

.engine-core.detection {
    border-color: rgba(245, 158, 11, 0.5);
}

.engine-core.investigation {
    border-color: rgba(0, 212, 255, 0.5);
}

.engine-core.investigation:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

.engine-core.resolution {
    border-color: rgba(34, 197, 94, 0.5);
}

.engine-core.resolution:hover {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.2);
}

.engine-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #f59e0b;
    color: #000;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
}

.engine-core.investigation .engine-num {
    background: var(--accent);
}

.engine-core.resolution .engine-num {
    background: #22c55e;
}

.engine-icon-main {
    font-size: 2rem;
    margin-bottom: 8px;
}

.engine-core h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
    letter-spacing: 1px;
}

.engine-core p {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--font-mono);
}

.engine-separator {
    font-size: 0.6rem;
    color: rgba(0, 212, 255, 0.4);
    margin: 8px 0;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-align: center;
    overflow: hidden;
}

.engine-core.resolution .engine-separator {
    color: rgba(34, 197, 94, 0.4);
}

.engine-description {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
    font-family: var(--font-body);
}


/* Vertical Flow Connector */
.flow-connector-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20px;
    position: relative;
}

.flow-line-v {
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.3));
    border-radius: 2px;
}

.flow-arrow-v {
    color: var(--accent);
    font-size: 1rem;
    position: absolute;
    bottom: -8px;
    animation: pulseDown 1.5s ease-in-out infinite;
}

@keyframes pulseDown {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(3px); }
}

/* Responsive Flow Diagram */
@media (max-width: 900px) {
    .hero-workflow-flow {
        padding: 0 10px;
    }
    
    .workflow-flow-container {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
    }
    
    .workflow-logo {
        top: 15px;
        left: 15px;
    }
    
    .workflow-logo .logo-icon {
        font-size: 1rem;
    }
    
    .workflow-logo .logo-text {
        font-size: 0.95rem;
    }
    
    .branch-group {
        min-width: 150px;
        max-width: 200px;
    }
    
    .branch-group {
        min-width: 100px;
    }
    
    .branch-item {
        padding: 6px 10px;
        font-size: 0.6rem;
    }
    
    .category-label {
        font-size: 0.55rem;
        padding: 3px 6px;
    }
    
    .category-items {
        gap: 4px;
    }
    
    .branch-category {
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .connector-lines {
        width: 40px;
    }
    
    .engine-core {
        width: 130px;
        padding: 18px 14px;
    }
    
    .engine-icon-main {
        font-size: 1.5rem;
    }
    
    .engine-core h4 {
        font-size: 0.8rem;
    }
    
    .engine-separator {
        font-size: 0.5rem;
        margin: 6px 0;
    }
    
    .engine-description {
        font-size: 0.6rem;
        margin-top: 6px;
    }
    
    .engine-core.investigation {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .workflow-flow-container {
        padding: 30px 15px;
        border-radius: var(--radius-lg);
    }
    
    .workflow-logo {
        top: 10px;
        left: 10px;
    }
    
    .workflow-logo .logo-icon {
        font-size: 0.9rem;
    }
    
    .workflow-logo .logo-text {
        font-size: 0.85rem;
    }
    
    .engine-row {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .branch-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        min-width: auto;
        width: 100%;
        order: 2;
    }
    
    .branch-group.left {
        align-items: center;
    }
    
    .branch-group.right {
        align-items: center;
    }
    
    .branch-category {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .category-label {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    
    .category-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .branch-group.left .category-items,
    .branch-group.right .category-items {
        align-items: center;
    }
    
    .connector-lines {
        display: none;
    }
    
    .engine-core {
        order: 1;
        width: 100%;
        max-width: 200px;
    }
    
    .engine-separator {
        font-size: 0.5rem;
        margin: 6px 0;
    }
    
    .engine-description {
        font-size: 0.6rem;
        margin-top: 6px;
        line-height: 1.3;
    }
    
    .engine-core.investigation {
        min-width: auto;
        max-width: 100%;
    }
}

/* Legacy Compact Styles */
.hero-workflow-compact {
    margin: 30px 0 50px;
    width: 100%;
}

.workflow-compact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

/* Step Card */
.step-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.step-detection {
    border-left: 3px solid #f59e0b;
}

/* Expanded Step Card (for Detection) */
.step-card-expanded {
    width: 100%;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.step-card-expanded:hover {
    border-color: #f59e0b;
}

.step-card-expanded.step-detection {
    border-left: 3px solid #f59e0b;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.step-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.step-title h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f59e0b;
    margin: 0;
    letter-spacing: 2px;
}

.step-stat {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.step-stat strong {
    color: var(--accent);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    padding-left: 44px;
}

/* BYODb Box */
.byodb-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-left: 44px;
}

.byodb-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.byodb-databases {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.byodb-databases span {
    padding: 5px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: all 0.2s ease;
}

.byodb-databases span:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b;
}

@media (max-width: 600px) {
    .step-card-expanded {
        padding: 16px;
    }
    
    .step-desc {
        padding-left: 0;
        margin-top: 8px;
    }
    
    .byodb-box {
        margin-left: 0;
    }
    
    .step-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.step-investigation {
    border-left: 3px solid var(--accent);
}

.step-resolution {
    border-left: 3px solid #22c55e;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.step-detection .step-num {
    background: #f59e0b;
}

.step-resolution .step-num {
    background: #22c55e;
}

.step-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
    min-width: 0;
}

.step-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.step-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--font-mono);
}

/* Step Branches */
.step-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
    max-width: 280px;
}

.branch-tag {
    padding: 4px 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.6rem;
    color: var(--accent);
    white-space: nowrap;
    font-family: var(--font-mono);
}

.branch-tag.action {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Step Arrow */
.step-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.6;
    animation: pulseArrow 1.5s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(3px); }
}

/* Responsive Compact Workflow */
@media (max-width: 600px) {
    .step-card {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 10px;
    }
    
    .step-branches {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .step-info h4 {
        font-size: 0.85rem;
    }
    
    .step-info p {
        font-size: 0.7rem;
    }
}

/* ═══════════════════════════════════════════
   LEGACY 3D ANIMATED WORKFLOW SECTION
═══════════════════════════════════════════ */
/* Hero Workflow Section - Fullscreen 3 Engine Design */
.hero-workflow-fullscreen {
    margin: 30px 0 50px;
    padding: 0;
    width: 100%;
}

.workflow-fullscreen-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 50px 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
    min-height: auto;
    position: relative;
}

/* Engine Boxes */
.engine-box {
    width: 100%;
    max-width: 600px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.engine-box:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.engine-detection {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.engine-investigation {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    padding-left: 180px;
    padding-right: 180px;
}

.engine-resolution {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    padding-left: 180px;
    padding-right: 180px;
}

.engine-number {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.engine-detection .engine-number {
    background: #f59e0b;
}

.engine-resolution .engine-number {
    background: #22c55e;
}

/* Engine Header */
.engine-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.engine-icon {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.engine-icon.large {
    width: 60px;
    height: 60px;
    font-size: 28px;
}

.icon-glow-engine {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: engineGlow 2s ease-in-out infinite;
}

.icon-glow-engine.cyan {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
}

.icon-glow-engine.green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 70%);
}

.engine-detection .icon-glow-engine {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
}

@keyframes engineGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

.engine-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

/* Engine Content */
.engine-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.engine-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin: 4px 0;
    font-size: 0.75rem;
}

.engine-sub-item.highlight {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.sub-icon {
    font-size: 0.9rem;
}

.sub-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.engine-arrow-down {
    color: var(--accent);
    font-size: 1rem;
    margin: 2px 0;
    display: inline;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.engine-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.engine-subdesc {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin: 0;
}

/* Flow Arrows between Engines */
.engine-flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    flex-shrink: 0;
    position: relative;
}

.flow-line {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.3));
    border-radius: 2px;
}

.flow-pulse {
    position: absolute;
    width: 3px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
    animation: flowPulseVertical 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px var(--accent);
}

@keyframes flowPulseVertical {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 20px); opacity: 0; }
}

.flow-arrow-head {
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 1;
    text-shadow: 0 0 15px var(--accent);
    position: absolute;
    bottom: -8px;
    transform: rotate(90deg);
}

/* Engine Branches */
.engine-branches {
    position: absolute;
    display: flex;
    z-index: 3;
}

.engine-branches.top {
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 6px;
}

.engine-branches.left-side {
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 6px;
}

.engine-branches.right-side {
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 6px;
}

.engine-branches.right-side.actions {
    right: -150px;
    gap: 6px;
}

.engine-branches.left-side.actions {
    left: -150px;
    gap: 6px;
}

.branch {
    opacity: 0;
    animation: branchFadeIn 0.5s ease forwards;
    animation-delay: var(--delay);
}

.branch.horizontal {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes branchFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.branch-connector {
    position: relative;
}

.branch-connector.up {
    width: 2px;
    height: 40px;
    margin: 0 auto 6px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.3), var(--accent));
}

.branch-connector.horizontal {
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), var(--accent));
}

.branch-connector.horizontal.green {
    background: linear-gradient(90deg, #22c55e, rgba(34, 197, 94, 0.3));
}

.branch-label {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    text-align: center;
    white-space: nowrap;
    min-width: 70px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.branch-label.action {
    border-color: rgba(34, 197, 94, 0.5);
    min-width: 70px;
}

.bl-icon {
    display: inline;
    font-size: 0.8rem;
    margin-right: 4px;
}

.bl-text {
    display: inline;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.workflow-2d-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    min-height: 380px;
    position: relative;
    overflow: visible;
}

/* 2D Workflow Stages */
.workflow-stage-2d {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    text-align: center;
}

.workflow-stage-2d:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.workflow-stage-2d.highlight-2d {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.4);
    min-height: 320px;
    padding-bottom: 80px;
    padding-top: 80px;
}

.stage-number-2d {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.stage-icon-2d {
    width: 55px;
    height: 55px;
    margin: 12px auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.stage-icon-2d.large {
    width: 70px;
    height: 70px;
    font-size: 32px;
}

.icon-glow-2d {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse2D 2s ease-in-out infinite;
}

.icon-glow-2d.gold {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
}

.icon-glow-2d.cyan {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
}

.icon-glow-2d.green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 70%);
}

.icon-glow-2d.pulse {
    animation: iconPulse2DFast 1.5s ease-in-out infinite;
}

@keyframes iconPulse2D {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes iconPulse2DFast {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.workflow-stage-2d h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 8px 0 4px;
    font-weight: 600;
}

.workflow-stage-2d p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0;
}

.stage-subtitle-2d {
    font-family: var(--font-mono);
    font-size: 0.7rem !important;
    color: var(--accent) !important;
    letter-spacing: 0.05em;
}

/* Flow Arrows */
.flow-arrow-2d {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    position: relative;
    height: 80px;
}

.arrow-line-2d {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 212, 255, 0.3));
    border-radius: 2px;
}

.arrow-pulse-2d {
    position: absolute;
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: arrowFlow2D 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes arrowFlow2D {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 20px); opacity: 0; }
}

.arrow-head-2d {
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 1;
    text-shadow: 0 0 10px var(--accent);
}

/* Data Particles */
.data-particles-2d {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.particle-2d {
    font-size: 8px;
    color: var(--accent);
    animation: particleFlow2D 2s ease-in-out infinite;
    opacity: 0;
}

.particle-2d:nth-child(1) { animation-delay: 0s; }
.particle-2d:nth-child(2) { animation-delay: 0.3s; }
.particle-2d:nth-child(3) { animation-delay: 0.6s; }

@keyframes particleFlow2D {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-30px); opacity: 0; }
}

/* Consolidation Animation */
.consolidation-visual-2d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.alert-dot-2d {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: alertMerge2D 3s ease-in-out infinite;
}

.alert-dot-2d.a1 { animation-delay: 0s; }
.alert-dot-2d.a2 { animation-delay: 0.2s; }
.alert-dot-2d.a3 { animation-delay: 0.4s; }

.consolidated-dot-2d {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 8px;
    animation: consolidatedPulse2D 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes alertMerge2D {
    0%, 40% { transform: translateX(0); opacity: 1; }
    70%, 100% { transform: translateX(20px); opacity: 0; }
}

@keyframes consolidatedPulse2D {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Investigation Branches - Top and Bottom */
.branches-top-2d,
.branches-bottom-2d {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.branches-top-2d {
    top: -65px;
}

.branches-bottom-2d {
    bottom: -65px;
}

.branch-item-2d {
    opacity: 0;
    animation: branchAppear2D 0.5s ease forwards;
    animation-delay: var(--delay);
}

@keyframes branchAppear2D {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.branch-line-2d {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.3));
    margin: 0 auto 6px;
    position: relative;
}

.branch-line-2d.down {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.3), var(--accent));
}

.branch-node-2d {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    min-width: 70px;
    max-width: 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.branch-icon-2d {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.branch-text-2d {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* Resolution Action Branches */
.action-branches-2d {
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.stage-4 {
    padding-bottom: 90px;
}

.action-item-2d {
    opacity: 0;
    animation: actionAppear2D 0.5s ease forwards;
    animation-delay: var(--delay);
}

@keyframes actionAppear2D {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.action-line-2d {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, #22c55e, rgba(34, 197, 94, 0.5));
    margin: 0 auto 6px;
    position: relative;
}

.action-pulse-2d {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #22c55e;
    animation: actionPulse2D 1.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 0 6px #22c55e;
}

@keyframes actionPulse2D {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 6px); opacity: 0; }
}

.action-node-2d {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    min-width: 70px;
    max-width: 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.action-icon-2d {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.action-text-2d {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stage-top {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
}

.stage-top-left {
    top: 100px;
    left: 180px;
    width: 180px;
}

.stage-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.4);
    z-index: 10;
}

.stage-bottom {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding-bottom: 160px;
}

.stage-content {
    text-align: center;
    padding-top: 8px;
}

.stage-content h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 10px 0 4px;
    font-weight: 600;
    line-height: 1.2;
}

.stage-content p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.2;
    margin: 0;
}

.stage-icon-3d {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stage-icon-3d.large {
    width: 80px;
    height: 80px;
    font-size: 36px;
}

/* Radial Branches from Center */
.radial-branch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    opacity: 0;
    animation: branchAppearRadial 0.5s ease forwards;
    animation-delay: var(--delay);
    z-index: 5;
    width: 0;
    height: 0;
}

@keyframes branchAppearRadial {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.branch-line {
    position: absolute;
    width: 2px;
    height: 180px;
    background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.3));
    transform-origin: top center;
    transform: rotate(var(--angle));
    top: 0;
    left: 50%;
    margin-left: -1px;
}

.branch-node {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-align: center;
    white-space: nowrap;
    min-width: 85px;
    max-width: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-size: 0.7rem;
}

.branch-icon {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.branch-text {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.2;
}

/* Resolution Actions Radial */
.resolution-actions-radial {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 130px;
}

.action-branch-radial {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: center top;
    transform: translateX(-50%) rotate(var(--angle));
    opacity: 0;
    animation: branchGrowRadial 0.5s ease forwards;
    animation-delay: var(--delay);
}

@keyframes branchGrowRadial {
    from { opacity: 0; transform: translateX(-50%) rotate(var(--angle)) scaleY(0); }
    to { opacity: 1; transform: translateX(-50%) rotate(var(--angle)) scaleY(1); }
}

.action-line-radial {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, #22c55e, rgba(34, 197, 94, 0.5));
    position: relative;
    margin: 0 auto;
}

.action-pulse {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #22c55e;
    animation: actionPulseRadial 1.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 0 6px #22c55e;
}

@keyframes actionPulseRadial {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 6px); opacity: 0; }
}

.action-node-radial {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: var(--radius-sm);
    padding: 5px 8px;
    text-align: center;
    white-space: nowrap;
    min-width: 70px;
    max-width: 85px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.action-node-radial .action-icon {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.action-node-radial .action-text {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-primary);
}

.workflow-3d-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Workflow Stages */
.workflow-stage {
    flex: 1;
    min-width: 120px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.workflow-stage:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.workflow-stage.highlight-stage {
    flex: 1.5;
    background: rgba(0, 212, 255, 0.03);
    border-color: rgba(0, 212, 255, 0.3);
}

.stage-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.stage-content {
    text-align: center;
    padding-top: 20px;
}

.stage-icon-3d {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stage-icon-3d.large {
    width: 60px;
    height: 60px;
    font-size: 28px;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-glow.gold {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
}

.icon-glow.cyan {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
}

.icon-glow.green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 70%);
}

.icon-glow.pulse {
    animation: iconPulseFast 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes iconPulseFast {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Orbit rings for investigation stage */
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: orbitSpin 8s linear infinite;
}

.orbit-ring.ring1 {
    inset: -10px;
    animation-duration: 6s;
}

.orbit-ring.ring2 {
    inset: -20px;
    animation-duration: 10s;
    animation-direction: reverse;
}

.orbit-ring.ring3 {
    inset: -30px;
    animation-duration: 14s;
    border-style: dashed;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stage-content h3 {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stage-content p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.stage-subtitle {
    font-family: var(--font-mono);
    font-size: 0.6rem !important;
    color: var(--accent) !important;
    letter-spacing: 0.05em;
}

/* Flow Arrows between stages */
.flow-arrow-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
    position: relative;
}

.arrow-beam {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 212, 255, 0.3));
    border-radius: 2px;
}

.arrow-pulse {
    position: absolute;
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: arrowFlow 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes arrowFlow {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 20px); opacity: 0; }
}

.arrow-head {
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 1;
    text-shadow: 0 0 10px var(--accent);
}

/* Data Particles Animation */
.data-particles {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.data-particles.radial {
    top: -30px;
}

.particle {
    position: absolute;
    font-size: 8px;
    color: var(--accent);
    animation: particleFlowRadial 2s ease-in-out infinite;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

.particle.p1 { top: -30px; animation-delay: 0s; }
.particle.p2 { top: -20px; animation-delay: 0.3s; }
.particle.p3 { top: -10px; animation-delay: 0.6s; }
.particle.p4 { top: 0; animation-delay: 0.9s; }
.particle.p5 { top: 10px; animation-delay: 1.2s; }

@keyframes particleFlowRadial {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(40px); opacity: 0; }
}

/* Consolidation Animation */
.consolidation-animation {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.alert-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: alertMerge 3s ease-in-out infinite;
}

.alert-dot.a1 { animation-delay: 0s; }
.alert-dot.a2 { animation-delay: 0.2s; }
.alert-dot.a3 { animation-delay: 0.4s; }

.consolidated-dot {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 8px;
    animation: consolidatedPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes alertMerge {
    0%, 40% { transform: translateX(0); opacity: 1; }
    70%, 100% { transform: translateX(20px); opacity: 0; }
}

@keyframes consolidatedPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Risk Indicator */
.risk-indicator {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.risk-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
}

.risk-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, #22c55e, #f59e0b, #ef4444);
    border-radius: 2px;
    animation: riskPulse 2s ease-in-out infinite;
}

@keyframes riskPulse {
    0%, 100% { width: 85%; }
    50% { width: 90%; }
}

/* Investigation Branches */
.investigation-branches {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.investigation-branches.left-branches {
    left: -100px;
}

.investigation-branches.right-branches {
    right: -100px;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: branchAppear 0.5s ease forwards;
    animation-delay: var(--delay);
}

@keyframes branchAppear {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.branch-label {
    font-size: 0.5rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    white-space: nowrap;
    padding: 2px 5px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.branch-arrow {
    width: 30px;
    height: 2px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.branch-arrow.incoming {
    background: linear-gradient(90deg, transparent, var(--accent));
}

.branch-arrow.outgoing {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.data-flow {
    position: absolute;
    width: 12px;
    height: 100%;
    background: var(--accent);
    animation: dataFlowIn 1.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 0 8px var(--accent);
}

.data-flow.reverse {
    animation: dataFlowOut 1.5s ease-in-out infinite;
}

@keyframes dataFlowIn {
    0% { left: -12px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes dataFlowOut {
    0% { right: -12px; opacity: 0; left: auto; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { right: 100%; opacity: 0; left: auto; }
}

/* Activity Ticker */
.activity-ticker {
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    overflow: hidden;
    height: 28px;
}

.ticker-item {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0;
    position: absolute;
    animation: tickerCycle 8s linear infinite;
}

.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(2) { animation-delay: 2s; }
.ticker-item:nth-child(3) { animation-delay: 4s; }
.ticker-item:nth-child(4) { animation-delay: 6s; }

.ticker-item.active {
    color: var(--accent);
}

@keyframes tickerCycle {
    0%, 20% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

/* Resolution Actions */
.stage-resolution {
    position: relative;
    min-height: 200px;
    padding-bottom: 90px;
}

.resolution-core {
    position: relative;
    z-index: 2;
}

.resolution-actions {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
}

.action-branch {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: center top;
    transform: translateX(-50%) rotate(var(--angle));
    opacity: 0;
    animation: branchGrow 0.5s ease forwards;
    animation-delay: var(--delay);
}

@keyframes branchGrow {
    from { opacity: 0; transform: translateX(-50%) rotate(var(--angle)) scaleY(0); }
    to { opacity: 1; transform: translateX(-50%) rotate(var(--angle)) scaleY(1); }
}

.action-line {
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, var(--accent), rgba(34, 197, 94, 0.5));
    position: relative;
    margin: 0 auto;
}

.action-pulse {
    position: absolute;
    width: 100%;
    height: 10px;
    background: #22c55e;
    animation: actionPulse 1.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 0 8px #22c55e;
}

@keyframes actionPulse {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: calc(100% - 10px); opacity: 0; }
}

.action-node {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    min-width: 70px;
    font-size: 0.7rem;
}

.action-icon {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.action-text {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.action-status {
    display: block;
    font-size: 0.5rem;
    font-family: var(--font-mono);
    color: #22c55e;
    margin-top: 1px;
}

/* Workflow Summary */
.workflow-summary {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.summary-stat {
    text-align: center;
}

.summary-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.summary-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Responsive 3D Workflow */
/* Responsive Fullscreen Engine Workflow */
@media (max-width: 1200px) {
    .workflow-fullscreen-container {
        padding: 40px 20px;
    }
    
    .engine-box {
        max-width: 500px;
    }
    
    .engine-branches.left-side,
    .engine-branches.right-side {
        display: none;
    }
    
    .engine-investigation,
    .engine-resolution {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 900px) {
    .workflow-fullscreen-container {
        gap: 20px;
        padding: 50px 20px;
    }
    
    .engine-box {
        max-width: 100%;
        padding: 25px 20px;
    }
    
    .engine-flow-arrow {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .workflow-fullscreen-container {
        gap: 15px;
        padding: 40px 15px;
    }
    
    .engine-box {
        padding: 20px 16px;
    }
    
    .engine-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .engine-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .engine-icon.large {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .engine-header h3 {
        font-size: 1rem;
    }
    
    .engine-flow-arrow {
        height: 30px;
    }
    
    .hero-workflow-fullscreen {
        margin: 20px 0 40px;
    }
    
    .engine-sub-item {
        padding: 10px 12px;
    }
    
    .sub-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .workflow-summary {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .summary-stat {
        flex: 1;
        min-width: 120px;
    }
    
    .summary-stat .stat-value {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════
   INTEGRATIONS SECTION
═══════════════════════════════════════════ */
.integrations-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

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

.integration-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
}

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

.category-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.integration-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.integration-chip {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.integration-chip:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: 1fr;
    }
}
