/* ============================================
   SOLUM HEALTH — getsolum.com
   Juicebox-inspired design · Navy blue palette
   ============================================ */

/* ---------- VARIABLES ---------- */
:root {
    /* Navy palette (replaces purple) */
    --purple-900: #0a1628;
    --purple-800: #0f1f3d;
    --purple-700: #162b52;
    --purple-600: #1E3A5F;
    --purple-500: #4A6FA5;
    --purple-400: #6B8FBE;
    --purple-300: #93b4d8;
    --purple-200: #bdd4ec;
    --purple-100: #dbeafe;
    --purple-50: #f0f6ff;

    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;

    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    --green-500: #22c55e;
    --amber-500: #f59e0b;
    --star: #facc15;
    --accent-orange: #E8913A;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'DM Mono', monospace;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --max-w: 1200px;
    --nav-h: 72px;
    --radius: 4px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --border: 1px solid var(--gray-200);
    --border-subtle: 1px solid rgba(0,0,0,0.06);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--off-white);
    overflow-x: hidden;
}

/* ---------- SCREEN-READER ONLY UTILITY ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- JUICEBOX-INSPIRED BACKGROUND PATTERNS ---------- */
/* Subtle dot grid overlay across the page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(74, 111, 165, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}
/* Floating gradient mesh orbs */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 900px 700px at 10% 20%, rgba(30, 58, 95, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 600px 500px at 85% 15%, rgba(59, 130, 246, 0.03) 0%, transparent 55%),
        radial-gradient(ellipse 700px 600px at 70% 75%, rgba(74, 111, 165, 0.025) 0%, transparent 50%),
        radial-gradient(ellipse 500px 400px at 25% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
}
/* Ensure all content sits above the patterns */
body > * {
    position: relative;
    z-index: 1;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

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

/* ---------- TEXT GRADIENT ---------- */
.text-gradient {
    background: linear-gradient(135deg, #1E3A5F, #4A6FA5, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-upper { text-transform: uppercase; }

/* ---------- JUICEBOX SECTION LABELS ---------- */
.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 16px;
}
.section-label-light {
    color: rgba(255,255,255,0.45);
}

/* ---------- HATCHED LINE DIVIDERS ---------- */
.hatched-divider {
    width: 100%;
    height: 48px;
    background: repeating-linear-gradient(135deg, #e2e8f0, #e2e8f0 1px, transparent 1px, transparent 5px);
    opacity: 0.5;
}
.hatched-divider-dark {
    width: 100%;
    height: 48px;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 1px, transparent 1px, transparent 5px);
}

/* ---------- SECTION HELPERS ---------- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    background: var(--purple-100);
    color: var(--purple-600);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--gray-500); line-height: 1.6; }
.section-sub-bold { font-size: 18px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.section-sub-detail { font-size: 15px; color: var(--gray-400); margin-top: 8px; }

/* ============================================
   BUTTONS — Refined, sleek
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary-pill {
    padding: 10px 24px;
    background: #1E3A5F;
    color: var(--white);
    border-radius: var(--radius);
    font-size: 13px;
    border: none;
}
.btn-primary-pill:hover {
    background: #162b52;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.25);
}
.btn-cta-main {
    padding: 14px 32px;
    background: #1E3A5F;
    color: var(--white);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    border: none;
    transition: all 0.25s var(--ease);
}
.btn-cta-main:hover {
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.2);
    transform: translateY(-1px);
}
.btn-outline {
    padding: 12px 28px;
    background: transparent;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
}
.btn-outline:hover {
    border-color: #1E3A5F;
    background: #1E3A5F;
    color: var(--white);
}

/* ============================================
   NAVBAR — Minimal, premium
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(0,0,0,0.06);
}
.navbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #1a1a4e;
    letter-spacing: -0.3px;
    line-height: 1;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all 0.2s var(--ease);
    letter-spacing: 0.2px;
    position: relative;
}
.nav-link:hover { color: #1E3A5F; }
.nav-link.active {
    color: #1E3A5F;
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #1E3A5F;
    border-radius: 1px;
}
.navbar-menu { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.chevron { font-size: 10px; transition: transform 0.2s; }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s var(--ease);
    pointer-events: none;
}
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.dropdown-menu-wide { min-width: 520px; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    transition: background 0.15s;
}
.dropdown-item:hover { background: var(--gray-50); }
.dropdown-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 1px; }
.dropdown-item p { font-size: 12px; color: var(--gray-500); line-height: 1.4; }

/* Dropdown icons (Juicebox-style) */
.dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.15s;
}
.dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gray-500);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dropdown-item:hover .dropdown-icon {
    background: var(--purple-100);
    border-color: var(--purple-200);
}
.dropdown-item:hover .dropdown-icon svg {
    stroke: var(--purple-600);
}

/* Social links row in dropdown */
.dropdown-social-row {
    display: flex;
    gap: 8px;
    padding: 12px 14px 8px;
    border-top: 1px solid var(--gray-100);
    margin-top: 8px;
}
.dropdown-social-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    min-height: 36px;
    max-height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.15s;
    overflow: hidden;
    flex-shrink: 0;
}
.dropdown-social-link:hover {
    background: var(--purple-100);
    border-color: var(--purple-200);
}
.dropdown-social-link svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    max-height: 16px;
    fill: var(--gray-500);
    flex-shrink: 0;
}
.dropdown-social-link:hover svg {
    fill: var(--purple-600);
}

/* Dropdown column layout (Resources) */
.dropdown-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-col { display: flex; flex-direction: column; gap: 2px; }
.dropdown-col:not(:first-child) { border-left: 1px solid var(--gray-100); padding-left: 4px; }
.dropdown-col-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--purple-500);
    text-transform: uppercase;
    padding: 8px 14px 4px;
}
/* Demo item in dropdown */
.dropdown-item-demo {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}
.dropdown-icon-demo {
    background: var(--purple-50) !important;
    border-color: var(--purple-200) !important;
}
.dropdown-icon-demo svg {
    stroke: var(--purple-600) !important;
    fill: var(--purple-100) !important;
}
.dropdown-item-demo strong {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
}
.dropdown-item .tool-badge {
    display: inline-flex;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    background: #F0FDF4;
    color: #16A34A;
    letter-spacing: 0.3px;
    margin-left: 6px;
    vertical-align: middle;
}
.navbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 101; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO — Juicebox-inspired, bold
   ============================================ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 24px 100px;
    overflow: hidden;
    background: var(--white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Dense halftone square grid — brand blue/purple with gradient fade */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: -10%;
    z-index: 0;
    background-image:
        /* Dense X marks — 8px grid */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2 2l4 4M6 2l-4 4' stroke='%23468af7' stroke-width='0.7' stroke-opacity='0.70' stroke-linecap='round'/%3E%3C/svg%3E"),
        /* Medium X marks — 12px grid */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23468af7' stroke-width='0.5' stroke-opacity='0.50' stroke-linecap='round'/%3E%3C/svg%3E"),
        /* Sparse X marks — 20px grid */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' stroke='%23468af7' stroke-width='0.5' stroke-opacity='0.35' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 8px 8px, 12px 12px, 20px 20px;
    /* Static mask: strong corners, transparent center */
    -webkit-mask-image:
        radial-gradient(ellipse 28% 28% at 50% 42%, transparent 0%, rgba(0,0,0,0.0) 15%, rgba(0,0,0,0.02) 25%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.78) 65%, rgba(0,0,0,0.92) 73%, black 80%);
    mask-image:
        radial-gradient(ellipse 28% 28% at 50% 42%, transparent 0%, rgba(0,0,0,0.0) 15%, rgba(0,0,0,0.02) 25%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.78) 65%, rgba(0,0,0,0.92) 73%, black 80%);
    /* Each layer drifts at different speed/direction — parallax weave */
    animation: weaveDrift 30s linear infinite;
}

/* Layers drift in different directions creating parallax depth */
@keyframes weaveDrift {
    0%   { background-position: 0px 0px, 3px 3px, 5px 5px; }
    25%  { background-position: 4px -6px, -3px 8px, 10px -4px; }
    50%  { background-position: 8px -12px, -6px 16px, 20px -8px; }
    75%  { background-position: 4px -6px, -3px 8px, 10px -4px; }
    100% { background-position: 0px 0px, 3px 3px, 5px 5px; }
}

/* Moving light sweep across the pattern */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Traveling highlight — diagonal sweep */
        radial-gradient(ellipse 40% 60% at var(--sweep-x, 20%) var(--sweep-y, 30%), rgba(70, 138, 247, 0.18) 0%, transparent 60%),
        /* Corner washes */
        radial-gradient(ellipse 60% 60% at 0% 100%, rgba(70, 138, 247, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(70, 138, 247, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 0% 0%, rgba(70, 138, 247, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(70, 138, 247, 0.08) 0%, transparent 70%);
    z-index: 1;
    animation: lightSweep 8s ease-in-out infinite;
}

@keyframes lightSweep {
    0%   { --sweep-x: 10%; --sweep-y: 20%; }
    25%  { --sweep-x: 85%; --sweep-y: 25%; }
    50%  { --sweep-x: 80%; --sweep-y: 80%; }
    75%  { --sweep-x: 15%; --sweep-y: 75%; }
    100% { --sweep-x: 10%; --sweep-y: 20%; }
}

/* Register custom properties for animation */
@property --sweep-x {
    syntax: '<percentage>';
    initial-value: 20%;
    inherits: false;
}
@property --sweep-y {
    syntax: '<percentage>';
    initial-value: 30%;
    inherits: false;
}

/* No center glow */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 800px;
    height: 800px;
    background: none;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--off-white) 100%);
    clip-path: ellipse(80% 100% at 50% 100%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 1; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 500;
    color: #0f172a;
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}
.hero-title .hero-inline {
    white-space: nowrap;
}
/* Hero Rotating Words */
.hero-rotate-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.15em;
}
.hero-rotate-words {
    display: block;
    position: relative;
}
.hero-rotate-word {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    white-space: nowrap;
    background: linear-gradient(135deg, #1E3A5F, #4A6FA5, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-rotate-word.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}
.hero-rotate-word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}
.hero-subtitle-highlight {
    color: var(--gray-700);
    font-weight: 700;
    font-size: clamp(17px, 1.9vw, 20px);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Hero dual CTA buttons */
.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
}
.hero-cta-row .btn-cta-main {
    width: auto;
    padding: 14px 32px;
}
.hero-cta-row .btn-outline-hero {
    padding: 14px 32px;
    background: transparent;
    color: #1E3A5F;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}
.hero-cta-row .btn-outline-hero:hover {
    border-color: #1E3A5F;
    background: rgba(30, 58, 95, 0.04);
}

/* Hero Email Signup */
.hero-signup-form {
    max-width: 520px;
    margin: 0 auto;
}
.hero-email-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.hero-email-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--font);
    color: var(--gray-800);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-email-input:focus {
    border-color: #4A6FA5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.08);
}
.hero-email-input::placeholder { color: var(--gray-400); }
.hero-signup-btn {
    white-space: nowrap;
    padding: 16px 32px;
    flex-shrink: 0;
}
.hero-contact-link {
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
}
.hero-contact-link a {
    color: #4A6FA5;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.hero-contact-link a:hover { color: #1E3A5F; }

/* Form — used in CTA section */
.hero-form {
    max-width: 480px;
    margin: 0 auto 20px;
}
.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.form-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: #4A6FA5; box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.08); }
.form-input::placeholder { color: var(--gray-400); }

/* ============================================
   LOGOS SECTION — Two-Row Scrolling Marquee
   ============================================ */
.logos-section {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.04);
}
.logos-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 28px;
}
.logos-carousel {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.logos-track {
    display: flex;
    align-items: center;
    gap: 48px;
    will-change: transform;
}
.client-logo {
    height: 73px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: grayscale(60%);
    opacity: 0.6;
    transition: all 0.4s var(--ease);
}
.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   FEATURES — Clean card grid
   ============================================ */
.features-section {
    padding: 100px 0;
    background: var(--off-white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease);
}
.feature-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
    transform: translateY(-4px);
}
.feature-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-100);
    color: var(--purple-600);
    border-radius: var(--radius);
    margin-bottom: 18px;
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   PRODUCT SHOWCASE — UI Frames
   ============================================ */
.product-showcase-section {
    padding: 100px 0;
    background: var(--white);
}

/* Tab bar */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.product-tab {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: var(--gray-500);
    background: var(--gray-50);
    border: 1px solid transparent;
    transition: all 0.25s var(--ease);
    cursor: pointer;
    position: relative;
}
.product-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A6FA5, #6B8FBE);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(-50%);
}
.product-tab.active::after {
    width: 60%;
}
.product-tab:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}
.product-tab.active {
    color: var(--white);
    background: #1E3A5F;
    border-color: #1E3A5F;
}

/* Panel container */
.product-frame-container {
    position: relative;
}
.product-panel {
    display: none;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}
.product-panel.active {
    display: grid;
    animation: panelFadeIn 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Info column */
.product-panel-info h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -1px;
}
.product-panel-info > p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 24px;
}
.product-features-list {
    margin-bottom: 28px;
}
.product-features-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 10px;
}
.product-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dbeafe;
    border: 2px solid #4A6FA5;
}

/* Browser mockup frame */
.product-mockup {
    perspective: 1000px;
}
/* ============================================
   PLATFORM UI MOCKUPS — Light ShadCN Theme
   SolumHealth Design System · su- prefix
   ============================================ */

