/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Skip navigation link (accessibility) ── */
.skip-link {
    position: fixed; top: -100px; left: 1rem; z-index: 10000;
    background: var(--primary, #2563eb); color: #fff;
    padding: .6rem 1.2rem; border-radius: 0 0 8px 8px;
    font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ── Keyboard focus styles ── */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary, #2563eb);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Scroll progress bar ── */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--primary, #2563eb), #7c3aed);
    z-index: 9999;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
    pointer-events: none;
}

/* ── Page load ── */
body { opacity: 1; }

/* ── Back-to-top ── */
#back-to-top {
    position: fixed; bottom: 5.75rem; right: 2rem; z-index: 500;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary, #2563eb); color: #fff;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,99,235,.35);
    opacity: 0; transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, background .18s ease;
    pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { background: #1d4ed8; box-shadow: 0 6px 20px rgba(37,99,235,.45); }
#back-to-top svg { display: block; }

/* Sticky WhatsApp button — always visible, bottom-right */
#whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: box-shadow .2s ease, transform .2s ease;
}
#whatsapp-float:hover { box-shadow: 0 6px 22px rgba(0,0,0,.32); transform: translateY(-2px); }
#whatsapp-float svg { display: block; }
@media (max-width: 640px) {
    #whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
    #back-to-top { bottom: 4.75rem; right: 1.25rem; }
}

:root {
    --primary:    #2563eb;
    --primary-d:  #1d4ed8;
    --accent:     #0f2a52;
    --dark:       #0f172a;
    --mid:        #334155;
    --muted:      #64748b;
    --light-bg:   #f8fafc;
    --border:     #e2e8f0;
    --white:      #ffffff;
    --text:       #1e293b;
    --text-light: #64748b;
    --radius:     12px;
    --shadow:     0 4px 24px rgba(15,23,42,.08);
    --transition: .2s ease;
}

html { scroll-behavior: smooth; }

::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mid);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Full-page software grid — fixed behind everything */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(99,102,241,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,.045) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: var(--page-grid-opacity, 0);
    transition: opacity .6s ease;
}

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }

/* ── Display typeface — Space Grotesk on all major headings ── */
h1, h2,
.section-title,
.section-header h2,
.prod-split-text h2,
.page-hero h1,
.cta-content h2,
.hero h1,
.arch-section h2,
.why-section h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
/* Space Grotesk weight nudges */
h1 { font-weight: 700; letter-spacing: -.025em; }
h2 { font-weight: 700; letter-spacing: -.02em; }
.section-header h2 { letter-spacing: -.025em; }
/* Body, nav, buttons stay Inter */
body, .btn, .main-nav, .form-group, p, li, span { font-family: 'Inter', sans-serif; }
p  { color: var(--muted); }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; content-visibility: auto; contain-intrinsic-size: 0 600px; }
.bg-light   { background: var(--light-bg); }
.text-center{ text-align: center; }
.mt-2       { margin-top: 2rem; }
.two-col    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* ── Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 999px;
    line-height: 1;
    margin-bottom: 1rem;
    border: 1px solid rgba(37,99,235,.18);
    box-shadow: 0 1px 4px rgba(37,99,235,.08);
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
    border: 2px solid transparent;
    position: relative;
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-d); text-decoration: none; box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-outline  { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; box-shadow: 0 6px 20px rgba(37,99,235,.25); }
.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #eff6ff; text-decoration: none; box-shadow: 0 6px 20px rgba(255,255,255,.3); }
.btn-full     { width: 100%; text-align: center; }




/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow .25s ease;
}
#main-content {
    padding-top: 80px;
}
.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(15,23,42,.1);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
    overflow: visible;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: auto; width: clamp(120px, 10vw, 180px); display: block; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > a, .main-nav > .nav-item > a {
    font-size: .9rem; font-weight: 500; color: var(--mid);
    transition: color var(--transition);
    position: relative; padding-bottom: 2px;
}
.main-nav > a::after, .main-nav > .nav-item > a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
    height: 2px; background: var(--primary); border-radius: 2px;
    transition: right .22s ease;
}
.main-nav > a:hover::after, .main-nav > a.active::after,
.main-nav > .nav-item > a:hover::after, .main-nav > .nav-item > a.active::after { right: 0; }
.main-nav > a:hover, .main-nav > a.active,
.main-nav > .nav-item > a:hover, .main-nav > .nav-item > a.active { color: var(--primary); text-decoration: none; }

/* ── Nav mega menus ── */
.nav-item { position: relative; display: flex; align-items: center; gap: .3rem; }
.nav-caret {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; padding: .2rem;
    color: var(--mid); transition: color var(--transition), transform .2s ease;
}
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { color: var(--primary); }
.nav-item.open .nav-caret svg { transform: rotate(180deg); }
.nav-caret svg { transition: transform .2s ease; }

.mega-menu {
    position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--white); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15,23,42,.14);
    width: min(620px, 90vw);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 120;
}
.nav-item:hover .mega-menu, .nav-item.open .mega-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-menu-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.mega-col { padding: 1.5rem; }
.mega-col-main { border-right: 1px solid var(--border); }
.mega-col-label {
    display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-light, var(--muted)); margin-bottom: .9rem;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega-grid-2 { grid-template-columns: 1fr; }
