/* ============================================================
   KENTO-EXACT DARK DESIGN — PulpDigital / CairIQ
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:           #1a2421;    /* Kento Health dark teal */
    --bg-s1:        #1e2926;
    --bg-s2:        #232e2a;
    --bg-card:      #252f2b;
    --bg-card-h:    #2d3834;
    --text:         #ffffff;
    --text-muted:   rgba(255,255,255,0.6);
    --text-dim:     rgba(255,255,255,0.28);
    --border:       rgba(255,255,255,0.08);
    --border-h:     rgba(255,255,255,0.18);
    --purple:       #8b5cf6;
    --orange:       #f97316;
    --cyan:         #22d3ee;
    --teal:         #0d9488;
    --radius:       16px;
    --radius-lg:    24px;
    --tr:           0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg) !important; color: var(--text); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.cairiq-purple { color: var(--purple); }
.cairiq-orange { color: var(--orange); }

/* ===== LAYOUT ===== */
.section-wrap { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }

.section-chip { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border-h); padding: 6px 14px; border-radius: 50px; margin-bottom: 1.5rem; }
.light-chip { color: var(--text-muted); }

.section-heading { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.2rem; }
.section-heading em { font-style: italic; color: var(--text-muted); }
.section-subtext { font-size: 1.05rem; color: var(--text-muted); max-width: 680px; line-height: 1.7; }
.muted-text { color: var(--text-muted); }
.inline-link { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* ===== BUTTONS - Modern Stylish Design ===== */
.btn-primary-dark { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #22d3ee 100%); color: #fff; padding: 1rem 2.2rem; border-radius: 50px; font-weight: 700; font-size: 0.95rem; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(139,92,246,0.3); z-index: 1; }
.btn-primary-dark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%); opacity: 0; transition: opacity 0.4s ease; z-index: -1; }
.btn-primary-dark:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(139,92,246,0.5), 0 0 20px rgba(34,211,238,0.3); gap: 16px; color: #fff; }
.btn-primary-dark:hover::before { opacity: 1; }
.btn-primary-dark i { transition: transform 0.3s ease; }
.btn-primary-dark:hover i { transform: translateX(4px); }
.btn-primary-dark.btn-lg { padding: 1.2rem 2.8rem; font-size: 1.05rem; }
.btn-primary-dark.btn-full { width: 100%; justify-content: center; }

.btn-ghost-dark { display: inline-flex; align-items: center; gap: 12px; background: rgba(139,92,246,0.08); color: var(--text); padding: 1rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 1px solid rgba(139,92,246,0.4); transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer; position: relative; overflow: hidden; }
.btn-ghost-dark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(34,211,238,0.15)); opacity: 0; transition: opacity 0.4s ease; }
.btn-ghost-dark:hover { transform: translateY(-3px); border-color: rgba(139,92,246,0.7); box-shadow: 0 8px 24px rgba(139,92,246,0.2); gap: 16px; }
.btn-ghost-dark:hover::before { opacity: 1; }
.btn-ghost-dark span, .btn-ghost-dark i { position: relative; z-index: 1; }
.btn-ghost-dark i { transition: transform 0.3s ease; }
.btn-ghost-dark:hover i { transform: translateX(4px); }

/* ===== NAVIGATION ===== */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.4rem 0; transition: background 0.4s ease, padding 0.4s ease; border: none; }
.site-nav.nav-scrolled { background: rgba(8,8,8,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: none; padding: 0.85rem 0; }
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; flex-shrink: 0; }
.nav-brand-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.nav-brand-tagline { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(139,92,246,0.75); line-height: 1; }

