:root {
    /* ═══════ Dashboard Design Tokens ═══════ */
    --brand: #2563EB;
    --brand-hover: #1D4ED8;
    --brand-pressed: #1E40AF;
    --brand-subtle: #EFF6FF;
    --brand-muted: rgba(37, 99, 235, 0.08);
    --brand-ring: rgba(37, 99, 235, 0.25);
    --brand-text: #1D4ED8;

    --bg: #FAFAFC;
    --surface: #FFFFFF;
    --surface-hover: #F8FAFC;
    --border: rgba(0, 0, 0, 0.06);
    --border-subtle: rgba(0, 0, 0, 0.03);
    --border-strong: rgba(0, 0, 0, 0.12);

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --text-muted: #94A3B8;
    --text-faint: #CBD5E1;

    --success: #10B981;
    --success-bg: #ECFDF5;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --info: #0EA5E9;
    --info-bg: #F0F9FF;
    --purple: #8B5CF6;
    --purple-bg: #F5F3FF;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 12px 24px -6px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 8px 16px rgba(15, 23, 42, 0.04);

    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-primary: var(--font);
    --font-mono: 'JetBrains Mono', 'Fira Code', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --nav-height: 96px;
    --nav-offset: calc(var(--nav-height) + 16px);

    /* ═══════ Backward-Compatible Aliases ═══════ */
    --bg-color: var(--bg);
    --bg-secondary: var(--border-subtle);
    --accent-primary: var(--brand);
    --accent-hover: var(--brand-hover);
    --border-color: var(--border);
    --nav-bg: var(--surface);
    --font-heading: var(--font);
    --font-body: var(--font);
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-offset);
}

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

main:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    border-right: 3px solid var(--accent-primary);
    padding-right: 5px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--brand);
    }
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.bg-secondary {
    background-color: var(--bg-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: none;
    gap: 6px;
    letter-spacing: 0.01em;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--brand-ring), var(--shadow-sm);
}

.form-control[aria-invalid="true"],
.form-control.is-invalid,
.wl-field input[aria-invalid="true"],
.wl-field textarea[aria-invalid="true"] {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.field-error {
    display: none;
    margin-top: 0.45rem;
    font-size: 0.85rem;
    color: #dc2626;
}

.field-error.is-visible {
    display: block;
}

.btn-primary {
    background-color: var(--brand);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--brand-pressed);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
    padding: 0.85rem 2rem;
}

.btn-outline:hover {
    background-color: var(--brand-subtle);
    border-color: var(--brand);
    color: var(--brand);
}

.btn.btn-cta {
    padding: 10px 2rem;
    font-size: 0.95rem;
}

/* Navbar - Floating Pill Style */
nav {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font);
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-pill {
    padding: 0;
    border-radius: var(--r-lg);
    display: flex;
    gap: 0.25rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-pill a {
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   Animation System — Progressive Enhancement
   Elements are VISIBLE by default.
   Only hidden when body.js-ready is set by JavaScript.
   ═══════════════════════════════════════════ */

/* Base scroll-triggered entrance — only hide when JS is ready */
body.js-ready .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Slide in from left */
body.js-ready .slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Slide in from right */
body.js-ready .slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Scale up reveal */
body.js-ready .scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Blur fade in */
body.js-ready .blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: translateY(0) !important;
}

/* Stagger children — apply to parent, children get sequential delays */
.stagger-children.visible>* {
    animation: stagger-enter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0;
}

body.js-ready .stagger-children>* {
    opacity: 0;
}

.stagger-children.visible>*:nth-child(1) {
    animation-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
    animation-delay: 0.12s;
}

.stagger-children.visible>*:nth-child(3) {
    animation-delay: 0.19s;
}

.stagger-children.visible>*:nth-child(4) {
    animation-delay: 0.26s;
}

.stagger-children.visible>*:nth-child(5) {
    animation-delay: 0.33s;
}

.stagger-children.visible>*:nth-child(6) {
    animation-delay: 0.40s;
}

.stagger-children.visible>*:nth-child(7) {
    animation-delay: 0.47s;
}

.stagger-children.visible>*:nth-child(8) {
    animation-delay: 0.54s;
}

@keyframes stagger-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card hover shimmer overlay */
.card-shimmer {
    position: relative;
    overflow: hidden;
}

.card-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(115deg,
            transparent 40%,
            rgba(255, 255, 255, 0.25) 50%,
            transparent 60%);
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
}

.card-shimmer:hover::after {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Glow pulse on hover */
.hover-glow {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 8px 40px -8px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.08);
    transform: translateY(-4px);
}

/* Breathing float for decorative elements */
@keyframes gentle-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes gentle-float-alt {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* Gradient border animation */
@keyframes gradient-border-spin {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

/* Pulse dot animation (for live indicators) */
@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .text-gradient {
        animation: none;
        border-right: 0;
        padding-right: 0;
    }

    .fade-in-up,
    .slide-in-left,
    .slide-in-right,
    .scale-up,
    .blur-in,
    .feature-slide,
    .hero-feature-img,
    .scan-viewfinder .scan-demo-line,
    .scan-autofill-card,
    .scan-tag,
    .shipment-progress-fill,
    .monitor-mockup-img,
    .phone-mockup-img-new {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Number pop when counting finishes */
@keyframes number-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* Reveal underline for headings */
.reveal-underline {
    position: relative;
    display: inline-block;
}

.reveal-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--purple));
    border-radius: var(--r-xs);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-underline.visible::after {
    width: 60px;
}

/* Smooth section transitions */
section,
.features-section,
.analytics-section,
.workforce-section,
.unloaded-section,
.supercharge-section,
.wc-section,
.pricing-section {
    transition: background-color 0.5s ease;
}

section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

section[id] {
    scroll-margin-top: var(--nav-offset);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 44px);
    padding-bottom: 40px;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Overlay removed - Vanta globe provides its own background */

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-primary);
    /* Ensure legibility against potential video bg */
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 480px;
    font-weight: 500;
}

/* Removed hero-visual styles */

/* Stats Row - Horizontal Layout */
.stats-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: var(--r-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item:last-child {
    padding-right: 0;
    border-right: none;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.stat-badge {
    background: #e8f4e8;
    color: #22863a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.stat-item:nth-child(2) .stat-badge {
    background: #e8f0fe;
    color: #1a73e8;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--r-md);
}

/* Features Band */
.features-section {
    padding: 100px 0 30px;
    background: var(--surface);
}


.feature-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.feature-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════
   Feature Carousel / Slideshow
   ═══════════════════════════════════════════ */
.feature-carousel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 60%),
        var(--surface);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: var(--r-2xl);
    padding: 2.5rem 2.5rem 1.5rem;
    box-shadow: 0 4px 32px rgba(37, 99, 235, 0.06);
}

.feature-carousel-track {
    position: relative;
}

.feature-carousel .scan-demo {
    aspect-ratio: auto;
    max-height: 320px;
}

.feature-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(30px) translateY(-50%);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s 0.5s;
    pointer-events: none;
}

.feature-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) translateY(-50%);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s 0s;
    pointer-events: auto;
}

.feature-slide.exit-left {
    transform: translateX(-30px) translateY(-50%);
}

/* Navigation */
.feature-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.25rem;
}

.feature-carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-size: 1rem;
    opacity: 0.45;
}

.feature-carousel-arrow:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-subtle);
    transform: scale(1.05);
    opacity: 1;
}

/* ═══════════════════════════════════════════
   Alternating Feature Rows
   ═══════════════════════════════════════════ */
.feature-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 3.5rem 0;
}

.feature-carousel .feature-row {
    padding: 1rem 0;
    gap: 0;
}

.feature-carousel .feature-row-text {
    flex: 0 0 38%;
}

.feature-carousel .feature-row-visual {
    flex: 0 0 60%;
}

.feature-carousel .ops-chips {
    max-width: 100%;
}

.feature-row+.feature-row {
    border-top: 1px solid var(--border);
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row-text {
    flex: 1;
    min-width: 0;
}

.feature-row-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* Badge */
.feature-row-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.feature-row-badge.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.feature-row-badge.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.feature-row-badge.green {
    background: var(--success-bg);
    color: var(--success);
}

.feature-row-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-row-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 1.5rem;
}

/* Highlights list */
.feature-row-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.feature-highlight i {
    color: var(--success);
    font-size: 1.1rem;
}

/* Flow steps (Pick-Pack-Ship) */
.feature-row-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s var(--ease);
    min-width: 68px;
}

.flow-step i {
    font-size: 1.3rem;
    color: var(--text-tertiary);
}

.flow-step span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.flow-step.done {
    border-color: var(--brand);
    background: var(--brand-subtle);
}

.flow-step.done i {
    color: var(--brand);
}

.flow-step.done span {
    color: var(--brand);
}