/* --- Keyframes --- */
@keyframes su-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes su-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
@keyframes su-fade-in {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slide up from bottom with spring-like overshoot */
@keyframes su-slide-up {
    0% { opacity: 0; transform: translateY(20px); }
    60% { opacity: 1; transform: translateY(-3px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scale in from center */
@keyframes su-scale-in {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* Count up shimmer sweep (for stat numbers) */
@keyframes su-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Typing cursor with smooth blink */
@keyframes su-type-blink {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

/* Progress bar fill animation */
@keyframes su-bar-fill {
    from { width: 0; }
}

/* Kanban card slide from left/right */
@keyframes su-slide-left {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes su-slide-right {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Gentle float for mockup browser */
@keyframes su-float {
    0%, 100% { transform: rotateY(-2deg) rotateX(1deg) translateY(0); }
    50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-6px); }
}

/* Glow pulse for active elements */
@keyframes su-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,111,165,0.15); }
    50% { box-shadow: 0 0 0 6px rgba(74,111,165,0); }
}

/* Row highlight sweep */
@keyframes su-row-highlight {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* --- Browser Frame (Light Theme) --- */
.mockup-browser {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.03),
        0 4px 12px rgba(0,0,0,0.04),
        0 20px 60px rgba(0,0,0,0.07),
        0 40px 80px rgba(30,58,95,0.04);
    transform: rotateY(-2deg) rotateX(1deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: su-float 6s ease-in-out infinite;
    will-change: transform;
}
.mockup-browser:hover {
    transform: rotateY(0) rotateX(0) translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.03),
        0 8px 24px rgba(0,0,0,0.06),
        0 32px 80px rgba(0,0,0,0.09),
        0 48px 100px rgba(30,58,95,0.06);
    animation-play-state: paused;
}

/* macOS-style title bar (Light) */
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}
.mockup-bar .dot { width: 9px; height: 9px; border-radius: 50%; transition: transform 0.2s ease; }
.mockup-bar .dot:hover { transform: scale(1.3); }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #22c55e; }
.mockup-url {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #94A3B8;
    background: #F1F5F9;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    border: 1px solid #E2E8F0;
    flex: 1;
    max-width: 220px;
    letter-spacing: 0.2px;
}

/* Mockup body — light canvas */
.mockup-body {
    padding: 0;
    min-height: 290px;
    position: relative;
    display: flex;
    background: #F8FAFC;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ================================================
   SHARED COMPONENTS
   ================================================ */

/* --- Sidebar --- */
.su-sidebar {
    width: 48px;
    min-width: 48px;
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    border-right: 1px solid rgba(226,232,240,0.6);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.su-nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    cursor: pointer;
    position: relative;
    color: #94A3B8;
    background: transparent;
}
.su-nav-icon:hover {
    background: rgba(74,111,165,0.06);
    color: #4A6FA5;
    transform: scale(1.08);
}
.su-nav-icon.active {
    background: rgba(74,111,165,0.1);
    color: #4A6FA5;
    animation: su-glow 2s ease-in-out infinite;
}
.su-nav-icon.active::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #4A6FA5;
    border-radius: 0 2px 2px 0;
}
/* Icon shapes inside nav */
.su-icon-bar {
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.su-icon-bar + .su-icon-bar {
    margin-top: 3px;
}
.su-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.su-nav-divider {
    width: 22px;
    height: 1px;
    background: #E2E8F0;
    margin: 2px 0;
}

/* --- Main Content Area --- */
.su-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- Top Bar --- */
.su-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
    flex-wrap: wrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.su-topbar-title {
    font-size: 13px;
    font-weight: 700;
    color: #1E3A5F;
    letter-spacing: -0.2px;
    white-space: nowrap;
}
.su-search {
    margin-left: auto;
    height: 26px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 0 8px 0 22px;
    font-size: 10px;
    color: #94A3B8;
    font-family: var(--font-mono);
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
}
.su-search::before {
    content: '\2315';
    position: absolute;
    left: 6px;
    font-size: 12px;
    color: #B0BEC5;
}

/* --- Avatar --- */
.su-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}
.su-avatar.blue { background: #4A6FA5; }
.su-avatar.orange { background: #E8913A; }
.su-avatar.green { background: #48BB78; }
.su-avatar.purple { background: #8b5cf6; }
.su-avatar.navy { background: #1E3A5F; }
.su-avatar-sm {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* --- Content Area --- */
.su-content {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

/* --- Status Pills --- */
.su-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}
.su-pill.green  { color: #16A34A; background: #F0FDF4; }
.su-pill.orange { color: #E8913A; background: #FFF5EB; }
.su-pill.amber  { color: #D97706; background: #FFFBEB; }
.su-pill.blue   { color: #4A6FA5; background: #EFF6FF; }
.su-pill.red    { color: #E53E3E; background: #FEF2F2; }
.su-pill.purple { color: #7C3AED; background: #F5F3FF; }
.su-pill.gray   { color: #64748B; background: #F1F5F9; }

/* --- Icon Boxes --- */
.su-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}
.su-icon-box.blue   { background: rgba(74,111,165,0.1); color: #4A6FA5; }
.su-icon-box.orange { background: rgba(232,145,58,0.1); color: #E8913A; }
.su-icon-box.green  { background: rgba(72,187,120,0.1); color: #48BB78; }
.su-icon-box.red    { background: rgba(227,62,62,0.1);  color: #E53E3E; }
.su-icon-box.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }

/* --- Buttons --- */
.su-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    white-space: nowrap;
    background: #4A6FA5;
    color: #ffffff;
}
.su-btn:hover { background: #3B5998; }
.su-btn.secondary {
    background: #F1F5F9;
    color: #1E3A5F;
    border: 1px solid #E2E8F0;
}
.su-btn.secondary:hover { background: #E2E8F0; }
.su-btn.green { background: #48BB78; color: #fff; }
.su-btn.orange { background: #E8913A; color: #fff; }
.su-btn.sm { padding: 3px 8px; font-size: 9px; border-radius: 5px; }

/* --- Live Indicator --- */
.su-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #48BB78;
    animation: su-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.su-live.orange { background: #E8913A; }
.su-live.red { background: #E53E3E; }

/* --- Labels / Values --- */
.su-label-text {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8899AA;
    font-weight: 600;
    line-height: 1;
}

/* --- Progress Bars --- */
.su-progress-bar {
    height: 4px;
    background: #F1F5F9;
    border-radius: 2px;
    overflow: hidden;
}
.su-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: #4A6FA5;
    transition: width 0.4s ease;
    animation: su-bar-fill 1s cubic-bezier(0.23, 1, 0.32, 1) backwards;
    animation-delay: 0.3s;
}
.su-progress-fill.green { background: linear-gradient(90deg, #48BB78, #38A169); }
.su-progress-fill.orange { background: #E8913A; }

/* --- Filter Tabs --- */
.su-filter-tabs {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.su-filter-tab {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}
.su-filter-tab.active {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1E3A5F;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-weight: 600;
}
.su-filter-tab:hover:not(.active) {
    background: #F8FAFC;
}


/* ================================================
   1. CRM TABLE (.su-table)
   ================================================ */
.su-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}
.su-table th {
    text-align: left;
    padding: 7px 8px;
    font-size: 8px;
    font-weight: 700;
    color: #8899AA;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #E2E8F0;
    white-space: nowrap;
    background: #FAFBFD;
}
.su-table td {
    padding: 8px 8px;
    color: #334155;
    border-bottom: 1px solid #F1F5F9;
    white-space: nowrap;
    vertical-align: middle;
}
.su-table tr {
    transition: background 0.12s ease;
    cursor: pointer;
}
.su-table tr:hover td {
    background: #F8FAFC;
}
.su-table tr:last-child td { border-bottom: none; }

/* Name cell with avatar */
.su-cell-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: #1E3A5F;
    font-size: 11px;
}
.su-table tr:hover .su-cell-name {
    color: #4A6FA5;
}
.su-cell-phone {
    font-size: 10px;
    color: #64748B;
    font-variant-numeric: tabular-nums;
}
.su-cell-insurance {
    font-size: 10px;
    color: #334155;
    font-weight: 500;
}
.su-date {
    color: #94A3B8;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}

/* Staggered row slide-up */
.su-table tbody tr {
    animation: su-slide-up 0.35s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-table tbody tr:nth-child(1) { animation-delay: 0s; }
.su-table tbody tr:nth-child(2) { animation-delay: 0.06s; }
.su-table tbody tr:nth-child(3) { animation-delay: 0.12s; }
.su-table tbody tr:nth-child(4) { animation-delay: 0.18s; }
.su-table tbody tr:nth-child(5) { animation-delay: 0.24s; }


/* ================================================
   2. INTAKE FORM (.su-form-card)
   ================================================ */

/* Multi-step progress */
.su-progress-steps {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}
.su-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.su-step-bar {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #E2E8F0;
    transition: all 0.3s ease;
}
.su-step.done .su-step-bar { background: #48BB78; }
.su-step.active .su-step-bar { background: #E8913A; animation: su-pulse 1.5s ease-in-out infinite; }
.su-step-label {
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94A3B8;
    font-weight: 600;
}
.su-step.done .su-step-label { color: #48BB78; }
.su-step.active .su-step-label { color: #E8913A; font-weight: 700; }

/* Form Card */
.su-form-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.su-form-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}
.su-form-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #1E3A5F;
}
.su-form-row {
    display: flex;
    gap: 8px;
}

/* Fields */
.su-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.su-field-label {
    font-size: 8px;
    font-weight: 600;
    color: #8899AA;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.su-field-input {
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    background: #F7FAFC;
    padding: 0 10px;
    font-size: 11px;
    color: #1E3A5F;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}
.su-field-input.filled {
    border-color: #4ADE80;
    background: #F0FDF4;
    color: #166534;
}
.su-field-input.filling {
    border-color: #E8913A;
    background: #FFFAF5;
    color: #1E3A5F;
}
.su-field-input.tall {
    height: 48px;
    padding: 8px 10px;
    align-items: flex-start;
}
.su-cursor {
    display: inline-block;
    width: 1.5px;
    height: 13px;
    background: #E8913A;
    margin-left: 1px;
    animation: su-type-blink 0.8s ease-in-out infinite;
    border-radius: 1px;
}

/* AI Badge */
.su-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(74,111,165,0.06) 0%, rgba(139,92,246,0.06) 100%);
    border: 1px solid rgba(74,111,165,0.15);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    font-size: 9px;
    font-weight: 700;
    color: #4A6FA5;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    align-self: flex-end;
    margin-top: 4px;
}
.su-ai-badge .su-live {
    width: 5px;
    height: 5px;
    background: #4A6FA5;
}


/* ================================================
   3. PRIOR AUTH KANBAN (.su-kanban)
   ================================================ */
.su-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex: 1;
}
.su-kanban-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #F1F5F9;
    border-radius: 10px;
    padding: 8px;
    min-width: 0;
}
.su-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    margin-bottom: 2px;
}
.su-col-header.amber  { border-color: #E8913A; }
.su-col-header.blue   { border-color: #4A6FA5; }
.su-col-header.green  { border-color: #48BB78; }
.su-col-title {
    font-size: 9px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.su-col-count {
    font-size: 8px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
}
.su-col-header.amber .su-col-count  { background: #FFF5EB; color: #E8913A; }
.su-col-header.blue .su-col-count   { background: #EFF6FF; color: #4A6FA5; }
.su-col-header.green .su-col-count  { background: #F0FDF4; color: #16A34A; }

/* Kanban Cards */
.su-kcard {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.15s ease;
    cursor: pointer;
}
.su-kcard:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    transform: translateY(-3px);
    border-color: #CBD5E1;
}
.su-kcard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.su-kcard-name {
    font-size: 10px;
    font-weight: 600;
    color: #1E3A5F;
}
.su-kcard-id {
    font-size: 8px;
    color: #94A3B8;
    font-weight: 500;
}
.su-kcard-type {
    font-size: 9px;
    color: #64748B;
    line-height: 1.3;
}
.su-kcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}
.su-kcard-time {
    font-size: 8px;
    color: #94A3B8;
}
.su-kcard-payer {
    font-size: 8px;
    color: #64748B;
    font-weight: 600;
    background: #F8FAFC;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #F1F5F9;
}
/* Staggered card animation — directional per column */
.su-kanban-col:nth-child(1) .su-kcard {
    animation: su-slide-left 0.4s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-kanban-col:nth-child(2) .su-kcard {
    animation: su-slide-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-kanban-col:nth-child(3) .su-kcard {
    animation: su-slide-right 0.4s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-kanban-col .su-kcard:nth-child(2) { animation-delay: 0.08s; }
.su-kanban-col .su-kcard:nth-child(3) { animation-delay: 0.16s; }
.su-kanban-col .su-kcard:nth-child(4) { animation-delay: 0.24s; }
.su-kanban-col .su-kcard:nth-child(5) { animation-delay: 0.32s; }


/* ================================================
   4. INSURANCE VERIFICATION (.su-stat-row + .su-verify-card)
   ================================================ */

/* Stat Row */
.su-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.su-stat-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all 0.15s ease;
    animation: su-scale-in 0.4s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-stat-card:nth-child(2) { animation-delay: 0.1s; }
.su-stat-card:nth-child(3) { animation-delay: 0.2s; }
.su-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.su-stat-num {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #1E3A5F;
}
.su-stat-num.green  { color: #16A34A; }
.su-stat-num.blue   { color: #4A6FA5; }
.su-stat-num.navy   { color: #1E3A5F; }
.su-stat-num.orange { color: #E8913A; }
.su-stat-num.purple { color: #8b5cf6; }
.su-stat-num.counting {
    background: linear-gradient(90deg, currentColor 40%, rgba(74,111,165,0.3) 50%, currentColor 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: su-shimmer 1.5s ease-in-out;
}
.su-stat-label {
    font-size: 8px;
    color: #8899AA;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}
.su-stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    font-weight: 600;
    margin-top: 2px;
}
.su-stat-trend.up { color: #16A34A; }
.su-stat-trend.down { color: #E53E3E; }

/* Verification Detail Card */
.su-verify-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}
.su-verify-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #FAFBFD;
    border-bottom: 1px solid #E2E8F0;
    flex-wrap: wrap;
}
.su-verify-name {
    font-size: 12px;
    font-weight: 700;
    color: #1E3A5F;
}
.su-verify-id {
    font-size: 9px;
    color: #94A3B8;
}
.su-verify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.su-verify-col {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.su-verify-col:first-child {
    border-right: 1px solid #F1F5F9;
}
.su-verify-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.su-verify-label {
    font-size: 8px;
    font-weight: 600;
    color: #8899AA;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.su-verify-value {
    font-size: 11px;
    color: #1E3A5F;
    font-weight: 500;
}
.su-verify-value.green { color: #16A34A; }
.su-verify-value.money {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* Benefit Breakdown */
.su-benefit-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    grid-column: 1 / -1;
    padding: 0 14px 10px;
}
.su-benefit-labels {
    display: flex;
    justify-content: space-between;
}
.su-benefit-bar {
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: #F1F5F9;
    display: flex;
}
.su-benefit-used {
    background: linear-gradient(90deg, #4A6FA5, #6B8FBE);
    border-radius: 3px 0 0 3px;
    transition: width 0.4s ease;
    animation: su-bar-fill 1.2s cubic-bezier(0.23, 1, 0.32, 1) backwards;
    animation-delay: 0.4s;
}
.su-benefit-remaining {
    background: #D1FAE5;
    flex: 1;
}


/* ================================================
   5. INSURANCE MONITORING (.su-alert-feed)
   ================================================ */
.su-alert-feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.su-alert-item {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: all 0.15s ease;
    cursor: pointer;
    animation: su-slide-left 0.35s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-alert-item:nth-child(2) { animation-delay: 0.08s; }
.su-alert-item:nth-child(3) { animation-delay: 0.16s; }
.su-alert-item:nth-child(4) { animation-delay: 0.24s; }
.su-alert-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-color: #CBD5E1;
}
/* Left border by alert type */
.su-alert-item.warning {
    border-left: 3px solid #E8913A;
}
.su-alert-item.critical {
    border-left: 3px solid #E53E3E;
}
.su-alert-item.info {
    border-left: 3px solid #4A6FA5;
}
.su-alert-item.success {
    border-left: 3px solid #48BB78;
}

/* Alert Icon */
.su-alert-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.su-alert-icon.amber  { background: rgba(232,145,58,0.1);  color: #E8913A; }
.su-alert-icon.green  { background: rgba(72,187,120,0.1);  color: #48BB78; }
.su-alert-icon.red    { background: rgba(227,62,62,0.1);   color: #E53E3E; }
.su-alert-icon.blue   { background: rgba(74,111,165,0.1);  color: #4A6FA5; }

/* Alert Content */
.su-alert-content {
    flex: 1;
    min-width: 0;
}
.su-alert-title {
    font-size: 10px;
    font-weight: 700;
    color: #1E3A5F;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.su-alert-patient {
    font-weight: 600;
    color: #4A6FA5;
}
.su-alert-desc {
    font-size: 9px;
    color: #64748B;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.su-alert-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.su-alert-time {
    font-size: 8px;
    color: #94A3B8;
    white-space: nowrap;
}
.su-alert-action {
    font-size: 8px;
    font-weight: 700;
    color: #4A6FA5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.12s ease;
}
.su-alert-action:hover { color: #1E3A5F; }

/* Monitor Stats Row */
.su-monitor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 4px;
}


/* ================================================
   6. WAITLIST CALENDAR (.su-calendar-view)
   ================================================ */
.su-calendar-view {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    flex: 1;
}

/* Calendar Panel */
.su-cal-panel {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.su-cal-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.su-cal-title-text {
    font-size: 11px;
    font-weight: 700;
    color: #1E3A5F;
}
.su-cal-nav {
    display: flex;
    gap: 3px;
}
.su-cal-nav-btn {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.12s ease;
}
.su-cal-nav-btn:hover { background: #E2E8F0; }

/* Day header row */
.su-cal-header-row {
    display: grid;
    grid-template-columns: 40px repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 2px;
}
.su-cal-day-label {
    font-size: 8px;
    font-weight: 700;
    color: #8899AA;
    text-align: center;
    padding: 3px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Time rows */
.su-cal-row {
    display: grid;
    grid-template-columns: 40px repeat(3, 1fr);
    gap: 4px;
}
.su-cal-time {
    font-size: 8px;
    color: #94A3B8;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
    font-variant-numeric: tabular-nums;
}

/* Time Slots */
.su-cal-slot {
    height: 30px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 500;
    color: #94A3B8;
    transition: all 0.15s ease;
    overflow: hidden;
    padding: 0 4px;
    white-space: nowrap;
    animation: su-scale-in 0.3s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
/* Stagger calendar slots by row */
.su-cal-row:nth-child(2) .su-cal-slot { animation-delay: 0.05s; }
.su-cal-row:nth-child(3) .su-cal-slot { animation-delay: 0.1s; }
.su-cal-row:nth-child(4) .su-cal-slot { animation-delay: 0.15s; }
.su-cal-row:nth-child(5) .su-cal-slot { animation-delay: 0.2s; }
.su-cal-slot.filled {
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.2);
    color: #7C3AED;
    font-weight: 600;
}
.su-cal-slot.gap {
    background: rgba(232,145,58,0.06);
    border: 1.5px dashed #E8913A;
    color: #E8913A;
    font-weight: 700;
    font-size: 9px;
}
.su-cal-slot.gap .su-live {
    width: 4px;
    height: 4px;
    margin-right: 2px;
}
.su-cal-slot:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Priority Waitlist Panel */
.su-waitlist-panel {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.su-wl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
    border-bottom: 1px solid #F1F5F9;
}
.su-wl-title {
    font-size: 10px;
    font-weight: 700;
    color: #1E3A5F;
}
.su-wl-count {
    font-size: 8px;
    font-weight: 700;
    color: #8b5cf6;
    background: #F5F3FF;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Waitlist Patient Cards */
.su-wl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 7px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    transition: all 0.15s ease;
    cursor: pointer;
}
.su-wl-item:hover {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border-color: #E2E8F0;
}
.su-wl-item.priority {
    border-left: 3px solid #8b5cf6;
    background: #FAF5FF;
}
.su-wl-item.urgent {
    border-left: 3px solid #E53E3E;
    background: #FFF5F5;
}
.su-wl-info {
    flex: 1;
    min-width: 0;
}
.su-wl-name {
    font-size: 10px;
    font-weight: 600;
    color: #1E3A5F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.su-wl-detail {
    font-size: 8px;
    color: #64748B;
    margin-top: 1px;
}
.su-wl-time {
    font-size: 8px;
    color: #94A3B8;
}
.su-wl-priority {
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.su-wl-priority.p1 { color: #E53E3E; background: #FEF2F2; }
.su-wl-priority.p2 { color: #8b5cf6; background: #F5F3FF; }
.su-wl-priority.p3 { color: #E8913A; background: #FFF5EB; }


/* ================================================
   REALISTIC PLATFORM UI — Enhanced Components
   ================================================ */

/* Sidebar SVG icons */
.su-nav-icon svg {
    width: 14px;
    height: 14px;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Sidebar logo mark */
.su-sidebar-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4A6FA5, #3B5998);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.su-sidebar-mark::before {
    content: 'S';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: white;
    font-family: system-ui;
}

/* Navigation badge counts */
.su-nav-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    background: #f59e0b;
    color: white;
    font-size: 7px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}
.su-nav-badge.green { background: #22c55e; }
.su-nav-badge.orange { background: #f97316; }

/* Patient/item tags */
.su-tag {
    display: inline-flex;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 500;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    margin-right: 3px;
    white-space: nowrap;
}

/* Chat transcript messages */
.su-transcript {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.su-chat-msg {
    max-width: 82%;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 9px;
    line-height: 1.4;
    color: #334155;
    animation: su-fade-in 0.3s ease backwards;
}
.su-chat-msg:nth-child(2) { animation-delay: 0.15s; }
.su-chat-msg:nth-child(3) { animation-delay: 0.3s; }
.su-chat-msg:nth-child(4) { animation-delay: 0.45s; }
.su-chat-msg:nth-child(5) { animation-delay: 0.6s; }
.su-chat-msg.ai {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-bottom-left-radius: 2px;
}
.su-chat-msg.patient {
    align-self: flex-end;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-bottom-right-radius: 2px;
    color: #166534;
}
.su-chat-role {
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
    text-transform: uppercase;
}
.su-chat-msg.ai .su-chat-role { color: #4A6FA5; }
.su-chat-msg.patient .su-chat-role { color: #16A34A; }

/* Audio waveform visualization */
.su-waveform {
    display: flex;
    align-items: center;
    gap: 1.5px;
    padding: 5px 10px;
    margin: 0 12px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    flex-shrink: 0;
}
.su-wave-bar {
    width: 2px;
    border-radius: 1px;
    background: #4A6FA5;
    flex-shrink: 0;
    opacity: 0.7;
}
.su-wave-play {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4A6FA5;
    flex-shrink: 0;
    margin-right: 6px;
    position: relative;
}
.su-wave-play::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    border-style: solid;
    border-width: 5px 0 5px 7px;
    border-color: transparent transparent transparent white;
}

/* Mini stat cards row */
.su-stat-mini-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 10px 12px 0;
}
.su-stat-mini {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    animation: su-scale-in 0.3s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.su-stat-mini:nth-child(2) { animation-delay: 0.06s; }
.su-stat-mini:nth-child(3) { animation-delay: 0.12s; }
.su-stat-mini:nth-child(4) { animation-delay: 0.18s; }
.su-stat-mini.selected {
    border-color: #4A6FA5;
    box-shadow: 0 0 0 2px rgba(74,111,165,0.12);
}
.su-stat-mini:hover:not(.selected) { border-color: #94a3b8; }
.su-stat-mini-num {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}
.su-stat-mini-label {
    font-size: 7px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    margin-top: 2px;
}

/* Responsive adjustments for new components */
@media (max-width: 768px) {
    .su-sidebar-mark { width: 22px; height: 22px; margin-bottom: 6px; }
    .su-sidebar-mark::before { font-size: 10px; }
    .su-nav-icon svg { width: 12px; height: 12px; }
    .su-transcript { padding: 6px 8px; gap: 4px; }
    .su-chat-msg { font-size: 8px; padding: 4px 7px; }
    .su-stat-mini-row { grid-template-columns: repeat(2, 1fr); }
    .su-stat-mini-num { font-size: 13px; }
    .su-waveform { display: none; }
}

/* ================================================
   MOCKUP RESPONSIVE (768px)
   ================================================ */
@media (max-width: 768px) {
    .mockup-browser {
        animation: none;
        transform: none;
    }
    .mockup-browser:hover {
        transform: translateY(-2px);
    }
    .mockup-body { min-height: 220px; }
    .su-sidebar { width: 36px; min-width: 36px; }
    .su-nav-icon { width: 24px; height: 24px; }
    .su-topbar { padding: 8px 10px; }
    .su-search { display: none; }
    .su-content { padding: 10px; }

    /* CRM: hide last 2 columns */
    .su-table th:nth-child(n+5),
    .su-table td:nth-child(n+5) { display: none; }
    .su-table th, .su-table td { padding: 6px 4px; }

    /* Intake: stack half-fields */
    .su-form-row { flex-direction: column; gap: 6px; }

    /* Kanban: stack columns */
    .su-kanban { grid-template-columns: 1fr; gap: 8px; }

    /* Verification: stack stats */
    .su-stat-row { grid-template-columns: 1fr; gap: 6px; }
    .su-verify-grid { grid-template-columns: 1fr; }
    .su-verify-col:first-child { border-right: none; border-bottom: 1px solid #F1F5F9; }

    /* Monitor: stack stats */
    .su-monitor-stats { grid-template-columns: 1fr; gap: 6px; }

    /* Waitlist: stack calendar and panel */
    .su-calendar-view { grid-template-columns: 1fr; gap: 10px; }
}


/* ================================================
   DEMO ANIMATION STATES
   Interactive choreographer classes
   ================================================ */

/* CRM: Row highlight */
.su-table tbody tr.highlighted {
    background: rgba(74,111,165,0.06) !important;
    border-left: 3px solid #4A6FA5;
    transition: all 0.3s ease;
}
.su-table tbody tr.filtered {
    opacity: 0.08 !important;
    transform: scaleY(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Search typing state */
.su-search.typing {
    background: #ffffff;
    border-color: #4A6FA5;
    color: #1E3A5F;
    font-weight: 500;
    box-shadow: 0 0 0 3px rgba(74,111,165,0.1);
}

/* Pill flash animation */
@keyframes su-pill-flash {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); filter: brightness(1.3); }
    100% { transform: scale(1); filter: brightness(1); }
}
.su-pill.flash {
    animation: su-pill-flash 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Kanban card moving state */
.su-kcard.moving {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: scale(1.03);
}
.su-kcard.moving.exit {
    opacity: 0;
    transform: translateX(24px) scale(0.85);
}

/* Kanban new card slide-in from top */
@keyframes su-card-enter {
    from { opacity: 0; transform: translateY(-16px) scale(0.92); max-height: 0; margin-bottom: 0; }
    to { opacity: 1; transform: translateY(0) scale(1); max-height: 120px; margin-bottom: 6px; }
}
.su-kcard.new-card {
    animation: su-card-enter 0.45s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

/* Kanban count update */
.su-col-count.updated {
    animation: su-pill-flash 0.4s ease;
    color: #4A6FA5;
}

/* Alert: new alert slide-in from top */
@keyframes su-alert-enter {
    from { opacity: 0; transform: translateY(-20px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
    to { opacity: 1; transform: translateY(0); max-height: 100px; padding-top: 10px; padding-bottom: 10px; margin-bottom: 6px; }
}
.su-alert-item.new-alert {
    animation: su-alert-enter 0.5s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

/* Alert resolved state */
.su-alert-item.resolved {
    opacity: 0.3 !important;
    transition: opacity 0.6s ease;
}

/* Insurance: verify scanning shimmer */
@keyframes su-verify-scan {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}
.su-verify-header.scanning {
    background: linear-gradient(90deg, #FAFBFD 35%, rgba(74,111,165,0.1) 50%, #FAFBFD 65%) !important;
    background-size: 200% 100% !important;
    animation: su-verify-scan 1.5s ease;
}

/* Waitlist: slot filling animation */
.su-cal-slot.filling-gap {
    border-color: #4A6FA5 !important;
    border-style: solid !important;
    color: #4A6FA5 !important;
    font-weight: 700 !important;
    background: rgba(74,111,165,0.06) !important;
    animation: su-pulse 0.8s ease-in-out infinite;
}
.su-cal-slot.filled-new {
    background: rgba(139,92,246,0.12) !important;
    border-color: rgba(139,92,246,0.3) !important;
    border-style: solid !important;
    color: #7C3AED !important;
    font-weight: 600 !important;
    animation: su-scale-in 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Waitlist: patient contacted */
.su-wl-item.contacted {
    border-left: 3px solid #48BB78 !important;
    background: #F0FDF4 !important;
    transition: all 0.3s ease;
}
.su-wl-item.removing {
    opacity: 0;
    transform: translateX(-20px);
    max-height: 0;
    margin: 0;
    padding: 0 8px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Intake: progress step completing */
.su-step.completing {
    animation: su-scale-in 0.3s ease;
}

/* Intake: AI badge complete state */
.su-ai-badge.complete {
    background: linear-gradient(135deg, rgba(72,187,120,0.08) 0%, rgba(74,111,165,0.06) 100%) !important;
    border-color: rgba(72,187,120,0.2) !important;
    color: #16A34A !important;
}

/* Product Demo Section */
.product-demo-section {
    padding: 0 0 60px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.product-demo-frame {
    max-width: 960px;
    margin: 0 auto;
}
.product-demo-frame .mockup-browser {
    transform: none;
    animation: none;
}
.product-demo-frame .mockup-body {
    min-height: 380px;
}
@media (max-width: 768px) {
    .product-demo-section {
        margin-top: -20px;
        padding-bottom: 40px;
    }
    .product-demo-frame .mockup-body {
        min-height: 300px;
    }
}

/* ============================================
   INTEGRATIONS — Grid Network (Blue/Bright)
   ============================================ */
.integrations-section {
    padding: 100px 0;
    background: linear-gradient(165deg, #0a0e27 0%, #0c1445 35%, #0f1b5e 60%, #111d6a 100%);
    overflow: hidden;
    position: relative;
}

/* Animated mesh gradient overlay */
.integrations-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 25% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 600px 500px at 75% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 500px 400px at 50% 50%, rgba(74, 111, 165, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* SVG connection lines behind the grid */
.int-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.int-lines line {
    stroke: rgba(99, 149, 255, 0.65);
    stroke-width: 1;
    opacity: 0.1;
}
.int-lines .int-line-glow {
    stroke: rgba(96, 165, 250, 0.9);
    stroke-width: 1.8;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.5));
}

/* Data pulse circles */
.int-pulse-dot {
    fill: rgba(96, 165, 250, 0.9);
    opacity: 0;
    filter: drop-shadow(0 0 3px rgba(96, 165, 250, 0.8));
}
.int-pulse-dot.active {
    opacity: 0.9;
}

/* Grid layout — 5 columns */
.int-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    max-width: 1040px;
    margin: 0 auto;
    background: rgba(99, 149, 255, 0.06);
    border: 1px solid rgba(99, 149, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

/* Logo cells */
.int-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 22px;
    min-height: 105px;
    background: rgba(10, 15, 40, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s var(--ease);
    position: relative;
}
.int-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(99, 149, 255, 0.05);
    pointer-events: none;
    transition: border-color 0.35s;
}
.int-cell img {
    max-width: 115px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: all 0.35s;
}
.int-cell:hover {
    background: rgba(59, 130, 246, 0.1);
}
.int-cell:hover::after {
    border-color: rgba(96, 165, 250, 0.15);
}
.int-cell:hover img {
    opacity: 0.95;
    transform: scale(1.08);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(96, 165, 250, 0.3));
}

/* Text-based logo cell (for Zendesk etc.) */
.int-cell-text { cursor: default; }
.int-text-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: white;
    opacity: 0.45;
    letter-spacing: -0.5px;
    transition: all 0.35s;
}
.int-cell-text:hover .int-text-logo {
    opacity: 0.95;
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.3);
}

/* Center title cell */
.int-center-cell {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    flex-direction: column;
    gap: 14px;
    padding: 44px 36px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(74, 111, 165, 0.06) 100%);
    border: 1px solid rgba(96, 165, 250, 0.18);
    text-align: center;
}
.int-center-cell::after {
    border-color: rgba(96, 165, 250, 0.1);
}
.int-center-cell:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(74, 111, 165, 0.08) 100%);
}

.int-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    background: rgba(59, 130, 246, 0.2);
    color: rgba(147, 197, 253, 0.9);
    text-transform: uppercase;
}
.int-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.int-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: rgba(147, 197, 253, 0.9);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

/* Ambient glows — brighter blue */
.integrations-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background:
        radial-gradient(ellipse 600px 400px at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse 400px 300px at 35% 40%, rgba(96, 165, 250, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 65% 60%, rgba(74, 111, 165, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   SOLUTIONS — Clean grid cards
   ============================================ */
.solutions-section {
    padding: 100px 0;
    background: var(--off-white);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.solution-card {
    padding: 28px 22px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease);
    background: var(--white);
}
.solution-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
    transform: translateY(-4px);
}
.solution-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-50);
    border: 1px solid var(--purple-100);
    border-radius: var(--radius);
    margin-bottom: 14px;
    color: var(--purple-600);
    transition: all 0.3s;
}
.solution-card:hover .solution-icon {
    background: var(--purple-100);
    border-color: var(--purple-200);
    transform: scale(1.05);
}
.solution-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.solution-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
}
.solution-card-link {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: #4A6FA5;
    transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.solution-card-link:hover {
    color: #1E3A5F;
}
.solutions-subline {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--gray-400);
}
.solutions-subline a {
    color: #4A6FA5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.solutions-subline a:hover {
    color: #1E3A5F;
}

/* ============================================
   CASE STUDIES — Card Grid Section
   ============================================ */
.case-studies-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.hp-cs-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.hp-cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.hp-cs-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    min-height: 160px;
    border-bottom: 1px solid #e2e8f0;
}
.hp-cs-logo img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.3);
    transition: filter 0.3s;
}
.hp-cs-card:hover .hp-cs-logo img {
    filter: grayscale(0%) brightness(1);
}
.hp-cs-body {
    padding: 28px 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-cs-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1E3A5F;
    line-height: 1.35;
    margin-bottom: 12px;
}
.hp-cs-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.hp-cs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4A6FA5;
    text-decoration: none;
    transition: gap 0.2s;
}
.hp-cs-card:hover .hp-cs-link {
    gap: 10px;
}
.hp-cs-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
@media (max-width: 900px) {
    .case-studies-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .case-studies-section { padding: 60px 0 40px; }
}

/* ============================================
   TESTIMONIALS — Infinite Auto-Scrolling Carousel
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}
.testimonials-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}
.testimonial-card {
    min-width: 360px;
    max-width: 360px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid transparent;
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    border-color: rgba(0,0,0,0.1);
    border-left-color: var(--purple-500, #8b5cf6);
}
.tc-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}
.tc-stars svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    flex-shrink: 0;
}
/* Legacy fallback for Unicode stars */
.tc-stars span {
    font-size: 18px;
    color: var(--star);
}
.tc-quote {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
    font-style: italic;
}
.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tc-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--gray-200);
    object-fit: cover;
}
.tc-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}
.tc-author span {
    font-size: 12px;
    color: var(--gray-500);
    display: block;
    margin-top: 2px;
}

/* ============================================
   PRESS — "As Seen In"
   ============================================ */
.press-section {
    padding: 48px 0;
    background: var(--off-white);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.press-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--gray-400);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.press-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.35;
    transition: all 0.4s var(--ease);
}
.press-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.04) 0%, transparent 70%);
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-600);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.about-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 20px;
}
.about-text:last-of-type {
    margin-bottom: 32px;
}
.about-text-emphasis {
    color: var(--gray-800);
    font-weight: 500;
    font-style: italic;
    border-left: 3px solid var(--purple-400);
    padding-left: 20px;
    margin-top: 8px;
}
.about-image img {
    border-radius: var(--radius-xl);
    width: 100%;
}

/* ============================================
   OUTCOMES — CFO-Focused ROI
   ============================================ */
.outcomes-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}
.outcomes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(74, 111, 165, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 111, 165, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.outcome-card {
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.outcome-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--purple-500, #8b5cf6);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.outcome-card:hover {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
}
.outcome-card:hover::after {
    opacity: 1;
}
.outcome-metric {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--purple-600, #7c3aed) 0%, var(--blue-500, #468af7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}
.outcome-metric-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.outcome-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.outcome-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}
.outcome-comparator {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-500);
    background: var(--gray-100, #f1f5f9);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}
.outcomes-guarantee {
    position: relative;
}
.outcomes-guarantee-inner {
    background: var(--navy, #1E3A5F);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.outcomes-guarantee-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.outcomes-guarantee-inner::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.outcomes-guarantee-text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.outcomes-guarantee-text strong {
    color: #fff;
    font-weight: 700;
}
.outcomes-guarantee-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.outcomes-proof-link {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.outcomes-proof-link:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    .outcome-metric {
        font-size: 40px;
    }
    .outcomes-guarantee-inner {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
    }
    .outcomes-guarantee-actions {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   INVESTORS
   ============================================ */
.investors-section {
    padding: 56px 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.04);
}
.investors-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 28px;
}
.investors-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.investor-logo {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8) brightness(1.1);
    opacity: 0.55;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}
.investor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   ENTERPRISE SECURITY — Credentials Row
   ============================================ */
.enterprise-security-section {
    padding: 100px 0;
    background: var(--off-white);
}
.security-credentials-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 1080px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.security-credential {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-right: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}
.security-credential:last-child {
    border-right: none;
}
.security-credential:hover {
    background: #f0f6ff;
}
.credential-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
    color: var(--purple-600);
    transition: all 0.3s;
}
.security-credential:hover .credential-icon {
    background: linear-gradient(135deg, var(--purple-200), var(--purple-100));
    transform: scale(1.05);
}
.credential-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.credential-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
}
.credential-status {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.credential-status.highlight {
    background: linear-gradient(135deg, #1E3A5F, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
}

/* ============================================
   FAQ — Accordion
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.faq-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    letter-spacing: -0.2px;
}
.faq-question:hover { color: #4A6FA5; }
.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s ease, color 0.2s;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: #4A6FA5;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 4px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 4px 22px;
}
.faq-answer p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION — Dark, bold
   ============================================ */
.cta-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, #1E3A5F 0%, #0a1628 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(74, 111, 165, 0.2);
}
/* Animated wave canvas — replaces static dot grid */
.cta-wave-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
/* Geometric accents + glow overlay */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Top edge glow */
        linear-gradient(180deg, rgba(70, 138, 247, 0.12) 0%, transparent 25%),
        /* Corner accent — top-right ring */
        radial-gradient(circle 140px at 88% 8%, transparent 48%, rgba(255,255,255,0.06) 50%, transparent 52%),
        /* Corner accent — bottom-left ring */
        radial-gradient(circle 100px at 12% 92%, transparent 48%, rgba(70,138,247,0.08) 50%, transparent 52%),
        /* Center soft glow */
        radial-gradient(ellipse 50% 60% at 50% 45%, rgba(70,138,247,0.06) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.cta-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-logo {
    display: block;
    margin: 0 auto 28px;
    opacity: 0.35;
    filter: brightness(1.2);
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 36px;
    line-height: 1.6;
}
.cta-form .form-input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}
.cta-form .form-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cta-form .form-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.cta-form .btn-cta-main {
    background: var(--white);
    color: var(--gray-900);
}
.cta-form .btn-cta-main:hover {
    background: #dbeafe;
    color: #1E3A5F;
    box-shadow: 0 8px 24px rgba(74, 111, 165, 0.3);
}
/* Certification badges row */
.cta-certifications {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.cta-cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.cta-cert-badge:hover {
    color: rgba(255,255,255,0.85);
}
.cta-cert-badge svg {
    opacity: 0.6;
    transition: opacity 0.3s;
}
.cta-cert-badge:hover svg {
    opacity: 1;
}
@media (max-width: 600px) {
    .cta-certifications {
        gap: 16px;
    }
    .cta-cert-badge span {
        font-size: 11px;
    }
}

/* CTA section dark outline button */
.cta-section .btn-outline-hero {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}
.cta-section .btn-outline-hero:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
}
.cta-section .btn-cta-main:hover {
    background: #dbeafe;
    color: #1E3A5F;
    box-shadow: 0 8px 24px rgba(74, 111, 165, 0.2);
}

/* ============================================
   FOOTER — Dark, clean columns
   ============================================ */
.footer {
    background: #0a1525;
    color: rgba(255,255,255,0.55);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
/* Crosshatch background overlay */
.footer-crosshatch {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }

/* 5-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 64px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}
.footer-col a {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

/* Large watermark brand text */
.footer-watermark {
    padding: 20px 0 0;
    overflow: hidden;
}
.footer-watermark-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}
.footer-bottom-left a {
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}
.footer-bottom-left a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.footer-badge:hover { opacity: 1; }

/* ============================================
   PRODUCT PAGES — Shared Styles
   ============================================ */
.product-page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 80px) 24px 64px;
    background: var(--white);
    text-align: center;
    overflow: hidden;
}
/* Halftone pattern for subpages — matches homepage density */
.product-page-hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    z-index: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect x='0' y='0' width='3' height='3' rx='0.5' fill='%23468af7' fill-opacity='0.14'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect x='0' y='0' width='2.5' height='2.5' rx='0.4' fill='%238b5cf6' fill-opacity='0.09'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='0' y='0' width='2' height='2' fill='%231E3A5F' fill-opacity='0.07'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect x='0' y='0' width='1.5' height='1.5' fill='%23468af7' fill-opacity='0.06'/%3E%3C/svg%3E");
    background-size: 8px 8px, 8px 8px, 12px 12px, 6px 6px;
    background-position: 0 0, 4px 4px, 3px 3px, 2px 2px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.product-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 15% 30%, rgba(70, 138, 247, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 85% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    z-index: 0;
}
.product-page-hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.product-page-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}
.product-page-sub {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 32px;
}

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
    background: var(--white);
}
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.hiw-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}
.hiw-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gray-900);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}
.hiw-step h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.hiw-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    padding: calc(var(--nav-h) + 80px) 24px 64px;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    text-align: center;
}
.about-hero-content { max-width: 720px; margin: 0 auto; }
.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}
.about-hero-sub {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--gray-500);
    line-height: 1.65;
}

/* Founder */
.founder-section { padding: 100px 0; background: var(--white); }
.founder-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}
.founder-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 18px;
}
.founder-text.highlight {
    font-size: 18px;
    font-weight: 600;
    color: var(--purple-600);
    margin-top: 8px;
}
.founder-image img {
    border-radius: var(--radius-xl);
    width: 100%;
}

/* Milestones Timeline */
.milestones-section { padding: 100px 0; background: var(--off-white); }
.timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item {
    position: relative;
    padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-300);
    z-index: 1;
}
.timeline-marker.yc {
    border-color: #f97316;
    background: #fff7ed;
}
.timeline-marker.active {
    border-color: var(--purple-500);
    background: var(--purple-100);
    box-shadow: 0 0 0 4px rgba(74, 111, 165, 0.12);
}
.timeline-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-600);
    background: var(--purple-100);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.timeline-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Manifesto */
.manifesto-section {
    padding: 120px 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}
.manifesto-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 25% 30%, rgba(74, 111, 165, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 75% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.manifesto-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.manifesto-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    text-transform: uppercase;
}
.manifesto-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 40px;
}
.manifesto-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 24px;
}
.manifesto-emphasis {
    font-size: 19px !important;
    font-weight: 600;
    color: var(--white) !important;
    font-style: italic;
    margin-top: 12px;
}

/* Manifesto Signature — Legacy Style */
.manifesto-signature {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.manifesto-signature-line {
    margin-bottom: 8px;
}
.signature-name {
    font-family: 'Space Grotesk', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}
.signature-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-400), transparent);
    opacity: 0.6;
}
.signature-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.signature-sub {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.3px;
    font-family: 'DM Mono', monospace;
}

/* Values */
.values-section { padding: 100px 0; background: var(--white); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--off-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-xl);
    transition: all 0.35s var(--ease);
}
.value-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
    transform: translateY(-4px);
}
.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-100);
    color: var(--purple-600);
    border-radius: 50%;
    margin: 0 auto 18px;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.value-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Backed By — About Page Investors */
.backed-section { padding: 100px 0; background: var(--white); }

/* Featured YC Card */
.backed-featured {
    max-width: 720px;
    margin: 0 auto 44px;
}
.backed-featured-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #fff9f0 0%, #fff7ed 50%, #fffbeb 100%);
    border: 1px solid #fbbf24;
    border-radius: var(--radius-xl);
    transition: all 0.35s var(--ease);
}
.backed-featured-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.1);
}
.backed-featured-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #fbbf24;
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
}
.backed-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.yc-text-logo {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: #f59e0b;
}
.backed-featured-info { flex: 1; }
.backed-featured-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.backed-featured-name h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}
.backed-batch {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #d97706;
    background: rgba(245, 158, 11, 0.15);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.8px;
}
.backed-featured-info p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Investor Cards Grid */
.backed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.backed-card {
    padding: 36px 24px 28px;
    background: var(--off-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.35s var(--ease);
}
.backed-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
    transform: translateY(-4px);
}
.backed-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-100) 0%, #e0e7ff 100%);
    color: var(--purple-600);
    border-radius: 14px;
    margin: 0 auto 18px;
}
.backed-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.backed-card p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Enterprise Security */
.security-section { padding: 100px 0; background: var(--off-white); }
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.security-card {
    text-align: center;
    padding: 40px 24px 32px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-xl);
    transition: all 0.35s var(--ease);
    position: relative;
}
.security-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.06);
    transform: translateY(-4px);
}
.security-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-100) 0%, #e0e7ff 100%);
    color: var(--purple-600);
    border-radius: 50%;
    margin: 0 auto 18px;
}
.security-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.security-card p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}
.security-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-500);
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

/* ============================================
   ASK AI ABOUT US
   ============================================ */
/* --- Ask AI Section (logos-only) --- */
.ask-ai-section {
    padding: 80px 0 60px;
    background: var(--white);
    text-align: center;
}
.ai-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin: 48px auto 0;
    flex-wrap: wrap;
}
.ai-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease);
}
.ai-logo-link:hover {
    transform: translateY(-6px);
}
.ai-logo-link:hover .ai-logo-icon {
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.15);
}
.ai-logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: all 0.35s var(--ease);
}
.ai-logo-chatgpt { background: #10a37f; color: #fff; }
.ai-logo-perplexity { background: #091717; color: #20808D; }
.ai-logo-claude { background: #C15F3C; color: #fff; }
.ai-logo-gemini { background: #131314; color: #fff; }
.ai-logo-anthropic { background: #141413; color: #CC785C; }
.ai-logo-name {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.ai-logo-link:hover .ai-logo-name {
    color: #1E3A5F;
}
.ai-cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}
.ai-cta-b {
    padding: 14px 32px;
    background: var(--white);
    color: #1E3A5F;
    border: 2px solid #bdd4ec;
    border-radius: var(--radius);
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    text-decoration: none;
}
.ai-cta-b:hover {
    background: #f0f6ff;
    border-color: #4A6FA5;
}

/* ============================================
   FEEDBACK UPDATES — New Styles
   ============================================ */

/* Section CTA Wrapper */
.section-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Integrations CTA */
.int-cta-wrap {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}
.btn-int-cta {
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
}
.btn-int-cta:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 20px rgba(74, 111, 165, 0.2);
}

/* ============================================
   CHAT DEMO — Annie Conversation Animation
   ============================================ */
/* ======== CHAT DEMO SECTION — Premium iPhone 15 Pro Mockup ======== */
.chat-demo-section {
    padding: 120px 0 100px;
    background: linear-gradient(180deg,
        var(--white) 0%,
        #f0f4f8 15%,
        #e8eef5 35%,
        #e4ebf3 50%,
        #e8eef5 65%,
        #f0f4f8 85%,
        var(--white) 100%
    );
    position: relative;
    overflow: hidden;
}

/* Ambient background glow (primary) */
.chat-demo-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle,
        rgba(74,111,165,0.10) 0%,
        rgba(74,111,165,0.05) 30%,
        rgba(74,111,165,0.02) 50%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: bgGlowBreath 8s ease-in-out infinite;
}

/* Secondary ambient glow for depth */
.chat-demo-bg-glow-secondary {
    position: absolute;
    top: 55%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(232,145,58,0.04) 0%,
        rgba(232,145,58,0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: bgGlowBreath 10s ease-in-out infinite reverse;
}

/* Tab bar */
.chat-demo-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 56px;
    position: relative;
    z-index: 2;
}
.chat-demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--gray-500);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 0 rgba(30,58,95,0);
    text-transform: none;
}
.chat-demo-tab:hover {
    color: var(--gray-800);
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.chat-demo-tab.active {
    color: var(--white);
    background: linear-gradient(135deg, #1E3A5F 0%, #2a5080 50%, #1E3A5F 100%);
    background-size: 200% 200%;
    animation: tabGradientShift 4s ease-in-out infinite;
    border-color: transparent;
    box-shadow:
        0 4px 20px rgba(30,58,95,0.40),
        0 1px 3px rgba(30,58,95,0.2),
        0 0 40px rgba(74,111,165,0.15);
    transform: translateY(-2px);
}
.chat-demo-tab svg { flex-shrink: 0; }

/* iPhone wrapper and frame */
.chat-demo-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.iphone-wrapper {
    position: relative;
    /* Parallax controlled via JS — float applied to device child */
    will-change: transform;
    transform-style: preserve-3d;
}
/* Ambient glow behind phone */
.iphone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 750px;
    background: radial-gradient(ellipse,
        rgba(74,111,165,0.18) 0%,
        rgba(74,111,165,0.08) 35%,
        rgba(74,111,165,0.03) 55%,
        transparent 70%
    );
    filter: blur(50px);
    pointer-events: none;
    animation: iphoneGlowPulse 4s ease-in-out infinite;
    z-index: -1;
}

/* The actual iPhone 15 Pro device */
.iphone-device {
    position: relative;
    width: 393px;
    height: 852px;
    max-height: 78vh;
    border-radius: 55px;
    padding: 12px;
    /* Multi-layer titanium frame */
    background: linear-gradient(160deg,
        #3a3a3f 0%,
        #2e2e32 8%,
        #1f1f23 20%,
        #1a1a1e 50%,
        #1f1f23 80%,
        #2e2e32 92%,
        #3a3a3f 100%
    );
    box-shadow:
        /* Outer titanium bezel — sharp machined edge */
        0 0 0 1px rgba(255,255,255,0.12),
        inset 0 0 0 0.5px rgba(255,255,255,0.06),
        /* Top chamfer catch light */
        0 -1px 0 0 rgba(255,255,255,0.18),
        /* Bottom shadow edge */
        0 1px 0 0 rgba(0,0,0,0.4),
        /* Inner bevel depth */
        inset 0 1px 2px rgba(255,255,255,0.04),
        inset 0 -1px 2px rgba(0,0,0,0.15),
        /* Primary shadow cascade (realistic depth) */
        0 1px 2px rgba(0,0,0,0.15),
        0 2px 4px rgba(0,0,0,0.12),
        0 4px 8px rgba(0,0,0,0.10),
        0 8px 16px rgba(0,0,0,0.10),
        0 16px 32px rgba(0,0,0,0.10),
        0 32px 64px rgba(0,0,0,0.12),
        0 48px 96px rgba(30,58,95,0.15),
        /* Ambient color reflection */
        0 0 120px rgba(74,111,165,0.10);
    animation: iphoneFloat 6s ease-in-out infinite;
}

/* Titanium frame highlight accents */
.iphone-frame-highlight {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}
.iphone-frame-highlight-top {
    top: 0;
    left: 30%;
    right: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    border-radius: 100px;
}
.iphone-frame-highlight-left {
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
    border-radius: 100px;
}

/* Side buttons */
.iphone-side-btn {
    position: absolute;
    border-radius: 2px;
    z-index: 10;
}
.iphone-side-btn-silent {
    width: 4px;
    height: 28px;
    left: -4px;
    top: 160px;
    background: linear-gradient(90deg, #2a2a2e 0%, #3a3a3e 50%, #2a2a2e 100%);
    box-shadow: -1px 0 2px rgba(0,0,0,0.3), inset 1px 0 0 rgba(255,255,255,0.05);
    border-radius: 2px 0 0 2px;
}
.iphone-side-btn-volup {
    width: 4px;
    height: 50px;
    left: -4px;
    top: 210px;
    background: linear-gradient(90deg, #2a2a2e 0%, #3a3a3e 50%, #2a2a2e 100%);
    box-shadow: -1px 0 2px rgba(0,0,0,0.3), inset 1px 0 0 rgba(255,255,255,0.05);
    border-radius: 2px 0 0 2px;
}
.iphone-side-btn-voldn {
    width: 4px;
    height: 50px;
    left: -4px;
    top: 272px;
    background: linear-gradient(90deg, #2a2a2e 0%, #3a3a3e 50%, #2a2a2e 100%);
    box-shadow: -1px 0 2px rgba(0,0,0,0.3), inset 1px 0 0 rgba(255,255,255,0.05);
    border-radius: 2px 0 0 2px;
}
.iphone-side-btn-power {
    width: 4px;
    height: 80px;
    right: -4px;
    top: 230px;
    background: linear-gradient(90deg, #3a3a3e 0%, #2a2a2e 50%, #3a3a3e 100%);
    box-shadow: 1px 0 2px rgba(0,0,0,0.3), inset -1px 0 0 rgba(255,255,255,0.05);
    border-radius: 0 2px 2px 0;
}

/* Inner screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 44px;
    overflow: hidden;
    background: #F7FAFC;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Subtle inner shadow for screen depth */
    box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.1);
}
/* Screen glare that shifts with parallax */
.iphone-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0.03) 55%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    z-index: 50;
    mix-blend-mode: overlay;
}

/* Dynamic Island */
.iphone-dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 36px;
    background: #000;
    border-radius: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    box-shadow: 0 0 0 0.5px rgba(255,255,255,0.03);
}
.iphone-island-camera {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.iphone-island-camera-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        #2a2a3e 0%,
        #15152a 40%,
        #0a0a18 70%,
        #000 100%
    );
    box-shadow:
        inset 0 0.5px 1px rgba(255,255,255,0.06),
        0 0 2px rgba(0,0,0,0.5);
}
.iphone-island-camera-lens {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 40% 35%,
        #3a3a5e 0%,
        #1a1a3e 40%,
        #0a0a1e 100%
    );
    box-shadow:
        inset 0 0 1px rgba(100,100,200,0.15),
        0 0 1px rgba(0,0,0,0.5);
}

/* iOS Status Bar — absolute, flanks Dynamic Island like real iPhone 15 Pro */
.iphone-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    z-index: 25;
    pointer-events: none;
}
.iphone-status-time {
    font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.2px;
    line-height: 1;
}
.iphone-status-right {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
}
.ios-icon-cell { opacity: 0.95; }
.ios-icon-wifi { opacity: 0.95; }
.ios-battery-group {
    display: flex;
    align-items: center;
    gap: 3px;
}
.ios-battery-pct {
    font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.1px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.ios-icon-battery { display: block; }

/* App header — pushed down to clear the status bar + Dynamic Island */
.iphone-app-header {
    display: flex;
    align-items: center;
    padding: 58px 16px 14px;
    background: #1E3A5F;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    /* Subtle bottom border glow */
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.iphone-header-left {
    width: 36px;
    display: flex;
    align-items: center;
}
.iphone-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.iphone-header-right {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Avatar */
.iphone-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.iphone-avatar-gradient {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A6FA5 0%, #6B8FBE 40%, #E8913A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 700;
    color: white;
    box-shadow:
        0 2px 8px rgba(74,111,165,0.35),
        0 0 0 2px rgba(255,255,255,0.1);
    animation: avatarShimmer 6s ease-in-out infinite;
}
.iphone-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid #1E3A5F;
    animation: statusPulse 2.5s ease-in-out infinite;
}

.iphone-header-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.iphone-header-name {
    font-family: -apple-system, 'SF Pro Display', var(--font);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.2px;
}
.iphone-header-subtitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font);
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 400;
}
.iphone-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Messages area */
.chat-messages {
    flex: 1;
    padding: 16px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    background: #F7FAFC;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
}
.chat-messages::-webkit-scrollbar { width: 0; }

/* Date separator */
.chat-date-sep {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    padding: 8px 0 12px;
    opacity: 0;
    animation: chatMsgIn 0.4s var(--ease) forwards;
}

/* Message bubbles */
.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    opacity: 0;
    transform: translateY(16px);
    animation: chatMsgIn 0.45s var(--ease) forwards;
    margin-bottom: 2px;
}
.chat-msg.patient { align-self: flex-start; }
.chat-msg.annie { align-self: flex-end; }

.chat-msg-time {
    font-size: 10px;
    color: var(--gray-400);
    padding: 0 4px;
    margin-top: 2px;
    font-family: -apple-system, var(--font);
    font-variant-numeric: tabular-nums;
}
.chat-msg.patient .chat-msg-time { text-align: left; }
.chat-msg.annie .chat-msg-time { text-align: right; }

.chat-msg-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 3px;
    padding: 0 4px;
    font-family: var(--font);
    letter-spacing: 0;
}
.chat-msg.patient .chat-msg-label { text-align: left; color: var(--gray-500); }
.chat-msg.annie .chat-msg-label { text-align: right; color: var(--purple-400); }

.chat-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    font-family: -apple-system, 'SF Pro Text', var(--font);
    word-break: break-word;
    position: relative;
}
.chat-msg.patient .chat-bubble {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.chat-msg.annie .chat-bubble {
    background: linear-gradient(135deg, #1E3A5F 0%, #264a73 60%, #2a5080 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 6px rgba(30,58,95,0.25);
}

/* Typing indicator */
.chat-typing {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    max-width: 80%;
    opacity: 0;
    transform: translateY(12px);
    animation: chatMsgIn 0.3s var(--ease) forwards;
    margin-bottom: 2px;
}
.chat-typing-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-400);
    margin-bottom: 3px;
    padding: 0 4px;
    text-align: right;
    font-family: var(--font);
}
.chat-typing-bubble {
    background: linear-gradient(135deg, #1E3A5F 0%, #264a73 60%, #2a5080 100%);
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(30,58,95,0.25);
}
.chat-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    animation: chatTypingBounce 1.4s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

/* Verification result card */
.chat-verify-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    animation: chatCardIn 0.5s var(--ease) forwards;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.chat-verify-title {
    font-family: var(--font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chat-verify-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: statusPulse 2s ease-in-out infinite;
}
.chat-verify-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-700);
    opacity: 0;
    transform: translateX(-10px);
    font-family: var(--font);
}
.chat-verify-row.show { animation: chatRowIn 0.35s var(--ease) forwards; }
.chat-verify-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Progress widget (intake) */
.chat-progress-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    animation: chatCardIn 0.5s var(--ease) forwards;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.chat-progress-title {
    font-family: var(--font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 10px;
}
.chat-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--gray-500);
    opacity: 0;
    transform: translateX(-10px);
    font-family: var(--font);
}
.chat-progress-step.show { animation: chatRowIn 0.35s var(--ease) forwards; }
.chat-progress-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.chat-progress-icon.done { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16A34A; }
.chat-progress-icon.active { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #4A6FA5; animation: statusPulse 2s ease-in-out infinite; }
.chat-progress-icon.pending { background: var(--gray-100); color: var(--gray-400); }
.chat-progress-step.active-step { color: var(--gray-800); font-weight: 600; }

/* iPhone input bar */
.iphone-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f7fafc;
    border-top: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.iphone-input-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: default;
}
.iphone-input-field {
    flex: 1;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    min-height: 36px;
    display: flex;
    align-items: center;
}
.iphone-input-text {
    font-size: 14px;
    color: var(--gray-400);
    font-family: -apple-system, var(--font);
}
.iphone-input-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A5F, #2a5080);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: default;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