/* PulpDigital logo — PULP_BANNER_CLEAR.png has transparent bg, blue gradient intact */
.nav-logo-img {
    height: 58px;
    width: auto;
    display: block;
    transition: opacity var(--tr), transform var(--tr);
}
.nav-logo-img:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; transition: color var(--tr); white-space: nowrap; }
.nav-menu a:hover { color: var(--text); }
.nav-menu a.active { color: var(--text) !important; position: relative; }
.nav-menu a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #8b5cf6, #22d3ee); border-radius: 2px; }
.nav-cta-btn { background: var(--text) !important; color: var(--bg) !important; padding: 0.65rem 1.4rem !important; border-radius: 50px; font-weight: 700 !important; }
.nav-cta-btn:hover { background: rgba(255,255,255,0.88) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--tr); }
.nav-overlay { position: fixed; inset: 0; background: var(--bg); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; }
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay-close { position: absolute; top: 2rem; right: 2.5rem; font-size: 1.5rem; color: var(--text-muted); transition: color var(--tr); }
.nav-overlay-close:hover { color: var(--text); }
.nav-overlay-inner { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.nav-overlay-inner a { font-size: 2rem; font-weight: 700; color: var(--text-muted); letter-spacing: -0.02em; transition: color var(--tr); }
.nav-overlay-inner a:hover { color: var(--text); }
@media (max-width: 1024px) { .nav-menu { display: none; } .nav-hamburger { display: flex; } }

/* Nav overlay responsive */
@media (max-width: 768px) {
    .nav-overlay-inner a { font-size: 1.5rem; gap: 2rem; }
    .nav-overlay-close { top: 1.5rem; right: 1.5rem; font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .nav-overlay-inner a { font-size: 1.25rem; gap: 1.5rem; }
    .nav-overlay-close { top: 1rem; right: 1rem; font-size: 1.2rem; }
}

/* ===== HERO ===== */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 140px 2.5rem 100px; background: var(--bg); }

/* Image 1: Animated canvas mesh */
.hero-mesh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0.65; }

.hero-noise { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.35; pointer-events: none; z-index: 2; }

.hero-glow-blob { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; animation: blobPulse 10s ease-in-out infinite; z-index: 1; }
.blob-1 { width: 600px; height: 600px; background: rgba(139,92,246,0.1); top: -150px; left: -150px; }
.blob-2 { width: 450px; height: 450px; background: rgba(249,115,22,0.07); bottom: -50px; right: -50px; animation-delay: -5s; }
@keyframes blobPulse { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.15) translate(40px,-40px); } }

/* Extra bottom padding prevents affiliate note overlapping fixed scroll-cue */
.hero-content-wrap { position: relative; z-index: 3; text-align: center; max-width: 1100px; width: 100%; padding-bottom: 5rem; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border-h); padding: 8px 18px; border-radius: 50px; margin-bottom: 2.5rem; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.eyebrow-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

/* CairIQ lockup: icon LEFT + title RIGHT, vertically centered */
.hero-lockup {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.2vw, 2rem);
    margin-bottom: 2.8rem;
    flex-wrap: nowrap;
}

/* Icon: slides in from left with spring overshoot, then perpetual float */
.hero-cairiq-icon-wrap {
    width: clamp(100px, 12vw, 150px);
    height: clamp(100px, 12vw, 150px);
    flex: 0 0 auto;
    background-image: url('images/Small_clear.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 900px auto;
    filter: drop-shadow(0 0 28px rgba(139,92,246,0.6)) drop-shadow(0 0 50px rgba(249,115,22,0.25));
    animation:
        iconSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both,
        iconFloat   3.8s ease-in-out 1.1s infinite;
}
@keyframes iconSlideIn {
    from { opacity: 0; transform: translateX(-60px) scale(0.5); }
    to   { opacity: 1; transform: translateX(0)    scale(1); }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

/* Title: blur-reveal slides in from right as a whole */
.hero-big-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.015em;
    margin: 0;
    animation: titleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
@keyframes titleReveal {
    from { opacity: 0; transform: translateX(50px) scale(0.88); filter: blur(14px); }
    to   { opacity: 1; transform: translateX(0)    scale(1);    filter: blur(0px);  }
}

/* Letters: continuous ripple wave after title reveals */
.hero-big-title .ch {
    display: inline-block;
    animation: letterWave 2.6s ease-in-out infinite;
}
.hero-big-title .ch:nth-child(1) { animation-delay: 0.00s; }
.hero-big-title .ch:nth-child(2) { animation-delay: 0.18s; }
.hero-big-title .ch:nth-child(3) { animation-delay: 0.36s; }
.hero-big-title .ch:nth-child(4) { animation-delay: 0.54s; }
.hero-big-title .ch:nth-child(5) { animation-delay: 0.72s; }
.hero-big-title .ch:nth-child(6) { animation-delay: 0.90s; }
@keyframes letterWave {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-9px); }
}
.hero-big-title .ch:hover { transform: translateY(-14px) scale(1.18); transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1); }

/* Proper spacing between lockup and taglines (user request 5) */
.hero-tagline-block { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* "An AI Behavioral Intelligence Layer" */
.hero-tag-layer { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--text); font-weight: 600; }

