/* ============================================
   Cloudspharma — Unified Final Website Styles
   Header from: Header -00
   Hero & Marquee from: Hero section & Marquee - 01
   Colors: Blue #2B7DE9, Orange #F5841F
   Fonts: Inter, Space Grotesk, Plus Jakarta Sans
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --blue: #2B7DE9;
    --blue-dark: #1a5bb5;
    --blue-light: #EBF3FE;
    --blue-50: rgba(43, 125, 233, 0.05);
    --blue-lighter: #EBF5FF;
    --orange: #F5841F;
    --orange-light: #FEF3EB;
    --green: #22c55e;
    --green-light: #f0fdf4;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-900: #1a2a3a;
    --gray-700: #475569;
    --gray-500: #6b7b8d;
    --gray-400: #94a3b8;
    --gray-300: #CBD5E1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-nav: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 24px rgba(26, 115, 198, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 8px 30px rgba(43, 125, 233, 0.25);
    --shadow-orange: 0 8px 30px rgba(245, 132, 31, 0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    background-color: #080f1e;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-700);
    background-color: #080f1e;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section,
.hero,
.about-section,
.usecases-section,
.models-section,
.cta-section,
.cine-gallery-section {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-label {
    text-align: center;
    margin-bottom: 16px;
}

.section-label span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle,
.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-subtitle {
    margin: 0 auto;
}

.gradient-text,
.text-gradient {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--orange);
}

.accent-text {
    color: var(--orange);
}

.text-center {
    text-align: center;
}


/* ============================================================
   NAVBAR (from Header -00, adapted)
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 115, 198, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    /* Increased slightly for better fit */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    background: var(--blue-light);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-blue);
}

.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 35px rgba(43, 125, 233, 0.35);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   BUTTONS (from Hero section & Marquee - 01)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(43, 125, 233, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-50);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--gray-700);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--gray-300);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}


/* ============================================================
   HERO SECTION (from Hero section & Marquee - 01)
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(43, 125, 233, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 132, 31, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-typed-wrapper {
    display: inline;
}

.hero-typed {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typed-cursor {
    color: var(--blue);
    font-weight: 300;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat-mini strong {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
}

.hero-stat-mini span {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Video */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-frame {
    width: 100%;
    max-width: 560px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    background: var(--gray-100);
}

.hero-video-frame video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll-indicator span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray-400);
    display: block;
    margin-bottom: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--blue);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}


/* ============================================================
   CLIENTS MARQUEE (from Hero section & Marquee - 01)
   ============================================================ */
.clients-marquee {
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    overflow: hidden;
}

.marquee-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 32px 12px;
    max-width: 1320px;
    margin: 0 auto;
}

.trusted-icons {
    display: flex;
    align-items: center;
}

.trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    margin-right: -8px;
    border: 2px solid var(--white);
}

.t1 {
    background: var(--blue);
}

.t2 {
    background: var(--orange);
}

.t3 {
    background: var(--green);
}

.marquee-label span {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.marquee-track {
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

.marquee-item i {
    font-size: 12px;
}

.marquee-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}


/* ============================================================
   ABOUT SECTION (from About us - 02)
   ============================================================ */
.about-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    max-width: 100%;
}

.about-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-feature:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-blue);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-50));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--blue);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* About Animation */
.about-anim-container {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pharmacy-anim {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Machine Base Styles (Shared) */
.machine-body {
    width: 220px;
    height: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.machine-screen {
    height: 200px;
    padding: 16px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a2744 100%);
    position: relative;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.scanline {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(180deg, transparent, rgba(43, 125, 233, 0.4), transparent);
    box-shadow: 0 0 8px rgba(43, 125, 233, 0.6);
    left: 0;
    top: -10%;
    z-index: 10;
    animation: scanlineMove 3s linear infinite;
}

@keyframes scanlineMove {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.grid-slot {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color);
    border-radius: 4px;
    opacity: 0.3;
    animation: gridPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.15s);
    transition: all 0.3s ease;
}

.grid-slot.twinkle {
    opacity: 1 !important;
    box-shadow: 0 0 10px var(--color);
    transform: scale(1.05);
}

.machine-dispenser {
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.dispenser-arm {
    width: 60px;
    height: 4px;
    background: var(--blue);
    border-radius: 4px;
    animation: dispenserArm 3s ease-in-out infinite;
}

.dispenser-slot {
    width: 80px;
    height: 16px;
    background: var(--gray-200);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.dispenser-slot::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80px;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    animation: dispenserSlide 3s ease-in-out infinite;
}

/* Intelligence Hub Visual */
.intelligence-hub-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hub-center {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary, linear-gradient(135deg, var(--blue), var(--orange)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    z-index: 10;
    box-shadow: 0 0 30px rgba(43, 125, 233, 0.5);
    position: relative;
}

.hub-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.5;
    animation: hubPulse 2s infinite;
    z-index: -1;
}

@keyframes hubPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hub-orbit {
    position: absolute;
    border: 1px dashed rgba(43, 125, 233, 0.2);
    border-radius: 50%;
    animation: rotateHub 20s linear infinite;
}

.hub-orbit.ring-1 {
    width: 240px;
    height: 240px;
}

.hub-orbit.ring-2 {
    width: 360px;
    height: 360px;
    animation-direction: reverse;
    animation-duration: 30s;
}

.hub-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color);
    font-size: 20px;
    box-shadow: var(--shadow-md);
    z-index: 5;
    /* Use translate with CSS trig for positioning */
    --x: calc(cos(var(--angle)) * var(--dist));
    --y: calc(sin(var(--angle)) * var(--dist));
    transform: translate(var(--x), var(--y));
    animation: hubNodeFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--angle) * -0.01s);
}

.hub-node.outer {
    width: 44px;
    height: 44px;
    font-size: 16px;
    opacity: 0.8;
}

.hub-node::after {
    content: '';
    position: absolute;
    width: var(--dist);
    height: 1px;
    background: linear-gradient(90deg, var(--color), transparent);
    top: 50%;
    left: 50%;
    transform-origin: left;
    transform: rotate(calc(var(--angle) + 180deg));
    z-index: -1;
    opacity: 0.3;
}

.hub-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

@keyframes hubNodeFloat {

    0%,
    100% {
        transform: translate(var(--x), var(--y));
    }

    50% {
        transform: translate(var(--x), calc(var(--y) - 10px));
    }
}

@keyframes rotateHub {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.flow-svg {
    width: 100%;
    height: 100%;
}

.flow-path {
    animation: dashFlow 3s linear infinite;
}

.flow-dot {
    animation: dotMove 3s ease-in-out infinite;
}


/* ============================================================
   CAPABILITIES SECTION (from Capab. -03 & AE)
   ============================================================ */
.capabilities-matrix-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.cap-v2-matrix-container {
    position: relative;
    margin-top: 50px;
}

.cap-v2-float-indicator {
    position: absolute;
    top: -45px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cap-v2-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
}

.cap-v2-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cap-v2-legend-dot.clouds {
    background: var(--blue);
}

.cap-v2-legend-dot.trad {
    background: #ef4444;
}

.cap-v2-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0;
    padding: 0 24px;
    margin-bottom: 12px;
}