.flow-step.active {
    border-color: var(--success);
    background: var(--success-bg);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.flow-step.active i {
    color: var(--success);
}

.flow-step.active span {
    color: var(--success);
}

.flow-arrow {
    width: 20px;
    height: 2px;
    background: var(--border-strong);
    position: relative;
    flex-shrink: 0;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 5px solid var(--border-strong);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* ── Scan Demo Visual ── */
.scan-demo {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Phone Mockup */
.scan-phone-mockup {
    width: 220px;
    flex-shrink: 0;
    background: var(--bg);
    border-radius: 22px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.scan-phone-notch {
    width: 60px;
    height: 6px;
    background: var(--border);
    border-radius: 0 0 6px 6px;
    margin: 0 auto;
}

.scan-phone-screen {
    padding: 0.5rem;
}

.scan-phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.scan-phone-header i {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.scan-viewfinder {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(139, 92, 246, 0.08));
    border-radius: var(--r-md);
    overflow: hidden;
}

.scan-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--purple);
    border-style: solid;
    border-width: 0;
}

.scan-corner-tl {
    top: 6px;
    left: 6px;
    border-top-width: 2.5px;
    border-left-width: 2.5px;
    border-top-left-radius: 4px;
}

.scan-corner-tr {
    top: 6px;
    right: 6px;
    border-top-width: 2.5px;
    border-right-width: 2.5px;
    border-top-right-radius: 4px;
}

.scan-corner-bl {
    bottom: 6px;
    left: 6px;
    border-bottom-width: 2.5px;
    border-left-width: 2.5px;
    border-bottom-left-radius: 4px;
}

.scan-corner-br {
    bottom: 6px;
    right: 6px;
    border-bottom-width: 2.5px;
    border-right-width: 2.5px;
    border-bottom-right-radius: 4px;
}

.scan-viewfinder .scan-demo-line {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    box-shadow: 0 0 12px var(--purple);
    animation: scan-sweep 2.5s ease-in-out infinite;
}

.scan-detected-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.detected-line {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 3px;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--purple);
    white-space: nowrap;
    animation: detected-pulse 3s ease-in-out infinite;
}

.dl-2 {
    animation-delay: 0.3s;
}

.dl-3 {
    animation-delay: 0.6s;
}

@keyframes detected-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.scan-phone-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--success);
}

.scan-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Auto-fill Card */
.scan-autofill-card {
    flex-shrink: 0;
    width: 250px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: gentle-float 4s ease-in-out infinite;
}

.autofill-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
}

.autofill-card-header i {
    font-size: 0.85rem;
    color: var(--purple);
}

.autofill-badge {
    margin-left: auto;
    padding: 2px 6px;
    background: var(--success-bg);
    color: var(--success);
    border-radius: var(--r-full);
    font-size: 0.6rem;
    font-weight: 700;
}

.autofill-fields {
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.autofill-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.autofill-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.autofill-value {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.25rem 0.4rem;
    background: var(--bg-secondary);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}

.autofill-field.filled .autofill-value {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--brand);
}

.autofill-value.placeholder {
    color: var(--text-tertiary);
    font-style: italic;
}

.scan-demo-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scan-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 600;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    animation: tag-float 3s ease-in-out infinite;
}

.scan-tag i {
    font-size: 0.85rem;
    color: var(--purple);
}

.tag-float-1 {
    top: -2%;
    right: 0;
    animation-delay: 0s;
}

.tag-float-2 {
    bottom: 22%;
    right: -5%;
    animation-delay: 0.5s;
}

.tag-float-3 {
    bottom: 2%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes tag-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes scan-sweep {

    0%,
    100% {
        top: 10%;
    }

    50% {
        top: 85%;
    }
}

/* ══ QR Fulfillment Visual ══ */
.qr-fulfillment-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem;
    width: 100%;
    max-width: 560px;
}

/* QR Code Card */
.qr-code-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.qr-code-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.qr-code-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Source Code Pro', monospace;
}

.qr-code-badge {
    padding: 2px 8px;
    background: var(--success-bg);
    color: var(--success);
    border-radius: var(--r-full);
    font-size: 0.6rem;
    font-weight: 700;
}

.qr-code-body {
    position: relative;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-subtle);
    flex: 1;
}

.qr-code-body .qr-icon-large {
    width: 100%;
    height: auto;
    max-width: 140px;
}

.qr-code-body .qr-scan-sweep {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    box-shadow: 0 0 14px var(--brand);
    border-radius: var(--r-xs);
    animation: qr-sweep 2.8s ease-in-out infinite;
}

@keyframes qr-sweep {

    0%,
    100% {
        top: 5%;
        opacity: 0.6;
    }

    50% {
        top: 90%;
        opacity: 1;
    }
}

/* Shipment Tracking Card */
.shipment-tracking-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem;
}

.shipment-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.shipment-card-header i {
    font-size: 0.9rem;
    color: var(--brand);
}

.shipment-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.shipment-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.shipment-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.shipment-value {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tracking-num {
    font-family: 'Source Code Pro', monospace;
    color: var(--brand);
}

.shipment-progress {
    margin-top: 0.5rem;
}

.shipment-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.shipment-progress-fill {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--success));
    border-radius: var(--r-full);
    animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.shipment-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.shipment-progress-labels .sp-done {
    color: var(--brand);
    font-weight: 600;
}

.shipment-progress-labels .sp-active {
    color: var(--success);
    font-weight: 700;
}

/* Packing Slip Card */
.packing-slip-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem;
}

.packing-slip-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.packing-slip-header i {
    font-size: 0.85rem;
    color: var(--purple);
}