/* Home indicator */
.iphone-home-indicator {
    width: 134px;
    height: 5px;
    border-radius: 100px;
    background: rgba(0,0,0,0.15);
    margin: 6px auto 8px;
    flex-shrink: 0;
}

/* Replay button */
.chat-replay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.35s var(--ease);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-transform: none;
    letter-spacing: 0;
}
.chat-replay-btn:hover {
    color: #1E3A5F;
    border-color: rgba(30,58,95,0.2);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(30,58,95,0.14);
    transform: translateY(-3px);
}

/* Caption */
.chat-demo-caption {
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 32px;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ======== Chat Demo Keyframes ======== */
@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes chatTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-5px); opacity: 1; }
}
@keyframes chatCardIn {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chatRowIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes iphoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes iphoneGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes bgGlowBreath {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}
@keyframes tabGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes avatarShimmer {
    0%, 100% { box-shadow: 0 2px 8px rgba(74,111,165,0.35), 0 0 0 2px rgba(255,255,255,0.1); }
    50% { box-shadow: 0 2px 12px rgba(74,111,165,0.5), 0 0 0 2px rgba(255,255,255,0.15); }
}

/* ======== Enhanced Chat Demo — Premium Animations ======== */

/* Typewriter cursor for Annie's messages */
.chat-bubble.typing-active::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: currentColor;
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: typeCursorBlink 0.53s step-end infinite;
}
@keyframes typeCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scanning verification card */
.chat-scan-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(74,111,165,0.25);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    animation: chatCardIn 0.5s var(--ease) forwards;
    transition: border-color 0.5s ease;
}
.chat-scan-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74,111,165,0.08), transparent);
    animation: scanSweep 2s ease-in-out infinite;
}
@keyframes scanSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}
.chat-scan-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
}
.chat-scan-radar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(74,111,165,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.4s ease;
}
.chat-scan-radar::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4A6FA5;
    animation: radarPulse 1.2s ease-in-out infinite;
    transition: background 0.4s ease;
}
@keyframes radarPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.3; }
}
.chat-scan-radar.done { border-color: rgba(72,187,120,0.5); }
.chat-scan-radar.done::after { background: #48BB78; animation: none; }
.chat-scan-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-family: 'DM Mono', monospace;
    transition: color 0.4s ease;
}
.chat-scan-status {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-family: 'DM Mono', monospace;
    margin-bottom: 10px;
    min-height: 18px;
    letter-spacing: -0.2px;
}
.chat-scan-progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}
.chat-scan-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4A6FA5, #48BB78);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.23,1,0.32,1);
}
.chat-scan-timer {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    font-family: 'DM Mono', monospace;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* Avatar speaking rings */
.iphone-avatar.speaking::before,
.iphone-avatar.speaking::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(74,111,165,0.35);
    animation: speakRing 1.5s ease-out infinite;
    pointer-events: none;
}
.iphone-avatar.speaking::after {
    inset: -9px;
    animation-delay: 0.3s;
    border-color: rgba(74,111,165,0.15);
}
@keyframes speakRing {
    0% { transform: scale(0.92); opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* Input field typing simulation */
.iphone-input-field.typing .iphone-input-text {
    color: var(--gray-800);
}
.iphone-input-send.active {
    opacity: 1;
}

/* Speed comparison stats */
.chat-speed-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
    flex-wrap: wrap;
}
.chat-speed-stats.visible {
    opacity: 1;
    transform: translateY(0);
}
.chat-speed-stat { text-align: center; }
.chat-speed-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-800);
    font-family: var(--font);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.chat-speed-number.highlight { color: #48BB78; }
.chat-speed-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    margin-top: 2px;
}
.chat-speed-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}
.chat-speed-vs {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.chat-speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(72,187,120,0.08), rgba(72,187,120,0.03));
    border: 1px solid rgba(72,187,120,0.2);
    color: #22c55e;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* Confetti particles */
