/* ===== EsperPraxi Styles v3.0 - Modern Comparison Design ===== */
/* ===== CSS Reset & Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary palette - natural teal/blue */
    --primary: #1f7e9f;
    --primary-light: #00a4eb;
    --primary-dark: #165f7a;
    --secondary: #328c7e;
    --accent: #00a4eb;
    --accent-light: #96e5ff;
    --warning: #c17817;
    
    /* Natural background colors */
    --bg-light-blue: #e6fdff;
    --bg-light-mint: #e6f4f1;
    --bg-light-sky: #96e5ff;
    
    /* Dark theme colors */
    --bg-dark: #0a0f0d;
    --bg-dark-surface: #111816;
    --bg-dark-elevated: #1a2420;
    
    /* Light theme colors */
    --bg-light: #ffffff;
    --bg-light-surface: #f8faf9;
    --bg-light-elevated: #e8f4f9;
    --bg-light-green: #f0f8fb;
    
    --text-primary: #f5f5f5;
    --text-secondary: #a8b5ad;
    --text-dark: #1a2420;
    --text-dark-secondary: #4a5f54;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(31, 126, 159, 0.15);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-light: rgba(31, 126, 159, 0.1);
    
    /* Font families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ensure all sections use consistent container width */
section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 126, 159, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

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

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

.nav-logo {
    height: 45px;
    width: auto;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.brand-name {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    padding: 0.65rem 1.5rem;
    background: var(--primary);
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 126, 159, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-light-surface);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: rgba(30, 126, 159, 0.05);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(36, 153, 191, 0.04);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

/* Hero Grid Layout - Two Columns */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-column {
    max-width: 550px;
    padding-left: 0;
    margin-left: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-left: 0;
    box-shadow: 0 4px 12px rgba(50, 140, 126, 0.15);
}

.hero-visual-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-title {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    text-align: left;
}

.gradient-text {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--text-dark-secondary);
    margin: 0 0 2rem;
    line-height: 1.65;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 0.875rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(30, 126, 159, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(30, 126, 159, 0.5);
}

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

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

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

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

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}