.packing-slip-items {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.packing-slip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.packing-slip-item+.packing-slip-item {
    border-top: 1px dashed var(--border);
    padding-top: 0.3rem;
}

.ps-item-name {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.ps-item-qty {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Source Code Pro', monospace;
}

/* ── Operations Chips ── */
.ops-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
}

.ops-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ops-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.ops-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ops-chip-icon.teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.ops-chip-icon.orange {
    background: var(--warning-bg);
    color: var(--warning);
}

.ops-chip-icon.pink {
    background: var(--danger-bg);
    color: #be185d;
}

.ops-chip-icon.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.ops-chip-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.ops-chip-icon.green {
    background: var(--success-bg);
    color: var(--success);
}

.ops-chip-icon.red {
    background: var(--danger-bg);
    color: var(--danger);
}

.ops-chip-icon.indigo {
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
}

.ops-chip-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ops-chip-text strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ops-chip-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Feature Row Responsive ── */
@media (max-width: 1024px) {

    /* Fix slide positioning — use relative flow on mobile instead of absolute centering */
    .feature-carousel-track {
        height: auto !important;
    }

    .feature-slide {
        position: relative;
        top: auto;
        transform: none;
        height: 0;
        overflow: hidden;
        opacity: 0 !important;
    }

    .feature-slide.active {
        height: auto;
        overflow: visible;
        transform: none;
        opacity: 1 !important;
    }

    .feature-slide.exit-left {
        transform: none;
    }

    .feature-row {
        flex-direction: column !important;
        gap: 1.25rem;
        padding: 3rem 0;
    }

    /* Override carousel-specific flex values so it stacks on mobile */
    .feature-carousel .feature-row {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 0.5rem 0;
    }

    .feature-carousel .feature-row-text {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
    }

    .feature-carousel .feature-row-visual {
        flex: 1 1 auto;
        width: 100%;
    }

    .feature-carousel {
        padding: 2rem 1.75rem 1.25rem;
    }

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

    .feature-row-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-row-highlights {
        align-items: center;
    }

    .feature-row-steps {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ops-chips {
        max-width: 100%;
    }

    .scan-demo {
        flex-wrap: wrap;
        max-width: min(100%, 560px);
        min-height: auto;
        gap: 1rem;
    }

    .feature-carousel .scan-demo {
        max-height: none;
    }

    .scan-phone-mockup {
        width: clamp(180px, 34vw, 220px);
    }

    .scan-autofill-card {
        width: min(260px, 100%);
        animation: none;
    }

    .scan-demo-tags {
        display: none;
    }

    .qr-fulfillment-visual {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .packing-slip-card,
    .shipment-tracking-card,
    .qr-code-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0 20px;
    }

    .feature-header h2 {
        font-size: 1.75rem;
    }

    .feature-header p {
        font-size: 0.95rem !important;
    }

    .feature-carousel {
        padding: 1.5rem 1.25rem 1rem;
        border-radius: var(--r-xl);
    }

    .feature-carousel .scan-demo {
        max-height: none;
    }

    .scan-demo {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
        align-items: center;
    }

    .scan-phone-mockup {
        width: 180px;
    }

    .scan-autofill-card {
        width: 100%;
        max-width: 260px;
        animation: none;
    }

    .scan-demo-tags {
        display: none;
    }

    .qr-fulfillment-visual {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .qr-code-card {
        grid-row: auto;
    }

    .qr-code-body .qr-icon-large {
        max-width: 100px;
    }

    .ops-chips {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .ops-chip {
        padding: 0.75rem 1rem;
    }

    .feature-row-steps {
        gap: 0.35rem;
    }

    .flow-step {
        padding: 0.5rem 0.75rem;
        min-width: 56px;
    }

    .flow-step i {
        font-size: 1.1rem;
    }

    .flow-step span {
        font-size: 0.68rem;
    }

    .flow-arrow {
        width: 14px;
    }

    .feature-carousel-nav {
        gap: 2rem;
        margin-top: 1rem;
    }

    .feature-carousel-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .feature-carousel {
        padding: 1.25rem 1rem 0.75rem;
    }

    .feature-row-text h3 {
        font-size: 1.3rem;
    }

    .feature-row-text p {
        font-size: 0.92rem;
    }

    .scan-phone-mockup {
        width: 160px;
    }

    .scan-autofill-card {
        max-width: 220px;
    }

    .qr-fulfillment-visual {
        max-width: 240px;
    }

    .feature-highlight {
        font-size: 0.82rem;
    }
}

/* Slide animation keyframes */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Modern Bento Grid */
.bento-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
    width: 100%;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
    overflow: hidden;
}

.bento-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bento-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    background: var(--bg);
}

.icon-blue {
    color: var(--brand);
    background: var(--brand-subtle);
}

.icon-purple {
    color: var(--purple);
    background: var(--purple-bg);
}

.icon-green {
    color: var(--success);
    background: var(--success-bg);
}

.icon-orange {
    color: var(--warning);
    background: var(--warning-bg);
}

.icon-teal {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
}

.icon-pink {
    color: #be185d;
    background: var(--danger-bg);
}

/* Grid Layout Spanning */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 3rem;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.bento-large .bento-content {
    width: 50%;
    justify-content: center;
}

.bento-large .bento-visual {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bento-large-reverse {
    flex-direction: row-reverse;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Animations for visuals inside Bento */
.scan-reticle {
    width: 120px;
    height: 120px;
    border: 2px solid var(--purple);
    border-radius: var(--r-lg);
    position: relative;
    animation: pulse-reticle 2s infinite;
}

.scan-reticle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    right: -10%;
    height: 2px;
    background: var(--purple);
    box-shadow: 0 0 10px var(--purple);
    animation: scan-line 2s ease-in-out infinite alternate;
}

@keyframes pulse-reticle {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes scan-line {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}

.analytics-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    width: 100%;
    padding: 0 20px;
}

.a-bar {
    flex: 1;
    background: var(--brand);
    border-radius: var(--r-xs) var(--r-xs) 0 0;
    opacity: 0.8;
    transition: height 1s ease;
    animation: bar-grow 1.5s ease backwards;
}

.a-bar:nth-child(even) {
    background: var(--info);
}

.a-bar:nth-child(1) {
    animation-delay: 0.1s;
}

.a-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.a-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.a-bar:nth-child(4) {
    animation-delay: 0.4s;
}

.a-bar:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes bar-grow {
    from {
        height: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-features {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }

    .bento-large {
        grid-column: span 2;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .bento-large .bento-content,
    .bento-large .bento-visual {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .bento-features {
        grid-template-columns: 1fr;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

/* CTA */
.simple-cta {
    padding: 100px 0;
    text-align: center;
}

.simple-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background: #3d3d4e;
    padding: 3rem 0 1.5rem;
    color: #fff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        text-align: center;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-visual {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-pill {
        display: none;
    }

    .nav-buttons .btn-outline {
        display: none;
    }
}

/* Icon Circles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.icon-circle.icon-blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.icon-circle.icon-purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.icon-circle.icon-green {
    background: var(--success-bg);
    color: var(--success);
}

.icon-circle.icon-orange {
    background: var(--warning-bg);
    color: var(--warning);
}

.icon-circle.icon-teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.icon-circle.icon-pink {
    background: var(--danger-bg);
    color: var(--danger);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: var(--brand-subtle);
    color: var(--brand-text);
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   Inventory Management Section
   ═══════════════════════════════════════════ */
.inv-section {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.inv-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    align-items: center;
}

/* Left Column */
.inv-left h2 {
    font-size: 2.25rem;
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.inv-left>p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 460px;
}

/* Status Workflow Pipeline */
.inv-workflow {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}

.inv-flow-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--r-sm);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.inv-flow-step i {
    font-size: 0.85rem;
}

.inv-flow-step.inv-received {
    background: var(--success-bg);
    color: var(--success);
}

.inv-flow-step.inv-stored {
    background: var(--brand-subtle);
    color: var(--brand);
}

.inv-flow-step.inv-transit {
    background: var(--warning-bg);
    color: var(--warning);
}

.inv-flow-step.inv-shipped {
    background: var(--purple-bg);
    color: var(--purple);
}

.inv-flow-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border-strong), var(--border));
    min-width: 12px;
    margin: 0 0.15rem;
    position: relative;
}

.inv-flow-connector::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid var(--border-strong);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

/* Highlight Cards */
.inv-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.inv-highlight-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all 0.25s ease;
}

.inv-highlight-card:hover {
    border-color: var(--brand-ring);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.inv-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.inv-highlight-icon.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.inv-highlight-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.inv-highlight-icon.teal {
    background: rgba(13, 148, 136, 0.08);
    color: #0d9488;
}

.inv-highlight-icon.orange {
    background: var(--warning-bg);
    color: #d97706;
}

.inv-highlight-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.inv-highlight-text strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.inv-highlight-text span {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* Right Column — Inventory Table Demo */
.inv-right {
    position: relative;
}

.inv-right {
    perspective: 1200px;
}

.inv-table-demo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.inv-table-demo:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1);
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.12), 0 12px 24px rgba(15, 23, 42, 0.06);
}

/* Mini Toolbar */
.inv-demo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.inv-demo-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.78rem;
    color: var(--text-muted);
    min-width: 180px;
}