.mega-item {
    display: flex; align-items: flex-start; gap: .65rem;
    padding: .6rem .6rem; border-radius: 10px;
    color: var(--dark) !important; text-decoration: none !important;
    transition: background .15s ease;
}
.mega-item:hover { background: var(--light-bg, #f8fafc); }
.mega-item::after { display: none !important; }
.mega-item-icon {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
    background: #eff6ff; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.mega-item-title { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.mega-item-sub { display: block; font-size: .76rem; color: var(--text-light, var(--muted)); margin-top: .1rem; }
.mega-col-side { display: flex; flex-direction: column; gap: .15rem; }
.mega-col-side a {
    font-size: .85rem; font-weight: 500; color: var(--mid) !important; text-decoration: none !important;
    padding: .5rem .4rem; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.mega-col-side a::after { display: none !important; }
.mega-col-side a:hover { background: var(--light-bg, #f8fafc); color: var(--primary) !important; }
.mega-menu-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .9rem 1.5rem; border-top: 1px solid var(--border); background: var(--light-bg, #f8fafc);
    border-radius: 0 0 14px 14px; font-size: .82rem; color: var(--text-light, var(--muted));
}
.mega-foot-link { font-weight: 700; color: var(--primary) !important; text-decoration: none !important; }
.mega-foot-link::after { display: none !important; }
.mega-foot-link:hover { text-decoration: underline !important; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-cta { font-size: .875rem; padding: .45rem 1.1rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: .25rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero — AICM-style premium dark orb ── */
/* ── Cinematic Hero ─────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #050914 0%, #0a1730 32%, #0f2a52 62%, #14396e 100%);
    overflow: hidden;
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
}

.hero-dot-grid { display: none; }

/* Video background */
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    display: none;
}

/* Fade at bottom to blend the hero into the light marquee strip below it */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(to bottom,
            rgba(248,248,252,0)    0%,
            rgba(248,248,252,0)    72%,
            rgba(248,248,252,0.55) 88%,
            rgba(248,248,252,1)    100%);
}

/* ── Minimal one-line homepage hero ── */
.hero-line-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 2.25rem;
    text-align: center;
    background: linear-gradient(135deg, #050914 0%, #0a1730 32%, #0f2a52 62%, #14396e 100%);
}
.hero-line-content {
    position: relative; z-index: 2;
}
.hero-line-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    white-space: nowrap;
    font-size: clamp(1rem, 4.3vw, 3.4rem);
    color: #fff;
    margin: 0 0 1.1rem;
}
.hero-line-title .highlight.gradient-text {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}
.hero-line-cta {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 1rem;
}
.hero-social-proof {
    margin: 1.1rem 0 0;
    font-size: .85rem;
    color: rgba(255,255,255,.65);
}
@media (max-width: 640px) {
    .hero-line-title { white-space: normal; font-size: clamp(1.75rem, 8vw, 2.4rem); margin-bottom: 1.5rem; }
}

/* ── Mid-page CTA (homepage, after the pain/solution section) ── */
.mid-cta-section { background: #f8fafc; text-align: center; }
.mid-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mid-cta-heading {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800; color: var(--dark); margin: 0;
}

/* ── ROI calculator (homepage) ── */
.roi-calc-card {
    max-width: 860px; margin: 0 auto;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2rem;
}
.roi-calc-tabs { max-width: 360px; margin: 0 auto 2rem; }
.roi-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.roi-calc-inputs { display: flex; flex-direction: column; }
.roi-calc-inputs .form-group { margin-bottom: 1.25rem; }
.roi-calc-inputs .btn { margin-top: .25rem; }

.roi-calc-result {
    background: #f8fafc; border: 1px dashed var(--border); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 1.5rem; min-height: 220px;
}
.roi-result-placeholder p { color: var(--text-light); font-size: .92rem; margin: 0; }

.roi-gate-text { font-weight: 700; color: var(--dark); margin: 0 0 1rem; }
.roi-gate-form { display: flex; flex-direction: column; gap: .65rem; width: 100%; max-width: 280px; }
.roi-gate-form input {
    border: 1px solid var(--border); border-radius: 8px; padding: .65rem 1rem;
    font-size: .95rem; font-family: inherit; outline: none;
}
.roi-gate-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.roi-gate-note { min-height: 1.2em; font-size: .82rem; color: #ef4444; margin: .6rem 0 0; }

.roi-result-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; color: var(--primary); line-height: 1;
}
.roi-result-unit { font-size: 1.1rem; font-weight: 700; color: var(--text-light); margin-left: .35rem; }
.roi-result-sub { font-size: .88rem; color: var(--text-light); margin: .75rem 0 0; }

.roi-calc-disclaimer { font-size: .78rem; color: var(--text-light); text-align: center; margin: 1.75rem 0 0; }

@media (max-width: 768px) {
    .roi-calc-card { padding: 1.5rem; }
    .roi-calc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Split layout: content on the left, product terminal on the right ──
   (.hero .container implements the row itself; this just sizes the columns) */
.hero-left {
    flex: 1 1 520px; max-width: 560px;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-right {
    flex: 1 1 620px; max-width: 760px;
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 1024px) {
    .hero-left { max-width: 640px; }
    .hero-content-center { text-align: center; align-items: center; margin: 0 auto; }
    .hero-content-center .hero-sub { max-width: 560px; }
    .hero-terminal-inline { margin: 0 auto; }
}

/* Content centered */
.hero-content-center {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 560px;
    margin: 0;
    padding: 0 0 1.25rem;
    flex-shrink: 0;
}
.hero-content-center .hero-sub  { max-width: 520px; }
.hero-content-center .hero-trust { justify-content: flex-start; }

/* Live demo terminal — hero's right-side visual */
.hero-terminal-inline {
    position: relative; z-index: 2;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}
.hero-terminal.hero-terminal-inline {
    max-width: 740px;
    font-size: 1.15rem;
}
.hero-terminal-inline .terminal-fixed-body { height: 460px; max-height: 55vh; }

/* Scroll cue — mouse icon */
.hero-scroll-cue {
    position: absolute;
    bottom: clamp(180px, 29vw, 350px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    animation: cue-fade 1s ease .8s both;
}
@keyframes cue-fade { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.hero-scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(15,15,26,.25);
    border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.hero-scroll-wheel {
    width: 3px; height: 7px;
    background: rgba(15,15,26,.45);
    border-radius: 2px;
    animation: wheel-scroll 1.8s ease-in-out infinite;
}
@keyframes wheel-scroll {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
/* ────────────────────────────────────────────────────────────────── */

/* Ambient glow layers */
.hero-glow {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
    filter: blur(80px);
}
.hero-glow-1 {
    width: 700px; height: 700px;
    top: -15%; right: -8%;
    background: radial-gradient(circle, rgba(109,40,217,.18) 0%, transparent 70%);
    animation: orb-pulse 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 500px; height: 500px;
    top: 10%; right: 15%;
    background: radial-gradient(circle, rgba(37,99,235,.14) 0%, transparent 70%);
    animation: orb-pulse 10s ease-in-out infinite reverse;
}
.hero-glow-3 {
    width: 400px; height: 400px;
    bottom: -10%; right: 30%;
    background: radial-gradient(circle, rgba(14,165,233,.1) 0%, transparent 70%);
    animation: orb-pulse 12s ease-in-out infinite;
}
@keyframes orb-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: .75; }
}

#hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.7;
}
.hero-blob { display: none; }
.hero .container {
    position: relative; z-index: 3;
    display: flex; flex-wrap: nowrap; gap: 2rem; align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1360px;
}
@media (max-width: 1024px) {
    .hero .container { flex-wrap: wrap; justify-content: center; }
}
.hero-content { flex: 1 1 380px; }
.hero-visual  { flex: 1 1 380px; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-content { position: relative; z-index: 3; }

/* Eyebrow tag */
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
    color: #15803d;
    border: 2px solid rgba(22,163,74,.45);
    background: rgba(22,163,74,.1);
    padding: .5rem 1.2rem; border-radius: 9999px;
    margin-bottom: 0.9rem;
    box-shadow: 0 0 0 4px rgba(22,163,74,.07), 0 2px 12px rgba(22,163,74,.15);
}
.hero-eyebrow-b2b {
    display: inline-block;
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
    color: #93c5fd;
    margin-bottom: .9rem;
}
.hero-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.25), 0 0 8px 2px rgba(22,163,74,.5);
    animation: eyebrow-blink 2.5s ease-in-out infinite;
}
@keyframes eyebrow-blink {
    0%,100% { opacity: 1; } 50% { opacity: .35; }
}

.highlight {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 { color: #fff; line-height: 1.12; }
.hero-sub {
    font-size: 1.05rem; margin: .75rem 0 1.25rem; max-width: 460px;
    color: rgba(15,15,26,.78); line-height: 1.65; font-weight: 500;
}

/* Primary CTA button */
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: 1.1rem 2.4rem; border-radius: 9999px;
    background: #1d4ed8;
    color: #fff; font-size: 1.15rem; font-weight: 700;
    text-decoration: none; border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: box-shadow .2s, transform .2s, background .2s;
    white-space: nowrap;
}
.btn-hero-primary:hover {
    background: #1e40af;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transform: translateY(-2px); text-decoration: none; color: #fff;
}

/* Trust chips */
.hero-trust { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.trust-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .85rem; font-weight: 600;
    padding: .5rem 1.1rem; border-radius: 9999px;
    text-decoration: none; transition: background .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
    color: #0f0f1a;
    background: #fff;
    border: 1.5px solid rgba(15,15,26,.14);
    box-shadow: 0 1px 6px rgba(15,15,26,.07);
}
.trust-chip:hover { box-shadow: 0 3px 12px rgba(15,15,26,.12); text-decoration: none; }

/* Google chip — keep neutral white */
.trust-chip-google { border-color: rgba(66,133,244,.25); }
.trust-chip-google:hover { background: #f8fbff; }

/* Meta chip — blue brand */
.trust-chip-meta {
    background: #0866ff;
    border-color: #0866ff;
    color: #fff;
    box-shadow: 0 2px 12px rgba(8,102,255,.3);
}
.trust-chip-meta:hover { background: #0757e0; box-shadow: 0 4px 18px rgba(8,102,255,.4); color: #fff; }
.trust-chip-meta svg path { fill: #fff !important; }

.trust-stars-sm { color: #f59e0b; letter-spacing: 1px; }

/* Capterra chip — neutral, logo carries the brand color */
.trust-chip-capterra:hover { background: #fafafa; }
.trust-chip-capterra-logo { height: 34px; width: auto; display: block; }

/* Google Cloud Partner chip — neutral, text only */
.trust-chip-gcp { font-size: 1rem; padding: .65rem 1.4rem; }
.trust-chip-gcp:hover { background: #fafafa; }

/* ── Trust band — large, standalone badge row (replaces the old stats band) ── */
/* ── Partner statement ── */
.partner-statement {
    padding: 4.5rem 0;
    text-align: center;
}
.partner-statement-text {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--dark);
    max-width: 900px;
    margin: 0 auto;
}

.trust-band {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0;
}
.trust-band-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 1.25rem;
}
.trust-band .trust-chip {
    font-size: 1.05rem;
    padding: .85rem 1.75rem;
    gap: .65rem;
    box-shadow: 0 2px 14px rgba(15,23,42,.08);
}
.trust-band .trust-stars-sm { font-size: 1rem; }
.trust-band .trust-chip-capterra-logo { height: 44px; }
.trust-band .trust-chip-gcp { font-size: 1.05rem; padding: .85rem 1.75rem; }
@media (max-width: 640px) {
    .trust-band { padding: 2.5rem 0; }
    .trust-band-row { gap: .85rem; }
    .trust-band .trust-chip { font-size: .92rem; padding: .7rem 1.3rem; }
    .trust-band .trust-chip-capterra-logo { height: 32px; }
}

/* ── Orb Visual ── */
.hero-orb-wrap {
    position: relative;
    width: 480px; height: 480px;
    flex-shrink: 0;
}
/* When orb-scene is used (orb behind photos) */
.hero-orb-scene .hero-orb {
    width: 420px; height: 420px;
}
.hero-orb-scene .orb-ring-1 { width: 560px; height: 560px; }
.hero-orb-scene .orb-ring-2 { width: 680px; height: 680px; }
.hero-orb-scene .orb-card { z-index: 3; pointer-events: none; }
/* Rotating rings */
.orb-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(167,139,250,.18);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.orb-ring-1 {
    width: 110%; height: 110%;
    animation: ring-spin 18s linear infinite;
    border-color: rgba(99,102,241,.2);
    border-style: dashed;
}
.orb-ring-2 {
    width: 130%; height: 130%;
    animation: ring-spin 28s linear infinite reverse;
    border-color: rgba(167,139,250,.1);
}
@keyframes ring-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Main orb */
.hero-orb {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 300px; height: 300px; border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255,255,255,.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(14,165,233,.35) 0%, transparent 55%),
        radial-gradient(circle at 20% 75%, rgba(109,40,217,.6) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(37,99,235,.5) 0%, transparent 50%),
        linear-gradient(145deg, #1e1154 0%, #0c0a2e 100%);
    box-shadow:
        0 0 80px rgba(109,40,217,.5),
        0 0 160px rgba(37,99,235,.3),
        inset 0 0 60px rgba(255,255,255,.04);
    animation: orb-float 6s ease-in-out infinite;
    overflow: hidden;
}
.orb-inner-1 {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(ellipse 60% 40% at 40% 30%, rgba(255,255,255,.09) 0%, transparent 60%);
}
.orb-inner-2 {
    position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 200deg, rgba(99,102,241,.15), rgba(14,165,233,.1), transparent 60%);
    animation: orb-rotate 12s linear infinite;
}
.orb-shine {
    position: absolute; top: 12%; left: 18%; width: 38%; height: 25%;
    background: radial-gradient(ellipse, rgba(255,255,255,.22) 0%, transparent 70%);
    border-radius: 50%; filter: blur(8px);
}
@keyframes orb-float {
    0%,100% { transform: translate(-50%,-50%) translateY(0); }
    50% { transform: translate(-50%,-50%) translateY(-14px); }
}
@keyframes orb-rotate { to { transform: rotate(360deg); } }

/* Glass stat cards */
.orb-card {
    position: absolute;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: .8rem 1.1rem;
    display: flex; flex-direction: column; gap: .15rem;
    min-width: 130px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    animation: orb-float 6s ease-in-out infinite;
}
.orb-card-tl { top: 6%; left: -4%; animation-delay: -1s; }
.orb-card-br { bottom: 8%; right: -4%; animation-delay: -3s; }
.orb-card-bl { bottom: 20%; left: -8%; animation-delay: -2s; }
.orb-card-dot {
    width: 7px; height: 7px; border-radius: 50%; margin-bottom: .2rem;
    display: inline-block;
}
.orb-card-dot-green  { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,.6); }
.orb-card-dot-blue   { background: #60a5fa; box-shadow: 0 0 6px rgba(96,165,250,.6); }
.orb-card-dot-purple { background: #a78bfa; box-shadow: 0 0 6px rgba(167,139,250,.6); }
.orb-card-val { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1; }
.orb-card-lbl { font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.5); }

.footer-slogan {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .52rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
    color: var(--white); opacity: .55; margin-top: .25rem; white-space: nowrap;
}
.footer-slogan::before, .footer-slogan::after { content: ''; flex-shrink: 0; height: 1px; width: 18px; background: currentColor; opacity: .5; }
.hero-cta {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start !important;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}
@media (max-width: 1024px) {
    .hero-cta { justify-content: center !important; }
}

.hero-visual {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 480px;
}

/* Orb scene — absolutely centred behind photos */
.hero-orb-scene {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 0; pointer-events: none;
}

/* Slideshow sits in front */
.hero-slideshow {
    position: relative; width: 100%; max-width: 580px; z-index: 2;
}
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: 0; transition: opacity .8s ease; }
.hero-slide.active { position: relative; opacity: 1; }

/* ── Wave dividers ── */
.wave-divider { line-height: 0; overflow: hidden; display: block; }
.wave-divider svg { display: block; width: 100%; height: 72px; }
.wave-to-dark { background: linear-gradient(160deg, #eef2ff 0%, #f0f7ff 100%); }
.wave-to-light { background: var(--dark); }

/* ── Stats ── */
.stats {
    background: var(--dark);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 120% at 50% 50%, rgba(37,99,235,.14) 0%, transparent 65%),
        radial-gradient(ellipse 30% 60% at 20% 50%, rgba(124,58,237,.08) 0%, transparent 60%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.stat-card {
    text-align: center;
    padding: 1.75rem 1rem;
    position: relative;
    transition: background .22s ease;
}
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.08);
}
.stat-card:hover { background: rgba(255,255,255,.04); }
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(147,197,253,.25));
}
.stat-label {
    font-size: .75rem;
    color: #64748b;
    margin-top: .5rem;
    display: block;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── Section Header ── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header p { margin-top: .75rem; }
.section-header-left { text-align: left; margin: 0 0 3rem; max-width: 640px; }

/* ── Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem 1.5rem;
    box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease;
    position: relative;
}
.card::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 16px 40px rgba(15,23,42,.13);
    opacity: 0; transition: opacity .22s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,.18); }
.card:hover::after { opacity: 1; }
.card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; color: var(--primary); }
.card h3    { margin-bottom: .5rem; }
.card p     { font-size: .9rem; }

/* ── Scroll-reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.reveal-left  { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-scale { transform: scale(.94); }
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Timeline line-draw — applied to the actual rule below */

/* Count-up text — no layout shift */
[data-count] { display: inline-block; min-width: 2ch; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    #hero-canvas { display: none !important; }
    .highlight { animation: none; }
    .hero-slideshow { animation: none; }
    .hero-blob { animation: none; }
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #2563eb);
    background-size: 200% 200%;
    animation: cta-gradient 8s ease infinite;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
@keyframes cta-gradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; position: relative; }
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; }

/* ── About ── */
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; }
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-visual-img { width: 100%; max-width: 480px; height: auto; display: block; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; padding: 2rem 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.team-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.team-card p  { font-size: .85rem; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem 1.5rem; box-shadow: var(--shadow);
    transition: transform .22s ease, border-color .22s ease;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,.13); border-color: rgba(37,99,235,.18); }
.service-card h3 { margin: .75rem 0 .5rem; }
.service-card p  { font-size: .9rem; margin-bottom: 1rem; }
.service-card ul { list-style: none; padding: 0; }
.service-card ul li { font-size: .875rem; padding: .3rem 0; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.service-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: .8rem; }

/* ── Page Hero ── */
.page-hero {
    padding: 5rem 0 3.5rem;
    background: linear-gradient(135deg, #050914 0%, #0a1730 45%, #0f2a52 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: .5rem 0 1rem; color: #fff; }
.page-hero .hero-sub { max-width: 620px; color: rgba(255,255,255,.82); }
.page-hero .badge {
    background: rgba(255,255,255,.1);
    color: #93c5fd;
    border: 1px solid rgba(255,255,255,.18);
}
.page-hero .btn-primary { margin-top: 1.5rem; }

/* ── Contact ── */
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 1.5rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

/* ── Form ── */
.contact-form-wrap {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow);
    transition: box-shadow .25s ease;
}
.contact-form-wrap:focus-within { box-shadow: 0 8px 40px rgba(37,99,235,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--dark); transition: color .18s ease; }
.form-group:focus-within label { color: var(--primary); }
.form-group input, .form-group textarea, .form-group select {
    border: 1px solid var(--border); border-radius: 8px;
    padding: .65rem 1rem; font-size: .95rem; font-family: inherit;
    color: var(--dark); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    outline: none; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    background: #fafcff;
}
.form-group.has-error input, .form-group.has-error textarea, .form-group.has-error select { border-color: #ef4444; }

/* ── Card tilt ── */
.tilt { transform-style: preserve-3d; }
.tilt-inner { transform: translateZ(0); transition: transform .12s ease; }
.form-error { font-size: .8rem; color: #ef4444; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: .9rem; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: .9rem; }

/* ── Footer ── */
.site-footer {
    background: var(--dark); color: #94a3b8; padding: 4rem 0 2rem; margin-top: auto;
    border-top: 1px solid transparent;
    background-image: linear-gradient(var(--dark), var(--dark)),
                      linear-gradient(90deg, var(--primary), var(--accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: .75rem; font-size: .875rem; }
.footer-brand { max-width: 340px; }
.footer-tagline { color: #94a3b8; font-style: italic; font-weight: 500; }
.footer-brand .logo-img { width: clamp(160px, 20vw, 260px); height: auto; }
.footer-brand .logo-text { color: var(--white); }
.footer-links h4, .footer-contact h4, .footer-coffee h4 { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-coffee-text { color: #94a3b8; font-size: .875rem; margin-bottom: 1rem; }
.footer-coffee-form { display: inline-grid; justify-items: start; gap: .5rem; }
.footer-coffee-btn { text-align: center; border: none; border-radius: 1.5rem; min-width: 11.625rem; padding: 0 2rem; height: 2rem; font-weight: bold; background-color: #4224e0; color: #fff; font-family: "Helvetica Neue", Arial, sans-serif; font-size: .875rem; line-height: 1.125rem; cursor: pointer; }
.footer-coffee-btn:hover { background-color: #351bb8; }
.footer-coffee-cards { display: block; }
.footer-coffee-powered { font-size: .75rem; color: #94a3b8; }
.footer-coffee-paypal-logo { height: .875rem; vertical-align: middle; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact a { color: #94a3b8; font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: .875rem; margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; text-align: center; font-size: .8rem; }
.footer-legal { display: flex; justify-content: center; gap: 1.5rem; margin-top: .5rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .75rem; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.8); text-decoration: none; }

/* ── Legal document pages ── */
.legal-page-wrap {
    padding: 2.5rem 0 5rem;
    background: #f9fafb;
}
.legal-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.legal-doc {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 3rem 3.25rem 3.5rem;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}
.legal-doc h2 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 2.75rem 0 .65rem !important;
    line-height: 1.35 !important;
    padding-top: 2.5rem;
    border-top: 1px solid #f3f4f6;
}
.legal-doc h2:first-of-type {
    padding-top: 0;
    border-top: none;
    margin-top: 1.25rem !important;
}
.legal-doc h3 {
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 1.5rem 0 .4rem !important;
}
.legal-doc p {
    color: #374151 !important;
    margin-bottom: .95rem;
    font-size: 15px !important;
}
.legal-doc ul {
    list-style: disc;
    padding-left: 1.35rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.legal-doc ul li {
    font-size: 15px;
    color: #374151;
}
.legal-doc a { color: #2563eb; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: #111827; font-weight: 600; }
.legal-meta {
    display: block;
    font-size: .8rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}
.legal-footer-note {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    font-size: .8rem;
    color: #9ca3af;
}
@media (max-width: 640px) {
    .legal-doc { padding: 1.5rem 1.25rem 2rem; }
}
.footer-social { display: flex; gap: 1.75rem; align-items: center; margin-top: .75rem; }
.footer-social a { color: rgba(255,255,255,.5); transition: color .2s; display: flex; }
.footer-social a:hover { color: var(--white); }
/* Uses assets/img/capterra-icon.png -- just the arrow mark (no
   "Capterra" wordmark), cropped from the full badge and recolored to
   a flat white silhouette with real transparency (see the image
   itself), so plain opacity reproduces the exact same translucent
   -> solid-white hover as the currentColor SVG icons beside it,
   instead of a background pill or a color-reveal filter trick.
   Scoped to the footer only; the full Capterra logo elsewhere on the
   site (e.g. the homepage trust band) is untouched. */
.footer-capterra-badge { display: flex; align-items: center; opacity: .5; transition: opacity .2s; }
.footer-capterra-badge:hover { opacity: 1; }
.footer-capterra-badge img { height: 24px; width: auto; display: block; }

/* ── 1100px breakpoint — covers 125% display scale on common monitors ── */
@media (max-width: 1100px) {
    .section { padding: 4rem 0; }
    .two-col { gap: 2.5rem; }
    .hero .container { gap: 2rem; }
    .hero-terminal { max-width: 440px; }

    /* Stats: drop to 2×2 grid */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2)::after { display: none; }

    /* Products */
    .product-logo-wrap { height: 200px; }
    .product-logo-wrap img { max-height: 200px; }
    #leadtime .product-logo-wrap { height: 260px; }
    #leadtime .product-logo-wrap img { max-height: 260px; }

    /* Bento: collapse to 2-column */
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-featured { grid-column: span 2; grid-row: span 1; }
    .bento-code-card { grid-column: span 2; }

    /* Services page */
    .pd-hero { grid-template-columns: 140px 1fr; gap: 2rem; }
    .stack-container { gap: 2rem; }
    .api-demo-wrap { grid-template-columns: 1fr; }
    .api-demo-terminal { display: block !important; }

    /* Footer */
    .footer-grid { gap: 2rem; }
    .footer-brand .logo-img { width: 220px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand .logo-img { width: 200px; }
    .pd-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .pd-hero-logo { min-width: unset; }
    .pd-stats { grid-template-columns: repeat(2, 1fr); }
    .hero .container { gap: 2rem; }
}
@media (max-width: 700px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .hero { padding: 0; min-height: 100svh; }
    .hero-content-center { padding: 1.5rem 1rem 2rem; }
    .hero-terminal-inline { padding: 0 1rem 2rem; }
    .hero-sub { font-size: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .product-logo-wrap { height: 160px; }
    .product-logo-wrap img { max-height: 160px; }
    #leadtime .product-logo-wrap { height: 200px; }
    #leadtime .product-logo-wrap img { max-height: 200px; }
    .products-grid { grid-template-columns: 1fr; }
    .section-header { padding: 0 .5rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .pd-features { grid-template-columns: 1fr; }
    .pd-cta { flex-direction: column; text-align: center; }
    .pd-cta-actions { justify-content: center; }
    .pd-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-section .two-col { gap: 2.5rem; }
    .founders-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .founder-photo-wrap { width: 140px; height: 140px; }
    .cta-banner .btn { width: 100%; display: block; text-align: center; }
}

/* ── Product Nav Pills ── */
.product-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 80px; z-index: 90; }
@media (max-width: 768px) { .product-nav { top: 64px; } }
.product-nav .container { display: flex; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.product-nav-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600;
    color: var(--mid); border: 1px solid var(--border); text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.product-nav-pill img { height: 18px; width: auto; object-fit: contain; }
.product-nav-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* ── Product Section ── */
.product-section { scroll-margin-top: 130px; }

/* ── PD Hero ── */
.pd-hero { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.pd-hero-logo { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: var(--shadow); min-width: 200px; }
.pd-hero-logo img { width: 160px; max-height: 90px; object-fit: contain; }
.pd-hero-text h2 { margin: .4rem 0 .75rem; }
.pd-hero-text p { max-width: 520px; margin-bottom: 1.5rem; }

/* ── Badge colours ── */
.badge-fleet { background: #eff6ff; color: #1d4ed8; }
.badge-lt    { background: #f0fdfa; color: #0f766e; }

/* ── PD Stats ── */
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem; }
.pd-stat { background: var(--white); text-align: center; padding: 1.25rem 1rem; }
.pd-stat span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pd-stat small { font-size: .75rem; color: var(--muted); margin-top: .2rem; display: block; }

/* ── PD Features ── */
.pd-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.pd-feature-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(15,23,42,.05);
    transition: transform var(--transition), box-shadow var(--transition);
}
.pd-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pd-feature-icon { font-size: 1.75rem; flex-shrink: 0; width: 44px; text-align: center; }
.pd-feature-body h3 { font-size: .95rem; margin-bottom: .35rem; }
.pd-feature-body p  { font-size: .85rem; margin: 0; }

/* ── PD Feature accent borders ── */
.accent-fleet { border-left: 3px solid #2563eb; }
.accent-lt    { border-left: 3px solid #0d9488; }

/* ── PD CTA ── */
.pd-cta { border-radius: var(--radius); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.pd-cta-fleet { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.pd-cta-lt    { background: linear-gradient(135deg, #0f766e, #1d4ed8); }
.pd-cta-text h3 { color: #fff; font-size: 1.2rem; margin-bottom: .35rem; }
.pd-cta-text p  { color: rgba(255,255,255,.82); margin: 0; }
.pd-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.pd-cta-centered { max-width: 640px; margin: 0 auto; text-align: center; }
.pd-cta-centered .pd-cta-actions { justify-content: center; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); text-decoration: none; }

/* ── Button small ── */
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }

/* ── Product card actions ── */
.product-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }
.product-card { cursor: default; }

/* ── Product Detail Page ── */
.product-detail-header { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.product-detail-logo { width: 160px; display: flex; align-items: center; }
.product-detail-logo img { max-width: 160px; max-height: 80px; object-fit: contain; }
.product-detail-sub { font-size: 1.05rem; margin: .75rem 0 1.5rem; max-width: 540px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); }
.feature-icon { font-size: 1.75rem; margin-bottom: .75rem; display: block; }
.feature-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; }

.product-cta-box { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.product-cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.product-cta-box p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.product-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.product-cta-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.product-cta-actions .btn-outline:hover { background: rgba(255,255,255,.15); }

.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

@media (max-width: 700px) {
    .product-detail-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-detail-logo { width: 120px; }
    .pd-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .pd-stats { grid-template-columns: repeat(2, 1fr); }
    .pd-cta { flex-direction: column; }
}

/* ── Products ── */
#silo-products {
    padding: .75rem 0 4rem;
    min-height: calc(100vh - 422px);
    display: flex;
    align-items: center;
}
#silo-products .container { width: 100%; }
@media (max-width: 768px) {
    #silo-products { min-height: 0; display: block; }
}
#silo-products .section-header { margin-bottom: .6rem; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.15rem 1.75rem; box-shadow: var(--shadow);
    text-decoration: none; color: inherit; position: relative;
    transition: transform .22s ease, border-color .22s ease;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
    border-radius: var(--radius) var(--radius) 0 0;
}
.product-card:hover::before { transform: scaleX(1); }
.badge-coming-soon {
    display: inline-block;
    background: #f59e0b; color: #fff;
    font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .3rem .75rem; border-radius: 999px;
    position: relative;
}
.badge-coming-soon::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(245,158,11,.6);
    animation: badge-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50%       { transform: scale(1.5); opacity: 0; }
}
.product-card-soon .badge-coming-soon {
    position: absolute; top: 1rem; right: 1rem;
}
.badge-coming-soon-inline {
    display: inline-flex;
    align-items: center;
    background: #f59e0b; color: #fff;
    font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: .3rem .9rem; border-radius: 999px;
    line-height: 1;
}
.product-link-disabled { color: #94a3b8; cursor: not-allowed; font-size: .9rem; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15,23,42,.14); border-color: rgba(37,99,235,.18); text-decoration: none; }
.product-logo-wrap { height: 110px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.product-logo-wrap img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; }
#leadtime .product-logo-wrap { height: 140px; }
#leadtime .product-logo-wrap img { max-height: 140px; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--dark); }
.product-card p  { font-size: .88rem; flex: 1; margin-bottom: 1rem; }
.product-link {
    font-size: .875rem; font-weight: 600; color: var(--primary);
    display: inline-flex; align-items: center; gap: .3rem;
    transition: gap .18s ease;
}
.product-link:hover { gap: .55rem; text-decoration: none; }
.product-link-secondary {
    display: block; margin-top: .85rem; font-size: .85rem; font-weight: 600;
    color: var(--primary); text-decoration: none;
}
.product-link-secondary:hover { text-decoration: underline; }

/* ── Founders ── */
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 700px; margin: 0 auto; }
.team-cta-line { text-align: center; margin: 2.5rem auto 0; font-size: .95rem; color: var(--muted); }
.team-cta-line a { font-weight: 700; }
.founder-card { text-align: center; }
.founder-photo-wrap {
    width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 4px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    box-shadow: var(--shadow);
    transition: box-shadow .25s ease, transform .25s ease;
}
.founder-photo-wrap:hover { transform: scale(1.04); box-shadow: 0 12px 32px rgba(37,99,235,.18); }
.founder-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.founder-role { color: var(--primary); font-size: .9rem; font-weight: 600; }

/* ── Tablet / 125% zoom nav collapse ── */
@media (max-width: 900px) {
    .main-nav {
        display: none; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem; gap: .75rem; z-index: 99;
        box-shadow: 0 8px 24px rgba(15,23,42,.1);
    }
    .main-nav.open { display: flex; }
    .main-nav > a, .main-nav > .nav-item > a { font-size: 1rem; padding: .5rem 0; }
    .main-nav > a:last-child { border-bottom: none; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .logo-img { width: clamp(140px, 30vw, 200px); height: auto; }
    .site-header .container { height: 64px; }

    /* Mega menus collapse into inline accordions inside the mobile nav panel */
    .nav-item {
        flex-direction: column; align-items: stretch; gap: 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-item > a { flex: 1; border-bottom: none !important; }
    .nav-item:first-of-type { position: relative; }
    .nav-item .nav-caret {
        position: absolute; top: .3rem; right: 0; padding: .5rem;
    }
    .mega-menu {
        position: static; transform: none; width: 100%;
        opacity: 1; visibility: visible; pointer-events: auto;
        border: none; box-shadow: none; border-radius: 0;
        max-height: 0; overflow: hidden; padding: 0;
        transition: max-height .25s ease;
    }
    .nav-item.open .mega-menu, .nav-item:hover .mega-menu {
        max-height: 900px; padding-bottom: .75rem; transform: none;
    }
    .mega-menu-inner { grid-template-columns: 1fr; }
    .mega-col-main { border-right: none; border-bottom: 1px solid var(--border); padding: .75rem 0; }
    .mega-col-side { padding: .75rem 0; }
    .mega-grid, .mega-grid-2 { grid-template-columns: 1fr; }
    .mega-menu-foot { border-radius: 0; margin: 0 -0.1rem; }

    /* Hero: stack content on top, image below */
    .hero { padding: 3rem 0 2.5rem; }
    .hero .container { flex-direction: column; }
    .hero-content { flex: unset; width: 100%; }
    .hero-visual { flex: unset; width: 100%; justify-content: center; }
    .hero-sub { max-width: 100%; }
    .hero-slideshow { max-width: 520px; margin: 0 auto; }

    /* Grids */
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .about-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2)::after { display: none; }
    .products-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .founders-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

    /* Bento */
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-featured { grid-column: span 2; grid-row: span 1; }
    .bento-code-card { grid-column: span 2; }

    /* Stack section */
    .stack-container { flex-direction: column; gap: 2rem; }

    /* PD services */
    .pd-header { flex-direction: column; }
    .pd-header-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1.25rem; width: 100%; }
    .pd-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-cta { flex-direction: column; }
    .pd-cta-actions { justify-content: flex-start; }
    .pd-hiw-steps { flex-direction: column; }
    .pd-hiw-arrow { display: none; }
    .pd-hiw-step { min-width: unset; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .section { padding: 2.5rem 0; }
    .logo-img { width: clamp(120px, 32vw, 160px); height: auto; }

    /* Hero */
    .hero { padding: 2.5rem 0 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: .95rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn,
    .hero-cta .btn-outline-hero { width: 100%; text-align: center; justify-content: center; }
    .hero-slideshow { max-width: 100%; }
    .hero-trust { gap: .75rem; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .stat-number { font-size: 2rem; }

    /* Grids */
    .cards-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-featured, .bento-code-card { grid-column: span 1; }

    /* Pain */
    .pain-grid { grid-template-columns: 1fr; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.25rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand .logo-img { width: 160px; }
    .footer-social { gap: 1.25rem; flex-wrap: wrap; }

    /* Products */
    .product-card { padding: 1.5rem; }
    .product-logo-wrap { height: 140px; }
    .product-logo-wrap img { max-height: 140px; }

    /* Reviews */
    .review-card { width: 260px; padding: 1.25rem; }

    /* Product page nav pills */
    .product-nav .container { flex-wrap: wrap; }
    .product-nav-pill { font-size: .8rem; padding: .35rem .75rem; }

    /* Page hero */
    .page-hero h1 { font-size: 1.75rem; }

    /* About */
    .founders-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .founder-photo-wrap { width: 120px; height: 120px; }

    /* Buttons */
    .btn { padding: .7rem 1.25rem; font-size: .9rem; }
    .btn-full { width: 100%; }

    /* Services */
    .pd-feat-grid { grid-template-columns: 1fr; }
    .pd-header-left { flex-direction: column; }
    .pd-header-stats { flex-wrap: wrap; gap: 1rem; }
    .pd-cta { padding: 1.75rem 1.25rem; }
    .pd-cta-actions { flex-direction: column; }
    .pd-cta-actions .btn-white,
    .pd-cta-actions .btn-outline-white { text-align: center; justify-content: center; }
}

/* ── Reviews marquee ── */
.reviews-section { overflow: hidden; padding-bottom: 4rem; }
.reviews-section .section-header { text-align: center; margin-bottom: 3rem; }
.reviews-track-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.reviews-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: reviews-scroll 40s linear infinite;
    will-change: transform;
}
.reviews-track:hover { animation-play-state: paused; }
/* Single static review (no loop needed with only one card) */
.reviews-track-wrap.reviews-static {
    display: flex;
    justify-content: center;
    mask-image: none;
    -webkit-mask-image: none;
}
.reviews-track.reviews-static {
    width: auto;
    animation: none;
    will-change: auto;
}
@keyframes reviews-scroll {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
.reviews-track-2 {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: reviews-scroll-rev 44s linear infinite;
    will-change: transform;
}
.reviews-track-2:hover { animation-play-state: paused; }
@keyframes reviews-scroll-rev {
    0%   { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    width: 340px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(15,23,42,.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow .2s, transform .2s;
}
.review-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,.13); transform: translateY(-3px); }
.review-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: .1em; }
.review-text { font-size: .9rem; color: var(--text-light); line-height: 1.65; flex: 1; }
.review-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.avatar-purple { background: #7c3aed; }
.avatar-teal   { background: #0f766e; }
.avatar-amber  { background: #b45309; }
.avatar-blue   { background: #1d4ed8; }
.avatar-slate  { background: #374151; }
.review-author > div { display: flex; flex-direction: column; }
.review-author strong { font-size: .9rem; color: var(--text); }
.review-author span { font-size: .75rem; color: var(--text-light); }

/* ── Hero trust badges ── */
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.trust-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; text-decoration: none;
    border: 1.5px solid var(--border);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(15,23,42,.07);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.trust-badge:hover { box-shadow: 0 4px 16px rgba(15,23,42,.13); border-color: #cbd5e1; text-decoration: none; }
.trust-badge-google { color: var(--dark); }
.trust-badge-stars { cursor: default; color: var(--dark); }
.trust-stars { color: #f59e0b; letter-spacing: .05em; font-size: .9rem; }
.trust-stars-label { color: var(--muted); font-weight: 500; }
.trust-badge-meta { color: #0064e1; border-color: #d0e4ff; background: #f0f6ff; cursor: default; }
.trust-badge-meta:hover { border-color: #a8c8ff; box-shadow: 0 4px 16px rgba(0,100,225,.12); }
.lnd-meta-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 0.85rem; font-size: 0.8rem; font-weight: 700; color: #0064e0; background: #eef2ff; border: 1px solid #e0e7ff; padding: 0.45rem 0.95rem; border-radius: 999px; box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.lnd-meta-badge svg { flex-shrink: 0; }

/* ── Why Anouk: numbered spec list (no cards, no icons, no hover gimmicks) ── */
.why-header-split { max-width: 640px; margin-bottom: 2.5rem; }
.section-label {
    display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: var(--primary); margin-bottom: .85rem;
}
.why-header-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; }

.why-list { border-top: 1px solid var(--border); }
.why-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border);
}
.why-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.15rem; font-weight: 700;
    color: #93c5fd;
}
.why-item-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.why-item-body p  { color: var(--text-light); font-size: .92rem; line-height: 1.7; margin: 0; max-width: 680px; }
@media (max-width: 640px) {
    .why-item { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.75rem 0; }
}

/* ── Trust & compliance strip ── */
.trust-section { background: var(--light-bg); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.trust-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}
.trust-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.trust-card p { color: var(--text-light); font-size: .9rem; line-height: 1.65; margin: 0; }
.trust-card p a { color: var(--primary); font-weight: 600; }
@media (max-width: 860px) {
    .trust-grid { grid-template-columns: 1fr; }
}

/* ── Blog listing ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-badge {
    display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--primary); background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px;
    padding: .3rem .75rem; margin-bottom: .9rem;
}
.blog-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: .6rem; }
.blog-card p { color: var(--text-light); font-size: .9rem; line-height: 1.6; margin: 0 0 1rem; }
.blog-card-meta { font-size: .78rem; color: var(--text-light); }
@media (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ── Status bar ── */
.status-bar {
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    padding: .7rem 0;
}
.status-bar-inner {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    font-size: .8rem; font-weight: 500; color: #166534;
    flex-wrap: wrap;
}
.status-dot-wrap { display: flex; align-items: center; }
.status-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    position: relative;
}
.status-dot::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: rgba(34,197,94,.5);
    animation: status-pulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes status-pulse {
    0%   { transform: scale(1);   opacity: .7; }
    70%  { transform: scale(2.8); opacity: 0; }
    100% { transform: scale(1);   opacity: 0; }
}
.status-label { font-weight: 700; color: #15803d; }
.status-sep   { color: #86efac; }
.status-metric { color: #15803d; font-weight: 700; }
.status-link {
    color: #166534; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem;
    transition: color .18s ease;
}
.status-link:hover { color: #15803d; }
.status-live {
    font-size: .62rem; font-weight: 800; letter-spacing: .08em;
    background: #22c55e; color: #fff; padding: .1rem .4rem; border-radius: 4px;
}

/* ── Timeline ── */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding-left: 2.5rem;
}
.timeline::before {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 11px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.timeline.line-drawn::before { transform: scaleY(1); }
.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -2.5rem; top: .3rem;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.timeline-item:hover .timeline-marker {
    box-shadow: 0 0 0 6px rgba(37,99,235,.15);
    border-color: var(--accent);
}
.timeline-item-future .timeline-marker {
    border-color: var(--border);
    border-style: dashed;
    box-shadow: none;
}
.timeline-date {
    display: inline-block;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--primary); margin-bottom: .4rem;
    font-family: 'Courier New', monospace;
}
.timeline-item-future .timeline-date { color: var(--muted); }
.timeline-content h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.timeline-content p  { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* ── How it works (LeadTime) ── */
.how-it-works {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.hiw-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.75rem; text-align: center; color: var(--dark); }
.hiw-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.hiw-step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}
.hiw-step-num {
    font-family: 'Courier New', monospace;
    font-size: .7rem; font-weight: 800; letter-spacing: .1em;
    color: var(--primary); margin-bottom: .5rem;
}
.hiw-step-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: #eff6ff; border: 1px solid rgba(37,99,235,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); margin: 0 auto .75rem;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.hiw-step:hover .hiw-step-icon {
    background: var(--primary); color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,.25);
    transform: translateY(-3px);
}
.hiw-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.hiw-step p  { font-size: .82rem; color: var(--text-light); line-height: 1.6; }
.hiw-connector {
    flex-shrink: 0; display: flex; align-items: center; padding-top: 26px;
}
.hiw-connector span {
    display: block; width: 48px; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px; position: relative;
}
.hiw-connector span::after {
    content: '▶';
    position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: .55rem; line-height: 1;
}
@media (max-width: 640px) {
    .hiw-steps { flex-direction: column; align-items: center; gap: 1.5rem; }
    .hiw-connector { padding-top: 0; transform: rotate(90deg); }
}

/* ── Fleet launch teaser ── */
.fleet-launch-teaser {
    margin: 2rem 0;
    border: 1px dashed rgba(37,99,235,.3);
    border-radius: var(--radius);
    background: #eff6ff;
    padding: 1.25rem 1.5rem;
}
.flt-inner {
    display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.flt-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(37,99,235,.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.flt-inner > div { flex: 1; min-width: 180px; }
.flt-inner h4 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.flt-inner p  { font-size: .82rem; color: var(--text-light); }

/* ── Page-hero canvas (inner pages) ── */
.page-hero { overflow: hidden; }
.page-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ── About: visual column ── */
.about-visual { align-items: center; }

/* ── Stack section (homepage) ── */
.stack-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.stack-text .badge { margin-bottom: .75rem; }
.stack-text h2 { margin-bottom: 1rem; }
.stack-text p { color: var(--text-light); line-height: 1.7; }
.stack-code-card { max-width: 100%; }
@media (max-width: 768px) {
    .stack-container { grid-template-columns: 1fr; }
}
html.dark .stack-section { background: #0a0f1e; }

/* ── About: code card ── */
.about-code-card {
    width: 100%; max-width: 480px;
    background: #0d1424; border: 1px solid #1e293b; border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 0 0 1px rgba(99,155,255,.07);
}
.about-code-body { min-height: 220px; }

/* ── How We Build ── */
.build-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.build-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    position: relative;
    transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.build-step:hover {
    box-shadow: 0 12px 36px rgba(37,99,235,.10);
    border-color: rgba(37,99,235,.25);
    transform: translateY(-3px);
}
.build-step-num {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 2rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: .75rem;
}
.build-step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.build-step p  { color: var(--text-light); font-size: .9rem; line-height: 1.65; }
@media (max-width: 640px) { .build-grid { grid-template-columns: 1fr; } }

/* ── Contact: enhanced info panel ── */
.contact-details li { align-items: flex-start; }
.contact-details .contact-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: #eff6ff; border: 1px solid rgba(37,99,235,.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--primary);
}
.contact-details li > div { display: flex; flex-direction: column; gap: .15rem; }
.contact-details li > div small { color: var(--muted); font-size: .78rem; }
.contact-response-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1.75rem;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    color: #166534; font-size: .82rem; font-weight: 500;
    padding: .45rem .85rem; border-radius: 999px;
}
.contact-response-badge svg { color: #22c55e; flex-shrink: 0; }
.contact-social { margin-top: 2rem; }
.product-picker { display: flex; gap: .75rem; flex-wrap: wrap; }
.product-option { display: flex; align-items: center; gap: .5rem; padding: .6rem 1.25rem; border: 1.5px solid var(--border); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text-light); cursor: pointer; transition: border-color .18s, background .18s, color .18s; user-select: none; }
.product-option input[type="radio"] { display: none; }
.product-option:hover { border-color: var(--primary); color: var(--primary); }
.product-option.selected, .product-option:has(input:checked) { border-color: var(--primary); background: var(--primary); color: #fff; }
.form-optional { font-size: .78rem; font-weight: 400; color: var(--muted); margin-left: .25rem; }
.form-notice { display: flex; align-items: center; gap: .5rem; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: .65rem 1rem; font-size: .82rem; color: #1e40af; margin-bottom: 1.25rem; line-height: 1.4; }

/* Contact intro modal */
.cmodal-backdrop { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1rem; }
.cmodal-backdrop.cmodal-open { display: flex; }
.cmodal { background: #fff; border-radius: 16px; padding: 2rem; max-width: 480px; width: 100%; box-shadow: 0 24px 64px rgba(15,23,42,.18); animation: cmodal-in .22s ease; }
@keyframes cmodal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.cmodal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cmodal-header h2 { font-size: 1.25rem; margin: 0; }
.cmodal-close { background: none; border: none; cursor: pointer; color: var(--muted); padding: .25rem; border-radius: 6px; display: flex; transition: color .15s; }
.cmodal-close:hover { color: var(--dark); }
.cmodal-intro { font-size: .9rem; color: var(--text-light); margin-bottom: 1.25rem; }
.cmodal-tabs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .85rem; }
.cmodal-tabs li { display: flex; align-items: flex-start; gap: .85rem; }
.cmodal-tabs li p { font-size: .83rem; color: var(--text-light); margin: .2rem 0 0; line-height: 1.45; }
.cmodal-tabs li strong { font-size: .92rem; }
.cmodal-tab-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cmodal-tab-enquiry { background: #eff6ff; color: #2563eb; }
.cmodal-tab-ai      { background: #f0fdf4; color: #16a34a; }
.cmodal-tab-api     { background: #f5f3ff; color: #7c3aed; }
.cmodal-tab-bug     { background: #fff7ed; color: #ea580c; }
.cmodal .btn:hover  { transform: none; }
.form-notice svg { flex-shrink: 0; margin-top: .1rem; }

/* severity pill colours */
.severity-low.selected, .severity-low:has(input:checked)      { background: #16a34a; border-color: #16a34a; color: #fff; }
.severity-low:hover                                             { border-color: #16a34a; color: #16a34a; }
.severity-medium.selected, .severity-medium:has(input:checked) { background: #d97706; border-color: #d97706; color: #fff; }
.severity-medium:hover                                          { border-color: #d97706; color: #d97706; }
.severity-high.selected, .severity-high:has(input:checked)     { background: #ea580c; border-color: #ea580c; color: #fff; }
.severity-high:hover                                            { border-color: #ea580c; color: #ea580c; }
.severity-critical.selected, .severity-critical:has(input:checked) { background: #dc2626; border-color: #dc2626; color: #fff; }
.severity-critical:hover                                            { border-color: #dc2626; color: #dc2626; }

/* honeypot: off-screen, not display:none, so it still fools most bots */
/* display:none (not just off-screen positioning) is required here --
   browsers generally skip autofilling elements that aren't actually
   rendered, but will still autofill an off-screen-positioned input
   that's technically "displayed". A plain positioning trick let Chrome's
   address-autofill silently fill this honeypot on real visits, which
   made every real submission on both this form and the address-mapping
   tool's honeypot get misclassified as spam. Naive bots that blindly
   POST every field on the page still fill it regardless of display,
   so this doesn't reduce the honeypot's actual catch rate. */
.hp-field { display: none; position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form tabs */
.form-tabs { display: flex; gap: 0; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.form-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem .5rem; font-size: .82rem; font-weight: 600; color: var(--text-light); background: none; border: none; border-right: 1.5px solid var(--border); cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.form-tab:last-child { border-right: none; }
.form-tab:hover { background: var(--surface); color: var(--primary); }
.form-tab.active { background: var(--primary); color: #fff; }
.form-tab-panel { display: none; }
.form-tab-panel.active { display: block; }
@media (max-width: 640px) {
    .form-tabs { flex-wrap: wrap; }
    .form-tab { flex: 1 1 50%; font-size: .76rem; padding: .6rem .4rem; border-bottom: 1.5px solid var(--border); }
    .form-tab:nth-child(2n) { border-right: none; }
    .form-tab:nth-last-child(-n+2) { border-bottom: none; }
}
.contact-social-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .75rem; }
.contact-social .footer-social a { color: var(--text-light); }
.contact-social .footer-social a:hover { color: var(--primary); }

/* ── Services: API demo ── */
.api-demo-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    align-items: center;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.api-demo-label .badge { margin-bottom: .75rem; }
.api-demo-label p { color: var(--text-light); font-size: .9rem; line-height: 1.6; }
.api-demo-terminal { max-width: 100%; animation: none; }
@media (max-width: 768px) {
    .api-demo-wrap { grid-template-columns: 1fr; }
    .api-demo-terminal { display: block !important; }
}

/* ── 404 page ── */
.notfound-section {
    min-height: calc(100vh - 80px);
    display: flex; align-items: center;
    background: linear-gradient(160deg, #f0f7ff 0%, #faf5ff 55%, #eef2ff 100%);
    position: relative; overflow: hidden;
    padding: 5rem 0;
}
.notfound-container { position: relative; z-index: 1; text-align: center; }
.notfound-terminal {
    max-width: 540px; margin: 0 auto 2rem;
    background: #0d1424; border: 1px solid #1e293b; border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.3), 0 0 0 1px rgba(99,155,255,.07);
    text-align: left;
}
.notfound-body { min-height: 220px; }
.notfound-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Hero Terminal ── */
.hero-visual { flex-direction: column; gap: 1.5rem; }
.hero-terminal {
    width: 100%; max-width: 500px;
    background: #0d1424;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(99,155,255,.07), inset 0 1px 0 rgba(255,255,255,.04);
    font-size: .82rem;
    animation: hero-float 5s ease-in-out infinite;
}
.terminal-topbar {
    background: #1a2438;
    padding: .55rem 1rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    border-bottom: 1px solid #1e293b;
}
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal-dot.td-r { background: #ef4444; }
.terminal-dot.td-y { background: #f59e0b; }
.terminal-dot.td-g { background: #22c55e; }
.terminal-topbar-title { color: #475569; font-size: .7rem; margin-left: auto; font-family: 'Courier New', Consolas, monospace; }
.terminal-body {
    padding: 1rem 1.25rem 1.25rem;
    font-family: 'Courier New', Consolas, monospace;
    line-height: 2;
    min-height: 185px;
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
/* Fixed height variant prevents layout shift during typing */
.terminal-fixed-body {
    height: 260px;
    overflow: hidden;
}
.t-line { display: flex; align-items: baseline; gap: .35rem; white-space: pre; }
.t-prompt-cmd  { color: #4ade80; }
.t-prompt-ok   { color: #4ade80; }
.t-prompt-info { color: #60a5fa; }
.t-prompt-dim  { color: #1e293b; }
.t-text-cmd    { color: #f1f5f9; }
.t-text-ok     { color: #86efac; }
.t-text-info   { color: #93c5fd; }
.t-text-dim    { color: #475569; }
.t-text-error  { color: #ef4444; font-family: monospace; }
.t-gap         { height: .5rem; }
.t-cursor {
    display: inline-block; width: 7px; height: 1em;
    background: #60a5fa; margin-left: 1px; vertical-align: text-bottom;
    animation: t-blink .8s step-end infinite;
}
@keyframes t-blink { 50% { opacity: 0; } }
@media (max-width: 767px) { .hero-terminal { display: block; } }

/* ── Tech Stack Strip ── */
.tech-strip {
    padding: 2rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.tech-strip-label {
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}
.tech-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    flex-wrap: wrap;
}
.tech-pill {
    font-family: 'Courier New', Consolas, monospace;
    font-size: .76rem;
    font-weight: 500;
    color: var(--mid);
    padding: .28rem .75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--light-bg);
    transition: border-color .18s, color .18s, background .18s, transform .18s, box-shadow .18s;
    cursor: default;
    user-select: none;
}
.tech-pill:hover {
    border-color: rgba(37,99,235,.35);
    color: var(--primary);
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,.12);
}

/* ════════════════════════════════════════════════════════
   DARK SECTION UTILITIES
════════════════════════════════════════════════════════ */
.section-dark {
    background: #0f172a;
    color: #cbd5e1;
}
.section-dark-mid {
    background: #111827;
    color: #cbd5e1;
}
.section-dark .section-header h2,
.section-dark-mid .section-header h2 { color: #f1f5f9; }
.section-dark .section-header p,
.section-dark-mid .section-header p  { color: #94a3b8; }
.section-header-dark h2 { color: #f1f5f9; }
.section-header-dark p  { color: #94a3b8; }
.badge-dark-section {
    background: rgba(37,99,235,.15);
    border: 1px solid rgba(37,99,235,.3);
    color: #93c5fd;
    font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    padding: .3rem .85rem; border-radius: 999px; display: inline-block;
}
.btn-outline-dark {
    border: 1px solid rgba(255,255,255,.2);
    color: #e2e8f0;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: .55rem 1.4rem;
    font-size: .9rem; font-weight: 500;
    display: inline-block;
    transition: background .2s, border-color .2s, color .2s;
    text-decoration: none;
}
.btn-outline-dark:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    color: #fff;
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════
   BENTO GRID
════════════════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.bento-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color .25s, background .25s;
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(37,99,235,.06) 0%, transparent 60%);
    pointer-events: none;
}
.bento-card:hover {
    border-color: rgba(37,99,235,.25);
    background: rgba(255,255,255,.06);
}
.bento-featured {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(37,99,235,.14) 0%, rgba(15,42,82,.22) 100%);
    border-color: rgba(37,99,235,.2);
}
.bento-featured h3 { font-size: 1.3rem; color: #f1f5f9; margin-top: .25rem; }
.bento-featured p  { color: #94a3b8; font-size: .95rem; }
.bento-code-card { grid-column: span 2; }
.bento-tag {
    display: inline-flex; align-items: center;
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #60a5fa; background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.2);
    padding: .2rem .7rem; border-radius: 6px;
    width: fit-content;
}

/* Vehicle list in GPS card */
.bento-vehicle-list {
    display: flex; flex-direction: column; gap: .55rem;
    background: rgba(0,0,0,.25); border-radius: 10px;
    padding: 1rem; border: 1px solid rgba(255,255,255,.06);
    flex: 1;
    margin-top: .5rem;
}
.bento-vehicle {
    display: flex; align-items: center; gap: .6rem;
    font-size: .82rem; font-family: 'Courier New', Consolas, monospace;
    color: #cbd5e1;
}
.bv-name { flex: 1; color: #94a3b8; }
.bv-speed { font-weight: 600; color: #60a5fa; }
.bv-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.bv-dot-green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.bv-dot-amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.5); }
.bv-dot-red   { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.5); }

.bento-live-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .75rem; font-weight: 600; color: #4ade80;
    background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
    padding: .3rem .75rem; border-radius: 999px;
    width: fit-content;
}

/* Stat cards */
.bento-stat-card {
    justify-content: center; align-items: flex-start; gap: .4rem;
}
.bento-stat-blue { border-color: rgba(37,99,235,.2); background: rgba(37,99,235,.07); }
.bento-stat-green { border-color: rgba(34,197,94,.2); background: rgba(34,197,94,.07); }
.bento-stat-num {
    font-size: 2.6rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bento-stat-blue .bento-stat-num  { background: linear-gradient(135deg, #60a5fa, #818cf8); -webkit-background-clip: text; background-clip: text; }
.bento-stat-green .bento-stat-num { background: linear-gradient(135deg, #4ade80, #34d399); -webkit-background-clip: text; background-clip: text; }
.bento-stat-lbl { font-size: .9rem; font-weight: 600; color: #e2e8f0; }
.bento-stat-sub { font-size: .78rem; color: #64748b; }

/* Feature card */
.bento-feature-card h4 { color: #ffffff; font-size: 1rem; }
.bento-feature-card p  { color: #94a3b8; font-size: .88rem; }
.bento-icon-wrap {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.2);
    display: flex; align-items: center; justify-content: center;
    color: #60a5fa;
}
.bento-icon-wrap-tight { margin-bottom: .25rem; }

/* Code card */
.bento-code-card h4 { color: #ffffff; }
.bento-code-card p  { color: #94a3b8; font-size: .85rem; }
.bento-code {
    background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px; padding: 1rem 1.25rem;
    font-family: 'Courier New', Consolas, monospace;
    font-size: .8rem; line-height: 1.7;
    color: #94a3b8; overflow-x: auto;
    margin: .25rem 0; white-space: pre;
}
.bc-dim  { color: #475569; }
.bc-green{ color: #4ade80; }
.bc-amber{ color: #fbbf24; }
.bc-ok   { color: #22c55e; font-weight: 600; }

/* Schedule preview in bento */
.bento-schedule-preview {
    display: flex; flex-direction: column; gap: .5rem;
    background: rgba(0,0,0,.25); border-radius: 10px;
    padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.06);
    margin-top: .5rem; flex: 1;
}
.bsp-row {
    display: flex; align-items: center; gap: .65rem;
    font-size: .78rem; font-family: 'Courier New', Consolas, monospace;
}
.bsp-time  { color: #60a5fa; font-weight: 600; flex-shrink: 0; width: 38px; }
.bsp-msg   { color: #64748b; flex: 1; font-size: .74rem; }
.bsp-ok    { color: #22c55e; font-weight: 700; flex-shrink: 0; }
.bsp-pending .bsp-msg { color: #94a3b8; }
.bsp-pending-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #f59e0b; flex-shrink: 0;
    animation: badge-pulse 1.8s ease-in-out infinite;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-featured { grid-column: span 2; grid-row: span 1; }
    .bento-code-card { grid-column: span 2; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-featured, .bento-code-card { grid-column: span 1; }
    .bento-code { font-size: .72rem; }
}

/* ════════════════════════════════════════════════════════
   ARCHITECTURE DIAGRAM
════════════════════════════════════════════════════════ */
.arch-section { }
.arch-wrap {
    max-width: 840px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.arch-hub {
    display: inline-flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1.1rem 2rem;
    font-weight: 600; font-size: 1rem; color: #f1f5f9;
    position: relative; z-index: 1;
}
.arch-hub-logo-wrap { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; overflow: hidden; flex-shrink: 0; }
.arch-hub-logo { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); filter: brightness(0) invert(1) opacity(.85); }
.arch-connectors {
    width: 100%; max-width: 560px;
    height: 56px;
    position: relative;
}
.arch-svg {
    width: 100%; height: 100%;
    overflow: visible;
}
.arch-line {
    fill: none;
    stroke: rgba(37,99,235,.35);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
    animation: arch-flow 2.4s linear infinite;
}
.arch-line-right { animation-delay: -1.2s; }
@keyframes arch-flow {
    to { stroke-dashoffset: -40; }
}
.arch-products {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}
.arch-divider {
    width: 1px;
    background: rgba(255,255,255,.08);
    margin: 0 1.5rem;
    align-self: stretch;
}
.arch-product {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 2rem;
    display: flex; flex-direction: column; gap: 1.25rem;
    transition: border-color .25s;
}
.arch-product:hover { border-color: rgba(37,99,235,.3); }
.arch-product-fleet { border-color: rgba(37,99,235,.15); }
.arch-product-lt    { border-color: rgba(124,58,237,.15); }
.arch-product-head  { display: flex; align-items: center; gap: 1rem; }
.arch-product-head > div { display: flex; flex-direction: column; gap: .4rem; }
.arch-product-head h3 { color: #f1f5f9; font-size: 1.15rem; margin: 0; }
.arch-product-logo { height: 40px; width: auto; max-width: 100px; object-fit: contain; }
.arch-badge {
    display: inline-block; font-size: .65rem; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    padding: .18rem .6rem; border-radius: 6px; width: fit-content;
}
.arch-badge-soon  { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: #fbbf24; }
.arch-badge-live  { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.arch-feature-list {
    list-style: none; display: flex; flex-direction: column; gap: .6rem;
    flex: 1;
}
.arch-feature-list li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .88rem; color: #94a3b8;
}
.arch-feature-list li svg { flex-shrink: 0; color: #2563eb; }
.arch-product-lt .arch-feature-list li svg { color: #7c3aed; }

@media (max-width: 700px) {
    .arch-products { grid-template-columns: 1fr; }
    .arch-divider  { display: none; }
    .arch-product  { }
    .arch-connectors { display: none; }
}

/* ════════════════════════════════════════════════════════
   ABOUT — DARK TECH STACK SECTION
════════════════════════════════════════════════════════ */
.tech-dark-section { }
.tech-dark-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.tech-dark-text h2 { color: #f1f5f9; font-size: 2rem; margin-bottom: 1rem; }
.tech-dark-text p  { color: #94a3b8; line-height: 1.75; margin-bottom: 1.5rem; }
.tech-pill-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-dark-section .tech-pill {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    color: #94a3b8;
}
.tech-dark-section .tech-pill:hover {
    background: rgba(37,99,235,.12);
    border-color: rgba(37,99,235,.3);
    color: #93c5fd;
}
.tech-dark-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.tech-metric {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color .25s;
}
.tech-metric:hover { border-color: rgba(37,99,235,.25); }
.tech-metric-num {
    font-size: 2.2rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: .4rem;
}
.tech-metric-lbl { font-size: .8rem; font-weight: 500; color: #64748b; }
@media (max-width: 860px) {
    .tech-dark-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 500px) {
    .tech-dark-metrics { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ════════════════════════════════════════════════════════
   SERVICES — DARK METRICS BAR
════════════════════════════════════════════════════════ */
.products-metrics {
    padding: 3rem 0;
}
.pmetrics-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.pmetric {
    text-align: center;
    padding: 1rem 3rem;
    flex: 1 1 140px;
}
.pmetric-num {
    font-size: 2.4rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: .35rem;
}
.pmetric-lbl { font-size: .82rem; font-weight: 500; color: #64748b; }
.pmetric-sep {
    width: 1px; height: 40px;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .pmetric { padding: .75rem 1.5rem; }
    .pmetric-num { font-size: 1.9rem; }
    .pmetric-sep { display: none; }
}

/* ════════════════════════════════════════════════════════
   CONTACT — DARK FAQ
════════════════════════════════════════════════════════ */
.faq-section { }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: .5rem;
}
.faq-item {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color .25s;
}
.faq-item:hover { border-color: rgba(37,99,235,.25); }
.faq-item h3 {
    font-size: 1rem; color: #f1f5f9; margin-bottom: .6rem;
}
.faq-item p { color: #94a3b8; font-size: .88rem; line-height: 1.7; }
.faq-item a { color: #60a5fa; text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   ANOUK FLEET FEATURES PAGE
════════════════════════════════════════════════════════ */

/* Legend bar */
.ff-legend-bar { padding: 1rem 0; }
.ff-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.ff-legend-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 500;
    color: #94a3b8;
    padding: .5rem 2rem;
}
.ff-legend-sep {
    width: 1px; height: 20px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}
.ff-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.ff-dot-live    { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.ff-dot-dev     { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.5); }
.ff-dot-planned { background: #a78bfa; box-shadow: 0 0 6px rgba(167,139,250,.5); }

/* Planning graph */
.ff-graph {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: .5rem;
}
.ff-node {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color .25s, transform .25s;
}
.ff-node:hover {
    border-color: rgba(37,99,235,.3);
    transform: translateY(-2px);
}
.ff-node-live  { border-top: 2px solid #22c55e; }
.ff-node-dev   { border-top: 2px solid #f59e0b; }

.ff-node-header {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.ff-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ff-status-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
}

.ff-node-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}
.ff-node h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}
.ff-node > p {
    font-size: .85rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}
.ff-node-points {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}
.ff-node-points li {
    font-size: .8rem;
    color: #64748b;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}
.ff-node-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-size: .75rem;
}
.ff-node-tech {
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .72rem;
    font-weight: 500;
    color: #334155;
    letter-spacing: .03em;
}

/* 5th node spans nicely */
.ff-node:last-child:nth-child(5) {
    grid-column: 2 / 3;
}

@media (max-width: 900px) {
    .ff-graph { grid-template-columns: repeat(2, 1fr); }
    .ff-node:last-child:nth-child(5) { grid-column: auto; }
}
@media (max-width: 580px) {
    .ff-graph { grid-template-columns: 1fr; }
}

/* Future section */
.ff-future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: .5rem;
}
.ff-future-card {
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ff-future-card-admin {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.ff-future-card-security {
    background: #0f172a;
    border-color: rgba(255,255,255,.08);
}
.ff-future-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.ff-future-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ff-future-card-admin .ff-future-icon {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
}
.ff-future-card-security .ff-future-icon {
    background: rgba(167,139,250,.12);
    border: 1px solid rgba(167,139,250,.25);
    color: #a78bfa;
}
.ff-future-phase {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #a78bfa;
    margin-bottom: .3rem;
}
.ff-future-card-admin .ff-future-phase { color: #6366f1; }
.ff-future-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.ff-future-card-admin h3 { color: #0f172a; }
.ff-future-card-security h3 { color: #f1f5f9; }

.ff-future-desc {
    font-size: .92rem;
    line-height: 1.65;
    margin: 0;
}
.ff-future-card-admin .ff-future-desc { color: #334155; }
.ff-future-card-security .ff-future-desc { color: #94a3b8; }

.ff-future-context {
    font-size: .82rem;
    font-style: italic;
    margin: 0;
    padding: .75rem 1rem;
    border-radius: 8px;
    line-height: 1.6;
}
.ff-future-card-admin .ff-future-context {
    background: #eff6ff;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}
.ff-future-card-security .ff-future-context {
    background: rgba(167,139,250,.08);
    color: #c4b5fd;
    border-left: 3px solid #7c3aed;
}

.ff-future-points {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.ff-future-points li {
    font-size: .83rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.ff-future-points li::before {
    content: '·';
    position: absolute;
    left: .2rem;
    font-weight: 700;
}
.ff-future-card-admin .ff-future-points li {
    color: #475569;
}
.ff-future-card-admin .ff-future-points li::before { color: #2563eb; }
.ff-future-card-security .ff-future-points li {
    color: #64748b;
}
.ff-future-card-security .ff-future-points li::before { color: #a78bfa; }

/* Expiry demo widget */
.ff-expiry-demo {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.ff-expiry-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    font-size: .8rem;
    border-bottom: 1px solid #f1f5f9;
}
.ff-expiry-row:last-child { border-bottom: none; }
.ff-expiry-icon {
    font-size: .85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.ff-expiry-label { flex: 1; color: #334155; font-weight: 500; }
.ff-expiry-date  { font-size: .75rem; color: #64748b; white-space: nowrap; }
.ff-expiry-ok   { background: #f0fdf4; }
.ff-expiry-ok .ff-expiry-icon { color: #16a34a; }
.ff-expiry-warn { background: #fffbeb; }
.ff-expiry-warn .ff-expiry-icon { color: #d97706; }
.ff-expiry-crit { background: #fef2f2; }
.ff-expiry-crit .ff-expiry-icon { color: #dc2626; }

/* Security demo widget */
.ff-security-demo {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.ff-security-event {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}
.ff-sec-pulse {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.ff-sec-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    animation: sec-ring .9s ease-out infinite;
    opacity: 0;
}
@keyframes sec-ring {
    0%   { transform: scale(.6); opacity: .8; }
    100% { transform: scale(2);  opacity: 0; }
}
.ff-sec-pulse        { background: #3b82f6; color: #3b82f6; }
.ff-sec-pulse-amber  { background: #f59e0b; color: #f59e0b; }
.ff-sec-pulse-red    { background: #ef4444; color: #ef4444; }

.ff-sec-body { display: flex; flex-direction: column; gap: .15rem; }
.ff-sec-title  { font-size: .82rem; font-weight: 600; color: #e2e8f0; }
.ff-sec-detail { font-size: .74rem; color: #64748b; }

.ff-sec-deviation { border-color: rgba(59,130,246,.25); }
.ff-sec-risk      { border-color: rgba(245,158,11,.25); }
.ff-sec-panic     { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.05); }

/* CTA section */
.ff-cta-section { padding: 5rem 0; }

@media (max-width: 760px) {
    .ff-future-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .ff-legend-item { padding: .4rem 1rem; }
    .ff-legend-sep  { display: none; }
}

/* ════════════════════════════════════════════════════════
   SHORTSTAFF PAGE
════════════════════════════════════════════════════════ */
:root {
    --ss-green: #10b981;
    --ss-green-dim: rgba(16,185,129,.15);
    --ss-amber: #f59e0b;
    --ss-red:   #ef4444;
}

/* Metrics bar reuse */
.ss-metrics { padding: 3rem 0; }

/* Screen nav pills */
.ss-screen-nav {
    position: sticky;
    top: 64px;
    z-index: 80;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: .6rem 0;
}
.ss-screen-nav .container {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}
.ss-nav-pill {
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    padding: .35rem .9rem;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
    transition: color .2s, border-color .2s, background .2s;
    white-space: nowrap;
}
.ss-nav-pill:hover {
    color: var(--ss-green);
    border-color: rgba(16,185,129,.3);
    background: rgba(16,185,129,.06);
}

/* Screen sections */
.ss-screen { padding: 5rem 0; }
.ss-screen-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.ss-screen-header h2 { font-size: 1.9rem; margin: .35rem 0 .5rem; }
.ss-screen-header p  { color: #64748b; font-size: .95rem; max-width: 520px; }
.section-dark .ss-screen-header p { color: #94a3b8; }
.ss-screen-num {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,.04);
    flex-shrink: 0;
    user-select: none;
    font-variant-numeric: tabular-nums;
}
.ss-screen-num-light { color: rgba(0,0,0,.04); }
.ss-screen-note {
    margin-top: 1.5rem;
    font-size: .85rem;
    color: #94a3b8;
    max-width: 640px;
    line-height: 1.7;
}
.ss-screen:not(.section-dark) .ss-screen-note { color: #64748b; }

/* Demo frame chrome */
.ss-demo-frame {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
}
.ss-demo-frame-light {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.ss-frame-bar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1rem;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.ss-frame-bar-light {
    background: #f1f5f9;
    border-bottom-color: #e2e8f0;
}
.ss-frame-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}
.ss-frame-bar-light .ss-frame-dot { background: #cbd5e1; }
.ss-frame-title {
    font-size: .72rem;
    font-weight: 500;
    color: #475569;
    margin-left: .5rem;
}
.ss-frame-title-dark { color: #334155; }

/* Avatars */
.ss-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.ss-avatar-sm { width: 26px; height: 26px; font-size: .62rem; }
.ss-av-1 { background: #6366f1; }
.ss-av-2 { background: var(--ss-green); }
.ss-av-3 { background: #ec4899; }
.ss-av-4 { background: #f59e0b; }
.ss-cand-avatar-dim { opacity: .4; }
.ss-av-5 { background: #3b82f6; }
.ss-av-6 { background: #8b5cf6; }

/* ── SCREEN 1: ROSTER GRID ── */
.ss-roster { padding: 1.25rem; }
.ss-roster-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.ss-roster-week { font-size: .82rem; font-weight: 600; color: #94a3b8; }
.ss-roster-actions { display: flex; gap: .4rem; }
.ss-btn-ghost {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #64748b;
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}
.ss-btn-ghost:hover { color: #94a3b8; border-color: rgba(255,255,255,.15); }
.ss-btn-today { color: var(--ss-green); border-color: rgba(16,185,129,.3); }

.ss-grid-wrap { overflow-x: auto; }
.ss-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
    min-width: 560px;
}
.ss-grid th, .ss-grid td {
    padding: .5rem .4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.ss-grid th {
    font-size: .7rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding-bottom: .6rem;
}
.ss-grid th small { display: block; font-size: .7rem; font-weight: 400; color: #334155; text-transform: none; letter-spacing: 0; }
.ss-grid-staff-col { text-align: left; width: 140px; }
.ss-grid-name {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    text-align: left;
}
.ss-col-today { background: rgba(16,185,129,.04); }
.ss-today-lbl {
    color: var(--ss-green) !important;
    font-weight: 700 !important;
    font-size: .7rem !important;
}
.ss-shift { display: flex; align-items: center; justify-content: center; }
.ss-shift-bar {
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.25);
    color: #6ee7b7;
    font-size: .68rem;
    font-weight: 600;
    padding: .25rem .5rem;
    border-radius: 5px;
    white-space: nowrap;
}

/* The gap cell */
.ss-gap-cell {
    background: rgba(239,68,68,.08);
    border: 1.5px dashed rgba(239,68,68,.5);
    border-radius: 7px;
    padding: .5rem .4rem;
    cursor: pointer;
    text-align: center;
    width: 100%;
    position: relative;
    transition: background .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
}
.ss-gap-cell:hover {
    background: rgba(239,68,68,.14);
    border-color: rgba(239,68,68,.8);
}
.ss-gap-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 9px;
    border: 1.5px solid rgba(239,68,68,.5);
    animation: gap-pulse 1.8s ease-out infinite;
    pointer-events: none;
}
@keyframes gap-pulse {
    0%   { transform: scale(1);    opacity: .7; }
    100% { transform: scale(1.08); opacity: 0; }
}
.ss-gap-icon {
    font-size: .9rem;
    font-weight: 900;
    color: var(--ss-red);
    line-height: 1;
}
.ss-gap-lbl {
    font-size: .62rem;
    line-height: 1.3;
    color: #fca5a5;
    font-weight: 500;
}
.ss-gap-cta {
    font-size: .6rem;
    color: var(--ss-red);
    font-weight: 700;
    opacity: .8;
}
.ss-grid-legend {
    display: flex;
    gap: 1.25rem;
    margin-top: .75rem;
    font-size: .72rem;
    color: #475569;
}
.ss-legend-item { display: flex; align-items: center; gap: .4rem; }
.ss-legend-swatch {
    display: inline-block;
    width: 24px; height: 12px;
    border-radius: 3px;
}
.ss-legend-gap {
    display: inline-block;
    width: 24px; height: 12px;
    border-radius: 3px;
    background: rgba(239,68,68,.08);
    border: 1.5px dashed rgba(239,68,68,.5);
}

/* ── SCREEN 2: FILL SHIFT ── */
.ss-fill-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }

.ss-open-shift-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: .9rem 1rem;
}
.ss-osc-icon { color: #2563eb; flex-shrink: 0; }
.ss-osc-body { flex: 1; }
.ss-osc-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #1e40af; margin-bottom: .15rem; }
.ss-osc-detail { font-size: .8rem; color: #1d4ed8; font-weight: 500; }
.ss-osc-badge {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .68rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 99px;
    white-space: nowrap;
}

.ss-tier-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    flex-wrap: wrap;
}
.ss-tier-tag {
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ss-tier-tag-team   { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.ss-tier-tag-casual { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.ss-tier-sub { font-size: .75rem; color: #94a3b8; }

.ss-candidate-list { display: flex; flex-direction: column; gap: .5rem; }
.ss-candidate {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .9rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
}
.ss-candidate-avail:hover { border-color: var(--ss-green); background: #f0fdf9; }
.ss-candidate-warn:hover  { border-color: var(--ss-amber); background: #fffbeb; }
.ss-candidate-unavail {
    opacity: .45;
    cursor: not-allowed;
    background: #f8fafc;
}
.ss-cand-check {
    accent-color: var(--ss-green);
    width: 16px; height: 16px;
    flex-shrink: 0;
}
.ss-cand-info { flex: 1; }
.ss-cand-name { display: block; font-size: .82rem; font-weight: 600; color: #0f172a; }
.ss-cand-meta { font-size: .72rem; color: #64748b; }
.ss-meta-unavail { color: #94a3b8; }
.ss-cand-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .2rem;
    min-width: 80px;
}
.ss-mini-bar {
    width: 70px; height: 5px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.ss-mini-fill {
    height: 100%;
    background: var(--ss-green);
    border-radius: 99px;
    transition: width .4s ease;
}
.ss-mini-fill-warn { background: var(--ss-amber); }
.ss-mini-fill-35 { width: 35%; }
.ss-mini-fill-53 { width: 53%; }
.ss-mini-fill-71 { width: 71%; }
.ss-cand-hours      { font-size: .68rem; color: #64748b; }
.ss-cand-hours-warn { color: var(--ss-amber); font-weight: 600; }
.ss-avail-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ss-avail-ok   { background: var(--ss-green); box-shadow: 0 0 5px rgba(16,185,129,.5); }
.ss-avail-warn { background: var(--ss-amber); }
.ss-avail-no   { background: #cbd5e1; }

.ss-tier-casual .ss-casual-locked {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 10px;
    padding: .85rem 1rem;
}
.ss-unlock-link { color: #2563eb; text-decoration: none; }
.ss-unlock-link:hover { text-decoration: underline; }

.ss-fill-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .75rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.ss-selected-count { font-size: .8rem; color: #94a3b8; }
.ss-btn-send {
    background: var(--ss-green);
    color: #fff;
    border: none;
    padding: .6rem 1.4rem;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.ss-btn-send:disabled { opacity: .35; cursor: not-allowed; }
.ss-btn-send:not(:disabled):hover { opacity: .9; transform: translateY(-1px); }

/* ── SCREEN 3: OFFER STATUS ── */
.ss-status-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }

.ss-status-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
}
.ss-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .6rem 1.25rem;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 600;
    color: #64748b;
}
.ss-stat-n {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}
.ss-stat-sent     { background: rgba(100,116,139,.1); }
.ss-stat-sent .ss-stat-n { color: #94a3b8; }
.ss-stat-viewed   { background: rgba(59,130,246,.1); }
.ss-stat-viewed .ss-stat-n { color: #60a5fa; }
.ss-stat-accepted { background: rgba(16,185,129,.1); }
.ss-stat-accepted .ss-stat-n { color: var(--ss-green); }
.ss-stat-arrow { color: #334155; font-size: 1rem; }

.ss-offer-rows { display: flex; flex-direction: column; gap: .6rem; }
.ss-offer-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
}
.ss-offer-accepted { border-color: rgba(16,185,129,.25); background: rgba(16,185,129,.05); }
.ss-offer-info { flex: 1; }
.ss-offer-name { display: block; font-size: .82rem; font-weight: 600; color: #e2e8f0; }
.ss-offer-time { font-size: .72rem; color: #64748b; }
.ss-offer-status-badge {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 99px;
    white-space: nowrap;
}
.ss-badge-accepted { background: rgba(16,185,129,.15); color: var(--ss-green); }
.ss-badge-viewed   { background: rgba(59,130,246,.12); color: #60a5fa; }
.ss-badge-sent     { background: rgba(100,116,139,.1);  color: #94a3b8; }

.ss-shift-resolved {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.25);
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: #6ee7b7;
}
.ss-resolved-time {
    font-size: .75rem;
    font-weight: 400;
    color: #64748b;
    margin-left: auto;
    white-space: nowrap;
}

/* ── SCREEN 4: COMPLIANCE ── */
.ss-compliance-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.ss-compliance-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .78rem;
    line-height: 1.6;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .75rem .9rem;
}
.ss-compliance-note svg { flex-shrink: 0; margin-top: .1rem; color: #94a3b8; }
.ss-compliance-list { display: flex; flex-direction: column; gap: .6rem; }
.ss-comp-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem .9rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.ss-comp-info { flex: 1; }
.ss-comp-name { display: block; font-size: .82rem; font-weight: 600; color: #0f172a; margin-bottom: .4rem; }
.ss-comp-bar-wrap { display: flex; align-items: center; gap: .6rem; }
.ss-comp-bar {
    flex: 1;
    height: 7px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}
.ss-comp-fill {
    height: 100%;
    background: var(--ss-green);
    border-radius: 99px;
    width: 0;
    transition: width .7s cubic-bezier(.4,0,.2,1);
}
.ss-comp-fill-amber { background: var(--ss-amber); }
.ss-comp-fill-red   { background: var(--ss-red); }
.ss-comp-pct        { font-size: .7rem; color: #64748b; min-width: 30px; text-align: right; }
.ss-pct-amber       { color: var(--ss-amber); font-weight: 700; }
.ss-pct-red         { color: var(--ss-red);   font-weight: 700; }
.ss-comp-right { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.ss-comp-hrs   { font-size: .78rem; color: #334155; font-weight: 500; white-space: nowrap; }
.ss-comp-tag {
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ss-comp-tag-ok    { background: #f0fdf4; color: #16a34a; }
.ss-comp-tag-amber { background: #fffbeb; color: #d97706; }
.ss-comp-tag-red   { background: #fef2f2; color: #dc2626; }

/* ── SCREEN 5: TIMESHEET ── */
.ss-timesheet-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.ss-ts-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}
.ss-ts-filter { display: flex; gap: .35rem; }
.ss-ts-filter-btn {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #64748b;
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
}
.ss-ts-filter-active {
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.3);
    color: var(--ss-green);
}
.ss-export-btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.2);
    color: #60a5fa;
    font-size: .75rem;
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s;
}
.ss-export-btn:hover { background: rgba(37,99,235,.2); }

.ss-ts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
    min-width: 520px;
}
.ss-ts-table thead th {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #475569;
    padding: .5rem .75rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-align: left;
    white-space: nowrap;
}
.ss-ts-table tbody td {
    padding: .65rem .75rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
    color: #94a3b8;
    vertical-align: middle;
}
.ss-ts-name {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    color: #e2e8f0 !important;
    font-weight: 500;
}
.ss-ts-time { font-variant-numeric: tabular-nums; color: #cbd5e1 !important; }
.ss-ts-missing { color: #475569 !important; }
.ss-ts-hrs { color: #cbd5e1 !important; font-weight: 600; white-space: nowrap; }
.ss-ts-hrs-warn { color: var(--ss-amber) !important; }
.ss-loc-ok {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--ss-green);
    font-size: .72rem;
    font-weight: 600;
}
.ss-loc-warn {
    color: var(--ss-amber);
    font-size: .72rem;
    font-weight: 600;
}
.ss-loc-legend { font-size: .78rem; }
.ss-ts-divider td {
    padding: .35rem .75rem !important;
    background: rgba(255,255,255,.03) !important;
    border-top: 1px solid rgba(255,255,255,.07);
}
.ss-ts-divider span {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #334155;
}
.ss-ts-total td { background: rgba(255,255,255,.02); }
.ss-ts-total-lbl { color: #475569 !important; font-size: .72rem !important; }
.ss-ts-total-hrs { color: var(--ss-green) !important; font-weight: 700 !important; }
.ss-ts-key {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .72rem;
    color: #475569;
    padding-top: .25rem;
}

/* responsive */
@media (max-width: 860px) {
    .ss-screen-header { flex-direction: column; }
    .ss-screen-num { font-size: 3.5rem; align-self: flex-end; margin-top: -1rem; }
}
@media (max-width: 600px) {
    .ss-screen-nav .container { gap: .3rem; }
    .ss-nav-pill { font-size: .72rem; padding: .3rem .65rem; }
    .ss-grid-wrap, .ss-ts-table { overflow-x: auto; }
    .ss-status-summary { gap: .4rem; }
    .ss-stat-pill { padding: .5rem .85rem; }
    .ss-comp-row { flex-wrap: wrap; }
    .ss-comp-right { flex-direction: row; align-items: center; gap: .5rem; }
}


/* ════════════════════════════════════════════════════════
   BACKORDER PAGE
════════════════════════════════════════════════════════ */
:root { --bo: #f97316; --bo-dim: rgba(249,115,22,.15); }

/* Demo layout */
.bo-demo-layout  { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: start; }
.bo-demo-text h2 { font-size: 1.8rem; color: #f1f5f9; margin: .5rem 0 .75rem; }
.bo-demo-text > p { color: #94a3b8; font-size: .9rem; line-height: 1.75; margin-bottom: 1.5rem; }

.bo-screen-list  { display: flex; flex-direction: column; gap: .5rem; }
.bo-screen-link  {
    display: flex; align-items: center; gap: .85rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px; padding: .75rem 1rem;
    cursor: pointer; text-align: left; width: 100%;
    transition: border-color .2s, background .2s;
}
.bo-screen-link:hover { border-color: rgba(249,115,22,.3); background: rgba(249,115,22,.06); }
.bo-sl-num {
    font-size: .68rem; font-weight: 800; color: var(--bo);
    background: var(--bo-dim); border-radius: 6px;
    padding: .2rem .5rem; flex-shrink: 0;
}
.bo-screen-link strong { display: block; font-size: .82rem; color: #e2e8f0; font-weight: 600; }
.bo-screen-link small  { font-size: .72rem; color: #64748b; }

/* Phone frame */
.bo-phone-wrap { display: flex; justify-content: center; }
.bo-phone {
    width: 340px;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.03);
    flex-shrink: 0;
}
.bo-phone-inner {
    width: 100%; height: 680px;
    background: #f1f5f9;
    border-radius: 36px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.bo-statusbar {
    background: #fff;
    padding: 8px 16px 4px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; font-weight: 600; color: #0f172a;
    flex-shrink: 0;
}
.bo-status-icons { display: flex; align-items: center; gap: 5px; color: #0f172a; }
.bo-topbar {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 14px 9px;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.bo-app-logo { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0f172a; }
.bo-screen-label { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.bo-content {
    flex: 1; overflow-y: auto; background: #f1f5f9;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.bo-bottomnav {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    display: flex; flex-shrink: 0;
    padding-bottom: 6px;
}
.bo-tab {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 2px;
    padding: 6px 2px 4px;
    background: none; border: none; cursor: pointer;
    font-size: 8px; font-weight: 600; color: #94a3b8;
    transition: color .15s; text-transform: uppercase; letter-spacing: .02em;
}
.bo-tab svg { stroke: currentColor; }
.bo-tab-active { color: var(--bo); }

/* ── SHARED APP STYLES ── */
.bos-pad { padding: 10px 12px 24px; display: flex; flex-direction: column; gap: 8px; }
.bos-section-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; margin-top: 4px; }
.bos-empty { align-items: center; justify-content: center; padding-top: 60px; text-align: center; }
.bos-empty p { color: #94a3b8; font-size: .8rem; margin-top: 1rem; }

/* DASHBOARD */
.bos-greeting { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.bos-venue    { font-size: 14px; font-weight: 700; color: #0f172a; }
.bos-time     { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.bos-avatar   {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bo); color: #fff;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.bos-alert-banner {
    display: flex; align-items: center; gap: 7px;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
    padding: 8px 10px; font-size: 11px; color: #991b1b; cursor: pointer;
}
.bos-alert-banner strong { font-weight: 700; }
.bos-alert-arrow { margin-left: auto; font-size: 13px; }
.bos-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bos-stat {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 10px 11px; cursor: pointer;
    transition: border-color .15s;
}
.bos-stat:hover { border-color: var(--bo); }
.bos-stat-n    { font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.bos-stat-n-red { color: #dc2626; }
.bos-stat-l    { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; margin-top: 2px; }
.bos-stat-hint { font-size: 9px; color: #94a3b8; margin-top: 3px; }
.bos-hint-up   { color: #dc2626; }
.bos-hint-down { color: #dc2626; }
.bos-stat-warn { border-color: #fecaca; background: #fff7f7; }
.bos-stat-warn .bos-stat-n { color: #dc2626; }
.bos-stat-spend .bos-stat-n { font-size: 14px; }
.bos-below-row {
    display: flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid #fecaca; border-radius: 7px;
    padding: 7px 9px; font-size: 11px;
}
.bos-below-name { flex: 1; color: #0f172a; font-weight: 500; }
.bos-below-qty  { font-size: 10px; color: #dc2626; white-space: nowrap; }
.bos-mini-bar   { width: 36px; height: 4px; background: #fee2e2; border-radius: 99px; overflow: hidden; flex-shrink: 0; }
.bos-mini-fill  { height: 100%; background: #f97316; border-radius: 99px; }
.bos-more-link  { font-size: 11px; color: var(--bo); cursor: pointer; text-align: center; padding: 2px; }
.bos-order-row  {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 9px 10px; cursor: pointer;
}
.bos-order-row:hover { border-color: var(--bo); }
.bos-order-id  { font-size: 12px; font-weight: 700; color: #0f172a; }
.bos-order-sup { font-size: 10px; color: #64748b; margin-top: 1px; }
.bos-order-right { display: flex; align-items: center; gap: 8px; }
.bos-order-date  { font-size: 10px; color: #94a3b8; }
.bos-order-arrow { font-size: 15px; color: #94a3b8; }

/* STOCK */
.bos-supplier-group { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.bos-supplier-name  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; padding: 8px 10px 4px; border-bottom: 1px solid #f1f5f9; }
.bos-stock-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px; border-bottom: 1px solid #f8fafc;
    cursor: pointer; transition: background .15s;
}
.bos-stock-row:last-child { border-bottom: none; }
.bos-stock-row:hover { background: #fafafa; }
.bos-row-low { background: #fff7f7; }
.bos-row-low:hover { background: #fef2f2; }
.bos-stock-main { display: flex; flex-direction: column; gap: 1px; }
.bos-stock-name  { font-size: 12px; font-weight: 500; color: #0f172a; }
.bos-stock-price { font-size: 10px; color: #94a3b8; }
.bos-stock-counts { display: flex; align-items: center; gap: 3px; }
.bos-stock-qty   { font-size: 13px; font-weight: 700; color: #0f172a; }
.bos-qty-low     { color: #dc2626; }
.bos-stock-sep   { font-size: 10px; color: #cbd5e1; }
.bos-stock-par   { font-size: 10px; color: #94a3b8; }
.bos-low-dot     { width: 6px; height: 6px; border-radius: 50%; background: #dc2626; margin-left: 3px; }
.bos-adj-row     { display: flex; align-items: center; gap: 5px; }
.bos-adj-btn     {
    width: 26px; height: 26px; border-radius: 6px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    font-size: 16px; font-weight: 600; color: #0f172a;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .1s;
}
.bos-adj-btn:hover { background: #e2e8f0; }
.bos-adj-qty  { font-size: 13px; font-weight: 700; color: #0f172a; min-width: 36px; text-align: center; }
.bos-adj-done {
    font-size: 10px; font-weight: 700; color: var(--bo);
    background: var(--bo-dim); border: 1px solid rgba(249,115,22,.3);
    border-radius: 5px; padding: 3px 7px; cursor: pointer;
}

/* ORDER BUILD */
.bos-order-note { font-size: 11px; color: #94a3b8; background: #fff; border-radius: 8px; padding: 8px 10px; border: 1px solid #e2e8f0; }
.bos-order-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.bos-order-sent { border-color: #bbf7d0; background: #f0fdf4; }
.bos-order-card-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #f1f5f9; }
.bos-order-card-sup { font-size: 11px; font-weight: 700; color: #0f172a; }
.bos-sent-badge { font-size: 10px; font-weight: 700; color: #16a34a; background: #dcfce7; border-radius: 99px; padding: 2px 8px; }
.bos-order-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.bos-order-table th { padding: 4px 8px; text-align: left; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; border-bottom: 1px solid #f1f5f9; }
.bos-order-table td { padding: 6px 8px; border-bottom: 1px solid #f8fafc; color: #334155; }
.bos-order-table tr:last-child td { border-bottom: none; }
.bos-ot-qty { white-space: nowrap; }
.bos-inline-adj { display: flex; align-items: center; gap: 4px; }
.bos-inline-adj button {
    width: 20px; height: 20px; border-radius: 4px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    font-size: 13px; line-height: 1; color: #334155;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bos-inline-adj span { font-size: 11px; font-weight: 600; min-width: 26px; text-align: center; }
.bos-order-footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
.bos-order-total  { font-size: 11px; font-weight: 700; color: #0f172a; }
.bos-send-btn {
    background: var(--bo); color: #fff; border: none;
    border-radius: 7px; padding: 6px 12px;
    font-size: 11px; font-weight: 700; cursor: pointer;
    transition: opacity .15s;
}
.bos-send-btn:hover { opacity: .88; }

/* RECEIVE */
.bos-recv-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 10px; cursor: pointer; transition: border-color .15s;
}
.bos-recv-card:hover { border-color: var(--bo); }
.bos-recv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.bos-recv-id   { font-size: 12px; font-weight: 700; color: #0f172a; }
.bos-recv-sup  { font-size: 10px; font-weight: 600; color: var(--bo); }
.bos-recv-meta { font-size: 10px; color: #94a3b8; display: flex; justify-content: space-between; margin-bottom: 6px; }
.bos-recv-arrow { font-size: 10px; font-weight: 700; color: var(--bo); }
.bos-back-btn  { background: none; border: none; color: var(--bo); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; }
.bos-recv-title { font-size: 12px; font-weight: 700; color: #0f172a; }
.bos-recv-date  { font-size: 10px; color: #94a3b8; font-weight: 400; }
.bos-recv-item  { background: #fff; border: 1px solid #e2e8f0; border-radius: 9px; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; }
.bos-recv-flagged { border-color: #fca5a5; background: #fff7f7; }
.bos-recv-item-top { display: flex; align-items: center; justify-content: space-between; }
.bos-recv-item-name { font-size: 12px; font-weight: 600; color: #0f172a; }
.bos-price-flag { display: flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: #dc2626; background: #fee2e2; border-radius: 99px; padding: 2px 7px; }
.bos-price-change-row { display: flex; gap: 8px; font-size: 10px; }
.bos-price-old { color: #94a3b8; text-decoration: line-through; }
.bos-price-new { color: #dc2626; font-weight: 700; }
.bos-recv-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.bos-recv-field { display: flex; flex-direction: column; gap: 2px; }
.bos-recv-field label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.bos-recv-field span  { font-size: 11px; font-weight: 600; color: #334155; }
.bos-price-hi { color: #dc2626 !important; }
.bos-qty-input {
    width: 100%; font-size: 12px; font-weight: 700; color: #0f172a;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px;
    padding: 4px 6px; outline: none;
}
.bos-qty-input:focus { border-color: var(--bo); }
.bos-confirm-btn {
    background: var(--bo); color: #fff; border: none;
    border-radius: 9px; padding: 11px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    width: 100%; margin-top: 4px; transition: opacity .15s;
}
.bos-confirm-btn:hover { opacity: .88; }

/* RECIPES */
.bos-recipe-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 10px; display: flex; flex-direction: column; gap: 7px;
}
.bos-recipe-flagged { border-color: #fca5a5; background: #fff7f7; }
.bos-recipe-top { display: flex; align-items: flex-start; justify-content: space-between; }
.bos-recipe-name { font-size: 13px; font-weight: 700; color: #0f172a; display: block; }
.bos-recipe-flag-badge { font-size: 9px; font-weight: 700; color: #dc2626; background: #fee2e2; border-radius: 99px; padding: 2px 7px; margin-top: 3px; display: inline-block; }
.bos-recipe-sell { font-size: 13px; font-weight: 700; color: #0f172a; white-space: nowrap; }
.bos-recipe-gp-row { display: flex; align-items: center; gap: 7px; }
.bos-gp-bar-wrap { flex: 1; }
.bos-gp-bar { height: 6px; background: #f1f5f9; border-radius: 99px; overflow: hidden; }
.bos-gp-fill { height: 100%; border-radius: 99px; transition: width .5s ease; }
.bos-gp-green { background: #22c55e; }
.bos-gp-amber { background: #f59e0b; }
.bos-gp-red   { background: #ef4444; }
.bos-gp-num   { font-size: 12px; font-weight: 700; white-space: nowrap; }
.bos-gp-num.bos-gp-green { color: #16a34a; }
.bos-gp-num.bos-gp-amber { color: #d97706; }
.bos-gp-num.bos-gp-red   { color: #dc2626; }
.bos-gp-was   { font-size: 10px; color: #94a3b8; white-space: nowrap; }
.bos-recipe-ings { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #f1f5f9; padding-top: 6px; }
.bos-ing-row  { display: flex; justify-content: space-between; font-size: 10px; color: #64748b; padding: 3px 0; border-bottom: 1px solid #fafafa; }
.bos-ing-row:last-child { border-bottom: none; }
.bos-ing-flagged { color: #991b1b; }
.bos-ing-old-price { text-decoration: line-through; color: #94a3b8; margin-right: 5px; }
.bos-ing-curr-price { color: #dc2626; font-weight: 700; }
.bos-ing-total { font-weight: 700; color: #0f172a; border-top: 1px solid #e2e8f0; padding-top: 4px; margin-top: 2px; }

/* Chain section */
.bo-chain-section { padding: 5rem 0; }
.bo-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: center; margin-top: .5rem; }
.bo-chain-step { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem; text-align: center; }
.bo-chain-step h3 { font-size: .95rem; font-weight: 700; color: #0f172a; margin: .75rem 0 .4rem; }
.bo-chain-step p  { font-size: .8rem; color: #64748b; line-height: 1.6; margin: 0; }
.bo-chain-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.bo-chain-icon-orange { background: #fff7ed; border: 1px solid #fed7aa; color: var(--bo); }
.bo-chain-icon-red    { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.bo-chain-icon-green  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.bo-chain-arrow { font-size: 1.5rem; color: #cbd5e1; padding: 0 .5rem; }

/* card-dark variant */
.card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.card-dark h3 { color: #f1f5f9; }
.card-dark p  { color: #94a3b8; }
.card-dark .card-icon { color: var(--bo); }

/* responsive */
@media (max-width: 1000px) {
    .bo-demo-layout { grid-template-columns: 1fr; }
    .bo-phone-wrap  { justify-content: center; }
}
@media (max-width: 700px) {
    .bo-chain { grid-template-columns: 1fr; gap: 0; }
    .bo-chain-arrow { transform: rotate(90deg); font-size: 1.2rem; padding: .25rem; text-align: center; }
}
@media (max-width: 400px) {
    .bo-phone { width: 100%; border-radius: 0; padding: 0; }
    .bo-phone-inner { border-radius: 0; height: 600px; }
}

/* ════════════════════════════════════════════════════════
   VISUAL REBUILD — gradient text, hero mesh, demo, effects
════════════════════════════════════════════════════════ */

/* ── Card glare / 3D ── */
.card-glare {
    position: absolute; inset: 0; border-radius: inherit;
    opacity: 0; pointer-events: none; z-index: 2;
    transition: opacity .25s ease;
}

/* ── Word-by-word reveal ── */
.word-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}
.word-reveal-word.visible {
    opacity: 1;
    transform: none;
}

/* ── Heading shimmer sweep ── */
@keyframes heading-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.heading-shimmer {
    background: linear-gradient(
        90deg,
        var(--dark, #0f172a) 20%,
        #a78bfa 40%,
        #60a5fa 55%,
        var(--dark, #0f172a) 75%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heading-shimmer .9s ease forwards;
}

/* ── Section 3D scroll tilt ── */
.bento-grid, .arch-wrap {
    transform-origin: center top;
    transition: transform .1s linear;
    will-change: transform;
}

/* ── Hero depth badges ── */
.hero-depth-badges {
    position: absolute; inset: 0; pointer-events: none; z-index: 2;
}
.hero-depth-badge {
    position: absolute;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 12px;
    padding: .5rem .9rem;
    font-size: .76rem;
    font-weight: 600;
    display: flex; align-items: center; gap: .45rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.06);
    color: #1e293b;
    animation: badge-float 4s ease-in-out infinite;
    will-change: transform;
}
.hero-depth-badge .badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    flex-shrink: 0;
}
.badge-dot-green  { background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,.25); }
.badge-dot-blue   { background: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.25); }
.badge-dot-purple { background: #7c3aed; box-shadow: 0 0 0 2px rgba(124,58,237,.25); }

.hero-depth-badge-1 { top: 18%; right: 6%; animation-delay: 0s; }
.hero-depth-badge-2 { bottom: 28%; right: 3%; animation-delay: 1.3s; }
.hero-depth-badge-3 { top: 55%; right: 28%; animation-delay: 0.7s; }

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

@media (max-width: 900px) {
    .hero-depth-badges { display: none; }
}

/* ── Stat ring pulse ── */
.stat-card { position: relative; }
.stat-ring {
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(37,99,235,.3), rgba(124,58,237,.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
.stat-card:hover .stat-ring { opacity: 1; }

/* ── Gradient text utilities ── */
.gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f2a52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-warm {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero xl heading ── */
.hero-h1-xl { font-size: clamp(2.2rem, 5vw, 4rem) !important; }

/* ── Hero mesh background ── */
@media (prefers-reduced-motion: reduce) {
    .hero { animation: none; }
}

/* ── Hero blob enhancements ── */
.hero-blob-1 {
    display: block !important;
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.35) 0%, transparent 70%);
    top: -80px; left: -100px;
    pointer-events: none;
    filter: blur(60px);
    animation: blob-drift-1 12s ease-in-out infinite;
}
.hero-blob-2 {
    display: block !important;
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,78,216,.28) 0%, transparent 70%);
    bottom: -60px; right: -80px;
    pointer-events: none;
    filter: blur(60px);
    animation: blob-drift-2 14s ease-in-out infinite;
}
.hero-blob-3 {
    display: block;
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,.22) 0%, transparent 70%);
    bottom: -40px; left: 40%;
    pointer-events: none;
    filter: blur(55px);
    animation: blob-drift-3 11s ease-in-out infinite;
}
@keyframes blob-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(20px, 15px) scale(1.06); }
}
@keyframes blob-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-18px, -12px) scale(1.04); }
}
@keyframes blob-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(12px, 8px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-blob-1, .hero-blob-2, .hero-blob-3 { animation: none; }
}


/* ── Word rotator ── */
.hero-rotator {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: var(--muted);
    margin: -.5rem 0 1.5rem;
    min-height: 1.6em;
    overflow: hidden;
}
.hero-rotator-prefix { flex-shrink: 0; }
.hero-rotator-words {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    min-width: 180px;
}
.hero-rotator-word {
    position: absolute;
    left: 0; top: 0;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.hero-rotator-word.active { opacity: 1; position: relative; }

/* ── Section header gradient underline ── */
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.section-header h2.underline-visible::after { transform: scaleX(1); }

/* ── Demo section (currently disabled on home.php) ── */
.demo-section { padding: 5rem 0; display: none; }
.demo-tabs { display: flex; gap: .75rem; justify-content: center; margin-bottom: 2rem; }
.demo-tab { display: flex; align-items: center; gap: .5rem; padding: .6rem 1.4rem; border: 1.5px solid var(--border); border-radius: 9999px; background: transparent; cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--text-muted,var(--muted)); transition: all .2s ease; }
.demo-tab img { width: 20px; height: 20px; object-fit: contain; }
.demo-tab.active, .demo-tab:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,99,235,.06); }
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-browser { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.08); background: #fff; }
.demo-browser-bar { background: #f8fafc; border-bottom: 1px solid var(--border); padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; }
.demo-browser-dots { display: flex; gap: 6px; }
.demo-browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.demo-browser-dots span:nth-child(1) { background: #fc5f57; }
.demo-browser-dots span:nth-child(2) { background: #febc2e; }
.demo-browser-dots span:nth-child(3) { background: #28c840; }
.demo-browser-url { font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: .25rem .75rem; flex: 1; max-width: 300px; margin: 0 auto; text-align: center; }
.demo-browser-body { padding: 2rem; min-height: 340px; }
.demo-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; gap: .25rem; }
.demo-step { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.demo-step.active { color: var(--primary); }
.demo-step-num { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; transition: background .3s, color .3s; }
.demo-step.active .demo-step-num { background: var(--primary); color: #fff; border-color: var(--primary); }
.demo-step.done .demo-step-num { background: #10b981; color: #fff; border-color: #10b981; }
.demo-step.done { color: #10b981; }
.demo-step-connector { width: 32px; height: 2px; background: var(--border); margin: 0 .25rem; flex-shrink: 0; }
.demo-content { display: none; }
.demo-content.active { display: block; animation: demo-fade .3s ease; }
@keyframes demo-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-field { margin-bottom: 1rem; }
.demo-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.demo-input { border: 1.5px solid var(--border); border-radius: 8px; padding: .65rem .9rem; font-size: .9rem; color: var(--text); background: #f8fafc; }
.demo-textarea { border: 1.5px solid var(--border); border-radius: 8px; padding: .65rem .9rem; font-size: .88rem; color: var(--text); background: #f8fafc; line-height: 1.6; min-height: 80px; }
.demo-btn { display: block; width: 100%; padding: .75rem 1.5rem; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; margin-top: 1.5rem; transition: background .2s, transform .1s; }
.demo-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.demo-btn-send { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.demo-btn-reset { margin-top: 1rem; background: transparent; border: 1px solid var(--border); color: var(--text); width: 100%; }
.demo-contact-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.demo-contact { display: flex; align-items: center; gap: .75rem; padding: .6rem .9rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .88rem; cursor: pointer; transition: border-color .2s; }
.demo-contact.selected { border-color: var(--primary); background: rgba(37,99,235,.04); color: var(--primary); font-weight: 600; }
.demo-check { color: var(--primary); font-weight: 700; width: 16px; }
.demo-check-empty { width: 16px; height: 16px; border: 2px solid var(--border); border-radius: 3px; display: inline-block; }
.demo-count { margin-left: auto; font-size: .78rem; color: var(--muted); }
.demo-recipient-summary { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; display: flex; flex-direction: column; gap: .2rem; margin-bottom: 0; }
.demo-recipient-summary strong { color: #15803d; }
.demo-review-summary { border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; }
.demo-review-row { display: flex; justify-content: space-between; padding: .7rem 1rem; font-size: .88rem; border-bottom: 1px solid var(--border); }
.demo-review-row:last-child { border-bottom: none; }
.demo-review-row span:first-child { color: var(--muted); }
.demo-review-row span:last-child { font-weight: 600; }
.demo-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.demo-result-stat { text-align: center; padding: 1.25rem; border-radius: 10px; border: 1.5px solid var(--border); }
.demo-result-num { font-size: 1.8rem; font-weight: 800; margin-bottom: .25rem; }
.demo-result-lbl { font-size: .78rem; color: var(--muted); }
.demo-stat-green .demo-result-num { color: #10b981; }
.demo-stat-blue .demo-result-num { color: var(--primary); }
.demo-stat-purple .demo-result-num { color: #7c3aed; }

/* Fleet demo */
.demo-fleet-header { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.demo-fleet-stat { display: flex; flex-direction: column; gap: .2rem; }
.demo-fleet-num { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.demo-fleet-num.demo-fleet-amber { color: #f59e0b; }
.demo-fleet-num.demo-fleet-green { color: #10b981; }
.demo-fleet-stat span:last-child { font-size: .78rem; color: var(--muted); }
.demo-vehicle-grid { display: flex; flex-direction: column; gap: .5rem; }
.demo-vehicle-row { display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; border-radius: 8px; font-size: .85rem; background: #f8fafc; transition: background .2s; }
.demo-vehicle-row:hover { background: #f1f5f9; }
.dv-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dv-green { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.dv-amber { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.dv-id { font-weight: 700; color: var(--text); min-width: 52px; }
.dv-loc { color: var(--muted); flex: 1; }
.dv-speed { font-weight: 600; color: var(--text); min-width: 60px; text-align: right; font-size: .8rem; }
.dv-status { font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 9999px; min-width: 60px; text-align: center; }
.dv-status-ok   { background: rgba(16,185,129,.12); color: #059669; }
.dv-status-idle { background: rgba(245,158,11,.12); color: #d97706; }
.demo-fleet-live { margin-top: 1rem; font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.dv-moving .dv-dot { animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
    50%      { box-shadow: 0 0 0 6px rgba(16,185,129,.08); }
}
.bv-dot.bv-dot-green { animation: pulse-dot 2s ease-in-out infinite; }

@media (max-width: 640px) {
    .demo-results { grid-template-columns: 1fr; }
    .dv-loc, .dv-speed { display: none; }
}


/* ── SVG stat rings ── */
.stat-ring-wrap {
    position: relative; display: inline-flex;
    align-items: center; justify-content: center;
    width: 80px; height: 80px; margin: 0 auto .75rem;
}
.stat-ring {
    position: absolute; inset: 0;
    transform: rotate(-90deg);
    overflow: visible;
}
.stat-ring-bg { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 4; }
.stat-ring-fill {
    fill: none; stroke: #fff; stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
    transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1);
}

/* ═══════════════════════════════════════════════════
   HIGH-CONVERSION REDESIGN
   ═══════════════════════════════════════════════════ */

/* ── Hero light text overrides ── */
.hero h1 { color: #fff !important; }
.hero .hero-sub  { color: rgba(255,255,255,.82) !important; font-weight: 500 !important; }
/* The gradient-text highlight is unreadable against the blue/purple/pink
   hero background (too close in hue) — use a solid, clearly-contrasting
   warm color instead. */
.hero .highlight.gradient-text {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}
.hero .hero-eyebrow {
    color: #86efac !important;
    border-color: rgba(74,222,128,.5) !important;
    background: rgba(74,222,128,.12) !important;
    box-shadow: 0 0 0 4px rgba(74,222,128,.08), 0 2px 12px rgba(74,222,128,.15) !important;
}
.hero .hero-eyebrow-dot { background: #4ade80 !important; }
.hero .hero-slogan { color: rgba(15,15,26,.45) !important; }
.hero .badge {
    background: rgba(109,40,217,.07) !important;
    color: rgba(15,15,26,.8) !important;
    border: 1px solid rgba(109,40,217,.2) !important;
}
.hero .hero-rotator { color: rgba(15,15,26,.55) !important; }
.hero .hero-rotator-word { color: #6d28d9 !important; }
.hero .btn-outline {
    border-color: rgba(15,15,26,.25) !important;
    color:        rgba(15,15,26,.85)  !important;
    background:   rgba(15,15,26,.04) !important;
}
.hero .btn-outline:hover {
    background:   rgba(15,15,26,.08) !important;
    border-color: rgba(15,15,26,.4)  !important;
    color: #0f0f1a !important;
}
.hero .trust-badge {
    background:   rgba(15,15,26,.04) !important;
    border-color: rgba(15,15,26,.1) !important;
    color:        rgba(15,15,26,.7)  !important;
}
.hero .trust-stars        { color: #f59e0b !important; }
.hero .trust-stars-label  { color: rgba(15,15,26,.55) !important; }
.hero .lnd-meta-badge {
    color: #0f0f1a !important;
    background: rgba(109,40,217,.07) !important;
    border-color: rgba(109,40,217,.2) !important;
}
.hero .lnd-meta-badge svg path { fill: #0f0f1a !important; }
.hero .hero-depth-badge {
    background:   rgba(15,15,26,.04) !important;
    border-color: rgba(15,15,26,.1) !important;
    color:        rgba(15,15,26,.75) !important;
    backdrop-filter: blur(10px);
}

/* ── Watch video button ── */
.btn-video {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .72rem 1.35rem;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 9999px;
    color: rgba(255,255,255,.88);
    font-size: .93rem; font-weight: 500;
    background: rgba(255,255,255,.07);
    cursor: pointer; text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
    font-family: inherit;
}
.btn-video:hover {
    background:   rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.55);
    color: #fff; text-decoration: none;
}
.btn-video-play {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Social proof / trust strip ── */
.proof-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.proof-strip-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 1.75rem; flex-wrap: wrap;
}
.proof-item {
    display: flex; align-items: center; gap: .45rem;
    font-size: .83rem; color: var(--muted); font-weight: 500;
    white-space: nowrap;
}
.proof-item strong { color: var(--text); font-weight: 700; }
.proof-item svg   { flex-shrink: 0; }
.proof-divider    { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }
@media (max-width: 600px) {
    .proof-divider      { display: none; }
    .proof-strip-inner  { gap: 1rem; }
}

/* ── Pain → Solution section ── */
.pain-section { background: #f8fafc; }
.pain-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
}
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
    background: #fff; border-radius: 18px;
    border: 1.5px solid var(--border);
    padding: 2rem; position: relative; overflow: hidden;
}
.pain-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    border-radius: 18px 18px 0 0;
}
.pain-card-problem::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.pain-card-solved::before  { background: linear-gradient(90deg, #2563eb, #7c3aed); }
.pain-label {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; margin-bottom: .6rem;
    display: flex; align-items: center; gap: .35rem;
}
.pain-label-problem { color: #ef4444; }
.pain-label-solved  { color: #2563eb; }
.pain-divider { margin: 1.5rem 0; border-top: 1px solid var(--border); }
.pain-emoji { font-size: 1.6rem; margin-bottom: .75rem; display: block; }
.pain-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.pain-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: 0; }
.pain-solved-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #0f2a52);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .75rem; flex-shrink: 0;
}

/* ── Video modal ── */
.video-modal-overlay {
    position: fixed; inset: 0; z-index: 9900;
    background: rgba(0,0,0,.88);
    display: none; align-items: center; justify-content: center;
    padding: 1rem;
}
.video-modal-overlay.open { display: flex; }
.video-modal-box {
    width: 100%; max-width: 840px;
    border-radius: 16px; overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #08061a, #1a0a52);
    position: relative;
    box-shadow: 0 32px 100px rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
}
.video-modal-close {
    position: absolute; top: .75rem; right: .75rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.14); border: none;
    color: #fff; cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: background .2s;
}
.video-modal-close:hover { background: rgba(255,255,255,.25); }
.video-modal-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.25rem; text-align: center; padding: 2rem; color: rgba(255,255,255,.75);
}
.video-modal-inner h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.video-modal-inner p  { margin: 0; font-size: .9rem; max-width: 420px; line-height: 1.6; }
.video-play-btn {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(37,99,235,.5);
}
.video-modal-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.5rem; border-radius: 9999px;
    background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25);
    color: #fff; font-size: .9rem; font-weight: 600;
    text-decoration: none; transition: background .2s;
    cursor: pointer; font-family: inherit;
}
.video-modal-cta:hover { background: rgba(255,255,255,.18); text-decoration: none; }

/* ── Updated CTA Banner ── */
.cta-banner-redesign {
    background: linear-gradient(135deg, #050914 0%, #0a1730 45%, #0f2a52 100%);
    position: relative; overflow: hidden;
}
.cta-banner-redesign::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(99,102,241,.25) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner-redesign .cta-content { position: relative; z-index: 1; }
.cta-banner-redesign h2 { color: #fff !important; }
.cta-banner-redesign p  { color: rgba(255,255,255,.72) !important; }
.cta-banner-redesign .cta-sub-action {
    display: block; margin-top: .85rem;
    font-size: .85rem; color: rgba(255,255,255,.5);
}
.cta-banner-redesign .cta-sub-action a { color: rgba(255,255,255,.75); text-decoration: underline; }


/* ── Pricing ── */
.pricing-section { background: #f8fafc; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 2.5rem; align-items: start;
}
@media (max-width: 860px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
}
.pricing-card {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 20px; padding: 1.75rem 2rem; position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,.07), 0 16px 48px rgba(37,99,235,.13);
    transform: translateY(-8px);
}
.pricing-pop-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: .3rem 1.1rem; border-radius: 9999px; white-space: nowrap;
}
.pricing-plan-name {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem;
}
.pricing-price-row {
    display: flex; align-items: baseline; gap: .15rem; margin-bottom: .3rem;
}
.pricing-currency { font-size: 1.1rem; font-weight: 700; color: var(--text); align-self: flex-start; margin-top: .55rem; }
.pricing-amount   { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-period   { font-size: .8rem; color: var(--muted); margin-bottom: 0; }
.pricing-desc {
    font-size: .86rem; color: var(--muted); line-height: 1.55;
    border-top: 1px solid var(--border);
    margin: 1rem 0 1.25rem; padding-top: 1rem;
}
.pricing-features {
    list-style: none; padding: 0; margin: 0 0 1.75rem;
    display: flex; flex-direction: column; gap: .55rem;
}
.pricing-features li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .875rem; color: var(--text); line-height: 1.4;
}
.pricing-features li svg { flex-shrink: 0; margin-top: .15rem; color: #10b981; }
.pricing-note {
    text-align: center; margin-top: 2.5rem;
    font-size: .84rem; color: var(--muted);
}
.pricing-note a { color: var(--primary); font-weight: 600; }

/* ── Hero outline button (light hero) ── */
.btn-outline-hero {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: 1.02rem 2.15rem; border-radius: 9999px;
    border: 2px solid #1d4ed8;
    color: #1d4ed8; font-size: 1.15rem; font-weight: 700;
    background: #fff;
    box-shadow: 0 2px 10px rgba(29,78,216,.12);
    text-decoration: none; transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn-outline-hero:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
    box-shadow: 0 6px 20px rgba(29,78,216,.35);
    text-decoration: none;
}

/* ════════════════════════════════
   Services / Products page
════════════════════════════════ */
.pd-section { background: #fff; }

/* ── New product page layout ── */
.prod-section {
    background: #fff;
    padding: 5rem 0;
}
.prod-section-alt {
    background: var(--light-bg, #f8faff);
}

/* Split hero */
.prod-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.prod-split-reverse {
    direction: rtl;
}
.prod-split-reverse > * {
    direction: ltr;
}

.prod-split-text { display: flex; flex-direction: column; gap: 1.25rem; }

.prod-eyebrow {
    display: flex; align-items: center; gap: .75rem;
}
.prod-logo {
    height: 56px; width: auto;
}

.prod-split-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark, #0f172a);
    line-height: 1.15;
    margin: 0;
}

.prod-tagline {
    font-size: 1.05rem;
    color: var(--muted, #64748b);
    line-height: 1.7;
    margin: 0;
    max-width: 480px;
}

.prod-stats-row {
    display: flex;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.prod-stat { display: flex; flex-direction: column; gap: .2rem; }
.prod-stat strong { font-size: 1.4rem; font-weight: 800; color: var(--dark, #0f172a); }
.prod-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #64748b); font-weight: 600; }

.prod-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.prod-split-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prod-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.06);
}

/* Feature grid */
.prod-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.prod-feat {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .2s, transform .2s;
}
.prod-section-alt .prod-feat { background: #fff; }
.prod-feat:hover { box-shadow: 0 8px 32px rgba(15,23,42,.08); transform: translateY(-2px); }
.prod-feat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.prod-icon-lt    { background: rgba(124,58,237,.1); color: #7c3aed; }
.prod-icon-fleet { background: rgba(37,99,235,.1);  color: #2563eb; }
.prod-feat h4 { font-size: .95rem; font-weight: 700; color: var(--dark, #0f172a); margin: 0; }
.prod-feat p  { font-size: .86rem; color: var(--muted, #64748b); margin: 0; line-height: 1.65; }

/* How it works */
.prod-hiw {
    background: var(--light-bg, #f8faff);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
}
.prod-section-alt .prod-hiw { background: #fff; }
.prod-hiw h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark, #0f172a); margin-bottom: 2rem; text-align: center; }
.prod-hiw-steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.prod-hiw-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.prod-hiw-num {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: .25rem;
}
.prod-num-lt    { color: #7c3aed; }
.prod-num-fleet { color: #2563eb; }
.prod-hiw-step h4 { font-size: .95rem; font-weight: 700; color: var(--dark, #0f172a); margin: 0; }
.prod-hiw-step p  { font-size: .86rem; color: var(--muted, #64748b); margin: 0; line-height: 1.6; }
.prod-hiw-arrow {
    font-size: 1.4rem;
    color: var(--muted, #94a3b8);
    padding-top: .4rem;
    flex-shrink: 0;
}

/* CTA banner */
.prod-cta {
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.prod-cta-lt    { background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); }
.prod-cta-fleet { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.prod-cta h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin: 0 0 .4rem; }
.prod-cta p  { font-size: .9rem; color: rgba(255,255,255,.72); margin: 0; }
.prod-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
    .prod-split { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
    .prod-split-reverse { direction: ltr; }
    .prod-features { grid-template-columns: repeat(2, 1fr); }
    .prod-hiw-steps { flex-direction: column; }
    .prod-hiw-arrow { display: none; }
    .prod-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .prod-features { grid-template-columns: 1fr; }
    .prod-stats-row { gap: 1.25rem; }
    .prod-hiw { padding: 2rem 1.25rem; }
    .prod-cta { padding: 2rem 1.25rem; }
}

/* ── Gated lead magnet (Products page, below Anouk Fleet) ── */
.lead-magnet-section { background: #f8fafc; }
.lead-magnet-card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
    max-width: 980px; margin: 0 auto;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2.5rem;
}
.lead-magnet-text h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin: .75rem 0 .6rem; }
.lead-magnet-text p { font-size: .92rem; color: var(--text-light); margin: 0; }
.lead-magnet-form { display: flex; flex-direction: column; gap: 1rem; }
.lead-magnet-form .form-group { margin-bottom: 0; }
.lead-magnet-note { min-height: 1.1em; font-size: .82rem; color: #ef4444; margin: 0; }
.lead-magnet-download-link { font-size: .85rem; font-weight: 600; color: var(--primary); text-align: center; }
.form-note { font-size: .8rem; opacity: .75; margin: .75rem 0 0; }
.form-note a { text-decoration: underline; }

@media (max-width: 768px) {
    .lead-magnet-card { grid-template-columns: 1fr; padding: 1.75rem; gap: 1.5rem; }
}

.pd-section-alt { background: var(--light-bg); }

.pd-header {
    display: flex; flex-wrap: wrap; gap: 2rem;
    align-items: flex-start; justify-content: space-between;
    margin-bottom: 3rem;
}
.pd-header-left {
    display: flex; gap: 1.5rem; align-items: flex-start; flex: 1; min-width: 280px;
}
.pd-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; margin-top: .25rem; }
.pd-badges { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; flex-wrap: wrap; }
.pd-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .2rem 0 .5rem; }
.pd-tagline { font-size: 1rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; max-width: 520px; }
.pd-header-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.pd-header-stats {
    display: flex; gap: 2rem; align-items: flex-start; flex-shrink: 0;
    border-left: 1px solid var(--border); padding-left: 2rem; margin-top: .5rem;
}
@media (max-width: 700px) {
    .pd-header-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1.25rem; width: 100%; gap: 1.5rem; }
}
.pd-hstat { display: flex; flex-direction: column; gap: .15rem; }
.pd-hstat span { font-size: 1.35rem; font-weight: 800; color: var(--dark); }
.pd-hstat small { font-size: .75rem; color: var(--muted); }

/* Features grid */
.pd-feat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .pd-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pd-feat-grid { grid-template-columns: 1fr; } }

.pd-feat {
    display: flex; gap: 1rem; align-items: flex-start;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 14px; padding: 1.25rem 1.35rem;
    transition: box-shadow .2s, border-color .2s;
}
.pd-section-alt .pd-feat { background: #fff; }
.pd-feat:hover { box-shadow: var(--shadow); border-color: rgba(37,99,235,.2); }
.pd-feat-icon-fleet,
.pd-feat-icon-lt {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.pd-feat-icon-fleet { background: rgba(37,99,235,.1); color: #2563eb; }
.pd-feat-icon-lt    { background: rgba(124,58,237,.1); color: #7c3aed; }
.pd-feat h4 { font-size: .92rem; font-weight: 700; margin-bottom: .35rem; color: var(--dark); }
.pd-feat p  { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* How it works */
.pd-hiw { margin-bottom: 3rem; }
.pd-hiw-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--dark); }
.pd-hiw-steps {
    display: flex; align-items: flex-start; gap: 0;
    flex-wrap: wrap;
}
.pd-hiw-step {
    flex: 1; min-width: 140px;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 14px; padding: 1.25rem 1.35rem;
}
.pd-hiw-num {
    font-size: 1.6rem; font-weight: 800; color: #e2e8f0;
    line-height: 1; margin-bottom: .6rem;
}
.pd-hiw-step h4 { font-size: .92rem; font-weight: 700; margin-bottom: .35rem; color: var(--dark); }
.pd-hiw-step p  { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.6; }
.pd-hiw-arrow {
    align-self: center; font-size: 1.25rem; color: var(--border);
    padding: 0 .75rem; flex-shrink: 0;
}
@media (max-width: 640px) { .pd-hiw-arrow { display: none; } }

/* CTA block */
.pd-cta {
    border-radius: 20px; padding: 2.5rem 2rem;
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1.5rem;
}
.pd-cta-fleet { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.pd-cta-lt    { background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); }
.pd-cta-text h3 { font-size: 1.25rem; color: #fff; margin-bottom: .4rem; }
.pd-cta-text p  { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0; }
.pd-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-white {
    display: inline-flex; align-items: center;
    padding: .65rem 1.4rem; border-radius: 9999px;
    background: #fff; color: var(--dark); font-size: .9rem; font-weight: 700;
    text-decoration: none; transition: box-shadow .2s;
    white-space: nowrap;
}
.btn-white:hover { box-shadow: 0 4px 16px rgba(255,255,255,.25); text-decoration: none; }
.btn-outline-white {
    display: inline-flex; align-items: center;
    padding: .65rem 1.4rem; border-radius: 9999px;
    border: 1.5px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 600;
    background: rgba(255,255,255,.07);
    text-decoration: none; transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.65); text-decoration: none; }

/* Live / Coming Soon inline badges */
.badge-live-inline {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #10b981;
    background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
    padding: .25rem .65rem; border-radius: 9999px;
}
.badge-coming-soon-inline {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #f59e0b;
    background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25);
    padding: .25rem .65rem; border-radius: 9999px;
}
.badge-fleet { background: rgba(37,99,235,.1); color: #2563eb; border-color: rgba(37,99,235,.2); }
.badge-lt    { background: rgba(124,58,237,.1); color: #7c3aed; border-color: rgba(124,58,237,.2); }

/* ── Tech stack scroll strip ── */
.tech-scroll-strip {
    background: #04030f;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
}
.tech-scroll-label {
    text-align: center;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: rgba(255,255,255,.25);
    margin-bottom: .75rem;
}
.tech-scroll-track {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: nowrap;
    /* Items start clipped — JS drives the clip-path via --reveal (0→1) */
}
.tech-scroll-item {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .82rem; font-weight: 600;
    color: rgba(255,255,255,.55);
    padding: .45rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    /* scroll-driven reveal: opacity + slide */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
    flex-shrink: 0;
}
.tech-scroll-item:last-child { border-right: none; }
.tech-scroll-item svg { color: rgba(255,255,255,.4); flex-shrink: 0; }
.tech-scroll-item.ts-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════
   LOGO MARQUEE STRIP
════════════════════════════════ */
.marquee-strip {
    background: #f8f8fc;
    border-top: 1px solid rgba(15,15,26,.06);
    border-bottom: 1px solid rgba(15,15,26,.06);
    padding: 2.5rem 0;
    overflow: hidden;
}
.marquee-label {
    text-align: center;
    font-size: .85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .14em; color: rgba(15,15,26,.4);
    margin: 0 0 1.5rem;
}
.marquee-outer {
    overflow: hidden;
}
.marquee-track {
    display: flex; align-items: center; justify-content: center; gap: 0;
    width: 100%;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: .85rem;
    padding: .85rem 2.75rem;
    font-size: 1.25rem; font-weight: 600;
    color: rgba(15,15,26,.55);
    border-right: 1px solid rgba(15,15,26,.08);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .2s;
}
.marquee-item:last-child { border-right: none; }
.marquee-item svg { flex-shrink: 0; width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ════════════════════════════════
   CLIP-PATH SECTION REVEALS
════════════════════════════════ */
.clip-reveal {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition: clip-path .7s cubic-bezier(.22,1,.36,1), opacity .4s ease;
    will-change: clip-path;
}
.clip-reveal.revealed {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
}

/* ════════════════════════════════
   MOVING MESH GRADIENT
════════════════════════════════ */
@keyframes mesh-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.prod-cta {
    position: relative;
    overflow: hidden;
}
.prod-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(139,92,246,.35) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 20%, rgba(59,130,246,.25) 0%, transparent 55%),
                radial-gradient(ellipse at 60% 80%, rgba(236,72,153,.2) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: mesh-drift 8s ease infinite;
    z-index: 0;
    pointer-events: none;
}
.prod-cta > * { position: relative; z-index: 1; }

.prod-cta-fleet::before {
    background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.35) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 20%, rgba(6,182,212,.25) 0%, transparent 55%),
                radial-gradient(ellipse at 60% 80%, rgba(99,102,241,.2) 0%, transparent 50%);
    background-size: 200% 200%;
}

/* ════════════════════════════════
   MOBILE POLISH — comprehensive pass
════════════════════════════════ */

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {

    /* Hero */
    .hero { height: auto; min-height: 100svh; }
    .hero-content-center { padding: 1.5rem 1rem 1rem; }
    .hero-h1-xl { font-size: clamp(1.85rem, 8vw, 2.6rem) !important; }
    .hero-sub { font-size: .95rem; }
    .hero-eyebrow { font-size: .72rem; padding: .4rem .9rem; }
    .hero-cta { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hero-cta .btn,
    .hero-cta .btn-outline-hero { width: 100%; text-align: center; justify-content: center; }
    .hero-trust { flex-wrap: wrap; justify-content: center; gap: .5rem; }
    .hero-terminal-inline { padding: 0 1rem 1.5rem; max-height: 38vh; }

    /* Marquee — center on small screens */
    .marquee-strip { padding: 1.25rem 0; }
    .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; }
    .marquee-item { border-right: none; padding: .45rem 1rem; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .stat-card { padding: 1.25rem; }
    .stat-number { font-size: 1.75rem; }

    /* Products page split */
    .prod-split { gap: 1.75rem; }
    .prod-split-text h2 { font-size: 1.6rem; }
    .prod-tagline { font-size: .95rem; }
    .prod-stats-row { flex-wrap: wrap; gap: 1rem; }
    .prod-stat { min-width: 80px; }
    .prod-actions { flex-direction: column; }
    .prod-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .prod-screenshot { border-radius: .75rem; }
    .prod-cta { text-align: center; }
    .prod-cta-actions { flex-direction: column; width: 100%; }
    .prod-cta-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .prod-hiw-step { padding: 1rem; }

    /* Page hero (services/about/contact) */
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero .hero-sub { font-size: .95rem; }

    /* Section headings */
    .section-title { font-size: 1.5rem; }

    /* Why cards */
    .why-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .footer-social { justify-content: center; }

    /* Buttons in CTA banners */
    .cta-banner { text-align: center; }
    .cta-banner .btn { width: 100%; display: block; }

    /* Contact form */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1rem; }
}

/* ── Tablets (481px – 768px) ── */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-content-center { padding: 1.5rem 1.25rem 1.25rem; }
    .hero-terminal-inline { max-height: 42vh; }

    /* Marquee — wrap neatly */
    .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; }
    .marquee-item { border-right: none; }

    /* Products page */
    .prod-actions { flex-wrap: wrap; }
    .prod-cta { flex-direction: column; align-items: flex-start; }
    .prod-cta-actions { flex-wrap: wrap; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ── Prevent horizontal scroll site-wide ── */
html, body { max-width: 100%; overflow-x: hidden; }
.container { padding-left: max(1rem, env(safe-area-inset-left));
             padding-right: max(1rem, env(safe-area-inset-right)); }

/* ════════════════════════════════
   FRICTIONLESS PASS
════════════════════════════════ */

/* 1. Remove tap flash on mobile for ALL interactive elements */
a, button, [role="button"], input, textarea, select, label {
    -webkit-tap-highlight-color: transparent;
}


/* 4. Lazy image fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity .45s ease;
}
img[loading="lazy"].img-loaded { opacity: 1; }
/* Inline/eager images always visible */
img:not([loading="lazy"]) { opacity: 1; }

/* 5. scroll-margin-top so anchored sections clear the fixed header */
.section, [id] { scroll-margin-top: 80px; }

/* 6. Footer link hover */
.footer-links a, .footer-legal a {
    transition: color .18s ease, opacity .18s ease;
    opacity: .8;
}
.footer-links a:hover, .footer-legal a:hover {
    opacity: 1; color: #fff; text-decoration: none;
}

/* 7. Social icon hover — lift + colour */
.footer-social a {
    transition: color .18s ease, transform .18s ease;
    display: inline-flex;
}
.footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* 8. Mobile :active states — tactile press feedback */
@media (hover: none) {
    .btn:active { transform: scale(.97); opacity: .88; }
    a:active    { opacity: .7; }
    .why-card:active  { transform: scale(.98); }
    .stat-card:active { transform: scale(.98); }
}

/* 9. Nav mobile menu — slide down smoothly */
@media (max-width: 900px) {
    .main-nav {
        transform: translateY(-8px);
        transition: opacity .22s ease, transform .22s ease;
        opacity: 0;
    }
    .main-nav.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

/* 10. Prod screenshot image appearance */
.prod-screenshot {
    opacity: 0;
    transition: opacity .5s ease .1s;
}
.prod-screenshot.img-loaded { opacity: 1; }

/* 11. Form — loading & success states */
.form-submitting .btn-submit {
    opacity: .65; pointer-events: none; cursor: wait;
}
.form-submitting .btn-submit::after {
    content: '…';
}
.form-success-msg {
    display: none;
    background: #f0fdf4; border: 1px solid #86efac;
    color: #15803d; border-radius: 10px;
    padding: 1rem 1.25rem; margin-top: 1rem;
    font-weight: 600; font-size: .95rem;
    animation: form-success-in .3s cubic-bezier(.22,1,.36,1);
}
.form-success-msg.visible { display: block; }
@keyframes form-success-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-error-inline {
    font-size: .8rem; color: #dc2626; margin-top: .25rem;
    display: none;
}
.form-error-inline.visible { display: block; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #fca5a5; background: #fff7f7; }
.form-group input.valid,
.form-group textarea.valid   { border-color: #86efac; }

/* 12. Card hover — consistent lift across site */
.why-card, .stat-card, .prod-feat, .footer-links li a {
    transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover, .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15,23,42,.1);
}
.prod-feat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

/* 13. Smooth transition on all nav links */
.main-nav a {
    transition: color .18s ease;
}

/* 14. Progress bar at top */
#scroll-progress {
    transition: transform .1s linear;
}

/* ════════════════════════════════
   MOBILE HERO FIX
════════════════════════════════ */
@media (max-width: 768px) {
    /* Kill the giant colour blobs — they fill the entire mobile screen */
    .hero-glow-1, .hero-glow-2, .hero-glow-3 { display: none; }

    /* Let hero grow with content instead of forcing 100vh */
    .hero {
        height: auto !important;
        max-height: none !important;
        min-height: 100svh;
        padding-bottom: 2rem;
    }

    /* Tighten up the content block */
    .hero-content-center {
        padding: 5.5rem 1.25rem 1rem;
    }

    /* Smaller h1 on phones */
    .hero-h1-xl { font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important; }

    /* Stack trust chips neatly, no overlap */
    .hero-trust {
        justify-content: center;
        gap: .5rem;
        margin-top: .75rem;
        margin-bottom: .5rem;
    }
    .trust-chip { font-size: .8rem; padding: .4rem .85rem; }

    /* Give the terminal a fixed modest height so it never overflows */
    .hero-terminal-inline {
        max-height: 320px;
        padding: 0 1rem 1.5rem;
    }

    /* CTA buttons — pill shape looks better stacked */
    .hero-cta { gap: .65rem; }
    .btn-hero-primary,
    .btn-outline-hero {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: .85rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content-center { padding: 1.5rem 1rem .75rem; }
    .hero-h1-xl { font-size: clamp(1.75rem, 8vw, 2.2rem) !important; }
    .hero-sub { font-size: .9rem; margin: .5rem 0 1rem; }
    .hero-terminal-inline { max-height: 30vh; }
}

/* ════════════════════════════════
   MOBILE — Dark arch section → light
════════════════════════════════ */
@media (max-width: 768px) {
    /* Flip section background to white */
    .arch-section.section-dark-mid {
        background: #ffffff;
        color: var(--mid, #475569);
    }

    /* Section header text */
    .arch-section .section-header h2 { color: #0f172a; }
    .arch-section .section-header p  { color: #64748b; }
    .arch-section .badge-dark-section {
        background: #eff6ff; color: #2563eb;
        border-color: rgba(37,99,235,.18);
    }

    /* Hub pill */
    .arch-hub {
        background: #f8fafc;
        border-color: rgba(15,23,42,.12);
        color: #0f172a;
    }
    .arch-hub-logo { filter: none; }

    /* Connector lines — adjust to dark on light */
    .arch-line { stroke: rgba(37,99,235,.25); }

    /* Product cards */
    .arch-product {
        background: #f8fafc;
        border-color: rgba(15,23,42,.1);
    }
    .arch-product:hover { border-color: rgba(37,99,235,.3); }
    .arch-product-fleet { border-color: rgba(37,99,235,.18); }
    .arch-product-lt    { border-color: rgba(124,58,237,.18); }

    /* Card headings & text */
    .arch-product-head h3 { color: #0f172a; }
    .arch-feature-list li { color: #475569; }

    /* Outline button on dark — swap to light */
    .arch-product .btn-outline-dark {
        border-color: rgba(15,23,42,.2);
        color: #0f172a;
        background: transparent;
    }
    .arch-product .btn-outline-dark:hover {
        background: #0f172a;
        color: #fff;
    }
}

/* ══════════════════════════════════════
   DIRECTION 1 — THE DELIVERY LOOP HERO
══════════════════════════════════════ */

.hero-loop {
    background: #F5F3EF;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid texture */
.hero-loop::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(26,26,26,.055) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.hero-loop .container { position: relative; z-index: 1; }

.hero-loop .hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Text overrides for warm background */
.hero-loop h1,
.hero-loop .hero-h1-xl       { color: #1A1A1A !important; }
.hero-loop .hero-sub          { color: #6B7280 !important; font-weight: 400 !important; max-width: 520px; margin: .75rem auto 0 !important; }
.hero-loop .hero-eyebrow      { color: #6B7280; border-color: rgba(26,26,26,.14); background: rgba(26,26,26,.06); }
.hero-loop .hero-eyebrow-dot  { background: #22C55E; }

/* Outline button on warm background */
.hero-loop .btn-outline-hero {
    border-color: rgba(26,26,26,.25) !important;
    color: rgba(26,26,26,.78) !important;
    background: transparent !important;
}
.hero-loop .btn-outline-hero:hover {
    background: rgba(26,26,26,.07) !important;
    border-color: rgba(26,26,26,.4) !important;
    color: #1A1A1A !important;
}

/* Trust chips on warm background */
.hero-loop .trust-chip {
    background: rgba(26,26,26,.05) !important;
    border-color: rgba(26,26,26,.12) !important;
    color: #4B5563 !important;
}

/* ── Loop diagram ── */
.loop-diagram {
    width: 100%;
    max-width: 580px;
    margin: 2.25rem auto 2rem;
    border: 0; padding: 0;
}

.loop-svg { width: 100%; height: auto; overflow: visible; }

.loop-label {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    fill: #9CA3AF;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Pulsing status dot below GPS label */
@keyframes lp-pulse { 0%,100%{opacity:1} 50%{opacity:.15} }
.loop-pulse-dot { animation: lp-pulse 2s ease-in-out infinite; }

.loop-static { display: none; }

/* Reduced-motion: stop the traveling dot, keep layout */
@media (prefers-reduced-motion: reduce) {
    .loop-animated { display: none; }
    .loop-static   { display: block !important; }
    .loop-pulse-dot { animation: none; }
}

/* ── Stats section — Direction 1 amber theming ── */
.stats-loop .stat-number {
    background: linear-gradient(135deg, #E8A020 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(232,160,32,.28));
}

/* ── Marquee strip: warm BG to bridge hero → stats ── */
.hero-loop ~ .marquee-strip {
    background: #F5F3EF;
    border-top: 1px solid rgba(26,26,26,.08);
    border-bottom: none;
}

/* ── Loop diagram on services page ── */
.prod-loop-wrap {
    margin: 3.5rem 0 2rem;
    text-align: center;
}
.prod-loop-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: .01em;
}
.loop-diagram-fleet {
    max-width: 540px;
    margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .loop-label { font-size: 8.5px; }
    .loop-diagram { margin: 1.5rem auto 1.25rem; max-width: 100%; }
    .hero-loop { padding: 5rem 0 3rem; }
    .prod-loop-wrap { margin: 2.5rem 0 1.5rem; }
}


/* ── GPS address-mapping tool ── */
.geo-tool-section { background: var(--light-bg); }
.geo-tool-container { display: flex; justify-content: center; }
.geo-tool-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2.25rem; max-width: 640px; width: 100%;
}
.geo-input-label-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.geo-icon-badge {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
    background: #eff6ff; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.geo-input-label { display: block; font-weight: 700; font-size: .95rem; color: var(--dark); }
.geo-input-hint { font-size: .85rem; color: var(--text-light); margin-bottom: .4rem; }
.geo-format-examples { font-size: .82rem; color: var(--text-light); margin: 0 0 1.1rem; padding-left: 1.2rem; }
.geo-format-examples code { background: var(--light-bg); padding: .1rem .4rem; border-radius: 4px; color: var(--primary); }
.geo-input-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.geo-input-row input {
    flex: 1 1 260px; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: 8px;
    font-size: .95rem; font-family: inherit;
}
.geo-input-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.geo-parse-error { color: #dc2626; font-size: .85rem; margin-top: .75rem; }
.geo-loading { display: none; align-items: center; gap: .6rem; margin-top: 1.5rem; color: var(--text-light); font-size: .9rem; }
.geo-loading.visible { display: flex; }
.geo-spinner {
    width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--primary);
    border-radius: 50%; animation: geo-spin .7s linear infinite;
}
@keyframes geo-spin { to { transform: rotate(360deg); } }
.geo-not-found, .geo-api-error { display: none; margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 10px; font-size: .9rem; }
.geo-not-found.visible, .geo-api-error.visible { display: block; }
.geo-not-found { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.geo-api-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.geo-result { display: none; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.geo-result.visible { display: block; }
.geo-result-heading { font-size: 1.1rem; margin-bottom: .3rem; }
.geo-verify-badge { display: none; font-size: .82rem; font-weight: 600; margin: .35rem 0 0; padding: .3rem .65rem; border-radius: 6px; }
.geo-verify-badge.verified, .geo-verify-badge.unverified { display: inline-block; }
.geo-verify-badge.verified { background: #f0fdf4; color: #16a34a; }
.geo-verify-badge.unverified { background: #fffbeb; color: #d97706; }
.geo-result-note { font-size: .84rem; color: var(--text-light); margin-bottom: 1.25rem; }
.geo-field { margin-bottom: 1rem; }
.geo-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: .35rem; }
.geo-field-row { display: flex; gap: .6rem; }
.geo-field-row input {
    flex: 1; padding: .65rem .9rem; border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; font-family: inherit;
}
.geo-field-row input.geo-field-missing { color: var(--text-light); font-style: italic; }
.geo-copy-btn {
    flex: 0 0 auto; padding: .65rem 1.1rem; border-radius: 8px; border: 1px solid var(--primary);
    background: var(--white); color: var(--primary); font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.geo-copy-btn:hover { background: var(--primary); color: var(--white); }
.geo-field-coords { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--border); }
.geo-pin-hint { font-size: .82rem; color: var(--text-light); line-height: 1.5; margin: 0 0 .6rem; }
.geo-field-coords .geo-field-row input { font-family: monospace; }
.geo-field-coords .geo-field-row a.btn { flex: 0 0 auto; white-space: nowrap; }
.geo-raw-wrap { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--border); }
.geo-raw-label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .4rem; }
.geo-raw-address { font-size: .82rem; color: var(--text-light); line-height: 1.5; margin: 0; }
@media (max-width: 640px) {
    .geo-tool-card { padding: 1.5rem; }
    /* flex-direction:column turns the row's flex-basis(260px) into a
       height basis instead of a width one, ballooning the input --
       pin it back to a normal height and full width here. */
    .geo-input-row { flex-direction: column; }
    .geo-input-row input { flex: none; width: 100%; }
    .geo-field-row { flex-direction: column; }
    .geo-copy-btn { width: 100%; }
}