.chat-confetti {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

/* Phone glow transition for success state */
.iphone-glow {
    transition: background 1s ease;
}

/* ======== Document Upload & OCR Extraction ======== */

/* Document photo wrapper — looks like an image message */
.chat-doc-photo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    max-width: 260px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.04);
    margin-top: 4px;
    opacity: 0;
    transform: translateY(10px);
    animation: chatCardIn 0.5s var(--ease) forwards;
}

/* ---- Insurance Card Mockup ---- */
.ins-card {
    width: 260px;
    background: #fff;
    font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
    position: relative;
}
.ins-card-header {
    background: linear-gradient(135deg, #003087 0%, #0062D6 100%);
    padding: 10px 14px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ins-card-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ins-card-cross {
    width: 22px;
    height: 22px;
    position: relative;
}
.ins-card-cross::before,
.ins-card-cross::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 1px;
}
.ins-card-cross::before {
    width: 6px; height: 22px;
    top: 0; left: 8px;
}
.ins-card-cross::after {
    width: 22px; height: 6px;
    top: 8px; left: 0;
}
.ins-card-shield {
    width: 18px;
    height: 22px;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 12%, 100% 65%, 50% 100%, 0% 65%, 0% 12%);
    position: relative;
}
.ins-card-shield::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0062D6;
    clip-path: polygon(50% 0%, 100% 12%, 100% 65%, 50% 100%, 0% 65%, 0% 12%);
}
.ins-card-brand {
    font-size: 8.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
}
.ins-card-plan-badge {
    font-size: 6.5px;
    color: #fff;
    background: rgba(255,255,255,0.18);
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.ins-card-body {
    padding: 9px 14px 6px;
}
.ins-card-member-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.ins-card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
}
.ins-card-row:last-child { border-bottom: none; }
.ins-card-label {
    font-size: 7px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ins-card-value {
    font-size: 9px;
    font-weight: 600;
    color: #222;
    font-variant-numeric: tabular-nums;
}
.ins-card-footer {
    background: #f7f8fa;
    padding: 5px 14px;
    display: flex;
    justify-content: space-between;
    font-size: 6.5px;
    color: #aaa;
    border-top: 1px solid #eee;
}

/* ---- Referral Document Mockup ---- */
.ref-doc {
    width: 240px;
    background: #fff;
    font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
    position: relative;
    border: 1px solid #e5e5e5;
}
.ref-doc-header {
    padding: 10px 14px 6px;
    border-bottom: 2px solid #003087;
}
.ref-doc-doctor {
    font-size: 11px;
    font-weight: 700;
    color: #003087;
    letter-spacing: 0.2px;
}
.ref-doc-practice {
    font-size: 8px;
    color: #666;
    margin-top: 1px;
}
.ref-doc-address {
    font-size: 7px;
    color: #999;
    margin-top: 1px;
}
.ref-doc-title {
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 0 5px;
    background: #f9fafb;
    border-bottom: 1px solid #eee;
}
.ref-doc-body {
    padding: 8px 14px 10px;
}
.ref-doc-field {
    margin-bottom: 5px;
}
.ref-doc-field-label {
    font-size: 6.5px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ref-doc-field-value {
    font-size: 9px;
    color: #222;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    margin-top: 1px;
}
.ref-doc-field-value.highlight-dx {
    color: #003087;
    font-weight: 700;
}
.ref-doc-sig {
    padding: 6px 14px 10px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.ref-doc-sig-line {
    border-bottom: 1px solid #999;
    width: 90px;
    position: relative;
}
.ref-doc-sig-text {
    font-size: 10px;
    color: #333;
    font-style: italic;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    position: absolute;
    bottom: 2px;
    left: 2px;
    white-space: nowrap;
}
.ref-doc-sig-label {
    font-size: 6px;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 2px;
}
.ref-doc-date {
    font-size: 8px;
    color: #666;
    text-align: right;
}

/* ---- OCR Scanning Overlay ---- */
.chat-ocr-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.chat-ocr-overlay.active {
    opacity: 1;
}
.chat-ocr-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.45) 100%);
}
.chat-ocr-scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(72,187,120,0.2) 15%, #48BB78 50%, rgba(72,187,120,0.2) 85%, transparent 100%);
    box-shadow: 0 0 12px rgba(72,187,120,0.5), 0 0 30px rgba(72,187,120,0.2);
    top: 0;
    transition: top 0.15s linear;
}
.chat-ocr-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #48BB78;
}
.chat-ocr-corner.tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.chat-ocr-corner.tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.chat-ocr-corner.bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.chat-ocr-corner.br { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.chat-ocr-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    color: #48BB78;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'DM Mono', monospace;
    background: rgba(15,23,42,0.85);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(72,187,120,0.3);
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Field highlight during OCR */
[data-ocr].ocr-highlight {
    background: rgba(72,187,120,0.15) !important;
    outline: 1px solid rgba(72,187,120,0.5);
    outline-offset: 1px;
    border-radius: 2px;
    transition: background 0.3s, outline 0.3s;
}

/* OCR extracted data card (dark theme, shows after scan) */
.chat-ocr-result {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(72,187,120,0.2);
    border-radius: 12px;
    padding: 10px 14px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    animation: chatCardIn 0.4s var(--ease) forwards;
}
.chat-ocr-result-title {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #48BB78;
    font-family: 'DM Mono', monospace;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-ocr-result-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #48BB78;
    flex-shrink: 0;
}
.chat-ocr-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
    opacity: 0;
    transform: translateX(-6px);
}
.chat-ocr-result-row.show {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-ocr-result-label {
    font-size: 8px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'DM Mono', monospace;
}
.chat-ocr-result-value {
    font-size: 10px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-family: 'DM Mono', monospace;
}

/* ======== Agent Logic Card ======== */
.chat-agent-logic {
    background: linear-gradient(145deg, #0c1322 0%, #162033 50%, #0f1a2e 100%);
    border: 1px solid rgba(74,111,165,0.15);
    border-radius: 14px;
    padding: 14px 16px 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    animation: chatCardIn 0.5s var(--ease) forwards;
}
.chat-agent-logic::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(74,111,165,0.04) 25%, rgba(72,187,120,0.04) 50%, rgba(74,111,165,0.04) 75%, transparent 100%);
    animation: agentDataFlow 4s linear infinite;
}
@keyframes agentDataFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.chat-agent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
}
.chat-agent-brain {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A6FA5 0%, #6B8FC7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.chat-agent-brain::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    opacity: 0.9;
}
.chat-agent-brain-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(74,111,165,0.4);
    animation: agentPulse 2s ease-out infinite;
}
@keyframes agentPulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.chat-agent-title {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    font-family: 'DM Mono', monospace;
}
.chat-agent-steps {
    position: relative;
}
.chat-agent-step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3.5px 0;
    opacity: 0;
    transform: translateX(-8px);
}
.chat-agent-step.show {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.chat-agent-step.sub {
    padding-left: 22px;
}
.chat-agent-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.chat-agent-icon.thinking {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(74,111,165,0.3);
    border-top-color: #4A6FA5;
    border-radius: 50%;
    animation: agentSpin 0.7s linear infinite;
}
@keyframes agentSpin {
    to { transform: rotate(360deg); }
}
.chat-agent-icon.done {
    color: #48BB78;
    font-size: 11px;
    font-weight: 700;
}
.chat-agent-icon.found {
    color: #E8913A;
    font-size: 11px;
    font-weight: 700;
}
.chat-agent-text {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    font-family: 'DM Mono', monospace;
    line-height: 1.5;
    letter-spacing: -0.1px;
}
.chat-agent-text .hl {
    color: #48BB78;
    font-weight: 600;
}
.chat-agent-text .hl-orange {
    color: #E8913A;
    font-weight: 600;
}
.chat-agent-text .hl-blue {
    color: #6B8FC7;
    font-weight: 600;
}
.chat-agent-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 6px 0;
}
.chat-agent-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.chat-agent-timer-label {
    font-size: 8px;
    color: rgba(255,255,255,0.25);
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chat-agent-timer-value {
    font-size: 10px;
    color: #48BB78;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    font-variant-numeric: tabular-nums;
}

/* ======== Chat Demo Responsive ======== */
@media (max-width: 768px) {
    .chat-demo-section { padding: 80px 0 60px; }
    .chat-demo-tabs { flex-direction: column; align-items: center; gap: 8px; }
    .chat-demo-tab { width: 100%; max-width: 320px; justify-content: center; }
    .chat-speed-stats { gap: 20px; margin-top: 20px; }
    .chat-speed-number { font-size: 32px; }
    .iphone-device {
        width: 340px;
        height: 736px;
        max-height: 72vh;
        border-radius: 48px;
        padding: 10px;
    }
    .iphone-screen { border-radius: 38px; }
    .iphone-dynamic-island { width: 110px; height: 32px; top: 10px; }
    .iphone-glow { width: 400px; height: 550px; }
    .iphone-side-btn { display: none; }
    .iphone-frame-highlight { display: none; }
}
@media (max-width: 480px) {
    .chat-demo-section { padding: 60px 0 40px; }
    .iphone-device {
        width: calc(100vw - 40px);
        max-width: 360px;
        height: 680px;
        max-height: 70vh;
        border-radius: 40px;
        padding: 8px;
    }
    .iphone-screen { border-radius: 33px; }
    .iphone-dynamic-island { width: 100px; height: 28px; top: 8px; }
    .iphone-status-bar { padding: 0 20px; height: 48px; }
    .chat-bubble { font-size: 13px; }
    .ins-card { width: 220px; }
    .ref-doc { width: 210px; }
    .iphone-glow { width: 320px; height: 480px; }
    .iphone-device { animation: none; }
    .chat-demo-bg-glow { display: none; }
    .chat-demo-bg-glow-secondary { display: none; }
    .iphone-frame-highlight { display: none; }
    .chat-speed-stats { gap: 16px; }
    .chat-speed-number { font-size: 28px; }
}

/* Integrations Badge Pulse */
.int-badge-pulse {
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 111, 165, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(74, 111, 165, 0); }
}