.inv-demo-search i {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.inv-demo-actions {
    display: flex;
    gap: 0.5rem;
}

.inv-demo-filter,
.inv-demo-bulk {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    cursor: default;
}

/* Table Header */
.inv-demo-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 0.8fr 0.6fr;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.inv-demo-header span {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* Table Rows */
.inv-demo-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 0.8fr 0.6fr;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
    transition: background 0.15s ease;
}

.inv-demo-row:hover {
    background: var(--brand-muted);
}

.inv-demo-row:last-of-type {
    border-bottom: none;
}

.inv-col-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.inv-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.inv-item-dot.blue {
    background: var(--brand);
}

.inv-item-dot.green {
    background: var(--success);
}

.inv-item-dot.orange {
    background: var(--warning);
}

.inv-item-dot.purple {
    background: var(--purple);
}

.inv-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.inv-item-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.inv-col-sku {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    font-weight: 500;
}

.inv-col-loc {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.inv-col-qty {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

/* Status Badges */
.inv-status {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.inv-status.stored {
    background: var(--brand-subtle);
    color: var(--brand);
}

.inv-status.received {
    background: var(--success-bg);
    color: var(--success);
}

.inv-status.transit {
    background: var(--warning-bg);
    color: #b45309;
}

.inv-status.shipped {
    background: var(--purple-bg);
    color: var(--purple);
}

/* Custom Fields Peek */
.inv-demo-custom-fields {
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inv-cf-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.inv-cf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.inv-cf-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
}

.inv-cf-tag i {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
    .inv-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .inv-left>p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .inv-section {
        padding: 60px 0;
    }

    .inv-left h2 {
        font-size: 1.75rem;
    }

    .inv-workflow {
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: center;
    }

    .inv-flow-connector {
        min-width: 8px;
    }

    .inv-demo-header,
    .inv-demo-row {
        grid-template-columns: 2fr 0.8fr 0.8fr;
    }

    .inv-col-loc,
    .inv-col-qty {
        display: none;
    }

    .inv-demo-header .inv-col-loc,
    .inv-demo-header .inv-col-qty {
        display: none;
    }

    .inv-demo-custom-fields {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .inv-flow-connector {
        display: none;
    }

    .inv-workflow {
        gap: 0.3rem;
    }

    .inv-highlights {
        gap: 0.5rem;
    }

    .inv-highlight-card {
        padding: 0.65rem 0.75rem;
    }
}

/* ═══════════════════════════════════════════
   Security & Compliance Section
   ═══════════════════════════════════════════ */
.security-section {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.security-bg-grid {
    display: none;
}

.security-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.security-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
}

.security-badge i {
    font-size: 0.9rem;
}

.security-header h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.security-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Security Card Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.security-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: var(--brand-ring);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.security-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--brand-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.security-card-icon i {
    font-size: 1.15rem;
    color: var(--brand);
}

.security-card strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.security-card span {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* Compliance Badge Strip */
.compliance-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compliance-badge>i {
    font-size: 1.4rem;
    color: var(--brand);
}

.compliance-badge strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.compliance-badge span {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

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

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

    .compliance-strip {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .compliance-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .security-section {
        padding: 60px 0;
    }

    .security-header h2 {
        font-size: 1.75rem;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .compliance-strip {
        padding: 1rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .compliance-badge {
        flex: 1;
        min-width: 140px;
    }
}

/* ═══════════════════════════════════════════
   Why Oryn Section
   ═══════════════════════════════════════════ */
.why-oryn-section {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
}

.why-oryn-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.why-oryn-header h2 {
    font-size: 2.25rem;
    margin: 0.5rem 0 0.6rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.why-oryn-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.why-oryn-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.25s ease;
    position: relative;
}

.why-card:hover {
    border-color: var(--brand-ring);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.why-card-num {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

.why-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.why-card-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.why-card-icon.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.why-card-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.why-card-icon.teal {
    background: rgba(13, 148, 136, 0.08);
    color: #0d9488;
}

.why-card-icon.orange {
    background: var(--warning-bg);
    color: #d97706;
}

.why-card-icon.pink {
    background: var(--danger-bg);
    color: var(--danger);
}

.why-card-icon.green {
    background: var(--success-bg);
    color: var(--success);
}

.why-card-body strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.why-card-body span {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.45;
}

/* Why Oryn Responsive */
@media (max-width: 1200px) {
    .why-oryn-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-oryn-section {
        padding: 60px 0;
    }

    .why-oryn-header h2 {
        font-size: 1.75rem;
    }

    .why-oryn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .why-oryn-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .why-card {
        flex-direction: row;
        align-items: center;
        gap: 0.85rem;
        padding: 1rem;
    }

    .why-card-num {
        writing-mode: vertical-lr;
        transform: rotate(180deg);
    }
}

/* Analytics Section */
/* ═══════ Analytics Section V2 — Split + Mini Bento ═══════ */
.analytics-section-v2 {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
}

/* Split Layout */
.analytics-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

/* Left Text Column */
.analytics-left h2 {
    font-size: 2.25rem;
    margin: 0.5rem 0 0.6rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.analytics-left>p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.analytics-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.analytics-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.analytics-pill i {
    font-size: 0.9rem;
    color: var(--brand);
}

.analytics-pill:hover {
    border-color: var(--brand);
    color: var(--brand-text);
    background: var(--brand-subtle);
}

/* Right Mini Bento — 2×2 Grid */
.analytics-mini-bento {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.85rem;
    position: relative;
}

/* Card Base */
.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: var(--border-strong);
}

/* Card Header */
.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.bento-card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.bento-card-title>span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.bento-icon-sm {
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.bento-icon-sm.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.bento-icon-sm.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.bento-icon-sm.green {
    background: var(--success-bg);
    color: var(--success);
}

.bento-icon-sm.orange {
    background: var(--warning-bg);
    color: var(--warning);
}

.bento-icon-sm.teal {
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
}

.bento-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--r-xs);
}

.bento-badge.positive {
    background: var(--success-bg);
    color: var(--success);
}

/* ── Trend Card (spans 2 columns) ── */
.bento-trend {
    grid-column: 1 / 3;
}

.bento-chart-area {
    height: 70px;
    margin-bottom: 0.85rem;
    position: relative;
}

.chart-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #3B82F6;
    left: 80%;
    top: 22%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.bento-line-chart {
    width: 100%;
    height: 100%;
    display: block;
}

.bento-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.7rem;
}

.bento-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.bento-stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 0.15rem;
}

/* ── Forecast Card ── */
.bento-forecast-bars {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
}

.forecast-bar-group {
    display: grid;
    grid-template-columns: 44px 1fr 40px;
    align-items: center;
    gap: 0.6rem;
}

.forecast-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.forecast-track {
    height: 8px;
    background: var(--border-subtle);
    border-radius: var(--r-full);
    overflow: hidden;
}

.forecast-fill {
    height: 100%;
    border-radius: var(--r-full);
    background: var(--brand);
    transition: width 1s var(--ease);
}

.forecast-fill.mid {
    background: var(--purple);
}

.forecast-fill.high {
    background: var(--success);
}

.forecast-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.bento-card-footnote {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Storage Donut Card ── */
.bento-donut-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0.25rem auto 0.5rem;
}

.bento-donut {
    width: 100%;
    height: 100%;
}

.bento-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.1;
}

.bento-donut-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.bento-donut-label {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-donut-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.bento-donut-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-sm {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-sm.blue {
    background: #3B82F6;
}

.dot-sm.purple {
    background: #8B5DC0;
}

/* ── Dwell Time Card ── */
.bento-dwell-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dwell-row {
    display: grid;
    grid-template-columns: 30px 1fr 48px;
    align-items: center;
    gap: 0.5rem;
}

.dwell-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dwell-track {
    height: 7px;
    background: var(--border-subtle);
    border-radius: var(--r-full);
    overflow: hidden;
}

.dwell-fill {
    height: 100%;
    border-radius: var(--r-full);
    background: var(--success);
    transition: width 1s var(--ease);
}

.dwell-fill.warn {
    background: var(--warning);
}

.dwell-fill.danger {
    background: var(--danger);
}

.dwell-count {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
    color: var(--success);
}

.dwell-count.warn-text {
    color: var(--warning);
}

.dwell-count.danger-text {
    color: var(--danger);
}

/* ── Reports Card ── */
.bento-reports {
    grid-column: 2 / 4;
}

.bento-report-stack {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    background: var(--bg);
    border-radius: var(--r-md);
    transition: background 0.2s ease;
}

.report-item:hover {
    background: var(--brand-subtle);
}

.report-item>i {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.report-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.report-info strong {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.report-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.report-status {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: var(--r-xs);
    flex-shrink: 0;
}

.report-status.active {
    background: var(--success-bg);
    color: var(--success);
}

/* ── Alert Card ── */
.bento-icon-sm.red {
    background: var(--danger-bg);
    color: var(--danger);
}

.bento-badge.alert-badge {
    background: var(--danger-bg);
    color: var(--danger);
}

.bento-alert-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    background: var(--bg);
    border-radius: var(--r-md);
    margin-top: 0.25rem;
}

.bento-alert-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--danger);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.bento-alert-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.bento-alert-title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.bento-alert-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.bento-alert-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ── Analytics Split Responsive ── */
@media (max-width: 1024px) {
    .analytics-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .analytics-pill-list {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .analytics-mini-bento {
        grid-template-columns: 1fr;
    }

    .bento-trend {
        grid-column: auto;
    }

    .analytics-left h2 {
        font-size: 1.75rem;
    }
}

.analytics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.analytics-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.analytics-text>p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.analytics-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analytics-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.analytics-feature>i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.analytics-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.analytics-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Analytics Visual - Staggered Layout */
.analytics-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Give it some breathing room for floating elements */
    padding: 2rem;
}

.analytics-stagger-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-card {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: absolute;
    transition: all 0.5s var(--ease);
    border: 1px solid var(--border);
}

.main-card {
    position: relative;
    /* In flow */
    width: 100%;
    z-index: 10;
    padding-bottom: 2rem;
}

.secondary-card {
    width: 280px;
    top: -140px;
    left: -60px;
    z-index: 5;
    padding: 1.5rem;
    opacity: 0.95;
    transform: scale(0.98) rotate(-3deg);
}

.tertiary-card {
    width: 300px;
    bottom: -50px;
    right: -60px;
    z-index: 20;
    /* Above main */
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    animation: float-y 5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Hover Stagger Effects */
.analytics-stagger-wrapper:hover .secondary-card {
    transform: translateX(-10px) rotate(-5deg) scale(0.95);
    filter: blur(0);
    opacity: 1;
    z-index: 11;
    /* Pop out on hover if desired, or keep behind */
}

.analytics-stagger-wrapper:hover .tertiary-card {
    transform: translateY(-5px);
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.analytics-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.analytics-chart-header span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.chart-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--r-xs);
}

.chart-badge.positive {
    background: var(--success-bg);
    color: var(--success);
}

.chart-placeholder {
    height: 100px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.chart-line {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line polyline {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2.5s ease-out;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.chart-line.animate polyline {
    stroke-dashoffset: 0;
}

/* Donut Chart Styles */
.donut-chart-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0.75rem auto 1.25rem;
}

.donut-chart {
    transform: rotate(-90deg);
}

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1;
}

.donut-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
}

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

.mini-legend {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.blue {
    background-color: #2563eb;
}

.dot.purple {
    background-color: #7c3aed;
}

/* Alert Card Styles */
.alert-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    background: var(--danger-bg);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.alert-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.alert-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.alert-time {
    font-size: 0.7rem;
    color: #9ca3af;
    align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .analytics-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .analytics-visual {
        margin-top: 2rem;
        /* Ensure space */
        min-height: 400px;
    }

    /* On tablet, keep staggered but adjust positioning */
    .secondary-card {
        left: -40px;
    }

    .tertiary-card {
        right: -20px;
    }
}

@media (max-width: 640px) {
    .analytics-visual {
        min-height: auto;
        padding: 0;
    }

    .analytics-stagger-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .analytics-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        transform: none !important;
        margin: 0 !important;
        max-width: 340px;
    }

    .secondary-card,
    .tertiary-card {
        width: 100%;
        display: none;
        /* Hide complexity on very small screens, or stack them */
    }

    /* Maybe show the secondary card stacked? Let's just hide for simplicity or show if space allows. 
       Actually, let's show the secondary card stacked for better context if possible, 
       but standard behavior for "visuals" is to simplify. 
       Let's display: none for simplicity as per common landing page practices on mobile.
    */
    .secondary-card {
        display: none;
    }

    .tertiary-card {
        display: flex;
        width: 100%;
        margin-top: -1rem;
        z-index: 20;
        animation: none;
    }
}

/* Background Blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
    transition: transform 0.1s linear;
    /* Smooth follow */
}

body::before {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(var(--blob-bg-1-x, 0px), var(--blob-bg-1-y, 0px));
}

body::after {
    bottom: 0;
    right: -100px;
    background: radial-gradient(circle, rgba(139, 93, 192, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(var(--blob-bg-2-x, 0px), var(--blob-bg-2-y, 0px));
}

/* =========================================================================
   8. ROI CALCULATOR V2
   ========================================================================= */
.roi-section-v2 {
    position: relative;
    padding: 100px 0;
    background: #FFFFFF;
    overflow: hidden;
}

/* Subtle dot grid overlay */
.roi-v2-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.5;
}

/* Ambient glows */
.roi-v2-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.4;
}

.roi-v2-glow-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.roi-v2-glow-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

/* Header */
.roi-v2-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3.5rem;
}

.roi-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-ring);
    margin-bottom: 1.25rem;
}

.roi-v2-badge i {
    font-size: 0.85rem;
}

.roi-v2-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.roi-v2-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Main Card */
.roi-v2-card {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.04),
        0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Inputs Column */
.roi-v2-inputs {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-v2-control-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.roi-v2-control-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.roi-v2-control-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: var(--brand-subtle);
    color: var(--brand);
}

.roi-v2-control-label span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.roi-v2-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand);
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
    min-width: 50px;
    text-align: right;
}

/* Custom Slider */
.roi-v2-slider-wrap {
    position: relative;
}

.roi-v2-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: var(--r-full);
    outline: none;
    cursor: pointer;
}

.roi-v2-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.15),
        0 2px 6px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s var(--ease), box-shadow 0.15s ease;
}