/* Image 4: "AI agents that help patients follow care plans between visits" */
.hero-tag-agents { font-size: clamp(0.95rem, 2vw, 1.2rem); color: var(--text-muted); font-weight: 400; letter-spacing: -0.01em; }

/* "Inspired by how nurses..." */
.hero-tag-inspired { font-size: 0.95rem; color: var(--text-dim); }

.hero-description { font-size: 1.05rem; color: var(--text-muted); max-width: 860px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
/* Affiliate note: clear from scroll-cue with bottom padding on wrapper */
.hero-affiliate-note { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    font-size: 0.8rem; 
    color: rgba(255,255,255,0.7); 
    margin-bottom: 0; 
    padding: 0.6rem 1.2rem; 
    background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(34,211,238,0.1) 100%); 
    border: 1px solid rgba(139,92,246,0.3); 
    border-radius: 50px; 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139,92,246,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.hero-affiliate-note:hover { 
    background: linear-gradient(135deg, rgba(139,92,246,0.25) 0%, rgba(34,211,238,0.15) 100%); 
    border-color: rgba(139,92,246,0.5);
    box-shadow: 0 6px 20px rgba(139,92,246,0.2);
    transform: translateY(-2px);
}
.hero-affiliate-note a { 
    color: #8b5cf6; 
    text-decoration: none; 
    font-weight: 600; 
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}
.hero-affiliate-note a:hover { 
    filter: brightness(1.2);
}

.hero-scroll-cue { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; }
.hero-scroll-cue span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); }
.scroll-track { width: 1px; height: 56px; background: var(--border-h); overflow: hidden; position: relative; }
.scroll-fill { position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--purple); animation: scrollCue 2.2s ease-in-out infinite; }
@keyframes scrollCue { 0% { top: -40%; } 100% { top: 140%; } }