/* Integration Cell Shimmer Animation */
.int-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.int-cell:hover::before {
    left: 100%;
}
.int-cell:hover {
    box-shadow: 0 0 24px rgba(74, 111, 165, 0.25);
    border-color: rgba(74, 111, 165, 0.3);
}

/* Benefits Accent Button */
.btn-accent {
    padding: 14px 32px;
    background: #1E3A5F;
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    border: none;
    display: inline-block;
    transition: all 0.25s var(--ease);
}
.btn-accent:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
    /* Navbar: reduce spacing so items fit at tablet width */
    .nav-link { padding: 8px 10px; font-size: 14px; }
    .navbar-inner { gap: 12px; padding: 0 16px; }
    .navbar-actions .btn-cta-main { padding: 10px 18px; font-size: 12px; }
    .logo-icon { width: 30px; height: 30px; }
    .logo-text { font-size: 18px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .int-grid { grid-template-columns: repeat(4, 1fr); }
    .int-center-cell { grid-column: 2 / 4; grid-row: 2 / 4; }
    .int-cell { padding: 28px 16px; min-height: 90px; }
    .int-cell img { max-width: 95px; max-height: 34px; }
    .int-text-logo { font-size: 19px; }
    .product-panel { grid-template-columns: 1fr 1fr; gap: 32px; }
    .security-credentials-row { flex-wrap: wrap; }
    .security-credential { flex: 1 1 calc(33.33% - 1px); min-width: 0; padding: 22px 18px; gap: 10px; }
    .security-credential:nth-child(3) { border-right: none; }
    .security-credential:nth-child(4),
    .security-credential:nth-child(5),
    .security-credential:nth-child(6) { border-top: 1px solid var(--gray-100); }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-grid { grid-template-columns: 1fr; gap: 32px; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-card { min-width: 320px; max-width: 320px; }
    .investors-grid { gap: 20px 32px; max-width: 720px; flex-wrap: wrap; }
    .investor-logo { height: 26px; }
    .backed-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .backed-featured-inner { padding: 28px 28px; gap: 24px; }
    .security-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
    .ai-logos-row { gap: 36px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        transition: transform 0.3s, visibility 0.3s;
        z-index: 100;
        transform: translateX(100%);
        visibility: hidden;
    }
    .navbar-menu.active { transform: translateX(0); visibility: visible; }
    .navbar-menu .nav-link { font-size: 18px; padding: 12px 20px; }
    .navbar-actions { display: none; }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        padding: 0;
        min-width: auto;
        display: none;
    }
    .dropdown-menu.show, .has-dropdown:hover .dropdown-menu { display: block; }
    .dropdown-menu-wide { min-width: auto; }
    .dropdown-grid { grid-template-columns: 1fr; }
    .dropdown-columns { grid-template-columns: 1fr; }
    .dropdown-col:not(:first-child) { border-left: none; padding-left: 0; border-top: 1px solid var(--gray-100); padding-top: 8px; }

    .hero { padding: calc(var(--nav-h) + 48px) 20px 72px; }
    .hero-title { font-size: 36px; letter-spacing: -1.5px; }
    .hero-title .hero-inline { white-space: normal; }
    .hero-rotate-wrapper { height: auto; min-height: 1.15em; }
    .hero-rotate-word { white-space: normal; width: auto; }
    .hero-subtitle-highlight { white-space: normal; }
    .hero-email-row { flex-direction: column; }
    .hero-signup-btn { width: 100%; }
    .hero-cta-row { gap: 12px; justify-content: center; }
    .hero-cta-row .btn-cta-main,
    .hero-cta-row .btn-outline-hero { text-align: center; justify-content: center; }
    .hero-glow { width: 400px; height: 400px; }
    .client-logo { height: 62px; }
    .logos-carousel { gap: 16px; }
    .section-title { letter-spacing: -1px; }
    .form-row { flex-direction: column; }

    .features-grid { grid-template-columns: 1fr; }
    .integrations-section { padding: 60px 0; }
    .int-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .int-center-cell { grid-column: 1 / -1; grid-row: auto; padding: 32px 24px; }
    .int-cell { padding: 28px 16px; min-height: 80px; }
    .int-cell img { max-width: 90px; max-height: 32px; }
    .int-title { font-size: 20px; }
    .int-text-logo { font-size: 17px; }
    .product-panel { grid-template-columns: 1fr; gap: 32px; }
    .product-panel > * { min-width: 0; }
    .product-mockup { order: -1; overflow: hidden; max-width: 100%; }
    .mockup-browser { transform: none; max-width: 100%; overflow: hidden; }
    .mockup-body { min-height: 200px; overflow: hidden; }
    .mockup-body table { font-size: 11px; }
    .mockup-body * { max-width: 100%; }
    .security-credentials-row { flex-direction: column; max-width: 100%; overflow: hidden; }
    .security-credential { border-right: none; border-bottom: 1px solid var(--gray-100); padding: 18px 20px; width: 100%; max-width: 100%; }
    .security-credential:last-child { border-bottom: none; }
    .security-credential:nth-child(3) { border-right: none; }
    .security-credential:nth-child(4),
    .security-credential:nth-child(5),
    .security-credential:nth-child(6) { border-top: none; }
    .credential-icon { width: 38px; height: 38px; min-width: 38px; }
    .credential-label { font-size: 10px; }
    .credential-name { font-size: 14px; }
    .hiw-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .founder-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .investors-grid { gap: 16px 24px; max-width: 480px; flex-wrap: wrap; }
    .investor-logo { height: 22px; }
    .backed-featured-inner { flex-direction: column; text-align: center; gap: 20px; padding: 28px 24px; }
    .backed-featured-name { justify-content: center; }
    .backed-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .security-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .benefits-grid { grid-template-columns: 1fr; }

    .testimonial-card { min-width: 280px; max-width: 280px; }

    .about-grid { grid-template-columns: 1fr; }
    .press-logos { gap: 24px; }
    .press-logo { height: 22px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-bottom-left { flex-wrap: wrap; justify-content: center; }
    .ai-logos-row { gap: 28px; }
    .ai-logo-icon { width: 56px; height: 56px; border-radius: 14px; }
    .ai-cta-row { flex-direction: column; align-items: center; gap: 12px; }
    .ai-cta-row .btn { width: 100%; max-width: 320px; text-align: center; }
    .ask-ai-section { padding: 60px 0 48px; }

    /* Reduce section padding on tablet/mobile */
    .product-showcase-section { padding: 60px 0; }
    .outcomes-section { padding: 60px 0; }
    .enterprise-security-section { padding: 60px 0; }
    .faq-section { padding: 60px 0; }
    .solutions-section { padding: 60px 0; }

    /* Product tabs: allow horizontal scroll on mobile */
    .product-tabs { gap: 4px; margin-bottom: 32px; }
    .product-tab { padding: 8px 16px; font-size: 11px; }

    /* Investors: allow wrapping */
    .investors-grid { flex-wrap: wrap; }

    /* Logo: reduce on mobile */
    .logo-icon { width: 28px; height: 28px; }
    .logo-text { font-size: 16px; }
}

@media (max-width: 480px) {
    .hero { padding: calc(var(--nav-h) + 36px) 16px 56px; }
    .hero-title { font-size: 30px; letter-spacing: -1px; }
    .hero-title .hero-inline { white-space: normal; display: block; }
    .hero-rotate-wrapper { display: block; height: auto; min-height: 1.3em; }
    .hero-rotate-word { white-space: normal; width: auto; max-width: 100%; }
    .hero-glow { width: 300px; height: 300px; }
    .hero-cta-row { flex-direction: column; align-items: center; }
    .hero-cta-row .btn-cta-main,
    .hero-cta-row .btn-outline-hero { width: 100%; max-width: 320px; }
    .section-title { font-size: 24px; letter-spacing: -0.5px; }
    .solutions-grid { grid-template-columns: 1fr; }
    .integrations-section { padding: 48px 0; }
    .int-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .int-center-cell { grid-column: 1 / -1; padding: 28px 20px; }
    .int-cell { padding: 24px 14px; min-height: 72px; }
    .int-cell img { max-width: 80px; max-height: 28px; }
    .int-text-logo { font-size: 15px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .investors-grid { gap: 16px 20px; max-width: 320px; }
    .investor-logo { height: 22px; }
    .backed-grid { gap: 16px; }
    .security-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .client-logo { height: 48px; }
    .logos-carousel { gap: 12px; }
}

/* ============================================
   SECURITY PAGE — Dedicated page styles
   ============================================ */

/* --- Security Hero --- */
.sec-hero {
    padding: calc(var(--nav-h) + 80px) 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.sec-hero .section-header {
    margin-bottom: 40px;
}
.sec-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}
.sec-hero-sub {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--gray-500);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

/* --- System Status Section --- */
.sec-status-section {
    padding: 100px 0;
    background: var(--white);
}
.sec-status-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.sec-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    flex-shrink: 0;
}
.sec-status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.25);
    animation: secStatusPulse 2s ease-in-out infinite;
}
@keyframes secStatusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}
.sec-status-banner-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: #16a34a;
}
.sec-status-banner-time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-400);
    margin-left: 8px;
}