.roi-v2-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 0 6px rgba(37, 99, 235, 0.18),
        0 2px 8px rgba(15, 23, 42, 0.15);
}

.roi-v2-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

.roi-v2-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: var(--brand);
    cursor: pointer;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.15),
        0 2px 6px rgba(15, 23, 42, 0.12);
}

.roi-v2-slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Assumption note */
.roi-v2-assumption {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: var(--r-md);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-ring);
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.roi-v2-assumption i {
    color: var(--brand);
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.roi-v2-assumption strong {
    color: var(--brand-text);
}

/* Vertical Divider */
.roi-v2-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* Results Column */
.roi-v2-results {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    background: var(--brand-subtle);
}

.roi-v2-savings-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.roi-v2-savings-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.roi-v2-big-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.03em;
    color: var(--brand-pressed);
    transition: transform 0.15s var(--ease);
}

.roi-v2-big-number.bump {
    transform: scale(1.05);
}

/* Stat Breakdowns */
.roi-v2-stats-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.roi-v2-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--border);
}

.roi-v2-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.roi-v2-stat-icon.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.roi-v2-stat-icon.green {
    background: var(--success-bg);
    color: var(--success);
}

.roi-v2-stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.roi-v2-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
}

.roi-v2-stat-label {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* CTA Button */
.roi-v2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #FFFFFF;
    background: var(--brand);
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.25s var(--ease);
}

.roi-v2-cta:hover {
    background: var(--brand-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.roi-v2-cta i {
    transition: transform 0.2s ease;
}

.roi-v2-cta:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .roi-v2-card {
        grid-template-columns: 1fr;
    }

    .roi-v2-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
    }

    .roi-v2-inputs,
    .roi-v2-results {
        padding: 2rem 1.5rem;
    }

    .roi-v2-big-number {
        font-size: 2.75rem;
    }

    .roi-v2-header h2 {
        font-size: 2rem;
    }
}


/* =========================================================================
   9. STICKY CONTACT BAR
   ========================================================================= */
.sticky-bar {
    position: fixed;
    bottom: 2rem;
    /* Floating slightly above bottom */
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
    /* Let clicks pass through the invisible wrapper */
}

.sticky-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    /* Re-enable clicks on the bar itself */
}

.sticky-bar-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sticky-bar-text {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sticky-stars {
    display: flex;
    gap: 0.2rem;
    color: #FBBF24;
    /* Yellow/Gold */
    font-size: 1.1rem;
}

.sticky-bar-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.sticky-bar-text strong {
    color: var(--text-color);
    font-weight: 700;
    font-family: var(--font-display);
}

.sticky-bar-action {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sticky-bar {
        display: none !important;
    }
}

/* Shrink / Expand Button */
.sticky-bar-shrink,
.sticky-bar-expand {
    background: none;
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sticky-bar-shrink:hover,
.sticky-bar-expand:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

/* Collapsed Mini Bar */
.sticky-bar-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    width: fit-content;
    margin-left: auto;
}


.analytics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

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

.stat-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* ═══════ Workforce Insights Section ═══════ */
.workforce-section {
    padding: 100px 0;
    background: var(--surface);
}

/* Split Layout */
.wf-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Left Panel */
.wf-left h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0.6rem 0 0.75rem;
    letter-spacing: -0.025em;
}

.wf-left>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 380px;
}

/* Stat Row */
.wf-stat-row {
    display: flex;
    gap: 1.5rem;
}

.wf-stat {
    display: flex;
    flex-direction: column;
}

.wf-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    font-family: var(--font-heading);
}

.wf-stat-label {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Right Panel: Timeline Modules */
.wf-modules {
    display: flex;
    flex-direction: column;
    perspective: 1200px;
}

/* Override stagger animation for wf-modules to preserve 3D skew */
.wf-modules.stagger-children.visible>.wf-module {
    animation: stagger-enter-3d 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0;
}

@keyframes stagger-enter-3d {
    from {
        opacity: 0;
        transform: translateY(20px) rotateY(-8deg) rotateX(4deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    }
}

.wf-module {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
    cursor: default;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    margin-bottom: 1rem;
    box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    transform-style: preserve-3d;
}

.wf-module:not(:last-child) {
    margin-bottom: 1rem;
}

.wf-module:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1);
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.12), 0 12px 24px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: var(--border-strong);
}

/* Module Color Accents — removed, uniform border all around */

/* Module Icon — now a timeline dot */
.wf-mod-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.25s var(--ease);
}

.wf-module:hover .wf-mod-icon {
    transform: scale(1.12);
}

.wf-module.blue .wf-mod-icon {
    background: #EFF6FF;
    color: #2563EB;
}

.wf-module.purple .wf-mod-icon {
    background: #F3EAFC;
    color: #7C3AED;
}

.wf-module.green .wf-mod-icon {
    background: #EEFBF4;
    color: #059669;
}

.wf-module.orange .wf-mod-icon {
    background: #FEF6EC;
    color: #D97706;
}

/* Module Text */
.wf-mod-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.wf-mod-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.wf-mod-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Rotating Text Fade */
.wf-rotating-text {
    display: inline-block;
    transition: opacity 0.5s ease;
}

.wf-rotating-text.fade-out {
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wf-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .wf-left>p {
        max-width: none;
    }

    .wf-stat-row {
        justify-content: center;
    }

    .wf-module {
        text-align: left;
    }
}

/* Mobile Section */
.mobile-section {
    padding: 50px 0;
    background: var(--surface);
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: var(--r-2xl);
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #faf9f7;
    border-radius: var(--r-2xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.app-header i {
    font-size: 1.25rem;
}

.scan-preview {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.scan-preview i {
    font-size: 3rem;
    color: var(--accent-primary);
}

.scan-preview span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.app-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.app-stat {
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--r-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.mobile-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.mobile-text>p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.mobile-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.mobile-features i {
    color: var(--success);
    font-size: 1.25rem;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    position: relative;
}

.pricing-card.featured {
    background: var(--surface);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
    overflow: visible;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--r-sm);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 0.5rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

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

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--success);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--surface);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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


.cta-section .btn-outline {
    border-color: var(--border-strong);
    color: var(--text-secondary);
}

.cta-section .btn-outline:hover {
    background: var(--brand-subtle);
    border-color: var(--brand);
    color: var(--brand);
}

/* Responsive - New Sections */
@media (max-width: 1024px) {
    .advanced-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .analytics-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .advanced-grid {
        grid-template-columns: 1fr;
    }

    .mobile-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mobile-visual {
        order: 1;
    }

    .mobile-text {
        order: 2;
        text-align: center;
    }

    .mobile-features {
        align-items: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Flexible & Scalable Section - Horizontal Card Style */
.flexible-section {
    padding: 60px 0;
    background: var(--surface);
}

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

.flexible-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--r-xl);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flexible-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.flexible-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flexible-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

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

/* ═══════ FLEXIBLE & SCALABLE — DASHBOARD STYLE ═══════ */
.unloaded-section {
    padding: 100px 0;
    background: var(--bg);
}

.unloaded-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.unloaded-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.unloaded-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Card Base Styles */
.unloaded-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}

.unloaded-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-text-content {
    padding: 2.5rem 2rem 1.5rem;
}

.unloaded-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.unloaded-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    color: var(--text-secondary);
}

/* Dark Card Variant — Pastel Blue */
.card-dark {
    background-color: #DBEAFE;
    color: var(--text-primary);
}

.card-dark h3 {
    color: var(--brand-pressed);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.card-dark p {
    color: var(--text-secondary);
}

/* Light Card Variant */
.card-light {
    background-color: var(--surface);
    color: var(--text-primary);
}

.card-light h3 {
    color: var(--text-primary);
}

.card-light p {
    color: var(--text-secondary);
}

/* Link Styles — Dashboard Brand */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--brand);
    transition: color 0.2s, gap 0.2s;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    color: var(--brand-pressed);
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

.card-dark .link-arrow,
.card-light .link-arrow {
    color: var(--brand);
    -webkit-text-fill-color: var(--brand);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.card-dark .link-arrow {
    color: var(--brand);
    -webkit-text-fill-color: var(--brand);
}

.card-dark .link-arrow:hover {
    color: var(--brand-pressed);
    -webkit-text-fill-color: var(--brand-pressed);
}

.card-light .link-arrow:hover {
    color: var(--brand-pressed);
    -webkit-text-fill-color: var(--brand-pressed);
}

/* Image Container */
.card-image-container {
    padding: 0 1.75rem 1.75rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-grow: 1;
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 300px;
}

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

    .unloaded-card:last-child {
        grid-column: span 2;
    }
}

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

    .unloaded-card:last-child {
        grid-column: auto;
    }

    .unloaded-header h2 {
        font-size: 2rem;
    }

    .unloaded-section {
        padding: 50px 0;
    }
}