.cap-v2-header span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
}

.cap-v2-header span:nth-child(2) {
    color: var(--blue);
}

.cap-v2-matrix {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cap-v2-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 0 24px;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.cap-v2-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue), var(--orange));
    opacity: 0;
    transition: var(--transition);
}

.cap-v2-row:hover {
    background: var(--white);
    transform: translateY(-4px) scale(1.005);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
    z-index: 5;
}

.cap-v2-row:hover::before {
    opacity: 1;
}

.cap-v2-cell {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cap-v2-cell-icon {
    width: 54px;
    height: 54px;
    background: var(--white);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cap-v2-row:hover .cap-v2-cell-icon {
    background: var(--blue);
    color: var(--white);
    transform: rotate(-5deg);
}

.cap-v2-cell-name strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.cap-v2-cell-name small {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.cap-v2-value {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cap-v2-value-main {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.cap-v2-value-main.good {
    color: var(--blue);
}

.cap-v2-value-main.bad {
    color: #f87171;
}

.cap-v2-progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.cap-v2-progress-fill {
    height: 100%;
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cap-v2-progress-fill.good {
    background: var(--blue);
}

.cap-v2-progress-fill.bad {
    background: #f87171;
}

.cap-v2-row.animated .cap-v2-progress-fill {
    width: var(--target-width);
}

.cap-v2-expand {
    max-height: 0;
    overflow: hidden;
    grid-column: 1 / -1;
    transition: max-height 0.4s ease;
}

.cap-v2-row:hover .cap-v2-expand {
    max-height: 150px;
}

.cap-v2-expand-content {
    margin: 0 24px;
    padding: 20px 0 30px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 40px;
}

.cap-v2-expand-stat .num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}

.cap-v2-expand-stat .lbl {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsiveness for Capabilities */
@media (max-width: 992px) {
    .cap-v2-header {
        display: none;
    }

    .cap-v2-row {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .cap-v2-float-indicator {
        position: static;
        margin-bottom: 25px;
        justify-content: center;
    }

    .cap-v2-cell {
        padding: 20px 0;
    }

    .cap-v2-value {
        padding-bottom: 25px;
    }

    .cap-v2-expand-content {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
}


/* ============================================================
   HOW IT WORKS (Version 1 — Vertical Pipeline)
   ============================================================ */
.how-it-works-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.pipeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 60px;
}

/* Central Line SVG */
.pipeline-line-svg {
    position: absolute;
    left: 50%;
    top: 180px;
    /* Start at first node center */
    bottom: 180px;
    /* End at last node center */
    transform: translateX(-50%);
    width: 6px;
    /* Slightly thicker for premium feel */
    height: calc(100% - 360px);
    z-index: 1;
    overflow: visible;
}

.pipeline-line-bg {
    stroke: var(--gray-200);
    stroke-width: 4;
    stroke-linecap: round;
}

.pipeline-line-fill {
    stroke: url(#pipeGradient);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-section.animated .pipeline-line-fill {
    stroke-dashoffset: 0;
}

/* Data Particles */
.data-particle {
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--orange), 0 0 40px rgba(245, 132, 31, 0.4);
    animation: flowDown 5s linear infinite;
    opacity: 0;
    z-index: 5;
}

.data-particle:nth-child(2) {
    animation-delay: 1.6s;
}

.data-particle:nth-child(3) {
    animation-delay: 3.2s;
}

@keyframes flowDown {
    0% {
        top: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Step Row */
.step-row {
    display: flex;
    align-items: center;
    gap: 120px;
    /* Increased gap for better spacing */
    padding: 80px 0;
    position: relative;
    z-index: 2;
    /* Ensure row content is above the line */
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-row:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 20px;
    max-width: 480px;
}

.step-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    /* Taller visuals */
}

/* Step Number Node */
.step-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--blue);
    box-shadow: var(--shadow-md);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-row.visible .step-node {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 0 40px rgba(43, 125, 233, 0.5), 0 0 80px rgba(43, 125, 233, 0.2);
    border-color: var(--blue);
    transform: translate(-50%, -50%) scale(1.1);
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 15px;
    display: block;
}

.step-name {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--dark);
    line-height: 1.2;
}

.step-desc {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Accent Text Utility */
.accent-text {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.step-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.step-spec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 13px;
    color: var(--blue-dark);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-row.visible .step-spec {
    border-color: rgba(43, 125, 233, 0.3);
}

.step-spec i {
    font-size: 11px;
    color: var(--orange);
}

/* SVG Diagrams & Animations Fixed */
.svg-diagram {
    width: 100%;
    max-width: 450px;
    height: 320px;
    overflow: visible;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.05));
}

.svg-diagram text {
    font-family: var(--font-primary);
    pointer-events: none;
    letter-spacing: 0.5px;
}

/* Step 1 Scan */
.scan-beam {
    animation: scanMoveVertical 3s ease-in-out infinite;
}

@keyframes scanMoveVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(100px);
    }
}

.scan-glow {
    animation: scanGlowPulse 3s ease-in-out infinite;
}

@keyframes scanGlowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Step 2 AI */
.ai-ring {
    transform-origin: center;
    animation: aiPulseRing 2.5s ease-in-out infinite;
}

.ai-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-ring:nth-child(3) {
    animation-delay: 1s;
}

@keyframes aiPulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.check-mark {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

.step-row.visible .check-mark {
    animation: drawCheckMark 1s ease 0.8s forwards;
}

@keyframes drawCheckMark {
    to {
        stroke-dashoffset: 0;
    }
}

.neural-line {
    stroke-dasharray: 5 5;
    animation: neuralFlowLine 2s linear infinite;
}

@keyframes neuralFlowLine {
    to {
        stroke-dashoffset: -20;
    }
}

/* Step 3 Robot */
.arm-rotate {
    animation: armSwingMotion 4s ease-in-out infinite;
}

@keyframes armSwingMotion {

    0%,
    100% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }
}

.gripper-open {
    animation: gripActionOpen 4s ease-in-out infinite;
}

@keyframes gripActionOpen {

    0%,
    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }

    70% {
        transform: rotate(15deg);
    }

    80%,
    100% {
        transform: rotate(0deg);
    }
}

.gripper-close {
    animation: gripActionClose 4s ease-in-out infinite;
}

@keyframes gripActionClose {

    0%,
    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    70% {
        transform: rotate(-15deg);
    }

    80%,
    100% {
        transform: rotate(0deg);
    }
}

.medicine-box-anim {
    animation: medicinePickAnim 4s ease-in-out infinite;
}

@keyframes medicinePickAnim {

    0%,
    40% {
        transform: translateY(0);
        opacity: 1;
    }

    55% {
        transform: translateY(-30px);
        opacity: 1;
    }

    75% {
        transform: translate(40px, -60px);
        opacity: 1;
    }

    85% {
        transform: translate(40px, 0px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Step 4 Dispense */
.dispense-door {
    transform-origin: top center;
    animation: doorOpenAnim 3.5s ease-in-out infinite;
}

@keyframes doorOpenAnim {

    0%,
    30% {
        transform: scaleY(1);
    }

    40%,
    70% {
        transform: scaleY(0);
    }

    80%,
    100% {
        transform: scaleY(1);
    }
}

.item-fall-anim {
    animation: itemFallMotion 3.5s ease-in-out infinite;
}

@keyframes itemFallMotion {

    0%,
    40% {
        transform: translateY(-20px);
        opacity: 0;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(50px);
        opacity: 1;
    }

    80% {
        transform: translateY(80px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Step 5 Cloud */
.cloud-dot-float {
    animation: floatUpMotion 2.5s ease-in-out infinite;
}

@keyframes floatUpMotion {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.sync-arrow-bounce {
    animation: arrowBounceMotion 2s ease-in-out infinite;
}

@keyframes arrowBounceMotion {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cloud-group-anim {
    animation: cloudPulse 4s ease-in-out infinite;
    transform-origin: 190px 80px;
}

@keyframes cloudPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.data-bit {
    animation: dataStream 2s linear infinite;
    opacity: 0;
}

@keyframes dataStream {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Performance Bar Enhanced */
.perf-bar {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 100px;
    padding: 40px 60px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
}

.perf-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
}

.perf-value {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--blue), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.perf-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.8;
}

.perf-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

/* Float Labels Animation Class */
.float-label-anim {
    animation: floatingLabel 3s ease-in-out infinite;
}

@keyframes floatingLabel {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* HIW Responsive */
@media (max-width: 1100px) {
    .step-row {
        gap: 60px;
    }
}

@media (max-width: 992px) {

    .how-it-works-section {
        padding: 80px 0;
    }

    .step-row,
    .step-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 56px 20px;
    }

    .step-node {
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        /* override the translate(-50%,-50%) scale() from .step-row.visible */
        margin: 0 auto 16px;
        width: 72px;
        height: 72px;
        font-size: 22px;
    }

    /* Separate visible state for mobile — only scale, no translate */
    .step-row.visible .step-node {
        transform: scale(1.05) !important;
    }

    .pipeline-line-svg,
    .data-particle {
        display: none;
    }

    .step-content {
        max-width: 600px;
        padding: 0;
        margin: 0 auto;
    }

    .step-name {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    .step-desc {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .step-specs {
        justify-content: center;
    }

    .step-visual {
        min-height: auto;
        width: 100%;
    }

    .svg-diagram {
        max-width: 320px;
        height: 220px;
        margin: 0 auto;
    }

    .perf-divider {
        display: none;
    }

    .perf-bar {
        padding: 28px 32px;
        margin-top: 60px;
        gap: 24px;
        border-radius: 18px;
    }

    .perf-value {
        font-size: 34px;
    }

    .perf-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {

    .how-it-works-section {
        padding: 64px 0;
    }

    .step-row,
    .step-row:nth-child(even) {
        padding: 40px 0;
        gap: 24px;
    }

    .step-node {
        width: 64px;
        height: 64px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .step-name {
        font-size: 22px;
    }

    .step-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .step-label {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .step-spec {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
    }

    .step-specs {
        gap: 8px;
    }

    .svg-diagram {
        max-width: 280px;
        height: 190px;
    }

    /* Perf bar — 768px */
    .perf-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 20px 10px;
        margin-top: 40px;
        border-radius: 16px;
    }

    .perf-item {
        min-width: unset;
        flex: unset;
        padding: 8px 4px;
        border-right: 1px solid var(--gray-100);
        text-align: center;
    }

    .perf-item:last-child {
        border-right: none;
    }

    .perf-value {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .perf-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {

    .how-it-works-section {
        padding: 52px 0;
    }

    .step-row,
    .step-row:nth-child(even) {
        padding: 32px 0;
        gap: 20px;
    }

    .step-node {
        width: 56px;
        height: 56px;
        font-size: 18px;
        border-width: 3px;
        margin-bottom: 10px;
    }

    .step-name {
        font-size: 20px;
    }

    .step-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .step-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
    }

    .step-spec {
        font-size: 11.5px;
        padding: 5px 10px;
    }

    .svg-diagram {
        max-width: 240px;
        height: 170px;
    }

    /* Perf bar — 480px: scale down but keep row layout if possible */
    .perf-bar {
        grid-template-columns: repeat(3, 1fr);
        padding: 16px 8px;
        margin-top: 32px;
        gap: 4px;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
    }

    .perf-item {
        border-right: 1px solid var(--gray-100);
        border-bottom: none;
        padding: 8px 4px;
        display: block;
        text-align: center;
    }

    .perf-item:last-child {
        border-right: none;
    }

    .perf-value {
        font-size: 20px;
        margin-bottom: 2px;
        min-width: unset;
    }

    .perf-label {
        font-size: 9px;
        letter-spacing: 0;
        text-align: center;
        line-height: 1.2;
    }
}


/* ============================================================
   ANIMATIONS (shared data-aos system)
   ============================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-aos]:nth-child(2) {
    transition-delay: 0.1s;
}

[data-aos]:nth-child(3) {
    transition-delay: 0.2s;
}

[data-aos]:nth-child(4) {
    transition-delay: 0.3s;
}

[data-aos]:nth-child(5) {
    transition-delay: 0.4s;
}

[data-aos]:nth-child(6) {
    transition-delay: 0.5s;
}

[data-aos]:nth-child(7) {
    transition-delay: 0.6s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
        text-align: left;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-badge {
        display: inline-flex;
        margin-left: 0;
        margin-right: auto;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-stats-mini {
        justify-content: flex-start;
    }

    .hero-video-frame {
        max-width: 540px;
        margin: 0 auto;
    }

    /* About */
    .about-section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about-text {
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }

    .about-features {
        align-items: center;
    }

    .about-feature {
        max-width: 100%;
        text-align: left;
        margin: 0 auto;
    }

    .about-feature:hover {
        transform: translateY(-4px);
    }

    .about-anim-container {
        height: 340px;
        overflow: hidden;
    }

    .intelligence-hub-visual {
        transform: scale(0.85);
        transform-origin: center center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    /* Nav */
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }

    .logo-img {
        height: 38px;
    }

    .navbar.scrolled .logo-img {
        height: 34px;
    }

    .nav-links {
        display: none !important;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 16px;
        gap: 4px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid var(--gray-200);
        z-index: 999;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-link {
        font-size: 15px;
        padding: 10px 14px;
        border-radius: 8px;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 80px;
        padding-bottom: 48px;
        min-height: auto;
    }

    .hero-container {
        gap: 28px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 52px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 32px;
        margin-left: 0;
        margin-right: 0;
        font-weight: 500;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .hero-stats-mini {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
        width: 100%;
    }

    .hero-stat-mini strong {
        font-size: 20px;
    }

    .hero-stat-mini span {
        font-size: 12px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-video-frame {
        max-width: 480px;
        margin: 0 auto;
        border-radius: 18px;
    }

    .hero-video-frame video {
        border-radius: 18px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .about-grid {
        gap: 16px;
    }

    .about-section {
        padding: 64px 0;
    }

    .about-text {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .about-features {
        gap: 12px;
    }

    .about-feature {
        padding: 16px;
        max-width: 100%;
        text-align: left;
    }

    .about-feature:hover {
        transform: translateY(-2px);
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .about-feature h4 {
        font-size: 14px;
    }

    .about-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    .about-anim-container {
        height: 260px;
        overflow: hidden;
        margin: 0 -20px;
        /* Allow slight bleed if needed to center better */
    }

    .intelligence-hub-visual {
        transform: scale(0.58);
        transform-origin: center center;
    }

    .about-anim-container {
        overflow: hidden;
    }

    .machine-body {
        width: 180px;
        height: 250px;
    }

    .machine-screen {
        height: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 14px;
        height: 60px;
    }

    .logo-img {
        height: 34px;
    }

    .nav-links {
        top: 60px;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-container {
        padding: 0 16px;
        gap: 24px;
    }

    .hero-title {
        font-size: 46px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -2px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 17px;
        max-width: 100%;
        font-weight: 500;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-stat-mini strong {
        font-size: 18px;
    }

    .hero-stat-divider {
        height: 28px;
    }

    .hero-video-frame {
        border-radius: 14px;
    }

    .hero-video-frame video {
        border-radius: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
    }

    /* About — 480px */
    .about-section {
        padding: 52px 0;
    }

    .about-features {
        gap: 10px;
    }

    .about-feature {
        padding: 16px;
        gap: 16px;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .about-features {
        align-items: stretch;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .about-feature h4 {
        font-size: 13px;
    }

    .about-feature p {
        font-size: 12px;
    }

    .about-anim-container {
        height: 240px;
    }

    .intelligence-hub-visual {
        transform: scale(0.6);
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-stats-mini {
        gap: 6px;
    }

    .hero-stat-mini strong {
        font-size: 16px;
    }
}

/* ---------- 390px (small phones: iPhone SE, Galaxy S) ---------- */
@media (max-width: 390px) {
    .hero-container {
        padding: 0 14px;
        gap: 20px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats-mini {
        gap: 8px;
    }

    .hero-stat-mini strong {
        font-size: 17px;
    }

    .hero-stat-mini span {
        font-size: 11px;
    }

    .hero-stat-divider {
        height: 24px;
    }

    /* About — 390px */
    .about-anim-container {
        height: 210px;
    }

    .intelligence-hub-visual {
        transform: scale(0.55);
    }

    .hub-orbit.ring-2 {
        display: none;
    }

    /* Hero Stats — Inline */
    .hero-stats-mini {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .hero-stat-divider {
        display: block;
        height: 20px;
        opacity: 0.5;
    }

    .hero-title {
        font-size: 40px;
    }

    .about-feature {
        padding: 12px 10px;
        gap: 10px;
    }

    .feature-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

    .navbar,
    .hero-scroll-indicator,
    .clients-marquee {
        display: none;
    }

    .section {
        padding: 30px 0;
    }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ SKU FLOW SECTION ============ */
.sku-flow-section-wrapper {
    padding: 100px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.sku-flow-section {
    text-align: center;
}

.sku-flow-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--gray-900);
}

.sku-flow-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.sku-flow-diagram {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    background: var(--gray-50);
    border-radius: 32px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-xl), inset 0 0 60px rgba(0, 0, 0, 0.02);
}

@media (max-width: 992px) {
    .sku-flow-section-wrapper {
        padding: 72px 0;
    }

    .sku-flow-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .sku-flow-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .sku-flow-diagram {
        padding: 24px 16px;
        border-radius: 24px;
        /* Allow SVG to scale naturally — no horizontal scroll */
    }

    .sku-flow-diagram svg {
        width: 100%;
        height: auto;
        min-height: 400px;
        /* Increased for vertical layout */
    }
}

@media (max-width: 768px) {
    .sku-flow-section-wrapper {
        padding: 60px 0;
    }

    .sku-flow-title {
        font-size: 24px;
        letter-spacing: -0.3px;
        margin-bottom: 14px;
    }

    .sku-flow-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .sku-flow-diagram {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .sku-flow-diagram svg {
        min-height: 500px;
        /* More vertical space for nodes */
    }
}

@media (max-width: 480px) {
    .sku-flow-section-wrapper {
        padding: 48px 0;
    }

    .sku-flow-title {
        font-size: 21px;
    }

    .sku-flow-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .sku-flow-diagram {
        padding: 14px 10px;
        border-radius: 14px;
        box-shadow: var(--shadow-md);
    }

    .sku-flow-diagram svg {
        min-height: 600px;
        /* Sufficient height for stacked nodes */
    }
}

/* ============ STORAGE ALLOCATION MAP — Redesigned ============ */
.storage-map-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Ambient glow blobs */
.smap-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 15% 10%, rgba(43, 125, 233, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 35% at 85% 80%, rgba(245, 132, 31, 0.05) 0%, transparent 65%);
}

/* ---- Header ---- */
.smap-header {
    text-align: center;
    margin-bottom: 48px;
}

.smap-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.smap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
    animation: dotPulse 2s ease-in-out infinite;
}

.smap-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.smap-accent {
    color: var(--orange);
}

.smap-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Stats strip ---- */
.smap-total-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, var(--blue-light), rgba(245, 132, 31, 0.06));
    border: 1px solid rgba(43, 125, 233, 0.12);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.smap-total-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
}

.smap-total-num {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.smap-total-num span {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0;
    margin-left: 3px;
    vertical-align: super;
}

.smap-total-lbl {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.smap-total-divider {
    width: 1px;
    height: 44px;
    background: rgba(43, 125, 233, 0.15);
    flex-shrink: 0;
}

/* ---- Cards grid ---- */
.smap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

/* ---- Individual card ---- */
.smap-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.smap-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.smap-card--blue::before {
    background: radial-gradient(circle at 50% 0%, rgba(43, 125, 233, 0.07), transparent 70%);
}

.smap-card--orange::before {
    background: radial-gradient(circle at 50% 0%, rgba(245, 132, 31, 0.07), transparent 70%);
}

.smap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.smap-card:hover::before {
    opacity: 1;
}

.smap-card--blue:hover {
    border-color: rgba(43, 125, 233, 0.30);
    box-shadow: 0 16px 40px rgba(43, 125, 233, 0.14);
}

.smap-card--orange:hover {
    border-color: rgba(245, 132, 31, 0.30);
    box-shadow: 0 16px 40px rgba(245, 132, 31, 0.12);
}

/* ---- Circular ring ---- */
.smap-card-ring {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.smap-ring-svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.smap-ring-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 6;
}

/* circumference = 2 * pi * 34 ≈ 213.6 */
.smap-ring-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: calc(213.6 - (213.6 * var(--pct) / 100));
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.smap-card--blue .smap-ring-fill {
    stroke: var(--blue);
    filter: drop-shadow(0 0 4px rgba(43, 125, 233, 0.6));
}

.smap-card--orange .smap-ring-fill {
    stroke: var(--orange);
    filter: drop-shadow(0 0 4px rgba(245, 132, 31, 0.5));
}

.smap-ring-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.smap-card--blue .smap-ring-icon {
    color: var(--blue);
}

.smap-card--orange .smap-ring-icon {
    color: var(--orange);
}

/* ---- Card body ---- */
.smap-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.smap-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

.smap-card-sku {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.smap-card-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.smap-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.smap-card--blue .smap-bar-fill {
    background: linear-gradient(90deg, var(--blue), #5ba8ff);
}

.smap-card--orange .smap-bar-fill {
    background: linear-gradient(90deg, var(--orange), #ffb566);
}

.smap-card-pct {
    font-size: 11px;
    color: var(--gray-400);
    text-align: right;
}

/* ---- Output banner ---- */
.smap-output-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: 20px;
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
}

.smap-output-pulse {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.smap-output-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.70);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.smap-output-left i {
    color: var(--orange);
    font-size: 18px;
}

.smap-output-value {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.smap-output-value em {
    font-style: normal;
    font-size: 0.45em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 6px;
    vertical-align: middle;
}

.smap-output-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.smap-out-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--white);
}

.smap-out-badge i {
    color: var(--orange);
    font-size: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .smap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 860px) {
    .smap-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .smap-output-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .smap-total-divider {
        display: none;
    }

    .smap-total-strip {
        gap: 4px;
        padding: 20px 16px;
    }

    .smap-output-value {
        white-space: normal;
        /* allow wrap on tablet */
    }
}

@media (max-width: 580px) {
    .storage-map-section {
        padding: 56px 0;
    }

    .smap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Total strip — 2×2 grid */
    .smap-total-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 32px;
    }

    .smap-total-item {
        flex: unset;
        min-width: unset;
        padding: 14px 10px;
        border-right: 1px solid rgba(43, 125, 233, 0.1);
        border-bottom: 1px solid rgba(43, 125, 233, 0.1);
    }

    .smap-total-item:nth-child(2n) {
        border-right: none;
    }

    .smap-total-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .smap-total-num {
        font-size: 24px;
    }

    .smap-total-lbl {
        font-size: 11px;
    }

    /* Output banner — centered column */
    .smap-output-banner {
        align-items: center;
        text-align: center;
        padding: 22px 20px;
        gap: 14px;
        border-radius: 16px;
    }

    .smap-output-left {
        justify-content: center;
    }

    .smap-output-value {
        font-size: 28px;
        white-space: normal;
        text-align: center;
    }

    .smap-output-right {
        justify-content: center;
        gap: 8px;
    }

    .smap-out-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .storage-map-section {
        padding: 48px 0;
    }

    .smap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .smap-total-strip {
        padding: 12px;
        margin-bottom: 24px;
    }

    .smap-total-item {
        padding: 12px 8px;
    }

    .smap-total-num {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .smap-total-lbl {
        font-size: 10.5px;
    }

    .smap-output-banner {
        padding: 18px 16px;
        border-radius: 14px;
        gap: 12px;
    }

    .smap-output-value {
        font-size: 24px;
    }

    .smap-output-left {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .smap-out-badge {
        font-size: 11px;
        padding: 5px 12px;
        gap: 5px;
    }
}

@media (max-width: 380px) {
    .smap-grid {
        grid-template-columns: 1fr;
    }

    .smap-card {
        padding: 20px;
    }

    .smap-output-value {
        font-size: 20px;
    }
}


/* ============================================================
   MODELS SECTION
   ============================================================ */
.models-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.models-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.models-toggle {
    display: flex;
    background: var(--white);
    border-radius: 100px;
    padding: 6px;
    position: relative;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.model-toggle-btn {
    padding: 12px 36px;
    border-radius: 100px;
    font-family: var(--font-nav);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.model-toggle-btn.active {
    color: var(--white);
}

.toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: var(--blue);
    border-radius: 100px;
    transition: var(--transition);
    z-index: 1;
    box-shadow: var(--shadow-blue);
}

.toggle-slider.rx-active {
    left: calc(50%);
}

.model-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.model-panel.active {
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
}

@media (min-width: 1025px) {
    .model-panel.active {
        display: grid;
    }
}

/* Machine Styling */
.model-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.model-machine {
    width: 100%;
    max-width: 320px;
    background: var(--white);
    border-radius: 24px;
    padding: 6px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
}

.machine-screen {
    background: var(--gray-100);
    border-radius: 20px 20px 4px 4px;
    padding: 24px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: var(--blue);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.otc-badge,
.rx-badge-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.screen-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.screen-med {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 16px 8px;
    border-radius: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition);
}

.screen-med i {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.screen-med.selected {
    border-color: var(--blue);
    background: var(--blue-light);
    color: var(--blue);
}

.screen-med.selected i {
    color: var(--blue);
}

.screen-pay {
    background: var(--green);
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    margin-bottom: 16px;
}

.screen-dispense {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
}

.machine-slot {
    height: 30px;
    background: var(--gray-200);
    margin-top: 4px;
    border-radius: 4px 4px 20px 20px;
    position: relative;
    overflow: hidden;
}

.slot-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 4px;
    background: var(--green);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--green);
    opacity: 0.3;
}

/* Rx Model Specific */
.rx-header {
    background: var(--blue-dark);
}

.rx-screen {
    background: #fdfdfd;
}

.rx-scan-area {
    background: var(--white);
    border: 2px dashed var(--blue);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.rx-scan-icon {
    font-size: 40px;
    color: var(--blue);
    margin-bottom: 12px;
}

.rx-scan-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 1px;
}

.rx-scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.rx-status {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rx-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
}

.rx-dispense {
    color: var(--blue);
    background: var(--blue-light);
    padding: 12px;
    border-radius: 12px;
    margin-top: auto;
}

/* Floating Badges */
.model-floating-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mfb {
    position: absolute;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-900);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.mfb i {
    color: var(--blue);
}

.mfb-verified {
    top: 15%;
    left: -10%;
}

.mfb-247 {
    top: 40%;
    right: -15%;
    animation-delay: 0.5s;
}

.mfb-zero {
    bottom: 15%;
    left: -5%;
    animation-delay: 1s;
}

.mfb-rx-verified {
    top: 10%;
    left: -15%;
    color: var(--blue);
}

.mfb-rx-safe {
    top: 45%;
    right: -20%;
    animation-delay: 0.5s;
    color: var(--green);
}

.mfb-rx-audit {
    bottom: 15%;
    left: -10%;
    animation-delay: 1s;
    color: var(--blue-dark);
}

.model-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.model-desc {
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.model-features {
    list-style: none;
    display: grid;
    gap: 16px;
}

.model-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.model-features li i {
    color: var(--green);
    font-size: 14px;
}

/* Responsive Models */
@media (max-width: 1024px) {
    .model-panel {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .model-visual {
        order: 1;
    }

    .model-info {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .model-features {
        text-align: left;
        max-width: fit-content;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .models-section {
        padding: 60px 0;
    }

    .model-panel {
        gap: 40px;
    }

    .model-info h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .model-desc {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .machine-screen {
        min-height: 360px;
        padding: 20px;
    }

    .screen-grid {
        gap: 8px;
    }

    .screen-med {
        padding: 12px 6px;
    }
}

@media (max-width: 480px) {
    .models-section {
        padding: 48px 0;
    }

    .model-panel {
        gap: 32px;
    }

    .model-toggle-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .model-info h3 {
        font-size: 24px;
    }

    .model-desc {
        font-size: 15px;
    }

    .model-features li {
        font-size: 14px;
        gap: 10px;
    }

    .machine-screen {
        min-height: 320px;
        padding: 16px;
    }

    .screen-header {
        font-size: 11px;
        padding: 8px 12px;
        margin-bottom: 20px;
    }

    .screen-pay {
        padding: 12px;
        font-size: 13px;
    }

    .rx-scan-area {
        padding: 20px;
        margin-bottom: 16px;
    }

    .rx-scan-icon {
        font-size: 32px;
    }
}

/* ============================================================
   USE CASES SECTION
   ============================================================ */
.usecases-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.uc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    z-index: 1;
}

.uc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-light);
}

.uc-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-50) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.uc-card:hover .uc-card-bg {
    opacity: 1;
}

.uc-card-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-50);
    color: var(--blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.uc-card:hover .uc-card-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.uc-card-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.uc-card-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Card Animation Elements */
.uc-card-anim {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    transition: var(--transition);
    pointer-events: none;
}

.uc-card:hover .uc-card-anim {
    opacity: 0.3;
    transform: scale(1.2) translate(-10px, -10px);
}

.uc-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.uc-float-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: var(--blue);
    animation: float 3s ease-in-out infinite;
}

/* Responsive Use Cases */
@media (max-width: 1024px) {
    .uc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .usecases-section {
        padding: 80px 0;
    }

    .uc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uc-card {
        padding: 30px 24px;
    }
}


/* ============================================================
   TESTIMONIALS V4 — Marquee (Testimonial v4 & CTA - 07)
   ============================================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.test-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.test-section-header .section-label {
    margin-bottom: 14px;
}

.test-section-header .section-title {
    margin-bottom: 14px;
}

.test-section-header .section-subtitle {
    color: var(--gray-500);
    max-width: 580px;
    margin: 0 auto;
}

/* V4: Marquee Container */
.test-v4 {
    overflow: hidden;
    position: relative;
}

/* Fade edges */
.marquee-fade-test {
    position: relative;
    overflow-x: hidden;
}

.marquee-fade-test::before,
.marquee-fade-test::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-test::before {
    left: 0;
    background: linear-gradient(90deg, var(--gray-50), transparent);
}

.marquee-fade-test::after {
    right: 0;
    background: linear-gradient(-90deg, var(--gray-50), transparent);
}

/* Marquee Track */
.test-marquee-track {
    display: flex;
    gap: 20px;
    animation: testimonialScroll 40s linear infinite;
    width: max-content;
}

.test-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Card */
.test-marquee-card {
    flex-shrink: 0;
    width: 360px;
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: default;
}

.test-marquee-card:hover {
    border-color: rgba(43, 125, 233, 0.3);
    box-shadow: 0 8px 32px rgba(43, 125, 233, 0.12);
    transform: translateY(-3px);
}

/* Stars */
.test-m-stars {
    display: flex;
    gap: 3px;
    color: #F59E0B;
    font-size: 13px;
    margin-bottom: 14px;
}

/* Quote text */
.test-m-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

/* Author row */
.test-m-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-m-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.test-m-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 4px;
}

.test-blue-tick {
    color: #1DA1F2;
    font-size: 0.8rem;
}

.test-m-role {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 2px;
}


/* ============================================================
   CTA SECTION (Testimonial v4 & CTA - 07)
   ============================================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A2463 0%, #1a5bb5 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative orbs */
.cta-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-orb-1 {
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 132, 31, 0.12) 0%, transparent 70%);
}

.cta-orb-2 {
    bottom: -40%;
    left: -15%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(43, 125, 233, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Label pill */
.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.cta-label i {
    color: var(--orange);
}

/* CTA Title */
.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.cta-title span {
    color: var(--orange);
}

/* CTA Subtitle */
.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

/* CTA Buttons */
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: var(--white);
    color: #0A2463;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    color: var(--blue);
}

.cta-btn-primary i {
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover i {
    transform: translateX(4px);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: transparent;
    color: var(--white);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cta-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Trust badges */
.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.cta-trust span:hover {
    color: rgba(255, 255, 255, 0.85);
}

.cta-trust i {
    color: var(--orange);
    font-size: 0.85rem;
}


/* ============================================================
   RESPONSIVE — Testimonials V4 & CTA
   ============================================================ */
@media (max-width: 1024px) {
    .test-marquee-card {
        width: 320px;
        padding: 24px 26px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .test-section-header {
        margin-bottom: 40px;
    }

    .test-marquee-card {
        width: 290px;
        padding: 22px;
    }

    .marquee-fade-test::before,
    .marquee-fade-test::after {
        width: 60px;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        justify-content: center;
        padding: 16px 32px;
    }

    .cta-trust {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .test-marquee-card {
        width: 270px;
        padding: 20px;
    }

    .cta-label {
        padding: 6px 16px;
        font-size: 12px;
        margin-bottom: 16px;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .cta-actions {
        margin-bottom: 36px;
        padding: 0 16px;
        gap: 12px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .cta-trust {
        flex-direction: column;
        gap: 10px;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */

/* Flat top border (replaces wave) */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    display: block;
}

/* Hide old wave element if present */
.footer-wave {
    display: none;
}

/* Footer body */
.footer-body {
    background: #0f172a;
    padding: 70px 0 50px;
}

/* 4-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 48px;
    align-items: flex-start;
}

/* ---- Brand Column ---- */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--blue), #1a5bb5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.footer-logo-text span {
    color: var(--orange);
}

.footer-logo-text small {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* Tagline */
.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    max-width: 300px;
}

/* Address */
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-address-icon {
    color: var(--orange);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-address address {
    font-style: normal;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    text-decoration: none;
}

/* Facebook */
#footerFacebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

/* Twitter / X */
#footerTwitter:hover {
    background: #000000;
    border-color: #555;
    color: #fff;
}

/* Instagram */
#footerInstagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #fff;
}

/* YouTube */
#footerYouTube:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

/* LinkedIn */
#footerLinkedIn:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ---- Nav Columns ---- */
.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer nav links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.862rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-links li a i {
    font-size: 0.6rem;
    color: var(--orange);
    transition: transform 0.2s ease;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links li a:hover i {
    transform: translateX(2px);
}

/* Contact list */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(43, 125, 233, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-list li a {
    font-size: 0.862rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact-list li a:hover {
    color: var(--white);
}

/* Compliance badges */
.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.footer-badge i {
    color: var(--orange);
    font-size: 0.68rem;
}

/* ---- Bottom Bar ---- */
.footer-bottom {
    background: #080f1e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.footer-legal-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-legal-links li a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-legal-links li a:hover {
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   RESPONSIVE — Footer
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .footer-body {
        padding: 48px 0 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand-col {
        grid-column: auto;
        align-items: center;
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
        text-align: center;
    }

    .footer-address {
        justify-content: center;
        text-align: left;
        /* keep address text left for readability */
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-nav-col {
        /* Horizontal rule above each nav column */
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-legal-links {
        gap: 16px;
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-body {
        padding: 40px 0 28px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo-text {
        font-size: 1.1rem;
    }

    .footer-tagline {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .footer-address address {
        font-size: 0.82rem;
    }

    .footer-col-title {
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding-bottom: 8px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links li a {
        font-size: 0.84rem;
    }

    .footer-contact-list {
        gap: 12px;
    }

    .footer-badges {
        justify-content: center;
        gap: 6px;
    }

    .footer-badge {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-legal-links {
        gap: 12px;
    }

    .footer-legal-links li a {
        font-size: 0.74rem;
    }
}

@media (max-width: 390px) {
    .footer-body {
        padding: 36px 0 24px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-nav-col {
        gap: 12px;
    }

    .footer-legal-links {
        gap: 10px;
        flex-wrap: wrap;
    }

    .footer-badge {
        font-size: 0.65rem;
    }
}


/* ============================================================
   FIX: White gap at bottom
   ============================================================ */
html,
body {
    margin: 0;
    padding: 0;
    background: #080f1e;
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    z-index: 99999;
    transition: width 0.08s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(43, 125, 233, 0.5);
}


/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.team-header {
    text-align: center;
    margin-bottom: 64px;
}

.team-header .section-label {
    margin-bottom: 14px;
}

.team-header .section-title {
    margin-bottom: 14px;
}

/* 3-col grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* Base card */
.team-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    border-color: rgba(43, 125, 233, 0.3);
    box-shadow: 0 12px 40px rgba(43, 125, 233, 0.1);
    transform: translateY(-6px);
}

/* Featured (Founder) card */
.team-card--featured {
    border-color: var(--blue);
    background: linear-gradient(160deg, #EBF3FE 0%, var(--white) 60%);
    box-shadow: 0 8px 32px rgba(43, 125, 233, 0.12);
}

.team-card--featured:hover {
    box-shadow: 0 16px 48px rgba(43, 125, 233, 0.2);
}

/* Glow accent on featured */
.team-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245, 132, 31, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Avatar wrapper */
.team-avatar-wrap {
    position: relative;
    margin-bottom: 20px;
}

/* Avatar circle */
.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
}

/* Avatar colour variants */
.team-avatar--r {
    background: linear-gradient(135deg, var(--blue), #1a5bb5);
    box-shadow: 0 8px 24px rgba(43, 125, 233, 0.35);
}

.team-avatar--a {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.team-avatar--v {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

/* Founder star badge */
.team-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
    border: 2px solid var(--white);
}

/* Card body */
.team-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 12px;
    border-radius: 50px;
}

.team-card--featured .team-role {
    color: var(--orange);
    background: rgba(245, 132, 31, 0.1);
}

.team-bio {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-top: 6px;
}

/* Team social links */
.team-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.team-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--gray-400);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-decoration: none;
}

.team-social:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.team-card--featured .team-social:hover {
    background: var(--orange);
    border-color: var(--orange);
}


/* ============================================================
   CONTACT US SECTION
   ============================================================ */
.contact-section {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
}

/* 2-col split grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: flex-start;
}

/* ---- Info Panel ---- */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.contact-title span {
    color: var(--orange);
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* Info list */
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), #1a5bb5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(43, 125, 233, 0.25);
}

.contact-info-list li div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-list li div span,
.contact-info-list li div span a {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-list li div span a:hover {
    color: var(--blue);
}

/* Social row on info panel */
.contact-social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
}

.contact-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    transition: var(--transition);
    text-decoration: none;
}

.contact-social:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 125, 233, 0.25);
}

/* ---- Form Panel ---- */
.contact-form-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 2-col form row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req {
    color: var(--orange);
}

/* Input wrapper with icon */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap i {
    position: absolute;
    left: 14px;
    color: var(--gray-400);
    font-size: 0.8rem;
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
    resize: none;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
    color: var(--gray-400);
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.08);
}

.input-wrap input:focus+i,
.input-wrap:focus-within i {
    color: var(--blue);
}

.input-wrap--textarea {
    align-items: flex-start;
}

.input-wrap--textarea i {
    top: 14px;
}

/* Submit button */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--blue), #1a5bb5);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(43, 125, 233, 0.35);
    align-self: flex-start;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(43, 125, 233, 0.45);
}

.contact-submit i {
    transition: transform 0.3s ease;
}

.contact-submit:hover i {
    transform: translateX(4px) rotate(-15deg);
}

/* Security note */
.form-note {
    font-size: 0.78rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-note i {
    color: var(--green);
}


/* ============================================================
   RESPONSIVE — Team & Contact & Progress
   ============================================================ */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .team-card--featured {
        grid-column: 1 / -1;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 28px;
    }

    .team-card--featured .team-card-body {
        align-items: flex-start;
    }

    .team-card--featured .team-socials {
        margin-top: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .team-section,
    .contact-section {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .team-card--featured {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .team-card--featured .team-card-body {
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 28px 20px;
    }

    .contact-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .contact-info-panel,
    .contact-form-panel {
        padding: 24px 16px;
    }
}

/* 
   FINAL FIX: GLOBAL BACKGROUND CONSISTENCY
   Ensures no white space shows below the footer on any page.
*/
html,
body {
    background-color: #080f1e !important;
    margin: 0;
    padding: 0;
    min-height: 100%;
    /* Remove any potential scroll-gap */
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

.grid-animation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(43, 125, 233, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 125, 233, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 100%);
    animation: gridMoving 60s linear infinite;
}

@keyframes gridMoving {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 80px;
    }
}

body {
    display: flex;
    flex-direction: column;
}

main,
#main-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    display: block;
}

/* ============================================================
   TEMPERATURE ZONES SECTION
   ============================================================ */
.temp-zones-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.temp-zones-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(43, 125, 233, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.temp-zones-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left content */
.temp-zones-content .section-label {
    text-align: left;
}

.temp-zones-content .section-title {
    margin-bottom: 16px;
}

.temp-zones-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 540px;
}

/* Zone cards — 2×2 grid */
.temp-zone-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .temp-zone-cards {
        grid-template-columns: 1fr;
    }
}

.tz-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tz-card:hover {
    border-color: rgba(43, 125, 233, 0.25);
    background: var(--white);
    box-shadow: 0 6px 24px rgba(43, 125, 233, 0.09);
    transform: translateY(-3px);
}

.tz-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.tz-ambient {
    background: linear-gradient(135deg, #FFF7E6, #FEF3EB);
    color: #F59E0B;
}

.tz-cold {
    background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
    color: var(--blue);
}

.tz-controlled {
    background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
    color: var(--gray-700);
}

.tz-cryo {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    color: #7C3AED;
}

.tz-info {
    flex: 1;
}

.tz-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1px;
}

.tz-temp {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 2px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.tz-desc {
    display: none;
}

/* Badge row */
.tz-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tz-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(43, 125, 233, 0.12);
    letter-spacing: 0.2px;
}

.tz-badge i {
    font-size: 11px;
}

/* Right image */
.temp-zones-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tz-image-frame {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(43, 125, 233, 0.18), 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(43, 125, 233, 0.10);
    background: var(--gray-100);
}

.tz-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.tz-image-frame:hover img {
    transform: scale(1.03);
}

.tz-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.tz-overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(43, 125, 233, 0.15);
}

.tz-overlay-badge i {
    color: var(--orange);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .temp-zones-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .temp-zones-content .section-label,
    .temp-zones-content .section-title,
    .temp-zones-subtitle {
        text-align: center;
    }

    .temp-zones-content .section-label {
        display: flex;
        justify-content: center;
    }

    .temp-zones-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .tz-badge-row {
        justify-content: center;
    }

    .temp-zones-image {
        order: -1;
    }
}

@media (max-width: 600px) {
    .temp-zones-section {
        padding: 64px 0;
    }

    .tz-card {
        flex-direction: row;
    }
}

/* ============================================================
   CINEMATIC GALLERY SECTION
   ============================================================ */
.cine-gallery-section {
    background: var(--white);
    padding: 90px 0;
    overflow: hidden;
    position: relative;
}


/* ---- Section header ---- */
.cine-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.cine-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.cine-eyebrow i {
    font-size: 13px;
}

.cine-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.cine-title-accent {
    color: var(--orange);
}

.cine-subtitle {
    font-size: 15.5px;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ---- Panels layout ---- */
.cine-panels {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.cine-panel-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

/* ---- Individual panel ---- */
.cine-panel {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.cine-panel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.cine-panel--hero .cine-panel-inner {
    min-height: 480px;
}

.cine-panel--sm .cine-panel-inner {
    min-height: 222px;
}

.cine-panel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cine-panel:hover .cine-panel-inner img {
    transform: scale(1.06);
}

/* Gradient overlay — slides up on hover */
.cine-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(43, 125, 233, 0.82) 0%,
            rgba(43, 125, 233, 0.25) 55%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cine-panel:hover .cine-panel-overlay {
    opacity: 1;
}

.cine-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(43, 125, 233, 0.80);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    width: fit-content;
}

.cine-panel-badge i {
    color: var(--orange);
    font-size: 11px;
}

.cine-panel-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.5;
    max-width: 340px;
}

/* Speed tag — always visible on hero panel */
.cine-speed-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--orange);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(245, 132, 31, 0.45);
    animation: speedPulseTag 2.5s ease-in-out infinite;
}

@keyframes speedPulseTag {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(245, 132, 31, 0.40);
    }

    50% {
        box-shadow: 0 4px 32px rgba(245, 132, 31, 0.75);
    }
}

.cine-speed-tag i {
    font-size: 11px;
}

/* ---- Stat strip ---- */
.cine-stat-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 36px;
    background: linear-gradient(135deg, var(--blue-light), rgba(245, 132, 31, 0.06));
    border: 1px solid rgba(43, 125, 233, 0.14);
    border-radius: 18px;
    flex-wrap: wrap;
}

.cine-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 140px;
    padding: 8px 20px;
    justify-content: center;
}

.cine-stat>i {
    font-size: 24px;
    color: var(--orange);
    flex-shrink: 0;
}

.cine-stat-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1;
}

.cine-stat-lbl {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 3px;
}

.cine-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(43, 125, 233, 0.15);
    flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .cine-panels {
        grid-template-columns: 1fr;
    }

    .cine-panel-col {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .cine-panel--hero .cine-panel-inner {
        min-height: 340px;
    }

    .cine-panel--sm .cine-panel-inner {
        min-height: 200px;
    }

    /* Overlay stays hidden by default on mobile — only shows on hover (same as desktop) */

    /* Stat strip — tablet */
    .cine-stat-strip {
        padding: 22px 24px;
        max-width: 100%;
        margin: 0 24px;
        gap: 0;
    }

    .cine-stat {
        padding: 6px 14px;
    }

    .cine-stat-num {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .cine-gallery-section {
        padding-bottom: 64px;
    }

    .cine-ribbon {
        margin-bottom: 48px;
    }

    .cine-panel-col {
        grid-template-columns: 1fr;
    }

    .cine-panel--hero .cine-panel-inner {
        min-height: 260px;
    }

    .cine-panel--sm .cine-panel-inner {
        min-height: 200px;
    }

    .cine-panels {
        padding: 0 16px;
    }

    /* Stat strip — mobile: 2x2 grid */
    .cine-stat-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 20px 16px;
        margin: 0 16px;
        border-radius: 14px;
    }

    .cine-stat {
        flex-direction: column;
        align-items: center;
        padding: 16px 8px;
        gap: 8px;
        text-align: center;
        min-width: unset;
        flex: unset;
    }

    .cine-stat>i {
        font-size: 20px;
    }

    .cine-stat-num {
        font-size: 22px;
        letter-spacing: -0.02em;
    }

    .cine-stat-lbl {
        font-size: 11px;
        margin-top: 2px;
    }

    /* Replace vertical dividers with grid borders */
    .cine-stat-divider {
        display: none;
    }

    /* Inner borders between the 4 cells */
    .cine-stat:nth-child(1) {
        border-right: 1px solid rgba(43, 125, 233, 0.12);
        border-bottom: 1px solid rgba(43, 125, 233, 0.12);
    }

    .cine-stat:nth-child(3) {
        border-bottom: 1px solid rgba(43, 125, 233, 0.12);
    }

    .cine-stat:nth-child(5) {
        border-right: 1px solid rgba(43, 125, 233, 0.12);
    }

    .cine-stat:nth-child(7) {
        border: none;
    }
}

@media (max-width: 360px) {

    /* Stat strip — small phones */
    .cine-stat-strip {
        margin: 0 14px;
        padding: 16px 12px;
        border-radius: 12px;
        grid-template-columns: 1fr;
    }

    .cine-stat {
        padding: 14px 6px;
        gap: 6px;
        border-right: none !important;
        border-bottom: 1px solid rgba(43, 125, 233, 0.12) !important;
    }

    .cine-stat:last-child {
        border-bottom: none !important;
    }

    .cine-stat>i {
        font-size: 18px;
    }

    .cine-stat-num {
        font-size: 20px;
    }

    .cine-stat-lbl {
        font-size: 10.5px;
    }
}