/* ===== MARQUEE ===== */
.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-s1); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2rem; white-space: nowrap; animation: marqueeScroll 28s linear infinite; width: max-content; }
.marquee-track span { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.marquee-track .mdot { color: var(--purple); font-size: 0.6rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ===== AUDIENCE CARDS — rich gradient backgrounds (images 6/7 style) ===== */
.audience-section { padding: 100px 0; background: var(--bg); }
.audience-cards-row { max-width: 1320px; margin: 3rem auto 0; padding: 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.audience-card { position: relative; padding: 3rem 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transform-style: preserve-3d; backface-visibility: hidden; }
.audience-card:hover { border-color: var(--border-h); }
.audience-cards-row { perspective: 1000px; transform-style: preserve-3d; }

/* 3D Preloader / Buffering Loop Animation */
.audience-card.aud-1 { animation: bufferLoop3D 6s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.audience-card.aud-2 { animation: bufferLoop3D 7s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.5s; }
.audience-card.aud-3 { animation: bufferLoop3D 8s cubic-bezier(0.4, 0, 0.2, 1) infinite 1s; }

@keyframes bufferLoop3D {
    0%, 100% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateZ(0); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
    25% { transform: perspective(1000px) rotateY(12deg) rotateX(-5deg) translateZ(30px); box-shadow: 20px 20px 40px rgba(0,0,0,0.25), -10px 0 30px rgba(139,92,246,0.1); }
    50% { transform: perspective(1000px) rotateY(0deg) rotateX(10deg) translateZ(50px); box-shadow: 0 30px 50px rgba(0,0,0,0.3), 0 0 40px rgba(139,92,246,0.15); }
    75% { transform: perspective(1000px) rotateY(-12deg) rotateX(-5deg) translateZ(30px); box-shadow: -20px 20px 40px rgba(0,0,0,0.25), 10px 0 30px rgba(139,92,246,0.1); }
}

/* Background images for audience cards */
.audience-card::after { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.05; transition: opacity 0.4s ease; pointer-events: none; z-index: 0; }
.audience-card:hover::after { opacity: 0.1; }
.aud-1::after { background-image: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?w=600'); }
.aud-2::after { background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=600'); }
.aud-3::after { background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=600'); }

/* Glow overlay per card */
.aud-card-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; transition: opacity 0.4s ease; border-radius: inherit; }
.audience-card:hover .aud-card-glow { opacity: 1; }

/* Image 6 style: each card has a unique warm gradient bg */
.aud-1 { background: linear-gradient(145deg, #0a1f16 0%, #0d1510 60%, #0a0a0a 100%); }
.aud-1 .aud-card-glow { background: radial-gradient(ellipse at 80% 20%, rgba(20,200,100,0.1) 0%, transparent 60%); }

.aud-2 { background: linear-gradient(145deg, #130d28 0%, #140f22 60%, #0a0a0a 100%); }
.aud-2 .aud-card-glow { background: radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.14) 0%, transparent 60%); }

.aud-3 { background: linear-gradient(145deg, #201005 0%, #180e05 60%, #0a0a0a 100%); }
.aud-3 .aud-card-glow { background: radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.12) 0%, transparent 60%); }

.aud-card-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); margin-bottom: 1.2rem; position: relative; z-index: 1; }
.audience-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 1rem; letter-spacing: -0.02em; position: relative; z-index: 1; }
.audience-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; position: relative; z-index: 1; }
.card-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: color var(--tr), gap var(--tr); position: relative; z-index: 1; }
.card-link-arrow:hover { color: var(--text); gap: 12px; }

@media (max-width: 900px) { .audience-cards-row { grid-template-columns: 1fr; } }

/* ===== PLATFORM BENEFITS ===== */
.platform-section { padding: 100px 0; background: var(--bg-s1); border-top: 1px solid var(--border); }
.benefits-grid { max-width: 1320px; margin: 4rem auto 0; padding: 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.benefit-cell { padding: 2.5rem 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-card); transition: background var(--tr), transform var(--tr); position: relative; overflow: hidden; }
.benefit-cell::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.06; transition: opacity 0.4s ease; pointer-events: none; z-index: 0; }
.benefit-cell:hover::before { opacity: 0.12; }
.benefit-cell:hover { background: var(--bg-card-h); }
.benefit-cell:nth-child(4n) { border-right: none; }
.benefit-cell:nth-child(n+5) { border-bottom: none; }
/* Unique background images per cell */
.benefit-cell:nth-child(1)::before { background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=400'); }
.benefit-cell:nth-child(2)::before { background-image: url('https://images.unsplash.com/photo-1559757175-5700dde675bc?w=400'); }
.benefit-cell:nth-child(3)::before { background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?w=400'); }
.benefit-cell:nth-child(4)::before { background-image: url('https://images.unsplash.com/photo-1581595220892-b0739db3ba8c?w=400'); }
.benefit-cell:nth-child(5)::before { background-image: url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=400'); }
.benefit-cell:nth-child(6)::before { background-image: url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=400'); }
.benefit-cell:nth-child(7)::before { background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=400'); }
.benefit-cell:nth-child(8)::before { background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=400'); }
.benefit-num { font-size: 0.65rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.1em; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.benefit-cell i { font-size: 1.4rem; color: var(--purple); margin-bottom: 1rem; display: block; position: relative; z-index: 1; }
.benefit-cell p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin: 0; position: relative; z-index: 1; }
@media (max-width: 1100px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } .benefit-cell:nth-child(4n) { border-right: 1px solid var(--border); } .benefit-cell:nth-child(2n) { border-right: none; } .benefit-cell:nth-child(n+5) { border-bottom: 1px solid var(--border); } .benefit-cell:nth-child(n+7) { border-bottom: none; } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } .benefit-cell { border-right: none !important; } .benefit-cell:last-child { border-bottom: none !important; } }

/* ===== IMPACT / OPPORTUNITY — marquee scroll (matches testimonials style) ===== */
.impact-section { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); }
.impact-outer { overflow: hidden; position: relative; padding: 2rem 0; margin-top: 4rem; }
.impact-outer::before, .impact-outer::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.impact-outer::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.impact-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.impact-track { display: flex; gap: 1.5rem; width: max-content; animation: impactScroll 44s linear infinite; padding: 0 2.5rem; }
.impact-track:hover { animation-play-state: paused; }
@keyframes impactScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.impact-card { flex-shrink: 0; width: 300px; position: relative; padding: 2.5rem 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: border-color var(--tr); overflow: hidden; }
.impact-card:hover { border-color: var(--border-h); }
/* Background images for impact cards */
.impact-card::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.05; transition: opacity 0.4s ease; pointer-events: none; z-index: 0; }
.impact-card:hover::before { opacity: 0.1; }
.impact-card:nth-child(6n+1)::before { background-image: url('https://images.unsplash.com/photo-1585435557343-3b092031a831?w=400'); }
.impact-card:nth-child(6n+2)::before { background-image: url('https://images.unsplash.com/photo-1530497610245-94d3c16cda28?w=400'); }
.impact-card:nth-child(6n+3)::before { background-image: url('https://images.unsplash.com/photo-1579154204601-01588f351e67?w=400'); }
.impact-card:nth-child(6n+4)::before { background-image: url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?w=400'); }
.impact-card:nth-child(6n+5)::before { background-image: url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=400'); }
.impact-card:nth-child(6n+6)::before { background-image: url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?w=400'); }
/* Cycle backgrounds every 6 cards (covers duplicates) */
.impact-card:nth-child(6n+1) { background: linear-gradient(145deg,#0d1820,#111); }
.impact-card:nth-child(6n+2) { background: linear-gradient(145deg,#180d20,#111); }
.impact-card:nth-child(6n+3) { background: linear-gradient(145deg,#0a1818,#111); }
.impact-card:nth-child(6n+4) { background: linear-gradient(145deg,#18180d,#111); }
.impact-card:nth-child(6n+5) { background: linear-gradient(145deg,#18100d,#111); }
.impact-card:nth-child(6n+6) { background: linear-gradient(145deg,#0d180d,#111); }
.impact-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,0.1); border-radius: 12px; font-size: 1.2rem; color: var(--purple); margin-bottom: 1.4rem; position: relative; z-index: 1; }
.impact-stat-num { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 1rem; background: linear-gradient(135deg,var(--text) 0%,rgba(255,255,255,0.5) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.impact-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; position: relative; z-index: 1; }

/* ===== AGENTS SECTION ===== */
.agents-section { padding: 100px 0; background: var(--bg-s1); border-top: 1px solid var(--border); }

/* ===== IMAGE 5: Hexagonal Ecosystem Diagram ===== */
.hex-ecosystem { position: relative; width: 100%; max-width: 560px; height: 420px; margin: 4rem auto 3rem; }

/* Background floating circles */
.hex-bg-circle { position: absolute; border-radius: 50%; background: rgba(34,211,238,0.07); animation: hexBgFloat 8s ease-in-out infinite; }
.hbc-1 { width: 110px; height: 110px; top: 40px; left: 20px; animation-delay: 0s; }
.hbc-2 { width: 70px; height: 70px; top: 10px; right: 120px; animation-delay: -3s; background: rgba(139,92,246,0.08); }
.hbc-3 { width: 90px; height: 90px; bottom: 30px; right: 30px; animation-delay: -6s; background: rgba(34,211,238,0.05); }
@keyframes hexBgFloat { 0%,100% { transform: translateY(0) scale(1); opacity:0.7; } 50% { transform: translateY(-15px) scale(1.05); opacity:1; } }

/* Arc background (bottom-right) */
.hex-bg-arc { position: absolute; bottom: -50px; right: -60px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(139,92,246,0.2); pointer-events: none; }

/* Hex cluster container */
.hex-cluster { position: absolute; inset: 0; }

/* Base hexagon shape */
.hex-shape { position: absolute; display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); text-align: center; font-size: 0.82rem; font-weight: 700; color: #fff; cursor: pointer; transition: transform 0.3s ease, filter 0.3s ease; line-height: 1.3; }
.hex-shape span { position: relative; z-index: 1; pointer-events: none; }
.hex-shape:hover { transform: scale(1.1) !important; filter: brightness(1.3); }
.hex-center:hover { transform: translateX(-50%) scale(1.1) !important; }

/* CairIQ Center — larger, darkest teal */
.hex-center { width: 148px; height: 170px; background: linear-gradient(145deg, #0c3344, #0a2233); top: 120px; left: 50%; transform: translateX(-50%); font-size: 1.15rem; font-weight: 800; box-shadow: 0 0 40px rgba(13,148,136,0.3); animation: hexFloat 4.5s ease-in-out infinite; z-index: 10; }

/* Surrounding hexes */
.hex-nurse    { width: 118px; height: 136px; background: linear-gradient(145deg,#1a5c6e,#134d5c); top: 10px; left: 88px; animation: hexFloat 4s ease-in-out infinite 0.5s; z-index: 5; }
.hex-companion{ width: 118px; height: 136px; background: linear-gradient(145deg,#1e6878,#167080); top: 70px; right: 48px; animation: hexFloat 4.5s ease-in-out infinite 1s; z-index: 5; }
.hex-physician{ width: 118px; height: 136px; background: linear-gradient(145deg,#1a5c6e,#134d5c); bottom: 20px; left: 88px; animation: hexFloat 4s ease-in-out infinite 1.5s; z-index: 5; }
.hex-giver    { width: 118px; height: 136px; background: linear-gradient(145deg,#2a80a0,#1e6878); bottom: 60px; right: 48px; animation: hexFloat 4.5s ease-in-out infinite 2s; z-index: 5; }

@keyframes hexFloat { 0%,100% { filter: drop-shadow(0 4px 20px rgba(13,148,136,0.2)); transform: translateY(0); } 50% { filter: drop-shadow(0 8px 30px rgba(13,148,136,0.4)); transform: translateY(-10px); } }
.hex-center { animation-name: hexFloatCenter !important; }
@keyframes hexFloatCenter { 0%,100% { filter: drop-shadow(0 6px 30px rgba(13,148,136,0.35)) brightness(1); transform: translateX(-50%) translateY(0); } 50% { filter: drop-shadow(0 12px 40px rgba(13,148,136,0.55)) brightness(1.05); transform: translateX(-50%) translateY(-12px); } }

/* Agent grid — modern card design with circular avatars */
.agents-grid { max-width: 1320px; margin: 0 auto 2rem; padding: 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.agent-card { --accent: #8b5cf6; --accent-glow: rgba(139,92,246,0.25); position: relative; border-radius: 20px; overflow: visible; min-height: auto; display: flex; flex-direction: column; padding: 0; text-align: center; background: linear-gradient(180deg, #18181b 0%, #0f0f12 100%); border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 4px 20px rgba(0,0,0,0.25); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.agent-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.3); }

/* Unique accent per card */
.agent-card:nth-child(1) { --accent: #8b5cf6; --accent-glow: rgba(139,92,246,0.25); }
.agent-card:nth-child(2) { --accent: #22d3ee; --accent-glow: rgba(34,211,238,0.25); }
.agent-card:nth-child(3) { --accent: #f97316; --accent-glow: rgba(249,115,22,0.25); }
.agent-card:nth-child(4) { --accent: #10b981; --accent-glow: rgba(16,185,129,0.25); }

/* Top accent line */
.agent-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%); border-radius: 20px 20px 0 0; }

/* Hide old overlay */
.agent-photo-overlay { display: none; }

/* Avatar container - positioned at top */
.agent-card-content { position: relative; z-index: 2; padding: 2rem 1.5rem 1.8rem; display: flex; flex-direction: column; align-items: center; }

/* Circular avatar from --agent-bg */
.agent-card-content::before { content: ''; display: block; width: 90px; height: 90px; margin-bottom: 1.2rem; border-radius: 50%; background: var(--agent-bg) center top / cover no-repeat; border: 3px solid var(--accent); box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.4); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.agent-card:hover .agent-card-content::before { transform: scale(1.1) rotate(3deg); box-shadow: 0 0 30px var(--accent-glow), 0 8px 20px rgba(0,0,0,0.5); }

.agent-chip { display: inline-block; font-size: 0.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 50px; margin-bottom: 0.6rem; }

.agent-title { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; display: block; margin-bottom: 0.15rem; }
.agent-persona { display: block; font-size: 0.9rem; font-weight: 600; color: var(--accent); margin-bottom: 0.8rem; }
.agent-body { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.55; margin-bottom: 1.2rem; padding: 0 0.5rem; }
.agent-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); padding: 0.6rem 1.2rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; transition: all 0.3s ease; }
.agent-cta-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; gap: 10px; }
.agent-cta-btn i { font-size: 0.65rem; transition: transform 0.3s ease; }
.agent-cta-btn:hover i { transform: translateX(3px); }

@media (max-width: 1100px) { .agents-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .agents-grid { grid-template-columns: 1fr; } }

/* Unified layer card - modern gradient with background image */
.unified-layer-card { max-width: 1320px; margin: 0 auto; padding: 4rem 3rem; background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(34,211,238,0.08) 50%, rgba(16,185,129,0.1) 100%); border: 1px solid rgba(139,92,246,0.3); border-radius: 24px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(139,92,246,0.15), inset 0 1px 0 rgba(255,255,255,0.05); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.unified-layer-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(139,92,246,0.25), inset 0 1px 0 rgba(255,255,255,0.08); }
/* Background image layer */
.unified-layer-card::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=1200') center/cover no-repeat; opacity: 0.08; pointer-events: none; transition: opacity 0.4s ease; }
.unified-layer-card:hover::before { opacity: 0.12; }
/* Gradient overlay */
.unified-layer-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(139,92,246,0.2) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(34,211,238,0.15) 0%, transparent 50%); pointer-events: none; }
/* Top accent line */
.unified-layer-card h3 { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, #fff 0%, rgba(139,92,246,1) 50%, rgba(34,211,238,1) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1.2rem; letter-spacing: -0.03em; position: relative; z-index: 1; }
.unified-layer-card p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 900px; margin: 0 auto; line-height: 1.75; position: relative; z-index: 1; }

/* ===== TESTIMONIALS (image 9 style) ===== */
.testimonials-section { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); overflow: hidden; }
.testimonials-section .section-wrap { margin-bottom: 3rem; }

.testimonials-outer { overflow: hidden; position: relative; padding: 2rem 0; }
.testimonials-outer::before, .testimonials-outer::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.testimonials-outer::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.testimonials-outer::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.testimonials-track { display: flex; gap: 1.5rem; width: max-content; animation: testimonialScroll 36s linear infinite; padding: 0 2.5rem; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Image 9: Dark testimonial cards */
.testimonial-card { flex-shrink: 0; width: 300px; background: #0f1512; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 2.2rem 2rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; transition: border-color var(--tr), transform var(--tr); }
.testimonial-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-6px); }
.tcard-quote { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.65; flex: 1; margin-bottom: 1.8rem; }
.tcard-author { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.2rem; }
.tcard-name { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.tcard-role { display: block; font-size: 0.75rem; color: var(--text-muted); }

/* ===== SPECTRUM SECTION (landscape bg + pill tags like reference) ===== */
.spectrum-section { position: relative; padding: 0; margin: 0; overflow: hidden; }
.spectrum-inner { position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 2.5rem; text-align: center; background-color: #1a0d00; /* fallback */ overflow: hidden; }
/* Background image with blur */
.spectrum-inner::before { content: ''; position: absolute; inset: -20px; background: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=1600') center/cover no-repeat; filter: blur(4px); pointer-events: none; }
/* Dark + warm overlay for text readability */
.spectrum-inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%), linear-gradient(135deg, rgba(180,100,50,0.12) 0%, rgba(60,40,80,0.15) 100%); pointer-events: none; }

.spectrum-title { position: relative; z-index: 1; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 3rem; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.spectrum-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; max-width: 850px; }
.spectrum-tags span { padding: 0.6rem 1.4rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; transition: all 0.3s ease; cursor: default; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.spectrum-tags span:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }


/* ===== CTA BANNER ===== */
.cta-banner { padding: 120px 2.5rem; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,92,246,0.07) 0%, transparent 70%); pointer-events: none; }
.cta-banner-inner { position: relative; z-index: 1; }
.cta-overline { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.cta-banner-title { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; color: var(--text); margin-bottom: 3rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 100px 0; background: var(--bg-s1); }
.contact-layout { max-width: 1320px; margin: 4rem auto 0; padding: 0 2.5rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; }
.contact-info-block h3 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: -0.02em; }
.contact-info-block > p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 2rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon-box { width: 42px; height: 42px; background: rgba(139,92,246,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--purple); flex-shrink: 0; font-size: 1rem; }
.contact-row div strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.contact-row div span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.contact-form-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.55rem; }
.form-field input, .form-field textarea { width: 100%; background: var(--bg); border: 1px solid var(--border-h); border-radius: 10px; padding: 0.85rem 1.1rem; font-family: inherit; font-size: 0.92rem; color: var(--text); transition: border-color var(--tr), box-shadow var(--tr); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }
.form-field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .form-2col { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.site-footer { background: #000000 !important; border-top: 1px solid var(--border); padding: 80px 0 0; }
.footer-grid { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 4rem; }
.footer-brand-link { display: inline-block; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.fb-gradient { background: linear-gradient(90deg,var(--purple),var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fb-cyan { color: var(--cyan); }
.footer-brand-col p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.5rem; line-height: 1.5; text-transform: none !important; }
.footer-affiliate { display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-affiliate:hover { color: var(--cyan); }
.footer-col h5 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 1.4rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--text); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.9rem; }
.footer-contact-list i { color: var(--purple); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-list span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.footer-bottom-bar { max-width: 1320px; margin: 0 auto; padding: 2rem 2.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-bar p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.footer-legal-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.82rem; color: var(--text-dim); transition: color var(--tr); }
.footer-legal-links a:hover { color: var(--text-muted); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand-col { grid-column: auto; } .footer-bottom-bar { flex-direction: column; align-items: flex-start; } }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero-section { padding: 150px 1.5rem 80px; }
    .hero-lockup { gap: 1.2rem; margin-top: 20px; }
    .hero-big-title { font-size: clamp(3.5rem, 17vw, 5.5rem); }
    .hero-cairiq-img { width: clamp(50px, 13vw, 80px); }
    .hero-cta-row { flex-direction: column; }
    .btn-primary-dark, .btn-ghost-dark { width: 100%; max-width: 280px; justify-content: center; }
    .hero-scroll-cue { display: none; }
    .section-wrap { padding: 0 1.5rem; }
    .audience-section, .platform-section, .impact-section, .agents-section, .contact-section, .testimonials-section { padding: 70px 0; }
    .audience-cards-row, .agents-grid, .contact-layout, .benefits-grid { padding: 0 1.5rem; }
    .hex-ecosystem { height: 340px; transform: scale(0.85); transform-origin: top center; }
    .contact-info-block, .contact-form-block { padding: 2rem 1.5rem; }
    .cta-banner { padding: 80px 1.5rem; }
    .cta-banner-title { font-size: clamp(2rem, 10vw, 3.5rem); }
    .footer-grid { padding: 0 1.5rem; }
    .unified-layer-card { padding: 2rem 1.5rem; }
    
    /* Nav adjustments */
    .nav-inner { padding: 0 1.5rem; }
    .nav-logo-img { height: 45px; }
    .nav-brand-tagline { font-size: 0.5rem; }
    
    /* Footer adjustments */
    .footer-brand-col { margin-bottom: 2rem; }
    .footer-tagline { font-size: 0.8rem; }
    .footer-affiliate { font-size: 0.75rem; }
    
    /* Hex cluster mobile adjustments */
    .hex-cluster { transform: scale(0.7); transform-origin: center center; }
    .hex-center { width: 100px; height: 115px; top: 80px; font-size: 0.85rem; }
    .hex-nurse, .hex-companion, .hex-physician, .hex-giver { width: 80px; height: 92px; font-size: 0.65rem; }
    .hex-nurse { top: 5px; left: 60px; }
    .hex-companion { top: 45px; right: 30px; }
    .hex-physician { bottom: 15px; left: 60px; }
    .hex-giver { bottom: 40px; right: 30px; }
    
    /* Hero lockup — stack vertically on mobile */
    .hero-lockup {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero-cairiq-icon-wrap { 
        width: 120px;
        height: 120px;
        background-size: 750px auto;
        animation: none;
    }
}

/* ===== TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section { padding: 120px 2rem 90px; }
    .hero-big-title { font-size: clamp(3rem, 12vw, 4.5rem); }
    .section-wrap { padding: 0 2rem; }
    .audience-cards-row, .agents-grid, .contact-layout { padding: 0 2rem; }
    .hex-ecosystem { height: 400px; transform: scale(0.92); transform-origin: top center; }
    .footer-grid { gap: 2rem; }
    .nav-inner { padding: 0 2rem; }
    /* Tablet — keep row, proportional crop */
    .hero-cairiq-icon-wrap { 
        width: clamp(100px, 12vw, 140px);
        height: clamp(100px, 12vw, 140px);
        background-size: 850px auto;
        animation: none;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .hero-section { padding: 160px 1rem 60px; }
    .hero-lockup { gap: 1rem; margin-top: 30px; }
    .hero-big-title { font-size: clamp(2.5rem, 15vw, 4rem); }
    .section-wrap { padding: 0 1rem; }
    .audience-cards-row, .agents-grid, .contact-layout { padding: 0 1rem; }
    .contact-info-block, .contact-form-block { padding: 1.5rem 1rem; }
    .cta-banner { padding: 60px 1rem; }
    .footer-grid { padding: 0 1rem; gap: 1.5rem; }
    .nav-inner { padding: 0 1rem; }
    .nav-logo-img { height: 40px; }
    .btn-primary-dark, .btn-ghost-dark { padding: 0.85rem 1.5rem; font-size: 0.85rem; }
    /* Small mobile — stack vertically */
    .hero-lockup {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    .hero-cairiq-icon-wrap { 
        width: 110px;
        height: 110px;
        background-size: 690px auto;
        animation: none;
    }
}