/* Centered Mobile Section Redesign */
.mobile-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.mobile-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mobile-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Switcher */
.feature-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0 3rem;
    width: 100%;
}

.switcher-arrow {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.switcher-arrow:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.feature-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 300px;
    /* Prevent jumping */
    justify-content: center;
    transition: opacity 0.3s ease;
}

.feature-display.fade-out {
    opacity: 0;
}

.feature-icon {
    font-size: 1.25rem;
    color: #22c55e;
    /* Green check */
}

.mobile-visual-centered {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Ensure phone mockup sits nicely */
.phone-mockup-image-container {
    margin: 0 auto;
    max-width: 600px;
    /* Increased size again */
    position: relative;
    /* Mask for aggressive fade out ending at 60% */
    -webkit-mask-image: linear-gradient(to bottom, black 15%, transparent 60%);
    mask-image: linear-gradient(to bottom, black 15%, transparent 60%);

    /* Pull content up since bottom is transparent */
    margin-bottom: -60%;
    pointer-events: none;
    /* Allow clicks to pass through to content below */
}

.phone-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: add a subtle shadow or styling if needed, though mask might clip it */
}

/* ═══════ WHY CHOOSE — BENTO GRID ═══════ */
.why-choose-section {
    padding: 100px 0;
    background: var(--surface);
}

.wc-header {
    max-width: 520px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.wc-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.25;
}

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide-sm {
    grid-column: span 2;
}

/* ── Card base ── */
.bento-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Wide cards: horizontal layout */
.bento-wide,
.bento-wide-sm {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.bento-wide .bento-text,
.bento-wide-sm .bento-text {
    flex: 1;
    min-width: 0;
}

/* ── Icon badges ── */
.bento-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.bento-icon.blue {
    background: var(--brand-subtle);
    color: var(--brand);
}

.bento-icon.green {
    background: var(--success-bg);
    color: var(--success);
}

.bento-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.bento-icon.orange {
    background: var(--warning-bg);
    color: var(--warning);
}

.bento-icon.teal {
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
}

.bento-icon.pink {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ── Typography ── */
.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.bento-card p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
}

/* ═══════ VISUAL MICRO-ELEMENTS ═══════ */

/* QR Mock + Scan Line */
.bento-visual {
    flex-shrink: 0;
}

.bento-qr-mock {
    position: relative;
    width: 100px;
    height: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px;
    overflow: hidden;
}

.bento-qr-mock svg {
    width: 100%;
    height: 100%;
}

.bento-scan-line {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 10px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    border-radius: var(--r-xs);
    animation: scanMove 2.5s ease-in-out infinite;
}

@keyframes scanMove {

    0%,
    100% {
        top: 10px;
        opacity: 0.6;
    }

    50% {
        top: calc(100% - 12px);
        opacity: 1;
    }
}

/* Mobile: scan modes + activity */
.bento-scan-modes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 0.75rem;
}

.bento-scan-mode {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 0.35rem 0.65rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    transition: all 0.2s ease;
}

.bento-scan-mode i {
    font-size: 0.8rem;
}

.bento-scan-mode.active {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.2);
    font-weight: 600;
}

/* Activity feed */
.bento-mobile-activity {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: auto;
    padding-top: 0.5rem;
}

.bento-activity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.bento-activity-row:last-child {
    border-bottom: none;
}

.bento-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bento-activity-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bento-activity-time {
    font-size: 0.62rem;
    color: var(--text-faint);
    font-weight: 500;
    flex-shrink: 0;
}

.bento-phone-bar {
    height: 6px;
    background: var(--border-subtle);
    border-radius: var(--r-xs);
    overflow: hidden;
}

.bento-bar-fill {
    display: block;
    height: 100%;
    border-radius: var(--r-xs);
    background: linear-gradient(90deg, var(--success), #4ADE80);
}

.bento-bar-fill.short {
    background: linear-gradient(90deg, var(--brand), #60A5FA);
}

.bento-bar-fill.shorter {
    background: linear-gradient(90deg, var(--purple), #A78BFA);
}

.bento-phone-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: pulse 1.8s ease-in-out infinite;
}

.green-dot {
    background: var(--success);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.bento-dot-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    letter-spacing: 0.02em;
}

/* Pick-Pack-Ship steps */
.bento-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.75rem;
}

.bento-step {
    padding: 0.25rem 0.6rem;
    border-radius: var(--r-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bento-step.done {
    background: var(--success-bg);
    color: var(--success);
}

.bento-step.active {
    background: var(--brand-subtle);
    color: var(--brand);
    animation: pulse 2s ease-in-out infinite;
}

.bento-step-arrow {
    font-size: 0.7rem;
    color: var(--text-faint);
}

/* Tenant dots */
.bento-tenants {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.75rem;
}

.bento-tenant {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.3rem 0.6rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
}

.bento-tenant-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Custom Field mockup */
.bento-field-demo {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bento-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    min-width: 70px;
}

.bento-field-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
}

.bento-field-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--mono);
}

/* Mini chart */
.bento-mini-chart {
    margin-top: auto;
    padding-top: 0.5rem;
}

.bento-mini-chart svg {
    width: 100%;
    height: 40px;
}

.bento-chart-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.bento-chart-up {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
}