/* Status grid */
.sec-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.sec-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.2s var(--ease);
}
.sec-status-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: var(--gray-300);
}
.sec-status-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sec-status-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
    flex-shrink: 0;
}
.sec-status-item-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: -0.2px;
}
.sec-status-item-desc {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 2px;
}
.sec-status-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sec-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.sec-status-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Uptime bar */
.sec-uptime-visual {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 32px;
}
.sec-uptime-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.sec-uptime-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sec-uptime-pct {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sec-uptime-bar {
    display: flex;
    gap: 3px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
}
.sec-uptime-segment {
    border-radius: 3px;
    transition: opacity 0.2s;
}
.sec-uptime-segment:hover {
    opacity: 0.8;
}
.sec-uptime-segment.green {
    background: #22c55e;
}
.sec-uptime-segment.amber {
    background: #f59e0b;
}
.sec-uptime-segment.red {
    background: #ef4444;
}
.sec-uptime-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gray-400);
}
.sec-status-cta {
    text-align: center;
}

/* --- Trust Center Section --- */
.sec-trust-section {
    padding: 100px 0;
    background: var(--off-white);
}
.sec-trust-card {
    max-width: 960px;
    margin: 0 auto;
}
.sec-trust-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 56px 48px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    transition: all 0.3s var(--ease);
}
.sec-trust-card-inner:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.sec-trust-icon-wrap {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1E3A5F, #4A6FA5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.25);
}
.sec-trust-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.sec-trust-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}
.sec-trust-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 28px;
}
.sec-trust-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}
.sec-trust-feature svg {
    flex-shrink: 0;
}