/* ===== Section Styles ===== */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(50, 140, 126, 0.12);
    border: 1px solid rgba(50, 140, 126, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Platform Section ===== */
.platform-section {
    background: white;
}

/* Hero Visualization */
.hero-visualization {
    margin: 3rem auto 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.ecosystem-diagram {
    position: relative;
    width: 500px;
    height: 500px;
}

/* ===== Whole Child View v3 Styles ===== */
@keyframes wcv-dash-spin { to { stroke-dashoffset: -60; } }
@keyframes wcv-pulse-aura { 0%,100%{opacity:.2} 50%{opacity:.45} }

.wcv-outer-ring { animation: wcv-dash-spin 28s linear infinite; }
.wcv-mid-ring   { animation: wcv-dash-spin 20s linear infinite reverse; }
.wcv-aura       { animation: wcv-pulse-aura 4s ease-in-out infinite; }

.wcv-spoke-node .wcv-node-bg { transition: fill .2s, stroke .2s; }
.wcv-spoke-node:hover .wcv-node-bg { fill: #e8f4f8; stroke: #1f7e9f; stroke-width: 2.5; }
.wcv-spoke-node { cursor: pointer; }

.wcv-node-label { font-family: var(--font-sans, system-ui); font-size: 13px; font-weight: 600; fill: #1f7e9f; }
.wcv-center-title { font-family: var(--font-sans, system-ui); font-size: 15px; font-weight: 700; fill: #fff; }

/* Center Icon Hover Effect */
#wcv-center-icon {
    cursor: pointer;
}

.wcv-center-bg {
    transition: all 0.3s ease;
}

#wcv-center-icon:hover .wcv-center-bg {
    fill: #165f7a;
    r: 88;
}

.wcv-center-hover-text {
    font-family: var(--font-sans, system-ui);
    font-size: 15px;
    font-weight: 700;
    fill: #fff;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#wcv-center-icon:hover .wcv-center-hover-text {
    opacity: 1;
}

#wcv-center-icon image {
    transition: opacity 0.3s ease;
}

#wcv-center-icon:hover image {
    opacity: 0.3;
}


.wcv-popup-wrap {
    position: absolute; pointer-events: none; opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(6px); z-index: 20;
}
.wcv-popup-wrap.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wcv-popup-box {
    background: #fff; border: 1.5px solid #1f7e9f;
    border-radius: 12px; padding: 14px 16px;
    min-width: 200px; max-width: 230px;
    box-shadow: 0 6px 24px rgba(31,126,159,.18);
}
.wcv-popup-title { font-size: 13px; font-weight: 700; color: #1f7e9f; margin: 0 0 6px; display: flex; align-items: center; gap: 7px; }
.wcv-popup-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; letter-spacing: .4px; }
.wcv-badge-in   { background: #e0f3ea; color: #0f6e56; }
.wcv-badge-out  { background: #ddeef8; color: #1f7e9f; }
.wcv-badge-both { background: #ede9fb; color: #534AB7; }
.wcv-popup-desc { font-size: 12px; color: #444; line-height: 1.6; margin: 0; }
.wcv-popup-arrow-up   { width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #1f7e9f;margin:0 auto; }
.wcv-popup-arrow-down { width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #1f7e9f;margin:0 auto; }

.wcv-legend { display:flex;gap:18px;justify-content:center;margin-top:8px;padding-bottom:4px;font-size:11px;color:var(--text-dark-secondary); }
.wcv-legend-item { display:flex;align-items:center;gap:5px; }
.wcv-ldot { width:9px;height:9px;border-radius:50%; }

/* Flow Arrows - Data In (Blue) and Data Out (Green) */
.flow-arrow {
    position: absolute;
    width: 2px;
    background: transparent;
    z-index: 3;
    pointer-events: none;
}

/* Data IN arrows - Blue dashed lines pointing TO center */
.arrow-in {
    background: repeating-linear-gradient(
        to bottom,
        #4A90E2 0px,
        #4A90E2 8px,
        transparent 8px,
        transparent 16px
    );
}

/* Data OUT arrows - Green dashed lines pointing FROM center */
.arrow-out {
    background: repeating-linear-gradient(
        to bottom,
        #2ECC71 0px,
        #2ECC71 8px,
        transparent 8px,
        transparent 16px
    );
}

/* Animated dots traveling along arrows */
.flow-arrow::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: flow-dot 3s ease-in-out infinite;
}

.arrow-in::after {
    background: #4A90E2;
    box-shadow: 0 0 12px #4A90E2;
    animation: flow-dot-in 3s ease-in-out infinite;
}

.arrow-out::after {
    background: #2ECC71;
    box-shadow: 0 0 12px #2ECC71;
    animation: flow-dot-out 3s ease-in-out infinite;
}

@keyframes flow-dot-in {
    0%, 100% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes flow-dot-out {
    0%, 100% { top: 100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 0%; opacity: 0; }
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(30, 126, 159, 0.5), 
        0 0 100px rgba(30, 126, 159, 0.3),
        0 0 140px rgba(30, 126, 159, 0.2);
    z-index: 5;
    animation: pulse-glow 3s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.center-node i {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.center-node span {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

/* Thick Halo Ring */
.orbit-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 12px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotate-ring 40s linear infinite;
}

.orbit-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 15px solid var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    box-shadow: 
        0 0 50px rgba(31, 126, 159, 0.4),
        inset 0 0 50px rgba(31, 126, 159, 0.3);
}

@keyframes rotate-ring {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.orbit-node {
    position: absolute;
    width: 95px;
    height: 95px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    box-shadow: 
        0 4px 20px rgba(30, 126, 159, 0.3),
        0 0 30px rgba(30, 126, 159, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    animation: orbit-float 3s ease-in-out infinite;
}

/* Position nodes around the orbit */
.node-1 { top: -47.5px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 25%; right: -47.5px; }
.node-3 { bottom: 25%; right: -47.5px; }
.node-4 { bottom: -47.5px; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 25%; left: -47.5px; }
.node-6 { top: 25%; left: -47.5px; }

/* Position arrows for each node */
/* Node 1 (HIN - Top) - Arrow points down to center */
.node-1 .arrow-in {
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    height: 70px;
}

/* Node 2 (Labs - Right Top) - Arrow points diagonally to center */
.node-2 .arrow-in {
    top: 50%;
    left: -80px;
    transform: translateY(-50%) rotate(-45deg);
    height: 100px;
    transform-origin: right center;
}

/* Node 3 (Pharmacy - Right Bottom) - Arrow points diagonally to center */
.node-3 .arrow-in {
    top: 50%;
    left: -80px;
    transform: translateY(-50%) rotate(45deg);
    height: 100px;
    transform-origin: right center;
}

/* Node 4 (EMR - Bottom) - Bidirectional arrows */
.node-4 .arrow-in {
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    height: 70px;
}

.node-4 .arrow-out {
    bottom: 95px;
    left: calc(50% + 15px);
    transform: translateX(-50%);
    height: 70px;
}

/* Node 5 (PACS - Left Bottom) - Arrow points diagonally to center */
.node-5 .arrow-in {
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(-45deg);
    height: 100px;
    transform-origin: left center;
}

/* Node 6 (Claims - Left Top) - Bidirectional arrows */
.node-6 .arrow-in {
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(45deg);
    height: 100px;
    transform-origin: left center;
}

.node-6 .arrow-out {
    top: calc(50% + 20px);
    right: -80px;
    transform: translateY(-50%) rotate(45deg);
    height: 100px;
    transform-origin: left center;
}

/* Highlight bidirectional nodes (EMR and Claims) */
.orbit-node.node-4,
.orbit-node.node-6 {
    background: var(--bg-light-surface);
    border-color: #F39C12;
    box-shadow: 
        0 4px 20px rgba(243, 156, 18, 0.3),
        0 0 30px rgba(243, 156, 18, 0.2);
}

/* Data Flow Legend */
.data-flow-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.legend-arrow {
    width: 40px;
    height: 3px;
    position: relative;
}

.arrow-in-legend {
    background: repeating-linear-gradient(
        to right,
        #4A90E2 0px,
        #4A90E2 6px,
        transparent 6px,
        transparent 12px
    );
}

.arrow-in-legend::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #4A90E2;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.arrow-out-legend {
    background: repeating-linear-gradient(
        to right,
        #2ECC71 0px,
        #2ECC71 6px,
        transparent 6px,
        transparent 12px
    );
}

.arrow-out-legend::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #2ECC71;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.legend-both {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@keyframes orbit-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.orbit-node:nth-child(1) { animation-delay: 0s; }
.orbit-node:nth-child(2) { animation-delay: 0.5s; }
.orbit-node:nth-child(3) { animation-delay: 1s; }
.orbit-node:nth-child(4) { animation-delay: 1.5s; }
.orbit-node:nth-child(5) { animation-delay: 2s; }
.orbit-node:nth-child(6) { animation-delay: 2.5s; }

.orbit-node:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 8px 32px rgba(30, 126, 159, 0.35);
    border-color: var(--primary-light);
    background: var(--bg-light-green);
}

.orbit-node i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.orbit-node:hover i {
    transform: scale(1.1);
}

.node-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { top: 25%; right: 0; transform: translate(50%, -50%); }
.node-3 { bottom: 25%; right: 0; transform: translate(50%, 50%); }
.node-4 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.node-5 { bottom: 25%; left: 0; transform: translate(-50%, 50%); }
.node-6 { top: 25%; left: 0; transform: translate(-50%, -50%); }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 60px rgba(31, 126, 159, 0.5); }
    50% { box-shadow: 0 0 80px rgba(31, 126, 159, 0.7); }
}

.integration-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.integration-item {
    background: var(--bg-light-elevated);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(30, 126, 159, 0.25);
}

.integration-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 126, 159, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.integration-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.integration-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.integration-item p {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
    line-height: 1.5;
}

.platform-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.capability-card {
    background: var(--bg-light-elevated);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(30, 126, 159, 0.2);
}

.capability-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 126, 159, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.capability-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.capability-card p {
    color: var(--text-dark-secondary);
    line-height: 1.7;
}

/* ===== Challenges Section ===== */
.challenges-section {
    background: var(--bg-dark);
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.challenge-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(31, 126, 159, 0.3);
}

.challenge-visual {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light-surface);
}

.persona-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.challenge-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: var(--bg-light-surface);
    display: flex;
    align-items: flex-end;
}

.challenge-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-icon i {
    font-size: 1.5rem;
    color: white;
}

.challenge-content {
    padding: 2rem;
}

.challenge-role {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenge-problem, .challenge-solution {
    margin-bottom: 1.5rem;
}

.problem-label, .solution-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.problem-label {
    color: var(--warning);
}

.solution-label {
    color: var(--primary-light);
}

.challenge-problem p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    padding: 1rem;
    background: rgba(193, 120, 23, 0.08);
    border-left: 3px solid var(--warning);
    border-radius: 8px;
}

.challenge-arrow {
    text-align: center;
    margin: 1.5rem 0;
}

.challenge-arrow i {
    font-size: 2rem;
    color: var(--primary-light);
    animation: bounce 2s ease-in-out infinite;
}

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

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(31, 126, 159, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(31, 126, 159, 0.15);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-light);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.challenge-impact {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.impact-stat {
    flex: 1;
    text-align: center;
}

.impact-value {
    display: block;
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.impact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


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

.metric-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.metric-value {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* ===== Journey Timeline Section ===== */
.journey-section {
    background: var(--bg-light-mint);
    position: relative;
}

.journey-timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline-section {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.timeline-icon.morning {
    background: var(--bg-light-surface);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.timeline-icon.afternoon {
    background: var(--bg-light-surface);
    box-shadow: 0 0 40px rgba(31, 126, 159, 0.5);
}

.timeline-icon.evening {
    background: var(--bg-light-surface);
    box-shadow: 0 0 40px rgba(30, 126, 159, 0.4);
}

.timeline-icon i {
    font-size: 2rem;
    color: white;
}

.timeline-header h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-time {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    font-weight: 600;
}

.timeline-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.journey-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

.journey-card[data-role="patient"]::before {
    background: var(--primary-light);
}

.journey-card[data-role="provider"]::before {
    background: var(--accent);
}

.journey-card[data-role="biller"]::before {
    background: var(--secondary);
}

.journey-card[data-role="admin"]::before {
    background: var(--accent-light);
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-light);
}

.journey-card:hover::before {
    width: 8px;
}

.card-time {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(31, 126, 159, 0.15);
    border: 1px solid rgba(31, 126, 159, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.card-role {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.role-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.card-role span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
}

.journey-card h4 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.journey-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark-secondary);
    margin-bottom: 1rem;
}

.card-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(31, 126, 159, 0.08);
    border-left: 3px solid var(--primary-light);
    border-radius: 8px;
}

.card-highlight i {
    color: var(--primary-light);
    flex-shrink: 0;
}

.card-highlight span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* Journey Impact */
.journey-impact {
    margin-top: 5rem;
    padding: 3rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    text-align: center;
}

.journey-impact h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-card {
    padding: 2rem;
    background: var(--bg-light-elevated);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 32px rgba(30, 126, 159, 0.25);
}

.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(30, 126, 159, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon i {
    font-size: 1.75rem;
    color: var(--primary-light);
}

.impact-number {
    font-family: var(--font-heading), sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.impact-text {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.5;
}

.use-case-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 4px solid;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow);
}

.use-case-card.persona-patient {
    border-left-color: var(--primary);
}

.use-case-card.persona-provider {
    border-left-color: var(--secondary);
}

.use-case-card.persona-biller {
    border-left-color: var(--accent);
}

.use-case-card.persona-admin {
    border-left-color: var(--warning);
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.use-case-id {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-high {
    background: rgba(0, 201, 167, 0.15);
    color: var(--primary);
}

.priority-medium {
    background: rgba(124, 111, 255, 0.15);
    color: var(--secondary);
}

.priority-low {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.use-case-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.use-case-story {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.use-case-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.use-case-card:hover .view-details {
    gap: 0.75rem;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow-y: auto;
    z-index: 1;
    animation: modalSlide 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-content {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-id {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.modal-section-content {
    padding: 1.25rem;
    border-radius: 10px;
    line-height: 1.7;
}

.pain-content {
    background: rgba(255, 107, 107, 0.06);
    border: 1px solid rgba(255, 107, 107, 0.15);
}

.solution-content-box {
    background: rgba(0, 201, 167, 0.06);
    border: 1px solid rgba(0, 201, 167, 0.15);
}

.criteria-list {
    list-style: none;
    padding: 1.25rem;
    background: rgba(124, 111, 255, 0.06);
    border: 1px solid rgba(124, 111, 255, 0.15);
    border-radius: 10px;
}

.criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.criteria-list li i {
    color: var(--secondary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary);
    padding: 6rem 2rem;
}

.cta-content {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px;
    gap: 0.75rem;
}

.cta-media-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cta-media-grid img:first-child {
    grid-column: 1 / 3;
}

.cta-copy {
    text-align: left;
}

.cta-content h2 {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(0, 3fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 380px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(226, 238, 245, 0.82);
    line-height: 1.7;
}

.footer-trust-list {
    margin-top: 1rem;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-trust-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-trust-list i {
    color: var(--primary-light);
}

.footer-brand h4,
.footer-column h4 {
    color: var(--text-primary);
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(217, 232, 242, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #9fdcff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(217, 232, 242, 0.75);
    font-size: 0.875rem;
}

.footer-seo-note {
    margin-top: 0.6rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .integration-points {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }

    .cta-copy {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
    
    .challenge-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .timeline-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-arrow {
        display: none;
    }
    
    .panel-hero {
        flex-direction: column;
    }
    
    .hero-image {
        height: 300px;
        width: 100%;
    }
    
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero-visualization {
        min-height: 350px;
    }
    
    .ecosystem-diagram {
        width: 350px;
        height: 350px;
    }
    
    .center-node {
        width: 130px;
        height: 130px;
    }
    
    .center-node i {
        font-size: 2.75rem;
    }
    
    .center-node span {
        font-size: 0.85rem;
    }
    
    .orbit-node {
        width: 60px;
        height: 60px;
    }
    
    .orbit-node i {
        font-size: 1.4rem;
    }
    
    .node-label {
        font-size: 0.6rem;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-cards {
        grid-template-columns: 1fr;
    }
    
    .integration-points {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 4rem 1rem;
    }

    .cta-media-grid {
        grid-template-rows: 120px 120px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        max-width: 100%;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .persona-tabs {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .cta-media-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 150px);
    }

    .cta-media-grid img:first-child {
        grid-column: auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visualization {
        min-height: 300px;
    }
    
    .ecosystem-diagram {
        width: 300px;
        height: 300px;
    }
    
    .center-node {
        width: 110px;
        height: 110px;
    }
    
    .center-node i {
        font-size: 2.25rem;
    }
    
    .center-node span {
        font-size: 0.75rem;
    }
    
    .orbit-node {
        width: 50px;
        height: 50px;
    }
    
    .orbit-node i {
        font-size: 1.15rem;
    }
    
    .node-label {
        font-size: 0.55rem;
    }
    
    .challenge-visual {
        height: 220px;
    }
    
    .challenge-content {
        padding: 1.5rem;
    }
    
    .challenge-impact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .journey-card {
        padding: 1.25rem;
    }
    
    .journey-impact {
        padding: 2rem 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .pain-item, .solution-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(30, 126, 159, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark-secondary);
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}

.feature-list li i {
    color: var(--primary);
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ===== Persona Solutions Section ===== */
.persona-solutions-section {
    background: var(--bg-light-blue);
}

.persona-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.persona-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid rgba(50, 140, 126, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.persona-tab:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    background: rgba(50, 140, 126, 0.05);
}

.persona-tab.active {
    border-color: var(--primary);
    background: var(--bg-light-surface);
    box-shadow: 0 8px 32px rgba(31, 126, 159, 0.15);
}

.tab-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light-surface);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tab-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Persona Panels */
.persona-panels {
    position: relative;
}

.persona-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

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

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

/* Panel Hero */
.panel-hero {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 126, 159, 0.15);
    min-height: 400px;
}

.hero-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: white;
}

.hero-image img {
    width: 350px;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: var(--bg-light-surface);
}

.hero-overlay h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.hero-info-panel {
    background: var(--primary);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-info-panel h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-info-panel p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

.stat-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-number {
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Show Me How Button */
.show-me-how-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    border: 2px solid white;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.show-me-how-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.show-me-how-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.show-me-how-btn.active i {
    transform: rotate(180deg);
}

.show-me-how-btn.active span::after {
    content: ' Less';
}

.show-me-how-btn:not(.active) span::after {
    content: '';
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: var(--bg-light-surface);
}

.hero-overlay h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

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

.stat-box {
    padding: 2rem 1.5rem;
    background: var(--bg-light-elevated);
    border: 2px solid var(--border-light);
    border-left: 4px solid var(--primary-light);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--shadow-light);
}

.stat-number {
    font-family: var(--font-heading), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
}

/* Comparison Grid - Balanced left/right with highlighted solution side */
.comparison-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 3rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.comparison-grid.expanded {
    max-height: 3000px;
    opacity: 1;
}

.comparison-column {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.problem-column {
    border-color: rgba(220, 38, 38, 0.2);
    background: var(--bg-light-surface);
}

.solution-column {
    border-color: rgba(31, 126, 159, 0.35);
    background: var(--bg-light-surface);
    box-shadow: 0 14px 36px rgba(31, 126, 159, 0.18);
}

.comparison-column:hover {
    transform: translateY(-3px);
}

.problem-column:hover {
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.14);
    border-color: rgba(220, 38, 38, 0.35);
}

.solution-column:hover {
    box-shadow: 0 16px 34px rgba(31, 126, 159, 0.24);
    border-color: rgba(31, 126, 159, 0.48);
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.problem-column .column-header {
    background: #fff1f1;
    color: #b91c1c;
}

.solution-column .column-header {
    background: var(--bg-light-surface);
    color: #0f6f8f;
}

.column-header i {
    font-size: 1.35rem;
}

.column-header h4 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pain-items, .solution-items {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pain-item, .solution-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pain-item {
    background: #fff;
    border-color: rgba(220, 38, 38, 0.2);
}

.solution-item {
    background: #ffffff;
    border-color: rgba(31, 126, 159, 0.22);
}

.pain-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.1);
}

.solution-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(31, 126, 159, 0.16);
    border-color: rgba(31, 126, 159, 0.45);
}

.pain-icon, .solution-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-icon {
    background: #fee2e2;
}

.solution-icon {
    background: var(--bg-light-surface);
}

.pain-icon i {
    color: #b91c1c;
    font-size: 1.15rem;
}

.solution-icon i {
    color: #0f6f8f;
    font-size: 1.15rem;
}

.pain-content, .solution-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pain-content h5, .solution-content h5 {
    font-family: var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    color: #0f172a;
}

.pain-content p, .solution-content p {
    font-size: 0.9rem;
    color: #556176;
    line-height: 1.45;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.solution-tags .tag {
    padding: 0.26rem 0.6rem;
    background: rgba(31, 126, 159, 0.12);
    border: 1px solid rgba(31, 126, 159, 0.28);
    border-radius: 999px;
    font-size: 0.7rem;
    color: #0f6f8f;
    font-weight: 700;
}

.solution-tags .tag:hover {
    background: #0f6f8f;
    border-color: #0f6f8f;
    color: #fff;
}

/* Remove the arrow - not needed in side-by-side */
.comparison-arrow {
    display: none;
}

/* ===== Day Transformation Section ===== */
.journey-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: var(--bg-light-surface);
}

/* Dual Title Container */
.dual-title-container {
    margin: 2rem 0;
}

.title-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.title-part {
    font-size: 2.5rem;
    font-weight: 700;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-before {
    color: #666;
}

.title-before .highlight-gray {
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #dc3545;
    text-decoration-thickness: 3px;
}

.title-after {
    color: var(--primary);
}

.title-after .highlight-brand {
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-divider {
    font-size: 2rem;
    color: var(--primary);
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

/* Transform Description */
.transform-description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.desc-before {
    color: #dc3545;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(220, 53, 69, 0.2);
}

.desc-after {
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: rgba(31, 126, 159, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(31, 126, 159, 0.3);
}

/* Transformation Toggle */
.transformation-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    max-width: 500px;
    position: relative;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.toggle-slider {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(50% - 0.5rem);
    height: calc(100% - 1rem);
    background: var(--primary);
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 4px 12px rgba(31, 126, 159, 0.3);
}

.toggle-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.toggle-btn i {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    color: white;
}

.toggle-btn[data-view="before"] i {
    color: #dc3545;
}

.toggle-btn[data-view="after"] i {
    color: #28a745;
}

.toggle-btn.active[data-view="before"] i,
.toggle-btn.active[data-view="after"] i {
    color: white;
}

.toggle-btn:hover:not(.active) {
    color: var(--primary);
}

/* Move slider when after is active */
.transformation-toggle:has(.toggle-btn[data-view="after"].active) .toggle-slider {
    left: calc(50% + 0rem);
}

/* Day Comparison Wrapper States */
.day-comparison-wrapper {
    margin-top: 3rem;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Before View - Problems/Grayscale */
.day-comparison-wrapper.view-before {
    filter: grayscale(100%) brightness(0.9);
}

.day-comparison-wrapper.view-before .time-tab {
    border-color: #ccc !important;
    color: #999 !important;
    background: rgba(200, 200, 200, 0.1) !important;
}

.day-comparison-wrapper.view-before .time-tab.active {
    background: rgba(150, 150, 150, 0.2) !important;
    border-color: #999 !important;
    color: #666 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.day-comparison-wrapper.view-before .workflow-icon {
    background: rgba(200, 200, 200, 0.15) !important;
    border-color: rgba(150, 150, 150, 0.3) !important;
}

.day-comparison-wrapper.view-before .workflow-icon i {
    color: #999 !important;
}

.day-comparison-wrapper.view-before .period-subtitle {
    color: #999 !important;
}

.day-comparison-wrapper.view-before .workflow-text h4 {
    color: #666 !important;
}

/* After View - Solutions/Brand Colors */
.day-comparison-wrapper.view-after {
    filter: grayscale(0%) brightness(1);
}

/* Fix text visibility in after view */
.day-comparison-wrapper.view-after .time-tab {
    background: rgba(31, 126, 159, 0.05);
    border-color: rgba(31, 126, 159, 0.2);
    color: var(--text-dark) !important;
}

.day-comparison-wrapper.view-after .time-tab.active {
    background: var(--bg-light-surface);
    border-color: var(--primary);
    color: var(--primary) !important;
    box-shadow: 0 8px 32px rgba(31, 126, 159, 0.2);
}

.day-comparison-wrapper.view-after .time-tab.active i {
    color: var(--primary) !important;
}

.day-comparison-wrapper.view-after .period-subtitle {
    color: var(--text-dark-secondary) !important;
}

.day-comparison-wrapper.view-after .workflow-item {
    background: white;
    border-color: rgba(31, 126, 159, 0.15);
}

.day-comparison-wrapper.view-after .workflow-text h4 {
    color: var(--text-dark) !important;
}

.day-comparison-wrapper.view-after .workflow-icon {
    background: var(--bg-light-surface);
    border-color: rgba(31, 126, 159, 0.2);
}

.day-comparison-wrapper.view-after .workflow-icon i {
    color: var(--primary) !important;
}

/* Add problem indicators for before view */
.day-comparison-wrapper.view-before .workflow-item::before {
    content: '⚠️';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Add success indicators for after view */
.day-comparison-wrapper.view-after .workflow-item::before {
    content: '✓';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
    opacity: 0;
    animation: checkmark-appear 0.5s ease forwards;
}

@keyframes checkmark-appear {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.workflow-item {
    position: relative;
    padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .title-split {
        flex-direction: column;
        gap: 1rem;
    }
    
    .title-part {
        font-size: 1.75rem;
    }
    
    .title-divider {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .transform-description {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .transformation-toggle {
        max-width: 100%;
    }
    
    .toggle-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .toggle-btn span {
        display: none;
    }
    
    .day-comparison-wrapper.view-before .workflow-item::before,
    .day-comparison-wrapper.view-after .workflow-item::before {
        left: -1.5rem;
        font-size: 1.2rem;
    }
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Transform Title Animation */
.transform-title, .transform-subtitle {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.transform-title.transforming {
    transform: scale(1.1);
    color: var(--primary);
}

.transform-subtitle.transforming {
    transform: translateY(-10px);
}

/* Timeline Transformation */
.journey-timeline {
    position: relative;
    transition: all 1s ease;
}

.journey-timeline.before-transform {
    filter: grayscale(100%) brightness(0.6);
}

.journey-timeline.before-transform .timeline-icon {
    background: #555 !important;
}

.journey-timeline.before-transform .card-highlight {
    background: rgba(100, 100, 100, 0.2) !important;
    color: #999 !important;
}

.journey-timeline.before-transform .journey-card {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.journey-timeline.before-transform .role-avatar {
    filter: grayscale(100%);
    opacity: 0.5;
}

/* Logo Overlay Animation */
.logo-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-overlay.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.logo-overlay.fade-out {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
}

.logo-overlay img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(31, 126, 159, 0.8));
    animation: logo-pulse 1.5s ease-in-out;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 40px rgba(31, 126, 159, 0.8));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 60px rgba(31, 126, 159, 1));
    }
}

/* Transformation Particles */
.transformation-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.transformation-particles.active {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: particle-float 2s ease-out forwards;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Color Wave Effect */
.color-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(31, 126, 159, 0.15);
    pointer-events: none;
    z-index: 10;
}

.color-wave.active {
    animation: wave-sweep 1.5s ease-out forwards;
}

@keyframes wave-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Timeline Cards During Transform */
.journey-card.transforming {
    animation: card-transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes card-transform {
    0% {
        transform: scale(1) rotateY(0deg);
    }
    50% {
        transform: scale(1.05) rotateY(10deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-overlay img {
        width: 150px;
    }
    
    .indicator-content {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ===== Interactive Flow Architecture Section ===== */
.flow-architecture-section {
    padding: 8rem 0;
    background: var(--bg-light-surface);
    position: relative;
    overflow: hidden;
}

.flow-architecture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(31, 126, 159, 0.3);
}

/* ===== fnFM Architecture Custom Layout ===== */
.fnfm-architecture-wrap {
    padding: 28px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Continuous Learning Feedback Loop Badge (centered above diagram) */
.feedback-loop-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #1f7e9f;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(31, 126, 159, 0.15);
    margin: 2rem auto 3rem;
    max-width: fit-content;
    animation: pulse-feedback-badge 3s ease-in-out infinite;
}

.feedback-loop-badge svg {
    flex-shrink: 0;
    animation: rotate-feedback-icon 4s linear infinite;
}

.feedback-loop-badge span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f7e9f;
    white-space: nowrap;
}

@keyframes pulse-feedback-badge {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(31, 126, 159, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 30px rgba(31, 126, 159, 0.3);
        transform: scale(1.02);
    }
}

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

/* Main Grid */
.fnfm-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1.5fr 60px 1fr;
    grid-template-rows: auto 20px auto 0px auto;
    align-items: start;
    gap: 0;
    min-height: auto;
}

/* Column/row placement */
.fnfm-g-inputs   { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-height: 200px; }
.fnfm-g-arr-right{ grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; align-self: center; transform: translateY(10px); }
.fnfm-g-fnfm     { grid-column: 3; grid-row: 1/4; display: flex; flex-direction: column; }
.fnfm-g-fnfm svg { width: 100%; height: auto; }
.fnfm-g-arr-dec  { grid-column: 4; grid-row: 1; display: flex; align-items: center; justify-content: center; align-self: center; transform: translateY(10px); }
.fnfm-g-dec      { grid-column: 5; grid-row: 1; display: flex; flex-direction: column; min-height: 200px; }
.fnfm-g-arr-exec { grid-column: 5; grid-row: 2; display: flex; align-items: center; justify-content: center; align-self: center; }
.fnfm-g-exec     { grid-column: 5; grid-row: 3; display: flex; flex-direction: column; min-height: 200px; }
.fnfm-g-vconn    { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; }
.fnfm-g-conv     { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; min-height: 200px; }
.fnfm-g-exec-to-feedback { grid-column: 5; grid-row: 3; display: flex; align-items: flex-start; justify-content: flex-start; position: relative; pointer-events: none; z-index: 10; overflow: visible; }
.fnfm-g-feedback-arrow-down { grid-column: 3; grid-row: 4; display: flex; align-items: flex-start; justify-content: center; }
.fnfm-g-feedback-arrow-right { grid-column: 3; grid-row: 3/5; display: flex; align-items: stretch; justify-content: center; margin-top: 0; }
.fnfm-g-feedback-arrow-right path { stroke: rgba(31, 126, 159, 0.3) !important; stroke-width: 1.5 !important; stroke-dasharray: 4 4 !important; }
.fnfm-g-feedback-arrow-right circle { fill: rgba(31, 126, 159, 0.4) !important; r: 3 !important; }

.fnfm-g-feedback { grid-column: 3; grid-row: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -50px; }

/* Continuous Learning Feedback Loop Badge (under execution layer) */
.feedback-loop-badge-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #1f7e9f;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(31, 126, 159, 0.15);
    animation: pulse-feedback-badge 3s ease-in-out infinite;
    white-space: nowrap;
}

.feedback-loop-badge-bottom svg {
    flex-shrink: 0;
    animation: rotate-feedback-icon 4s linear infinite;
}

.feedback-loop-badge-bottom span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f7e9f;
}

@keyframes pulse-feedback-badge {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(31, 126, 159, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 30px rgba(31, 126, 159, 0.3);
        transform: scale(1.02);
    }
}

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

/* Feedback arrow animations */
.fnfm-g-feedback-arrow-down svg {
    animation: pulse-arrow-v 2s ease-in-out infinite;
    height: 20px;
    max-height: 20px;
}

.fnfm-g-feedback-arrow-right {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    margin-top: -1px;
}

.fnfm-g-feedback-arrow-right svg {
    animation: pulse-arrow-v 2s ease-in-out infinite;
    height: 100%;
    width: 20px;
}

.fnfm-g-feedback-arrow-right .arrow-dot {
    animation: none;
}

/* Labels */
.fnfm-col-label {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-dark-secondary);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.fnfm-col-label.fnfm-blue {
    color: #1f7e9f;
    font-weight: 700;
    font-size: 12px;
}

.fnfm-col-label.fnfm-muted {
    color: #B4B2A9;
}

/* Cards */
.fnfm-card {
    border-radius: 12px;
    padding: 16px 14px;
    flex: 1;
}

.fnfm-card-neutral {
    border: 1px solid rgba(31, 126, 159, 0.2);
    background: white;
}

.fnfm-card-muted {
    border: 1px solid rgba(180, 178, 169, 0.3);
    background: rgba(240, 240, 240, 0.5);
}

.fnfm-card-fnfm {
    border: 3px solid #1f7e9f;
    background: var(--bg-light-surface);
    position: relative;
    overflow: hidden;
}

/* Animated border for fnFM card */
.fnfm-card-fnfm::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--primary);
    border-radius: 12px;
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes border-flow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fnfm-card-dec {
    border: 1px solid #85B7EB;
    background: #E6F1FB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fnfm-card-exec {
    border: 1px solid rgba(31, 126, 159, 0.2);
    background: white;
}

/* Inputs */
.fnfm-inp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.fnfm-inp-row:last-child {
    margin-bottom: 0;
}

.fnfm-inp-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.fnfm-inp-sub {
    font-size: 11px;
    color: var(--text-dark-secondary);
}

/* Conventional */
.fnfm-conv-pill {
    border: 1px solid rgba(180, 178, 169, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    background: white;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.fnfm-conv-note {
    font-size: 11px;
    color: var(--text-dark-secondary);
    text-align: center;
    font-style: italic;
    margin-top: 6px;
}

.fnfm-mini-arr {
    display: flex;
    justify-content: center;
    margin: 6px 0;
}

/* Animated arrows */
.fnfm-g-arr-right svg,
.fnfm-g-arr-dec svg {
    animation: pulse-arrow-h 2s ease-in-out infinite;
}

.fnfm-g-arr-exec svg,
.fnfm-g-vconn svg {
    animation: pulse-arrow-v 2s ease-in-out infinite;
    height: 20px;
    max-height: 20px;
}

.feedback-arrow {
    animation: pulse-feedback 2.5s ease-in-out infinite;
}

@keyframes pulse-arrow-h {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@keyframes pulse-arrow-v {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

@keyframes pulse-feedback {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* fnFM */
.fnfm-tag {
    font-size: 11px;
    font-weight: 600;
    color: #1f7e9f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 12px;
}

.fnfm-node {
    border: 2px solid #85B7EB;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #0C447C;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.fnfm-node:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(31, 126, 159, 0.2);
}

.fnfm-node:last-of-type {
    margin-bottom: 0;
}

.fnfm-node .fnfm-sub {
    font-size: 11px;
    color: #378ADD;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.fnfm-node svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.fnfm-orb-row {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.fnfm-orb {
    background: #1f7e9f;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    animation: rotate-orb 3s linear infinite;
    box-shadow: 0 4px 12px rgba(31, 126, 159, 0.3);
}

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

.fnfm-fb-tag {
    font-size: 11px;
    color: #854F0B;
    background: #FAEEDA;
    border: 1px solid #FAC775;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}

/* Decision */
.fnfm-dec-title {
    font-size: 16px;
    font-weight: 600;
    color: #0C447C;
    text-align: center;
    margin: 10px 0 6px;
}

.fnfm-dec-sub {
    font-size: 12px;
    color: #378ADD;
    text-align: center;
}

/* Execution */
.fnfm-exec-lbl {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.fnfm-exec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fnfm-exec-item {
    border: 1px solid rgba(31, 126, 159, 0.15);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    background: rgba(240, 240, 240, 0.3);
    transition: all 0.3s ease;
}

.fnfm-exec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(31, 126, 159, 0.15);
    background: white;
}

.fnfm-exec-item svg {
    width: 20px;
    height: 20px;
}

.fnfm-exec-name {
    font-size: 11px;
    color: var(--text-dark-secondary);
    margin-top: 6px;
    font-weight: 500;
}

/* Continuous learning bar */
.fnfm-cl-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 6px;
}

.fnfm-cl-line {
    flex: 1;
    height: 1px;
    background: #FAC775;
}

.fnfm-cl-label {
    font-size: 10px;
    color: #854F0B;
    background: #FAEEDA;
    border: 1px solid #FAC775;
    border-radius: 5px;
    padding: 3px 10px;
    white-space: nowrap;
}

.fnfm-flow-note {
    text-align: center;
    font-size: 10.5px;
    color: var(--text-dark-secondary);
    margin: 4px 0 24px;
    line-height: 1.7;
}

.fnfm-flow-note b {
    font-weight: 500;
    color: var(--text-dark);
}

/* Principles */
.fnfm-principles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid rgba(31, 126, 159, 0.15);
    padding-top: 20px;
}

.fnfm-p-card {
    padding: 10px;
}

.fnfm-p-num {
    font-size: 10px;
    color: var(--text-dark-secondary);
    margin-bottom: 3px;
}

.fnfm-p-title {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
    color: var(--text-dark);
}

.fnfm-p-desc {
    font-size: 10.5px;
    color: var(--text-dark-secondary);
    line-height: 1.5;
}

.fnfm-footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-dark-secondary);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(31, 126, 159, 0.15);
}

/* Flow Dot Animations for fnFM Architecture SVG */
.flow-dot {
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Rules → Hub (vertical down) */
.flow-dot-1 {
    offset-path: path('M340,200 L340,250');
    animation-name: flow-dot-1-move;
}

@keyframes flow-dot-1-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Hub → Graph (horizontal right) */
.flow-dot-2 {
    offset-path: path('M395,300 L442,300');
    animation-name: flow-dot-2-move;
}

@keyframes flow-dot-2-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Hub ← Knowledge (horizontal left) */
.flow-dot-3 {
    offset-path: path('M285,300 L238,300');
    animation-name: flow-dot-3-move;
}

@keyframes flow-dot-3-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Hub → ML (vertical down) */
.flow-dot-4 {
    offset-path: path('M340,355 L340,410');
    animation-name: flow-dot-4-move;
}

@keyframes flow-dot-4-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* ML → Inference (vertical down) */
.flow-dot-5 {
    offset-path: path('M340,472 L340,530');
    animation-name: flow-dot-5-move;
}

@keyframes flow-dot-5-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Retrain path (right side feedback loop) - SMOOTH */
.flow-dot-6 {
    offset-path: path('M492,562 L640,562 L640,170 L460,170');
    animation-name: flow-dot-6-move;
    animation-duration: 8s;
    animation-timing-function: linear;
}

@keyframes flow-dot-6-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Enriches path (left side feedback loop) - SMOOTH */
.flow-dot-7 {
    offset-path: path('M188,562 L40,562 L40,330');
    animation-name: flow-dot-7-move;
    animation-duration: 7s;
    animation-timing-function: linear;
}

@keyframes flow-dot-7-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Smooth dotted line animation */
@keyframes dash-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 28;
    }
}

.fnfm-g-fnfm svg path[stroke-dasharray] {
    animation: dash-flow 1.5s linear infinite;
}

/* Responsive - Mobile and Tablet */
@media (max-width: 768px) {
    .fnfm-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Reorder items on mobile: Inputs, Conventional, fnFM, Decision, Execution */
    .fnfm-g-inputs { order: 1; }
    .fnfm-g-vconn { order: 2; }
    .fnfm-g-conv { order: 3; }
    .fnfm-g-arr-right { order: 4; }
    .fnfm-g-fnfm { order: 5; }
    .fnfm-g-arr-dec { order: 6; }
    .fnfm-g-dec { order: 7; }
    .fnfm-g-arr-exec { order: 8; }
    .fnfm-g-exec { order: 9; }
    .fnfm-g-feedback { order: 10; }
    
    /* Make architecture diagram full width on mobile */
    .fnfm-architecture-wrap {
        padding: 16px 0;
        max-width: 100%;
    }
    
    /* Make all boxes full width on mobile */
    .fnfm-g-inputs,
    .fnfm-g-fnfm,
    .fnfm-g-dec,
    .fnfm-g-exec,
    .fnfm-g-conv,
    .fnfm-g-feedback {
        width: 100%;
        min-height: auto;
    }
    
    .fnfm-card {
        width: 100%;
    }
    
    /* Transform arrow containers to vertical layout */
    .fnfm-g-arr-right,
    .fnfm-g-arr-dec {
        height: 50px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        align-self: center !important;
    }
    
    /* Rotate only the horizontal arrows 90 degrees to point down */
    .fnfm-g-arr-right svg,
    .fnfm-g-arr-dec svg {
        transform: rotate(90deg) !important;
        width: 50px !important;
        height: 60px !important;
    }
    
    /* Keep the exec arrow vertical (it's already pointing down) */
    .fnfm-g-arr-exec {
        height: 50px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        align-self: center !important;
    }
    
    .fnfm-g-arr-exec svg {
        transform: none !important;
        width: 20px !important;
        height: 30px !important;
    }
    
    /* Vertical connector arrow (already vertical) */
    .fnfm-g-vconn {
        height: 50px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .fnfm-g-vconn svg {
        transform: none !important;
        width: 20px !important;
        height: 30px !important;
    }
    
    .fnfm-g-feedback-arrow {
        height: 40px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide the feedback arrow on mobile (too complex) */
    .fnfm-g-feedback-arrow-right,
    .fnfm-g-feedback-arrow-down,
    .fnfm-g-exec-to-feedback {
        display: none !important;
    }
    
    .fnfm-principles {
        grid-template-columns: 1fr 1fr;
    }
    
    .feedback-loop-badge-bottom {
        padding: 0.6rem 1.2rem;
        margin-top: 1rem;
    }
    
    .feedback-loop-badge-bottom span {
        font-size: 0.85rem;
    }
    
    /* Stats - one per row, full width on mobile */
    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .fnfm-principles {
        grid-template-columns: 1fr;
    }
    
    .fnfm-architecture-wrap {
        padding: 16px 12px;
    }
    
    .feedback-loop-badge-bottom {
        padding: 0.5rem 1rem;
    }
    
    .feedback-loop-badge-bottom span {
        font-size: 0.75rem;
    }
}

/* OLD Architecture Diagram (keeping for reference, can be removed) */
.architecture-diagram {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
}

/* Architecture Step */
.arch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.arch-step[data-step="1"] { animation-delay: 0.1s; }
.arch-step[data-step="2"] { animation-delay: 0.3s; }
.arch-step[data-step="3"] { animation-delay: 0.5s; }
.arch-step[data-step="4"] { animation-delay: 0.7s; }
.arch-step[data-step="5"] { animation-delay: 0.9s; }

/* Step Label */
.step-label {
    font-family: var(--font-heading), sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem;
    background: rgba(31, 126, 159, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(31, 126, 159, 0.15);
}

.step-label.highlight {
    background: var(--bg-light-surface);
    border-color: var(--primary);
    color: var(--primary);
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

/* Step Cards Container */
.step-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

/* Architecture Card */
.arch-card {
    background: white;
    border: 2px solid rgba(31, 126, 159, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.arch-card.small {
    padding: 1rem;
    min-width: 120px;
}

.arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.arch-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(31, 126, 159, 0.2);
}

.arch-card:hover::before {
    transform: scaleX(1);
}

/* Conventional Card (Gray) */
.arch-card.conventional {
    border-color: rgba(150, 150, 150, 0.3);
    background: rgba(240, 240, 240, 0.5);
}

.arch-card.conventional::before {
    background: var(--bg-light-surface);
}

.arch-card.conventional .card-icon {
    background: rgba(150, 150, 150, 0.1);
    border-color: rgba(150, 150, 150, 0.3);
}

.arch-card.conventional .card-icon i {
    color: #999;
}

/* Decision Card (Green accent) */
.arch-card.decision::before {
    background: var(--bg-light-surface);
}

/* Card Icon */
.card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light-surface);
    border: 2px solid rgba(31, 126, 159, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.arch-card.small .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.arch-card.small .card-icon i {
    font-size: 1.25rem;
}

.arch-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Card Content */
.card-title {
    font-family: var(--font-heading), sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.arch-card.small .card-title {
    font-size: 0.9rem;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-dark-secondary);
    font-style: italic;
}

.card-note {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

/* fnFM Core Circle (Center piece) */
.fnfm-step {
    position: relative;
}

.fnfm-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.core-circle {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add THICK visible halo rings */
.core-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border: 8px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotate-halo 30s linear infinite;
}

.core-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    transform: translate(-50%, -50%);
    border: 10px solid var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    box-shadow: 
        0 0 40px rgba(31, 126, 159, 0.4),
        inset 0 0 40px rgba(31, 126, 159, 0.2);
}

@keyframes rotate-halo {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.core-center {
    width: 140px;
    height: 140px;
    background: var(--bg-light-surface);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 8px 32px rgba(31, 126, 159, 0.4),
        0 0 60px rgba(31, 126, 159, 0.3);
    z-index: 2;
    position: relative;
    animation: pulse-core 3s ease-in-out infinite;
}

.core-center i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.core-center span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

@keyframes pulse-core {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(31, 126, 159, 0.4),
            0 0 60px rgba(31, 126, 159, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 12px 40px rgba(31, 126, 159, 0.6),
            0 0 80px rgba(31, 126, 159, 0.5);
    }
}

/* Core Elements (Orbiting nodes) */
.core-element {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(var(--angle));
    animation: orbit 20s linear infinite;
}

.element-node {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    width: 90px;
    height: 90px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(31, 126, 159, 0.3),
        0 0 30px rgba(31, 126, 159, 0.2);
    transition: all 0.4s ease;
    z-index: 3;
}

.element-node:hover {
    transform: translateX(-50%) rotate(calc(-1 * var(--angle))) scale(1.15);
    box-shadow: 
        0 8px 32px rgba(31, 126, 159, 0.5),
        0 0 50px rgba(31, 126, 159, 0.4);
    border-width: 5px;
}

.element-node i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.element-node span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(var(--angle));
    }
    to {
        transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg));
    }
}

.fnfm-label {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* Flow Arrow */
.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    min-width: 120px;
}

.flow-arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(31, 126, 159, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.flow-arrow i {
    font-size: 2.5rem;
    color: var(--primary);
    animation: pulse-arrow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(31, 126, 159, 0.6));
    position: relative;
    z-index: 2;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    right: -6px;
    animation: dot-flow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(31, 126, 159, 0.8);
}

@keyframes dot-flow {
    0%, 100% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 0;
    }
}

.arrow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.arrow-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Feedback Loop Indicator */
.feedback-loop-indicator {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.feedback-path {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.feedback-svg {
    width: 100%;
    height: 100px;
}

.feedback-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--accent);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(38, 181, 216, 0.2);
    animation: pulse-feedback 2s ease-in-out infinite;
}

.feedback-label i {
    font-size: 1.25rem;
    color: var(--accent);
    animation: rotate-feedback 3s linear infinite;
}

.feedback-label span {
    font-family: var(--font-heading), sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

@keyframes pulse-feedback {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(38, 181, 216, 0.2);
    }
    50% {
        box-shadow: 0 8px 32px rgba(38, 181, 216, 0.4);
    }
}

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

/* Key Differentiators */
.key-differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 6rem;
}

.differentiator-card {
    background: white;
    border: 2px solid rgba(31, 126, 159, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.differentiator-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(31, 126, 159, 0.2);
}

.diff-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading), sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(31, 126, 159, 0.3);
}

.differentiator-card h4 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

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

/* Architecture Footer */
.architecture-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(31, 126, 159, 0.1);
}

.architecture-footer p {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1200px) {
    .architecture-diagram {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .core-circle {
        width: 250px;
        height: 250px;
    }
    
    .core-center {
        width: 100px;
        height: 100px;
    }
    
    .element-node {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .flow-architecture-section {
        padding: 5rem 0;
    }
    
    .arch-card {
        min-width: 100%;
    }
    
    .execution-cards {
        grid-template-columns: 1fr;
    }
    
    .core-circle {
        width: 200px;
        height: 200px;
    }
    
    .core-center {
        width: 80px;
        height: 80px;
    }
    
    .core-center i {
        font-size: 2rem;
    }
    
    .element-node {
        width: 60px;
        height: 60px;
    }
    
    .element-node i {
        font-size: 1.25rem;
    }
    
    .key-differentiators {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .architecture-footer p {
        font-size: 1.2rem;
    }
}

/* ===== Systemic Barriers Section ===== */
.barriers-section {
    padding: 8rem 0;
    background: var(--bg-light-surface);
    position: relative;
    overflow: hidden;
}

.barriers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(220, 53, 69, 0.3);
}

.barriers-badge {
    background: rgba(220, 53, 69, 0.1) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
    color: #dc3545 !important;
}

.barriers-section .section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.barriers-section .section-description {
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--text-dark-secondary);
}

/* Barriers Grid */
.barriers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.barrier-card {
    background: white;
    border: 2px solid rgba(220, 53, 69, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.08);
}

.barrier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-light-surface);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.barrier-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 53, 69, 0.3);
    background: #fff;
    box-shadow: 0 12px 40px rgba(220, 53, 69, 0.2);
}

.barrier-card:hover::before {
    transform: scaleX(1);
}

/* Barrier Icon */
.barrier-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light-surface);
    border: 2px solid rgba(220, 53, 69, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.barrier-icon i {
    font-size: 2rem;
    color: #dc3545;
    transition: all 0.4s ease;
}

.barrier-card:hover .barrier-icon {
    background: var(--bg-light-surface);
    border-color: rgba(220, 53, 69, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.barrier-card:hover .barrier-icon i {
    color: #ff6b6b;
    transform: scale(1.1);
}

/* Barrier Content */
.barrier-card h3 {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.barrier-description {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Barrier Stats */
.barrier-stat {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(220, 53, 69, 0.1);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-impact {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    font-style: italic;
}

/* Barrier Learn More Link */
.barrier-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(31, 126, 159, 0.1);
    color: var(--primary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.barrier-learn-more:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.barrier-learn-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.barrier-learn-more:hover i {
    transform: translateX(3px);
}

/* Barriers Footer */
.barriers-footer {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(220, 53, 69, 0.1);
}

.barriers-tagline {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.barriers-tagline i {
    color: #dc3545;
    font-size: 1rem;
    opacity: 0.6;
    margin: 0 0.5rem;
}

.barriers-cta {
    margin-top: 2rem;
}

/* Animation on Scroll */
.barrier-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.barrier-card:nth-child(1) { animation-delay: 0.1s; }
.barrier-card:nth-child(2) { animation-delay: 0.2s; }
.barrier-card:nth-child(3) { animation-delay: 0.3s; }
.barrier-card:nth-child(4) { animation-delay: 0.4s; }
.barrier-card:nth-child(5) { animation-delay: 0.5s; }
.barrier-card:nth-child(6) { animation-delay: 0.6s; }
.barrier-card:nth-child(7) { animation-delay: 0.7s; }
.barrier-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .barriers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .barriers-section {
        padding: 5rem 0;
    }
    
    .barriers-section .section-title {
        font-size: 2rem;
    }
    
    .barriers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .barrier-card {
        padding: 1.5rem;
    }
    
    .barrier-icon {
        width: 60px;
        height: 60px;
    }
    
    .barrier-icon i {
        font-size: 1.75rem;
    }
    
    .barrier-card h3 {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .barriers-tagline {
        font-size: 1.2rem;
    }
}

/* Intersection Observer Animation */
.barriers-section.in-view .barrier-card {
    animation-play-state: running;
}

/* ===== Day Comparison Section ===== */
.day-comparison-wrapper {
    margin-top: 3rem;
}

/* Time Period Tabs */
.time-period-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.time-tab {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem 2rem;
    background: white;
    border: 2px solid rgba(31, 126, 159, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading), sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
}

.time-tab i {
    font-size: 1.75rem;
    transition: all 0.4s ease;
    color: var(--text-dark-secondary);
}

.time-tab:hover {
    background: rgba(31, 126, 159, 0.05);
    border-color: rgba(31, 126, 159, 0.3);
    transform: translateY(-4px);
}

.time-tab.active {
    background: var(--bg-light-surface);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(31, 126, 159, 0.2);
}

.time-tab.active i {
    color: var(--primary);
    transform: scale(1.1);
}

/* Time Period Content */
.time-period-content {
    display: none;
    animation: fadeInContent 0.6s ease;
}

.time-period-content.active {
    display: block;
}

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

.period-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-dark-secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

/* Workflow Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.workflow-item {
    background: white;
    border: 2px solid rgba(31, 126, 159, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.workflow-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-light-surface);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.workflow-item:hover {
    background: rgba(31, 126, 159, 0.05);
    border-color: rgba(31, 126, 159, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(31, 126, 159, 0.15);
}

.workflow-item:hover::before {
    transform: scaleY(1);
}

/* Workflow Icon */
.workflow-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--bg-light-surface);
    border: 2px solid rgba(31, 126, 159, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.workflow-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.workflow-item:hover .workflow-icon {
    background: var(--bg-light-surface);
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.workflow-item:hover .workflow-icon i {
    transform: scale(1.1);
}

/* Workflow Text */
.workflow-text h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* Workflow Tagline */
.workflow-tagline {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 2px solid rgba(31, 126, 159, 0.1);
}

.workflow-tagline p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
}

.workflow-tagline p {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-light);
    font-style: italic;
}

/* Staggered Animation */
.workflow-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInWorkflow 0.6s ease forwards;
}

.workflow-item:nth-child(1) { animation-delay: 0.1s; }
.workflow-item:nth-child(2) { animation-delay: 0.2s; }
.workflow-item:nth-child(3) { animation-delay: 0.3s; }
.workflow-item:nth-child(4) { animation-delay: 0.4s; }
.workflow-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInWorkflow {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .time-period-tabs {
        flex-direction: column;
    }
    
    .time-tab {
        min-width: 100%;
        justify-content: center;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-item {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .workflow-icon {
        width: 64px;
        height: 64px;
    }
    
    .workflow-icon i {
        font-size: 1.75rem;
    }
    
    .workflow-tagline p {
        font-size: 1.1rem;
    }
}


/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text-column {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual-column {
        order: -1;
    }
}


/* fnFM Architecture SVG Styles */
@keyframes orbit1 { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes orbit2 { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes orbit3 { from{transform:rotate(120deg)} to{transform:rotate(480deg)} }
@keyframes flow-dash { to{stroke-dashoffset:-60} }

.orbit-ring1 { animation: orbit1 8s linear infinite; transform-origin: 340px 310px; }
.orbit-ring2 { animation: orbit2 12s linear infinite; transform-origin: 340px 310px; }
.orbit-ring3 { animation: orbit3 16s linear infinite; transform-origin: 340px 310px; }
.flow-path { animation: flow-dash 3s linear infinite; }

.node-card {
    cursor: pointer;
    transition: transform .2s;
    transform-box: fill-box;
    transform-origin: center;
}
.node-card:hover { transform: scale(1.06); }

.fnfm-lbl { font-family: var(--font-sans,system-ui); font-size: 13px; font-weight: 600; }
.fnfm-lbl-sub { font-family: var(--font-sans,system-ui); font-size: 10px; font-weight: 400; }
.fnfm-title-txt { font-family: var(--font-heading), sans-serif; font-size: 15px; font-weight: 700; }
.fnfm-badge-txt { font-family: var(--font-sans,system-ui); font-size: 9px; font-weight: 600; letter-spacing:.8px; text-transform: uppercase; }