.bento-chart-label {
    font-size: 0.7rem;
    color: var(--text-faint);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide,
    .bento-tall,
    .bento-wide-sm {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-wide,
    .bento-wide-sm {
        flex-direction: column;
        gap: 1rem;
    }

    .why-choose-section {
        padding: 50px 0;
    }

    .wc-header h2 {
        font-size: 1.65rem;
    }
}

/* Supercharge Your Business Section */
.supercharge-section {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.supercharge-bg-pattern {
    position: absolute;
    inset: -10% -10% -10% -10%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.supercharge-section .container {
    position: relative;
    z-index: 1;
}

.supercharge-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.supercharge-header .section-badge {
    margin-bottom: 1.25rem;
}

.supercharge-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.supercharge-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Platform Toggle Buttons */
.platform-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.platform-toggle {
    display: inline-flex;
    position: relative;
    background: var(--bg);
    padding: 0.35rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.toggle-slider {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    width: 190px;
    background: var(--surface);
    border-radius: var(--r-full);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    border: 1px solid var(--border-subtle);
}

/* Support dark mode inverted shadow */
@media (prefers-color-scheme: dark) {
    .toggle-slider {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

.platform-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    width: 190px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.platform-btn i {
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.platform-btn.active {
    color: var(--brand);
}

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

/* Slider Movement Logic */
.platform-btn:nth-of-type(1).active~.toggle-slider {
    transform: translateX(0);
}

.platform-btn:nth-of-type(2).active~.toggle-slider {
    transform: translateX(190px);
}

/* Platform Content Settings */
.platform-content {
    display: none;
    /* JS will toggle */
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
}

.platform-content.active {
    display: grid;
}

/* Platform Content Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes scaleInMockup {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes floatElementY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Triggered by JS class toggle */
.platform-content.active:not(.animating) .platform-visual {
    animation: scaleInMockup 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.platform-content.active:not(.animating) .platform-description {
    animation: fadeSlideUp 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

.platform-content.active:not(.animating) .feature-card {
    opacity: 0;
    animation: fadeSlideUp 0.4s ease-out forwards;
}

/* Stagger features */
.platform-content.active:not(.animating) .feature-card:nth-child(1) {
    animation-delay: 0.15s;
}

.platform-content.active:not(.animating) .feature-card:nth-child(2) {
    animation-delay: 0.22s;
}

.platform-content.active:not(.animating) .feature-card:nth-child(3) {
    animation-delay: 0.29s;
}

.platform-content.active:not(.animating) .feature-card:nth-child(4) {
    animation-delay: 0.36s;
}

.platform-content.active:not(.animating) .feature-card:nth-child(5) {
    animation-delay: 0.43s;
}

.platform-content.active:not(.animating) .feature-card:nth-child(6) {
    animation-delay: 0.50s;
}

/* Visual Side */
.platform-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.monitor-mockup-wrapper,
.phone-mockup-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.monitor-mockup-container {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.monitor-mockup-img,
.phone-mockup-img-new {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.phone-mockup-container {
    max-width: 280px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Glow effects behind mockups */
.mockup-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.mobile-glow {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent 75%);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--r-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    min-width: max-content;
    animation: floatElementY 4s ease-in-out infinite;
}

.float-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.float-text {
    display: flex;
    flex-direction: column;
}

.float-text strong {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.float-text span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

/* Float Positions */
.float-web-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.float-web-2 {
    bottom: 25%;
    right: -5%;
    animation-delay: 1.5s;
}

.float-mobile-1 {
    top: 25%;
    right: 15%;
    animation-delay: 0.5s;
}

.float-mobile-2 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

/* Platform Features Side */
.platform-features {
    text-align: left;
}

.platform-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Glassmorphic Feature Grid */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--surface);
    border-color: var(--border);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.feature-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Feature Colors matching dashboard styles */
.feature-card-icon.purple,
.float-icon.purple {
    background: var(--purple-bg, rgba(139, 92, 246, 0.1));
    color: var(--purple, #8b5cf6);
}

.feature-card-icon.blue,
.float-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.feature-card-icon.teal,
.float-icon.teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.feature-card-icon.pink,
.float-icon.pink {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.feature-card-icon.orange,
.float-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.feature-card-icon.green,
.float-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .platform-content {
        gap: 3rem;
    }

    .float-web-1 {
        left: -5%;
    }

    .float-web-2 {
        right: 0;
    }

    .float-mobile-1 {
        right: 5%;
    }

    .float-mobile-2 {
        left: 5%;
    }
}

@media (max-width: 900px) {
    .platform-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .platform-visual {
        order: 1;
    }

    .platform-features {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .feature-card {
        text-align: left;
    }

    .float-mobile-1 {
        right: 10%;
    }

    .float-mobile-2 {
        left: 10%;
    }
}

@media (max-width: 640px) {
    .supercharge-header h2 {
        font-size: 2.25rem;
    }

    .supercharge-section {
        padding: 60px 0;
    }

    .platform-toggle {
        padding: 0.25rem;
    }

    .platform-btn {
        width: 160px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .toggle-slider {
        width: 160px;
        top: 0.25rem;
        bottom: 0.25rem;
        left: 0.25rem;
    }

    .platform-btn:nth-of-type(2).active~.toggle-slider {
        transform: translateX(160px);
    }

    .floating-element {
        display: none;
        /* Hide floating elements on very small screens to avoid overflow */
    }
}

/* ═══════════════════════════════════════════════════
   DASHBOARD DESIGN LANGUAGE — LANDING PAGE OVERRIDES
   ═══════════════════════════════════════════════════ */

/* ═══════ HERO — DASHBOARD STYLE ═══════ */
.hero-dashboard {
    background:
        radial-gradient(ellipse 80% 50% at 70% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 70% 50% at 20% 75%, rgba(139, 92, 246, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 90% 45% at 50% 100%, rgba(59, 130, 246, 0.12) 0%, transparent 100%),
        linear-gradient(180deg,
            rgba(37, 99, 235, 0.08) 0%,
            rgba(37, 99, 235, 0.03) 30%,
            rgba(100, 80, 220, 0.04) 55%,
            rgba(59, 130, 246, 0.08) 80%,
            rgba(37, 99, 235, 0.14) 100%),
        var(--bg);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--nav-height) + 72px);
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 60px;
}

.hero-bg-pattern {
    position: absolute;
    inset: -100px;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 65% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 25% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse-bg 15s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.05) translate(-2%, 2%);
    }
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-subtle);
    color: var(--brand-text);
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.12);
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* Hero Text */
.hero-dashboard .hero-text {
    max-width: 560px;
}

.hero-dashboard h1 {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-dashboard p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 460px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.btn-cta-secondary {
    padding: 10px 2rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* TestFlight Notice */
.testflight-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--r-md);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    animation: enter 0.6s ease 0.4s both;
}

.testflight-notice i {
    font-size: 1rem;
    color: var(--brand);

}

.testflight-notice strong {
    color: var(--brand);
    font-weight: 700;
}

/* Hero KPI Row */
.hero-kpi-row {
    display: flex;
    gap: 1rem;
}

.hero-kpi {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px 16px;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s var(--ease);
    animation: enter 0.4s var(--ease) both;
}

.hero-kpi:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-kpi:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-kpi:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-kpi:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.hero-kpi-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-kpi-icon svg {
    width: 16px;
    height: 16px;
}

.hero-kpi-icon.brand {
    background: var(--brand-muted);
    color: var(--brand);
}

.hero-kpi-icon.info {
    background: var(--info-bg);
    color: var(--info);
}

.hero-kpi-icon.success {
    background: var(--success-bg);
    color: var(--success);
}

.hero-kpi-text {
    display: flex;
    flex-direction: column;
}

.hero-kpi-value {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-kpi-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ═══════ DASHBOARD PREVIEW VISUAL ═══════ */
.hero-visual-dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 400px;
    perspective: 1200px;
}

.kpi-float {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(0);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.kpi-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12) !important;
}

.kpi-float-1 {
    top: 5%;
    left: -30px;
    animation: float-1 6s ease-in-out infinite;
}

.kpi-float-2 {
    bottom: 25%;
    right: -40px;
    animation: float-1 7s ease-in-out infinite reverse;
}

.kpi-float-3 {
    top: 55%;
    left: -50px;
    animation: float-1 8s ease-in-out infinite 1s;
}

@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.dash-preview {
    width: 100%;
    max-width: 640px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: enter-3d 0.6s var(--ease) 0.1s both;
    transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    position: relative;
}

.dash-preview:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1);
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.12), 0 12px 24px rgba(15, 23, 42, 0.06);
}

@keyframes enter-3d {
    from {
        opacity: 0;
        transform: translateY(12px) rotateY(-8deg) rotateX(4deg) scale(0.92);
    }

    to {
        opacity: 1;
        transform: rotateY(-8deg) rotateX(4deg) scale(0.97);
    }
}

/* Subtle glow behind preview */
.dash-preview::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Mini Topbar */
.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.dash-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-logo-mini {
    width: 24px;
    height: 24px;
    background: var(--brand);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--brand-ring);
}

.dash-logo-mini svg {
    width: 13px;
    height: 13px;
    color: #fff;
}

.dash-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* Navigation Tabs */
.dash-nav-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
}

.dash-nav-tab {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: var(--r-xs);
    cursor: default;
    transition: all 0.15s ease;
}

.dash-nav-tab.active {
    color: var(--text-primary);
    background: var(--surface-hover, #f0f0f5);
    font-weight: 700;
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-search-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--surface-hover, #FCFCFD);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 4px 10px;
    font-size: 10px;
    color: var(--text-muted);
}

.dash-search-mini svg {
    width: 12px;
    height: 12px;
    color: var(--text-muted);
}

.dash-search-kbd {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    padding: 1px 4px;
    margin-left: 4px;
    font-family: var(--mono);
}

/* Notification Bell */
.dash-notif-bell {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.dash-notif-bell svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
}

.dash-notif-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid var(--surface);
}

.dash-avatar-mini {
    width: 26px;
    height: 26px;
    background: var(--brand-subtle);
    color: var(--brand-text);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
}

/* Dashboard KPI Row */
.dash-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 16px 8px;
}

.dash-kpi-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.dash-kpi {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 12px;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s var(--ease);
    animation: enter 0.4s var(--ease) both;
}

.dash-kpi:hover {
    border-color: var(--border-strong);
}

.dash-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dash-kpi-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.dash-kpi-icon {
    width: 22px;
    height: 22px;
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-kpi-icon svg {
    width: 12px;
    height: 12px;
}

.dash-kpi-icon.brand {
    background: var(--brand-muted);
    color: var(--brand);
}

.dash-kpi-icon.info {
    background: var(--info-bg);
    color: var(--info);
}

.dash-kpi-icon.success {
    background: var(--success-bg);
    color: var(--success);
}

.dash-kpi-icon.accuracy {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.dash-kpi-value {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.dash-kpi-foot {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.dash-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--r-xs);
}

.dash-tag.ok {
    background: var(--success-bg);
    color: var(--success);
}

.dash-sub {
    font-size: 9px;
    color: var(--text-muted);
}

/* ═══════ BOTTOM GRID: Chart + Right Column ═══════ */
.dash-bottom-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
    padding: 8px 16px 16px;
}

/* Inventory Movement Chart Card */
.dash-chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px;
    box-shadow: var(--shadow-xs);
}

.dash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dash-chart-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-chart-tabs {
    display: flex;
    gap: 2px;
    background: var(--surface-hover, #f0f0f5);
    border-radius: var(--r-xs);
    padding: 2px;
}

.dash-chart-tab {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--r-xs);
    cursor: default;
}

.dash-chart-tab.active {
    background: var(--surface);
    color: var(--brand);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.dash-chart-area {
    width: 100%;
    height: 120px;
    position: relative;
}

.dash-line-chart {
    width: 100%;
    height: 100%;
}

/* Right Column */
.dash-right-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Warehouse Health Cards */
.dash-wh-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 12px;
    box-shadow: var(--shadow-xs);
}

.dash-wh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.dash-wh-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-wh-pct {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.dash-wh-bar {
    height: 5px;
    background: var(--border-subtle);
    border-radius: var(--r-xs);
    overflow: hidden;
}

.dash-wh-fill {
    height: 100%;
    border-radius: var(--r-xs);
    background: var(--brand);
    width: 0%;
    transition: width 1.2s var(--ease);
}

.dash-wh-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 9px;
    color: var(--text-muted);
}

/* Recent Activity Card */
.dash-activity-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 12px;
    box-shadow: var(--shadow-xs);
}

.dash-activity-head {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dash-activity-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 10px;
    line-height: 1.4;
}

.dash-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

.dash-activity-dot.green {
    background: var(--success, #10b981);
}

.dash-activity-dot.blue {
    background: var(--brand, #3b82f6);
}

.dash-activity-dot.orange {
    background: #f59e0b;
}

.dash-activity-text {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-activity-time {
    flex-shrink: 0;
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
}

/* ═══════ REFRESHED FEATURE CARDS ═══════ */
.flat-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.flat-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flat-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-tertiary);
}

/* ═══════ REFRESHED SECTION HEADERS ═══════ */
.feature-header h2,
.supercharge-header h2,
.unloaded-header h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ═══════ REFRESHED PRICING CARDS ═══════ */
.pricing-card {
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xs);
    transition: all 0.2s var(--ease);
}

.pricing-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.pricing-card.featured {
    box-shadow: 0 10px 40px var(--brand-ring);
}

.pricing-card .amount {
    font-family: var(--mono);
}



/* ═══════ REFRESHED CTA ═══════ */
.cta-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border);
}