/* --- Security Detail Section --- */
.sec-detail-section {
    padding: 100px 0;
    background: var(--white);
}
.sec-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.sec-detail-card {
    display: flex;
    gap: 20px;
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}
.sec-detail-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}
.sec-detail-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
    color: var(--purple-600);
    transition: all 0.3s;
}
.sec-detail-card:hover .sec-detail-icon {
    background: linear-gradient(135deg, var(--purple-200), var(--purple-100));
    transform: scale(1.05);
}
.sec-detail-content {
    flex: 1;
}
.sec-detail-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 6px;
}
.sec-detail-content h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.sec-detail-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 14px;
}
.sec-detail-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sec-detail-bullets span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.2px;
}

/* --- Security Page Responsive --- */
@media (max-width: 1024px) {
    .sec-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sec-hero { padding: calc(var(--nav-h) + 48px) 0 56px; }
    .sec-hero-title { font-size: 32px; letter-spacing: -1.5px; }
    .sec-status-grid { grid-template-columns: 1fr; }
    .sec-trust-card-inner {
        flex-direction: column;
        padding: 36px 28px;
        gap: 24px;
        text-align: center;
    }
    .sec-trust-icon-wrap {
        width: 72px;
        height: 72px;
        margin: 0 auto;
    }
    .sec-trust-icon-wrap svg { width: 36px; height: 36px; }
    .sec-trust-content p { margin-left: auto; margin-right: auto; }
    .sec-trust-features { grid-template-columns: 1fr; justify-items: center; }
    .sec-trust-content .btn { margin: 0 auto; }
    .sec-detail-grid { grid-template-columns: 1fr; }
    .sec-detail-card { flex-direction: column; gap: 16px; }
    .sec-detail-icon { width: 44px; height: 44px; min-width: 44px; }
    .sec-uptime-bar { height: 24px; }
}