.cta-content h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ═══════ NAVBAR REFINEMENTS ═══════ */
.nav-content {
    border-radius: var(--r-xl);
}

/* ═══════ RESPONSIVE — DASHBOARD HERO ═══════ */
@media (max-width: 1100px) {
    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-dashboard h1 {
        font-size: 2.75rem;
    }

    .dash-preview {
        max-width: 480px;
    }

    .hero-kpi-row {
        gap: 0.6rem;
    }
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-dashboard .hero-text {
        max-width: 100%;
    }

    .hero-dashboard p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-kpi-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Keep hero text first on mobile, dashboard visual below */
    .hero-visual-dashboard {
        min-height: auto;
    }

    /* Hide floating glass KPIs — they overflow on narrow screens */
    .kpi-float {
        display: none;
    }

    .dash-preview {
        max-width: 520px;
        margin: 0 auto;
    }

    .testflight-notice {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-dashboard {
        padding-top: calc(var(--nav-height) + 28px);
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-dashboard h1 {
        font-size: 2.25rem;
    }

    .hero-dashboard h1 br {
        display: none;
    }

    .dash-kpi-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-kpi-row-4 .dash-kpi:last-child {
        grid-column: auto;
    }

    .dash-bottom-grid {
        grid-template-columns: 1fr;
    }

    .dash-nav-tabs {
        display: none;
    }

    .dash-search-kbd {
        display: none;
    }

    .hero-kpi-row {
        gap: 0.5rem;
    }

    .hero-kpi {
        padding: 8px 12px;
    }

    .hero-kpi-value {
        font-size: 14px;
    }

    .hero-kpi-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-dashboard {
        padding-top: calc(var(--nav-height) + 12px);
        padding-bottom: 30px;
    }

    .hero-dashboard h1 {
        font-size: 1.85rem;
    }

    .hero-dashboard p {
        font-size: 0.95rem;
    }

    .hero-kpi-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-kpi {
        width: 100%;
    }

    .dash-kpi-row-4 {
        grid-template-columns: 1fr 1fr;
    }

    .dash-kpi-row-4 .dash-kpi:last-child {
        grid-column: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .dash-search-mini span {
        display: none;
    }

    .dash-topbar {
        padding: 8px 12px;
    }

    .dash-kpi-row {
        padding: 10px 12px 6px;
    }

    .dash-bottom-grid {
        padding: 6px 12px 12px;
    }

    .dash-chart-area {
        height: 90px;
    }

    /* Hide warehouse + activity cards on very small screens for cleanliness */
    .dash-right-col {
        display: none;
    }
}

/* ═══════ ICON CIRCLE — DASHBOARD STYLE (SQUARE WITH RADIUS) ═══════ */
.icon-circle.icon-gray {
    background: var(--border-subtle);
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVENESS OVERRIDES
   Consolidated fixes for items #1–#11
   ═══════════════════════════════════════════════════ */

/* ── Mobile Hamburger Nav (Desktop: hidden) ── */
.nav-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-hamburger:hover {
    background: var(--brand-subtle);
    border-color: var(--brand);
    color: var(--brand);
}

.nav-hamburger svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Mobile nav overlay (hidden by default) */
.nav-mobile-overlay {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

/* ═══════ 1024px BREAKPOINT ═══════ */
@media (max-width: 1024px) {

    /* #1 — Global section padding step-down */
    section {
        padding: 100px 0;
    }

    .nav-content {
        padding: 0.5rem 0.875rem 0.5rem 1rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-pill {
        display: none !important;
    }

    .nav-buttons {
        gap: 0.4rem;
    }

    .nav-buttons .btn-outline {
        display: none;
    }

    .nav-buttons .btn-primary {
        padding: 0.6rem 1rem;
    }

    body.nav-open .nav-mobile-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        align-items: flex-start;
        justify-content: center;
        padding-top: calc(var(--nav-height) + 12px);
    }

    .nav-mobile-menu {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-width: min(320px, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
        box-shadow: var(--shadow-lg);
        animation: fadeSlideUp 0.3s ease forwards;
    }

    .nav-mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--r-md);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        color: var(--text-primary);
        transition: background 0.2s ease;
    }

    .nav-mobile-menu a:hover {
        background: var(--brand-subtle);
        color: var(--brand);
    }
}

/* ═══════ 768px BREAKPOINT ═══════ */
@media (max-width: 768px) {

    /* #1 — Global section padding */
    section {
        padding: 80px 0;
    }

    /* Mobile nav overlay — shown when body has .nav-open */
    body.nav-open .nav-mobile-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        align-items: flex-start;
        justify-content: center;
        padding-top: calc(var(--nav-height) + 12px);
    }

    .nav-mobile-menu {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-width: min(320px, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
        box-shadow: var(--shadow-lg);
        animation: fadeSlideUp 0.3s ease forwards;
    }

    .nav-mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--r-md);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        color: var(--text-primary);
        transition: background 0.2s ease;
    }

    .nav-mobile-menu a:hover {
        background: var(--brand-subtle);
        color: var(--brand);
    }

    /* #3 — Hero dashboard 3D transforms */
    .dash-preview {
        transform: none;
    }

    .dash-preview:hover {
        transform: none;
    }

    /* #4 — Workforce 3D transforms */
    .wf-module {
        transform: none;
    }

    .wf-module:hover {
        transform: translateY(-2px);
    }

    .wf-modules {
        perspective: none;
    }

    .wf-modules.stagger-children.visible>.wf-module {
        animation-name: stagger-enter;
    }

    /* #5 — Inventory table 3D transform */
    .inv-table-demo {
        transform: none;
    }

    .inv-table-demo:hover {
        transform: none;
    }

    .inv-right {
        perspective: none;
    }

    /* #6 — CTA heading sizing */
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* #8 — Analytics missing 768px breakpoint */
    .analytics-section-v2 {
        padding: 60px 0;
    }

    .analytics-left h2 {
        font-size: 1.75rem;
    }

    .analytics-mini-bento {
        grid-template-columns: 1fr 1fr;
    }

    /* #9 — Workforce padding reduction */
    .workforce-section {
        padding: 60px 0;
    }

    .wf-left h2 {
        font-size: 1.75rem;
    }

    /* #11 — Features carousel: scan demo min-height */
    .scan-demo {
        min-height: auto;
    }
}

/* ═══════ 480px BREAKPOINT ═══════ */
@media (max-width: 480px) {

    /* #1 — Global section padding */
    section {
        padding: 50px 0;
    }

    /* #5 — Inventory toolbar overflow */
    .inv-demo-search {
        min-width: auto;
    }

    .inv-demo-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* #7 — ROI Calculator small screen polish */
    .roi-v2-big-number {
        font-size: 2.25rem;
    }

    .roi-v2-header h2 {
        font-size: 1.65rem;
    }

    .roi-v2-inputs,
    .roi-v2-results {
        padding: 1.5rem 1.25rem;
    }

    /* #11 — Features carousel hardcoded dimensions */
    .feature-carousel {
        padding: 1.25rem 0.75rem 0.75rem;
    }

    .scan-phone-mockup {
        width: 160px;
    }

    .scan-autofill-card {
        max-width: 200px;
    }

    .scan-demo {
        gap: 0.75rem;
    }

    .flow-step {
        min-width: 52px;
        padding: 0.4rem 0.6rem;
    }

    .flow-step i {
        font-size: 1rem;
    }

    .flow-step span {
        font-size: 0.62rem;
    }

    .flow-arrow {
        width: 10px;
    }

    /* Flow steps wrap gracefully */
    .feature-row-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }

    /* Scan demo stacks on very small screens */
    .scan-demo {
        flex-direction: column;
        align-items: center;
    }

    .scan-autofill-card {
        width: 100%;
        max-width: 240px;
    }
}

/* ═══════ 400px BREAKPOINT ═══════ */
@media (max-width: 400px) {

    /* #10 — Supercharge platform toggle */
    .platform-btn {
        width: 140px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .toggle-slider {
        width: 140px;
    }

    .platform-btn:nth-of-type(2).active~.toggle-slider {
        transform: translateX(140px);
    }

    /* Analytics mini bento → single column */
    .analytics-mini-bento {
        grid-template-columns: 1fr;
    }

    .bento-trend {
        grid-column: auto;
    }
}