@media (max-width: 480px) {
    .sec-hero { padding: calc(var(--nav-h) + 32px) 0 40px; }
    .sec-hero-title { font-size: 28px; letter-spacing: -1px; }
    .sec-status-banner { flex-wrap: wrap; padding: 14px 20px; gap: 8px; }
    .sec-status-banner-time { width: 100%; text-align: center; margin-left: 0; }
    .sec-status-item { padding: 16px 18px; }
    .sec-trust-card-inner { padding: 28px 20px; }
    .sec-detail-card { padding: 24px 20px; }
}

/* ============================================
   RESOURCE PAGES — Glossary, Blog, Case Studies
   Enhanced UI with Webflow-inspired design
   ============================================ */

/* --- Resource Listing Hero --- */
.resource-hero {
    padding: 140px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, #f0f6ff 0%, transparent 100%);
    position: relative;
}
.resource-hero .section-tag { margin-bottom: 20px; }
.resource-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.15;
}
.resource-hero p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--purple-500); }
.breadcrumbs .sep { font-size: 10px; }

/* --- Filters & Search --- */
.resource-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.resource-search {
    flex: 1;
    min-width: 220px;
    padding: 13px 16px 13px 44px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cline x1='12' y1='12' x2='16' y2='16'/%3E%3C/svg%3E") 14px center no-repeat;
    transition: all 0.25s var(--ease);
}
.resource-search:focus {
    outline: none;
    border-color: var(--purple-400);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
}
.resource-search::placeholder { color: var(--gray-300); }
.resource-sort {
    padding: 13px 36px 13px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af'%3E%3Cpath d='M6 8.5L1.5 4h9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s;
}
.resource-sort:focus {
    outline: none;
    border-color: var(--purple-400);
}

/* --- Alphabet Nav (Glossary) --- */
.alpha-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
}
.alpha-nav button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--gray-500);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alpha-nav button:hover { background: var(--purple-50); color: var(--purple-600); }
.alpha-nav button.active {
    background: var(--purple-500);
    color: var(--white);
}
.alpha-nav button.disabled {
    color: var(--gray-200);
    cursor: default;
    pointer-events: none;
}

/* --- Filter Tabs (Blog) --- */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-tab {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}
.filter-tab:hover {
    border-color: var(--purple-200);
    color: var(--purple-600);
    background: var(--purple-50);
}
.filter-tab.active {
    background: var(--purple-500);
    color: var(--white);
    border-color: var(--purple-500);
    box-shadow: 0 2px 8px rgba(124,58,237,0.25);
}
.filter-tab .tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.25);
    padding: 1px 7px;
    border-radius: 100px;
    margin-left: 6px;
}
.filter-tab.active .tab-count {
    background: rgba(255,255,255,0.3);
}

/* --- Resource Grid --- */
.resource-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 48px;
}
.resource-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.resource-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

.resource-count {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    grid-column: 1 / -1;
}
.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--purple-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-400);
}
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.empty-state p {
    font-size: 15px;
    color: var(--gray-400);
}

/* --- Pagination --- */
.resource-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}
.resource-pagination button {
    padding: 10px 18px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--white);
    color: #1E3A5F;
    cursor: pointer;
    transition: all 0.2s;
}
.resource-pagination button:hover:not(:disabled):not(.active) {
    border-color: #4A6FA5;
    color: #4A6FA5;
    background: #EDF2F7;
}
.resource-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.resource-pagination .page-num {
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E3A5F;
}
.resource-pagination .page-num:hover:not(.active) {
    border-color: #4A6FA5;
    color: #4A6FA5;
    background: #EDF2F7;
}
.resource-pagination .page-num.active {
    background: #1E3A5F;
    color: var(--white);
    border-color: #1E3A5F;
    box-shadow: 0 2px 8px rgba(30,58,95,0.25);
}

/* =============================================
   GLOSSARY — Alphabet Navigation
   ============================================= */
.alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 28px;
    background: #f0f4f8;
    border-radius: 14px;
    padding: 6px 8px;
}
.alpha-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alpha-btn:hover {
    background: rgba(74,111,165,0.1);
    color: #1E3A5F;
}
.alpha-btn.active {
    background: #1E3A5F;
    color: white;
    box-shadow: 0 2px 8px rgba(30,58,95,0.25);
}
.alpha-btn[data-letter="all"] {
    width: auto;
    padding: 0 14px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =============================================
   GLOSSARY — Search Toolbar
   ============================================= */
.glossary-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px 12px;
}
.glossary-search-wrap {
    flex: 1;
    position: relative;
    min-width: 200px;
}
.glossary-search-wrap .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
}
.glossary-search {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: #1E3A5F;
    outline: none;
    transition: all 0.2s;
}
.glossary-search:focus {
    border-color: #4A6FA5;
    box-shadow: 0 0 0 3px rgba(74,111,165,0.08);
}
.glossary-search::placeholder { color: #94a3b8; }
.glossary-sort {
    padding: 10px 32px 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: #1E3A5F;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    outline: none;
    transition: all 0.2s;
}
.glossary-sort:focus {
    border-color: #4A6FA5;
}
.glossary-toolbar .resource-count {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
    margin: 0;
}

/* =============================================
   GLOSSARY — Card Design
   ============================================= */
.glossary-card {
    display: block;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #4A6FA5;
    border-radius: 12px;
    padding: 20px 20px 16px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-height: 160px;
}
.glossary-card:hover {
    border-left-color: #E8913A;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.glossary-card .card-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #EDF2F7;
    color: #4A6FA5;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
}
.glossary-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1E3A5F;
    margin-bottom: 6px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.glossary-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.glossary-card .card-readmore {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4A6FA5;
    letter-spacing: 0.3px;
    margin-top: auto;
    transition: color 0.2s;
}
.glossary-card:hover .card-readmore {
    color: #E8913A;
}

/* =============================================
   GLOSSARY — Pagination
   ============================================= */
.glossary-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 48px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.glossary-pagination button {
    min-width: 36px;
    height: 36px;
    padding: 6px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.glossary-pagination button:hover:not([disabled]):not(.active) {
    background: #EDF2F7;
    color: #1E3A5F;
}
.glossary-pagination button.active {
    background: #1E3A5F;
    color: white;
    box-shadow: 0 2px 8px rgba(30,58,95,0.2);
}
.glossary-pagination button[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}
.glossary-pagination .page-indicator {
    font-size: 12px;
    color: #94a3b8;
    padding: 0 8px;
    white-space: nowrap;
}
.glossary-pagination .nav-btn {
    font-size: 13px;
    color: #4A6FA5;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 10px;
}
.glossary-pagination .nav-btn:hover:not([disabled]) {
    background: #EDF2F7;
}

/* =============================================
   GLOSSARY — Empty State
   ============================================= */
.glossary-empty {
    text-align: center;
    padding: 80px 20px;
}
.glossary-empty h3 {
    color: #1E3A5F;
    margin-bottom: 8px;
}
.glossary-empty p {
    color: #64748b;
}

/* =============================================
   GLOSSARY — Responsive
   ============================================= */
@media (max-width: 768px) {
    .alpha-nav { gap: 3px; padding: 5px 6px; border-radius: 12px; }
    .alpha-btn { width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
    .glossary-toolbar { flex-wrap: wrap; padding: 6px 8px; }
    .glossary-search-wrap { min-width: 100%; }
    .glossary-toolbar .resource-count { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .alpha-btn { width: 28px; height: 28px; font-size: 11px; }
    .alpha-btn[data-letter="all"] { padding: 0 10px; font-size: 11px; }
}

/* =============================================
   BLOG CARD
   ============================================= */
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(124,58,237,0.1);
    transform: translateY(-4px);
}
.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--purple-100) 0%, var(--purple-50) 100%);
    position: relative;
}
.blog-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--purple-100) 0%, var(--purple-50) 50%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-300);
}
.blog-card-img-placeholder svg { opacity: 0.5; }
.blog-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--purple-600);
    background: var(--purple-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}
.blog-card-date { font-size: 13px; color: var(--gray-400); }
.blog-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.blog-card-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--purple-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-card-read svg { transition: transform 0.2s; }
.blog-card:hover .blog-card-read svg { transform: translateX(3px); }

/* =============================================
   CASE STUDY CARD
   ============================================= */
.case-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    border-color: var(--purple-200);
    box-shadow: 0 12px 32px rgba(124,58,237,0.1);
    transform: translateY(-4px);
}
.case-card-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.case-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--gray-50);
    padding: 6px;
    border: 1px solid var(--gray-100);
}
.case-card-body {
    padding: 18px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.case-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}
.case-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}
.case-stat { text-align: center; }
.case-stat-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--purple-500);
    line-height: 1.2;
}
.case-stat-label {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
    line-height: 1.3;
}
.case-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-500);
    padding-top: 16px;
}
.case-card-cta svg { transition: transform 0.2s; }
.case-card:hover .case-card-cta svg { transform: translateX(4px); }

/* =============================================
   ARTICLE DETAIL PAGES (shared layout)
   ============================================= */
.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}
.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.article-sidebar h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 18px;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    padding: 6px 0 6px 14px;
    border-left: 2px solid var(--gray-200);
    line-height: 1.5;
}
.toc-list a:hover {
    color: var(--purple-500);
    border-left-color: var(--purple-300);
}
.toc-list a.active {
    color: var(--purple-500);
    border-left-color: var(--purple-500);
    font-weight: 600;
    background: linear-gradient(90deg, var(--purple-50), transparent);
}

/* Mobile TOC (collapsible) */
.mobile-toc {
    display: none;
    margin: 0 auto 32px;
    max-width: 720px;
    padding: 0 24px;
}
.mobile-toc-toggle {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font);
}
.mobile-toc-toggle svg {
    transition: transform 0.3s;
    color: var(--gray-400);
}
.mobile-toc-toggle.open svg { transform: rotate(180deg); }
.mobile-toc-body {
    display: none;
    padding: 12px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 12px 12px;
}
.mobile-toc-body.open { display: block; }

/* --- Article Content --- */
.article-content {
    max-width: 720px;
    padding-bottom: 64px;
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 56px 0 18px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 40px 0 14px;
    line-height: 1.35;
}
.article-content p {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 22px;
}
.article-content ul, .article-content ol {
    margin: 16px 0 28px 28px;
    color: var(--gray-600);
    font-size: 16.5px;
    line-height: 1.8;
}
.article-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}
.article-content a {
    color: var(--purple-500);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(124,58,237,0.3);
    transition: text-decoration-color 0.2s;
}
.article-content a:hover { text-decoration-color: var(--purple-500); }
.article-content strong { font-weight: 600; color: var(--gray-800); }
.article-content blockquote {
    border-left: 3px solid var(--purple-400);
    padding: 20px 28px;
    margin: 28px 0;
    background: var(--purple-50);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-600);
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 28px 0;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.article-content th, .article-content td {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    text-align: left;
}
.article-content th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-800);
}

/* --- Blog Detail Hero --- */
.blog-detail-hero {
    padding: 130px 0 36px;
    background: linear-gradient(180deg, var(--purple-50) 0%, transparent 60%);
}
.blog-detail-hero .container { max-width: 800px; }
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.blog-detail-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 18px;
}
.blog-detail-hero p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.7;
}
.blog-detail-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 36px 0;
    max-height: 440px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* --- Case Study Detail --- */
.case-detail-hero {
    padding: 130px 0 36px;
    background: linear-gradient(180deg, var(--purple-50) 0%, transparent 60%);
}
.case-detail-hero .container { max-width: 800px; }
.case-detail-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 18px;
}
.case-detail-hero p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.7;
}
.case-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 36px 0 52px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.case-detail-stat { text-align: center; }
.case-detail-stat .stat-num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--purple-500);
    line-height: 1.2;
}
.case-detail-stat .stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.4;
}
.case-quote {
    padding: 36px;
    background: var(--purple-50);
    border-radius: var(--radius-lg);
    margin: 48px 0;
    border-left: 4px solid var(--purple-400);
    position: relative;
}
.case-quote::before {
    content: '\201C';
    font-size: 72px;
    font-family: Georgia, serif;
    color: var(--purple-200);
    position: absolute;
    top: 12px;
    left: 28px;
    line-height: 1;
}
.case-quote blockquote {
    font-size: 18px;
    line-height: 1.65;
    color: var(--gray-700);
    font-style: italic;
    margin: 0 0 16px;
    padding-left: 8px;
}
.case-quote-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}
.case-quote-role {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* --- Share Buttons --- */
.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 44px;
}
.share-row span {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    background: var(--white);
}
.share-btn:hover {
    border-color: var(--purple-300);
    color: var(--purple-500);
    background: var(--purple-50);
    transform: translateY(-1px);
}

/* --- Related Section --- */
.related-section {
    padding: 72px 0;
    background: var(--gray-50);
}
.related-section .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.related-section .section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

/* --- Author Bio --- */
.author-bio {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    margin: 48px 0;
}
.author-bio img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--purple-100);
}
.author-bio-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 3px;
}
.author-bio-text p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

/* =============================================
   RESOURCE PAGES — Responsive
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .resource-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .resource-hero { padding: 110px 0 40px; }
    .resource-hero h1 { font-size: 32px; letter-spacing: -1px; }
    .resource-grid.grid-2,
    .resource-grid.grid-3 { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; gap: 0; }
    .article-sidebar { display: none; }
    .mobile-toc { display: block; }
    .blog-detail-hero,
    .case-detail-hero { padding: 110px 0 28px; }
    .case-detail-stats { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
    .case-detail-stat .stat-num { font-size: 26px; }
    .case-quote { padding: 28px; padding-left: 24px; }
    .case-quote::before { font-size: 48px; top: 8px; left: 20px; }
    .author-bio { flex-direction: column; text-align: center; }
    .alpha-nav { gap: 1px; padding: 8px 10px; }
    .alpha-nav button { width: 30px; height: 30px; font-size: 12px; }
    .blog-card-footer { display: none; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .resource-hero { padding: 100px 0 32px; }
    .resource-hero h1 { font-size: 26px; }
    .resource-filters { flex-direction: column; }
    .resource-search { min-width: 100%; }
    .filter-tabs { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .filter-tab { padding: 7px 16px; font-size: 13px; flex-shrink: 0; }
    .case-card-stats { grid-template-columns: 1fr; gap: 8px; }
    .case-detail-stats { padding: 20px; }
    .blog-detail-meta { gap: 8px; }
    .share-row { flex-wrap: wrap; }
    .alpha-nav button { width: 26px; height: 28px; font-size: 11px; }
}
