/* ==========================================================================
   NovaERM Landing — ported from Claude Design handoff
   Source bundle: novaerm/project/styles.css + styles-sections.css
   ========================================================================== */

/* Axiforma — full family */
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Book.otf') format('opentype'); font-weight: 450; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Medium Italic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Heavy.otf') format('opentype'); font-weight: 850; font-style: normal; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('/fonts/axiforma/Kastelov - Axiforma Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    /* Brand colors — official from NovaERM brand book slide 9 */
    --ink:           #07022c;
    --ink-2:         #0d0640;
    --plum:          #220d54;
    --violet:        #6000d0;
    --violet-bright: #8a3df0;
    --violet-glow:   rgba(138, 61, 240, 0.45);
    --signal:        #f7e223;
    --signal-deep:   #e6cf12;
    --paper:         #faf7ff;
    --mist:          rgba(255, 255, 255, 0.06);
    --mist-2:        rgba(255, 255, 255, 0.10);
    --line:          rgba(255, 255, 255, 0.08);
    --line-2:        rgba(255, 255, 255, 0.14);
    --text:          #ece7ff;
    --text-dim:      rgba(236, 231, 255, 0.62);
    --text-fade:     rgba(236, 231, 255, 0.42);

    --surface:       #07022c;
    --card:          rgba(20, 8, 60, 0.55);
    --card-hi:       rgba(34, 13, 84, 0.7);
    --grid-color:    rgba(138, 61, 240, 0.10);

    --ok:            #34d399;
    --info:          #60a5fa;
    --warn:          #f59e0b;
    --danger:        #ef4444;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 36px;

    --density: 1;

    --shadow-glow: 0 30px 80px -20px var(--violet-glow);
    --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
    --shadow-yellow: 0 18px 40px -12px rgba(247, 226, 35, 0.45);

    /* Legacy aliases — keep older Laravel landing rules from breaking. */
    --bg-primary:   var(--ink);
    --bg-secondary: var(--ink-2);
    --bg-tertiary:  var(--plum);
    --bg-card:      var(--card);
    --bg-card-hover: var(--card-hi);
    --accent-primary: var(--violet);
    --accent-light:   var(--violet-bright);
    --accent-bright:  var(--signal);
    --accent-glow:    var(--violet-glow);
    --accent-glow-strong: rgba(247, 226, 35, 0.2);
    --text-primary:   var(--text);
    --text-secondary: var(--text-dim);
    --text-muted:     var(--text-fade);
    --border-color:   var(--line);
    --border-light:   var(--line-2);
    --glass-bg:       var(--card);
    --glass-border:   var(--line-2);
    --nav-height: 80px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Axiforma', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: var(--ink);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
section { position: relative; }

.container,
.promo-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Plus-grid background pattern (signature brand element).
   Brand plus glyph — exact path from the user-provided SVG. */
.plus-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><path fill='rgba(132,32,255,0.14)' transform='translate(48 48)' d='M19.4 15.4c-1.7,0-3.1-1.4-3.1-3.1V8h-1.1v4.4c0,1.7-1.4,3.1-3.1,3.1H8v1.1h4.4c1.7,0,3.1,1.4,3.1,3.1V24h1.1v-4.4c0-1.7,1.4-3.1,3.1-3.1H24v-1.1h-4.6z'/></svg>");
    background-size: 240px 240px;
    background-position: 0 0;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

/* hero ambient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}

/* Eyebrow chip */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px 9px 14px;
    border-radius: 999px;
    background: #300D68;
    border: 1px solid #472290;
    color: #822de6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
}
.eyebrow .bolt {
    width: 14px;
    height: 14px;
    color: #822de6;
    fill: currentColor;
}

/* Display headings */
.h-display { font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.014em; line-height: 1.18; }
.lead { font-size: clamp(14px, 1.0vw, 16px); color: var(--text-dim); line-height: 1.6; max-width: 60ch; text-wrap: pretty; }

.gradient-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #ffffff;
}
.violet-text { color: var(--violet-bright); }
.signal-text { color: var(--signal); }

/* Buttons (general) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { filter: brightness(0.95); }

/* Click ripple injected by JS (.btn-primary-glow, .btn-secondary-outline, .btn-pricing, .btn-nav-login, .demo-form-submit) */
.btn-primary-glow,
.btn-secondary-outline,
.btn-pricing,
.btn-nav-login,
.demo-form-submit { position: relative; overflow: hidden; }
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transform: scale(0);
    opacity: 0.6;
    animation: btn-ripple 0.6s ease-out forwards;
}
@keyframes btn-ripple {
    to { transform: scale(2.4); opacity: 0; }
}

.btn-signal {
    background: var(--signal);
    color: #1a0a00;
    box-shadow: var(--shadow-yellow);
}
.btn-signal:hover { box-shadow: 0 22px 50px -10px rgba(247,226,35,0.65); background: #fff152; }

.btn-violet {
    background: var(--violet);
    color: #fff;
    box-shadow: 0 18px 40px -12px var(--violet-glow);
}
.btn-violet:hover { background: var(--violet-bright); }

.btn-ghost {
    background: var(--mist);
    border: 1px solid var(--line-2);
    color: var(--text);
}
.btn-ghost:hover { background: var(--mist-2); border-color: rgba(138,61,240,0.4); }

.btn-outline {
    border: 1px solid var(--line-2);
    color: var(--text);
}
.btn-outline:hover { border-color: rgba(138,61,240,0.5); background: var(--mist); }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 28px; height: 28px; }

.card-surface {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-pad { padding-block: calc(120px * var(--density)); }
.section-pad-sm { padding-block: calc(80px * var(--density)); }

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    margin-bottom: 64px;
    max-width: 760px;
    margin-inline: auto;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-blur { filter: blur(8px); }
.reveal-blur.visible { filter: blur(0); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 350ms; }
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 70ms; }
.stagger-3 { transition-delay: 140ms; }
.stagger-4 { transition-delay: 210ms; }
.stagger-5 { transition-delay: 280ms; }
.stagger-6 { transition-delay: 350ms; }

::selection { background: var(--signal); color: #1a0a00; }

@keyframes barRise {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(138,61,240,0.25); border-radius: 999px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: rgba(138,61,240,0.45); }

/* ==========================================================================
   HEADER (site-header) — design-pure markup
   The legacy Laravel blade uses .promo-nav, so styles below cover both.
   ========================================================================== */
.site-header,
.promo-nav {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 64px);
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: none;
    transition: none;
}
.site-header.scrolled,
.promo-nav.scrolled {
    position: fixed;
    top: 16px;
    width: calc(100% - 32px);
    padding: 12px 16px 12px 24px;
    border-radius: 999px;
    background: rgba(7, 2, 44, 0.92);
    border: 1px solid rgba(138, 61, 240, 0.22);
    box-shadow: 0 12px 40px -10px rgba(7,2,44,0.6);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.site-header .brand,
.promo-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    color: var(--text);
}
.site-header .brand .mark,
.promo-nav .nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}
/* Hide stray text spans next to the wordmark logo. */
.promo-nav .nav-logo-text { display: none; }

.site-nav,
.promo-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-header.scrolled .site-nav,
.promo-nav.scrolled .nav-links { position: static; transform: none; gap: 6px; }

.site-nav a,
.promo-nav .nav-links a {
    padding: 8px 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color .2s;
}
.site-header.scrolled .site-nav a,
.promo-nav.scrolled .nav-links a { padding: 9px 16px; border-radius: 999px; }
.site-nav a:hover,
.promo-nav .nav-links a:hover { color: var(--violet-bright); }
.site-header.scrolled .site-nav a:hover,
.promo-nav.scrolled .nav-links a:hover { background: var(--mist); }

.header-actions,
.promo-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-pill,
.promo-nav .nav-lang-switch {
    display: inline-flex;
    background: transparent;
    border: 1.5px solid var(--violet-bright);
    border-radius: 999px;
    padding: 3px;
    gap: 0;
}
.lang-pill button,
.promo-nav .nav-lang-btn {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
    transition: background .2s, color .2s;
    text-decoration: none;
    line-height: 1.4;
}
.lang-pill button.active,
.promo-nav .nav-lang-btn.active {
    background: var(--violet);
    color: #fff;
}

.btn-login,
.promo-nav .btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: var(--signal);
    color: #1a0a00;
    transition: transform .15s, box-shadow .25s;
}
.btn-login:hover,
.promo-nav .btn-nav-login:hover { box-shadow: 0 8px 18px -8px rgba(247,226,35,0.4); filter: brightness(1.05); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav-hamburger span { width: 100%; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 720px) {
    .site-nav,
    .promo-nav .nav-links { display: none; }
    .site-header,
    .promo-nav { padding: 10px 12px 10px 18px; }
    .nav-hamburger { display: flex; }
}

/* ==========================================================================
   HERO (.hero / .hero-section) — design-pure markup with legacy aliases
   ========================================================================== */
.hero,
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 140px;
    background: var(--surface);
    overflow: visible;        /* let the glow bleed into the section below */
    min-height: 100vh;
}
/* Radial purple glow — extended past the hero bottom so the seam
   between hero and marquee disappears. */
.hero::before,
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -260px;           /* bleed below the hero */
    background:
        radial-gradient(circle 820px at -8% 45%, rgba(85, 44, 150, 0.62), rgba(85, 44, 150, 0.25) 40%, transparent 75%),
        radial-gradient(circle 540px at 88% 60%, rgba(85, 44, 150, 0.18), transparent 72%);
    pointer-events: none;
    z-index: 0;
}
/* Marquee continues the same dark surface so there's no banded seam
   when the hero glow tails off into it. */
.marquee,
.marquee-section { background: var(--surface); }
.marquee::after,
.marquee-section::after { content: none; }

.hero-grid,
.hero-content {
    display: grid;
    grid-template-columns: minmax(max-content, 1.05fr) minmax(0, 1.3fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 60vh;
}
@media (min-width: 1500px) {
    .hero-grid,
    .hero-content { grid-template-columns: minmax(max-content, 1fr) minmax(0, 1.5fr); gap: 72px; }
}

.hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-badge { /* legacy alias for the eyebrow */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px 9px 14px;
    border-radius: 999px;
    background: #300D68;
    border: 1px solid #472290;
    color: #822de6;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.hero-badge i { color: #822de6; font-size: 12px; }

.hero-title {
    font-size: clamp(30px, 3.3vw, 50px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin: 0;
}
.hero-title-line1 { display: inline-block; white-space: nowrap; }
.hero-title-line2 { display: inline-block; white-space: nowrap; }
@media (max-width: 880px) {
    .hero-title-line1,
    .hero-title-line2 { white-space: normal; }
}
.hero-title-line1 { color: #ffffff; }
.hero-title-line2 {
    background: linear-gradient(90deg, #8c5dc5 0%, #7b3ec5 22%, #5f0cc5 38%, #5f0cc5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-title-line2 .nova-erm {
    background: none;
    -webkit-text-fill-color: inherit;
    color: inherit;
}
@media (max-width: 1100px) {
    .hero-title { white-space: normal; }
}

.hero-cta-row,
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

.btn-hero-yellow,
.btn-primary-glow {
    background: var(--signal);
    color: #1a0a00;
    border-radius: 12px;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .15s, box-shadow .25s;
    border: 0;
    cursor: pointer;
}
.btn-hero-yellow:hover,
.btn-primary-glow:hover { box-shadow: 0 8px 20px -8px rgba(247,226,35,0.35); filter: brightness(1.05); }

.btn-hero-outline,
.btn-secondary-outline {
    background: transparent;
    color: rgba(240, 222, 74, 0.85);
    border: 2px solid rgba(240, 222, 74, 0.4);
    border-radius: 12px;
    padding: 14px 26px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover,
.btn-secondary-outline:hover {
    border-color: var(--signal);
    color: var(--signal);
    background: rgba(247, 226, 35, 0.06);
}
.btn-hero-outline svg,
.btn-secondary-outline svg { stroke: currentColor; }
.btn-hero-outline .play-arrow {
    width: 14px;
    height: 16px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 4px rgba(247, 226, 35, 0.3));
}

/* Hero visual wrapper — dashboard mock */
.hero-visual {
    position: relative;
    min-width: 0;
}

/* Dashboard preview window */
.hero-dashboard {
    background: #1f1c2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 50px 100px -30px rgba(96, 0, 208, 0.5);
    position: relative;
}
.hero-dashboard-bar,
.hero-dashboard-header {
    display: flex;
    align-items: center;
    background: #121826;
    gap: 7px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
.hero-dashboard-bar .light,
.hero-dashboard-header .hero-dashboard-dot {
    width: 11px; height: 11px; border-radius: 50%;
}
.hero-dashboard-bar .light:nth-child(1),
.hero-dashboard-header .hero-dashboard-dot.red    { background: #ff5f57; }
.hero-dashboard-bar .light:nth-child(2),
.hero-dashboard-header .hero-dashboard-dot.yellow { background: #febc2e; }
.hero-dashboard-bar .light:nth-child(3),
.hero-dashboard-header .hero-dashboard-dot.green  { background: #28c840; }

.hero-dashboard-body {
    padding: 28px;
    background: #1B1F2D;
}

.hero-stat-row,
.mock-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}
.hero-stat,
.mock-stat {
    background: #242835;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 22px 14px;
    text-align: center;
}
.hero-stat .num,
.mock-stat-value {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #8420ff;
    font-feature-settings: "tnum";
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
}
.hero-stat .label,
.mock-stat-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9c98ae;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
}

.hero-chart,
.mock-chart {
    background: #222634;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 22px;
}
.hero-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-chart-title,
.mock-chart-label {
    font-size: 14px;
    color: #9c98ae;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 16px;
}
.hero-chart-bars,
.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
}
.hero-chart-bars .bar,
.mock-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #a855f7, #4a00a8);
    border-radius: 3px 3px 0 0;
    transition: height .9s cubic-bezier(.2,.7,.2,1);
}
/* Static heights when JS isn't driving the bars (plain Laravel render). */
.mock-chart-bar:nth-child(1)  { height: 35%; }
.mock-chart-bar:nth-child(2)  { height: 55%; }
.mock-chart-bar:nth-child(3)  { height: 42%; }
.mock-chart-bar:nth-child(4)  { height: 70%; }
.mock-chart-bar:nth-child(5)  { height: 48%; }
.mock-chart-bar:nth-child(6)  { height: 80%; }
.mock-chart-bar:nth-child(7)  { height: 95%; }
.mock-chart-bar:nth-child(8)  { height: 65%; }
.mock-chart-bar:nth-child(9)  { height: 75%; }
.mock-chart-bar:nth-child(10) { height: 60%; }
.mock-chart-bar:nth-child(11) { height: 88%; }
.mock-chart-bar:nth-child(12) { height: 50%; }

/* Floating chips — translucent glass over the dashboard */
.hero-chip,
.hero-float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(22, 29, 39, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    z-index: 3;
    animation: float 4.5s ease-in-out infinite;
    white-space: nowrap;
}
.hero-chip svg,
.hero-float-badge i,
.hero-float-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-chip-1 svg,
.float-badge-1 i,
.float-badge-1 svg { color: #7d2bff; }
.hero-chip-2 svg,
.float-badge-2 i,
.float-badge-2 svg { color: #60a5fa; }
.hero-chip-3 svg,
.float-badge-3 i,
.float-badge-3 svg { color: #f59e0b; }
.hero-chip-1,
.float-badge-1 { top: 8%;  right: -8px;  animation-delay:    0s; }
.hero-chip-2,
.float-badge-2 { top: 60%; left: -42px;  animation-delay: -1.5s; }
.hero-chip-3,
.float-badge-3 { top: 58%; right: -32px; animation-delay:   -3s; }

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

@media (max-width: 980px) {
    .hero-grid,
    .hero-content { grid-template-columns: 1fr; gap: 60px; }
    .hero,
    .hero-section { padding-top: 140px; padding-bottom: 80px; }
    .hero-chip,
    .hero-float-badge { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee,
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(96,0,208,0.04), transparent);
    overflow: hidden;
}
.marquee-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-fade);
    margin-bottom: 32px;
}
.marquee-fade,
.marquee-wrapper { position: relative; }
.marquee-track {
    display: flex;
    gap: 72px;
    animation: scroll 38s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee-fade::before, .marquee-fade::after,
.marquee-wrapper::before, .marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-fade::before,
.marquee-wrapper::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-fade::after,
.marquee-wrapper::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-group {
    display: flex;
    gap: 72px;
    padding-right: 72px;
    flex-shrink: 0;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dim);
    flex-shrink: 0;
    white-space: nowrap;
}
.marquee-item i,
.marquee-item svg { width: 18px; height: 18px; color: var(--violet-bright); opacity: 0.7; font-size: 18px; }

@keyframes scroll { to { transform: translateX(-50%); } }

/* ==========================================================================
   STATS — small numeric grid below marquee
   ========================================================================== */
.stats,
.stats-section {
    padding-block: 80px;
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}
.stat-cell,
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 28px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    backdrop-filter: blur(6px);
}
.stat-cell .num,
.stat-item .stat-value {
    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--violet-bright);
    line-height: 1;
}
.stat-cell .lbl,
.stat-item .stat-label {
    font-size: 13px;
    color: var(--text-fade);
    letter-spacing: 0;
    text-transform: none;
}
.stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(138, 61, 240, 0.15);
    color: var(--violet-bright);
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    font-size: 18px;
}

@media (max-width: 880px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ==========================================================================
   SECTION HEADERS (used by Features, MISTY, Showcase, Workflow, etc.)
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(138, 61, 240, 0.12);
    border: 1px solid rgba(138, 61, 240, 0.22);
    color: var(--violet-bright);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.section-title {
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.06;
    margin: 0;
    color: #ffffff;
}
.section-description {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0;
}
.section-slogan {
    font-size: 13px;
    color: var(--signal);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
}

/* ==========================================================================
   FEATURES (bento grid) — keep legacy class names from Laravel landing
   ========================================================================== */
.features-section { padding: 120px 0; position: relative; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.bento-card,
.bento-card.tall,
.bento-card.span-2,
.bento-card.span-3,
.bento-card.span-4 {
    position: relative;
    padding: 36px 30px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.bento-card:hover {
    transform: translateY(-3px);
    border-color: rgba(138,61,240,0.3);
}
.bento-card-wide { grid-column: span 2; }

.bento-icon,
.bento-card .bento-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--violet), var(--violet-bright));
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px -8px rgba(138, 61, 240, 0.5);
}
.bento-icon i { color: #fff; }
.bento-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}
.bento-description,
.bento-desc {
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 980px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card-wide { grid-column: auto; }
}

/* ==========================================================================
   MISTY showcase
   ========================================================================== */
.misty-showcase-section { padding: 100px 0; position: relative; overflow: hidden; }
.misty-mockup {
    max-width: 880px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.misty-mockup-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px;
    background: rgba(7, 2, 44, 0.7);
    border-bottom: 1px solid var(--line);
    color: var(--text-dim);
}
.misty-mockup-header-left {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700;
    color: var(--signal);
}
.misty-mockup-dots { display: flex; gap: 8px; }
.misty-mockup-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(138, 61, 240, 0.1);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    font-size: 12px; font-weight: 700;
    color: var(--text-dim);
}
.misty-mockup-dot.active { background: var(--violet); color: #fff; box-shadow: 0 0 16px var(--violet-glow); border-color: var(--violet); }
.misty-mock-step { padding: 32px; min-height: 440px; display: flex; flex-direction: column; gap: 20px; }
.misty-mock-step--hidden { display: none; }
.misty-mock-step-header { display: flex; gap: 14px; align-items: flex-start; }
.misty-mock-step-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--violet), var(--violet-bright));
    border-radius: var(--r-md);
    display: grid; place-items: center;
    color: #fff;
}
.misty-mock-step-title { font-size: 17px; font-weight: 700; color: var(--text); }
.misty-mock-step-desc { font-size: 13px; color: var(--text-dim); }
.misty-mock-textarea-wrapper {
    background: rgba(7, 2, 44, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.misty-mock-textarea { padding: 16px; font-size: 14px; color: var(--text-dim); min-height: 90px; }
.misty-mock-textarea-footer {
    padding: 6px 14px;
    border-top: 1px solid var(--line);
    text-align: right;
    color: var(--text-fade);
    font-size: 12px;
}
.misty-mock-dropzone {
    background: rgba(7, 2, 44, 0.4);
    border: 1.5px dashed var(--line-2);
    border-radius: var(--r-md);
    padding: 24px;
    text-align: center;
}
.misty-mock-dropzone-icon { font-size: 26px; color: var(--violet-bright); margin-bottom: 6px; }
.misty-mock-dropzone-text { font-size: 14px; font-weight: 600; color: var(--text); }
.misty-mock-dropzone-hint { font-size: 12px; color: var(--text-fade); }
.misty-mock-dropzone-file { display: none; align-items: center; gap: 14px; padding: 10px; background: rgba(138, 61, 240, 0.08); border-radius: var(--r-sm); }
.misty-mock-dropzone-file-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--violet), var(--violet-bright)); border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; }
.misty-mock-dropzone-file-info { flex: 1; text-align: left; }
.misty-mock-dropzone-file-name { font-size: 14px; color: var(--text); font-weight: 600; }
.misty-mock-dropzone-file-size { font-size: 12px; color: var(--text-fade); }
.misty-mock-dropzone-file-check { color: var(--ok); }
.misty-mock-drop-ghost { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); font-size: 26px; color: var(--violet-bright); opacity: 0; }
.misty-mock-btn {
    background: var(--signal);
    color: #1a0a00;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}
.misty-mock-btn.disabled { background: rgba(138, 61, 240, 0.15); color: var(--text-fade); cursor: not-allowed; }
.misty-mock-btn-secondary {
    border: 1px solid var(--line-2);
    background: var(--mist);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.misty-mock-process-card {
    background: rgba(7, 2, 44, 0.45);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px;
}
.misty-mock-process-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.misty-mock-process-dot { width: 10px; height: 10px; border-radius: 50%; }
.misty-mock-process-name { flex: 1; color: var(--text); font-weight: 600; font-size: 14px; }
.misty-mock-process-count { color: var(--text-fade); font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(138, 61, 240, 0.1); }
.misty-mock-hazard-list { display: flex; flex-direction: column; gap: 5px; }
.misty-mock-hazard-item {
    height: 7px;
    background: linear-gradient(90deg, var(--violet-bright), rgba(138, 61, 240, 0.2));
    border-radius: 4px;
}
.misty-mock-step2-actions { display: flex; gap: 10px; justify-content: flex-end; }
.misty-mock-success { text-align: center; padding: 32px 20px; }
.misty-mock-success-icon { font-size: 50px; color: var(--ok); margin-bottom: 14px; }
.misty-mock-success-title { font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 22px; }
.misty-mock-stats { display: flex; gap: 14px; justify-content: center; margin-bottom: 20px; }
.misty-mock-stat-box {
    padding: 18px 24px;
    background: rgba(138, 61, 240, 0.1);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
}
.misty-mock-stat-number { font-size: 28px; font-weight: 700; color: var(--violet-bright); letter-spacing: -0.02em; }
.misty-mock-stat-label { font-size: 11px; color: var(--text-fade); text-transform: uppercase; letter-spacing: 0.1em; }
.misty-mock-view-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    background: var(--signal);
    color: #1a0a00;
    border-radius: 999px;
    font-weight: 700;
}
.misty-mock-assess-header { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.misty-mock-assess-title { font-weight: 700; color: var(--text); }
.misty-mock-assess-badge { background: rgba(245, 158, 11, 0.15); color: var(--warn); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.misty-mock-assess-table { display: flex; flex-direction: column; gap: 6px; }
.misty-mock-assess-row {
    display: grid;
    grid-template-columns: 2fr 1fr 60px;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(7, 2, 44, 0.5);
    border-radius: var(--r-sm);
    align-items: center;
    font-size: 13px;
}
.misty-mock-assess-row--header { background: transparent; text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; color: var(--text-fade); }
.misty-mock-assess-bar { display: block; height: 6px; background: linear-gradient(90deg, var(--violet-bright), var(--violet)); border-radius: 3px; }
.misty-mock-risk-badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.risk-high   { background: rgba(244,63,94,0.15);  color: #fb7185; }
.risk-medium { background: rgba(245,158,11,0.15); color: var(--warn); }
.risk-low    { background: rgba(52,211,153,0.15); color: var(--ok); }
.misty-mock-assess-progress { padding-top: 12px; }
.misty-mock-assess-progress-label { display: flex; justify-content: space-between; color: var(--text-dim); font-size: 12px; margin-bottom: 6px; }
.misty-mock-assess-progress-bar { height: 7px; background: rgba(7, 2, 44, 0.5); border-radius: 4px; overflow: hidden; }
.misty-mock-assess-progress-fill { height: 100%; background: linear-gradient(90deg, var(--violet-bright), var(--signal)); }

/* ==========================================================================
   SHOWCASE / Tabs / Mock UI
   ========================================================================== */
.showcase-section { padding: 100px 0; }
.showcase-tabs {
    display: flex;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
    margin: 0 auto 40px;
    width: fit-content;
}
.showcase-tab {
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    background: transparent;
    cursor: pointer;
}
.showcase-tab.active {
    background: linear-gradient(135deg, var(--violet), var(--violet-bright));
    color: #fff;
}
.showcase-content { position: relative; }
.showcase-panel { display: none; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-panel.active { display: grid; }
.showcase-text h3 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: -0.02em; }
.showcase-text p { font-size: 15px; color: var(--text-dim); line-height: 1.6; margin-bottom: 18px; }
.showcase-features-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.showcase-features-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 14px; }
.showcase-features-list i { color: var(--violet-bright); }

.mock-ui {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.mock-ui-header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mock-ui-title { font-weight: 700; color: var(--text); }
.mock-ui-badge { background: rgba(138, 61, 240, 0.15); color: var(--violet-bright); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.mock-ui-rows { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-ui-row { display: flex; align-items: center; gap: 12px; }
.mock-ui-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.mock-ui-bar { flex: 1; height: 7px; background: rgba(138, 61, 240, 0.1); border-radius: 4px; overflow: hidden; }
.mock-ui-bar-fill { height: 100%; background: linear-gradient(90deg, var(--violet-bright), var(--violet)); }
.mock-ui-tag { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }

@media (max-width: 880px) {
    .showcase-panel { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   HOW IT WORKS / Steps
   ========================================================================== */
.how-it-works-section { padding: 100px 0; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    padding: 36px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
}
.step-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--violet-bright);
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.05em;
}
.step-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-description { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

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

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-section { padding: 100px 0; }
.comparison-table-wrapper {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.comparison-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
}
.comparison-table th {
    color: var(--text-fade);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    background: rgba(7, 2, 44, 0.4);
}
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; color: var(--text); }
.comparison-table .highlight-col { background: rgba(138, 61, 240, 0.08); color: var(--text); }
.comparison-table th.highlight-col { color: var(--signal); font-weight: 800; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comp-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--violet-bright)); color: #fff; }
.comp-x { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(244, 63, 94, 0.12); color: #fb7185; }
.comp-partial { padding: 3px 12px; background: rgba(245, 158, 11, 0.12); color: var(--warn); border-radius: 999px; font-size: 12px; }

/* ==========================================================================
   WORKFLOW pipeline
   ========================================================================== */
.workflow-section { padding: 100px 0; }
.workflow-pipeline {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 36px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow-x: auto;
    margin-bottom: 32px;
}
.workflow-progress-track { position: absolute; top: 61px; left: 60px; right: 60px; height: 2px; background: rgba(138, 61, 240, 0.12); transform: translateY(-1px); }
.workflow-progress-fill { width: 50%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-bright), var(--signal)); }
.workflow-stage { flex: 1; text-align: center; min-width: 110px; z-index: 1; }
.workflow-stage-icon {
    width: 50px; height: 50px;
    margin: 0 auto 12px;
    background: var(--ink-2);
    border: 2px solid var(--line-2);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--text-dim);
}
.workflow-stage.active .workflow-stage-icon { background: linear-gradient(135deg, var(--violet), var(--violet-bright)); color: #fff; box-shadow: 0 0 22px var(--violet-glow); border-color: var(--violet); }
.workflow-stage-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.workflow-stage-desc { font-size: 12px; color: var(--text-fade); }
.workflow-arrow {
    height: 50px;
    display: flex;
    align-items: center;
    color: var(--text-fade);
    line-height: 1;
    z-index: 1;
}
.workflow-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.workflow-detail-item {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-align: center;
}
.workflow-detail-icon {
    width: 44px; height: 44px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--violet), var(--violet-bright));
    border-radius: var(--r-md);
    display: grid; place-items: center;
    color: #fff;
}
.workflow-detail-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.workflow-detail-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 880px) {
    .workflow-pipeline { flex-direction: column; gap: 18px; }
    .workflow-progress-track { display: none; }
    .workflow-arrow { transform: rotate(90deg); padding: 0; }
    .workflow-detail { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section { padding: 100px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card {
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    backdrop-filter: blur(8px);
}
.testimonial-stars { color: var(--signal); margin-bottom: 14px; }
.testimonial-text { color: var(--text); margin-bottom: 22px; line-height: 1.6; font-size: 15px; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.testimonial-name { font-weight: 700; color: var(--text); font-size: 14px; }
.testimonial-role { color: var(--text-fade); font-size: 12px; }
.testimonial-dots { display: none; gap: 6px; justify-content: center; margin-top: 24px; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(138,61,240,0.25); }
.testimonial-dot.active { background: var(--violet-bright); width: 22px; border-radius: 4px; }

@media (max-width: 980px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .testimonial-dots { display: flex; }
}

/* ==========================================================================
   THEMES showcase / SECURITY
   ========================================================================== */
.themes-section, .security-section { padding: 100px 0; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.theme-preview { aspect-ratio: 16/9; padding: 20px; display: flex; align-items: flex-end; }
.theme-preview-bars { display: flex; gap: 8px; width: 100%; height: 70%; align-items: flex-end; }
.theme-preview-bar { flex: 1; border-radius: 4px 4px 0 0; opacity: 0.85; }
.theme-card-info { padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; background: rgba(7, 2, 44, 0.4); border-top: 1px solid var(--line); }
.theme-card-name { color: var(--text); font-weight: 700; }
.theme-card-dot { width: 14px; height: 14px; border-radius: 50%; }

.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.security-badge-card {
    padding: 28px 22px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
}
.security-badge-icon {
    width: 60px; height: 60px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--violet), var(--violet-bright));
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 24px -8px rgba(138, 61, 240, 0.5);
}
.security-badge-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.security-badge-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 980px) {
    .theme-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .theme-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding: 100px 0; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.faq-item.open { border-color: rgba(138, 61, 240, 0.32); }
.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-question-text { font-weight: 600; color: var(--text); font-size: 15px; }
.faq-toggle {
    width: 30px; height: 30px;
    background: rgba(138, 61, 240, 0.1);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--violet-bright);
    transition: transform .25s, background .25s;
}
.faq-item.open .faq-toggle { background: var(--violet); color: #fff; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.7,.2,1); }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

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

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section { padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(96, 0, 208, 0.25), transparent 60%);
}
.cta-blob { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.cta-blob path { fill: rgba(96, 0, 208, 0.18); }
.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 36px;
    background: linear-gradient(160deg, rgba(34, 13, 84, 0.7), rgba(7, 2, 44, 0.85));
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    backdrop-filter: blur(10px);
}
.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 14px;
    letter-spacing: -0.025em;
}
.cta-description { color: var(--text-dim); font-size: 16px; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.promo-footer {
    padding: 70px 0 28px;
    border-top: 1px solid var(--line);
    background: rgba(7, 2, 44, 0.6);
    backdrop-filter: blur(8px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
}
.footer-brand { max-width: 360px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 32px; width: auto; }
.footer-logo-text { display: none; }
.footer-tagline { color: var(--text-dim); line-height: 1.6; margin-bottom: 18px; font-size: 14.5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(138, 61, 240, 0.1);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--text-dim);
    transition: all .2s;
}
.footer-social a:hover { background: var(--violet); color: #fff; border-color: var(--violet); }
.footer-column h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.footer-links a { color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--violet-bright); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: var(--text-fade);
    font-size: 13px;
}

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DEMO MODAL + COOKIE BANNER + BACK TO TOP (legacy bits, restyled)
   ========================================================================== */
.demo-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(7, 2, 44, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}
.demo-modal-overlay.open { display: flex; }
.demo-modal {
    width: 100%;
    max-width: 540px;
    background: linear-gradient(160deg, rgba(34, 13, 84, 0.96), rgba(7, 2, 44, 0.98));
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    padding: 36px;
    position: relative;
    box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
}
.demo-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    background: rgba(138, 61, 240, 0.1);
    color: var(--text-dim);
    border-radius: 50%;
    display: grid; place-items: center;
}
.demo-modal-close:hover { background: var(--violet); color: #fff; }
.demo-modal-title { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 6px; letter-spacing: -0.02em; }
.demo-modal-desc { color: var(--text-dim); margin-bottom: 22px; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.demo-form-group { margin-bottom: 14px; }
.demo-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.demo-form-input, .demo-form-select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(7, 2, 44, 0.6);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}
.demo-form-input:focus, .demo-form-select:focus { outline: 0; border-color: var(--violet-bright); }
.demo-form-submit {
    width: 100%;
    padding: 13px;
    background: var(--signal);
    color: #1a0a00;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.demo-form-success { display: none; text-align: center; padding: 30px 0; }
.demo-form-success.show { display: block; }
.demo-form-success i { font-size: 50px; color: var(--ok); margin-bottom: 14px; }
.demo-form-success h3 { color: var(--text); font-size: 22px; margin-bottom: 6px; }
.demo-form-success p { color: var(--text-dim); }

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px; right: 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 22px;
    background: rgba(7, 2, 44, 0.96);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    z-index: 9000;
    transform: translateY(150%);
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-text { color: var(--text-dim); font-size: 13.5px; flex: 1; }
.cookie-banner-text a { color: var(--violet-bright); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-btn { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.cookie-btn-decline { background: transparent; color: var(--text-dim); border: 1px solid var(--line); }
.cookie-btn-decline:hover { color: var(--text); border-color: var(--line-2); }
.cookie-btn-accept { background: var(--signal); color: #1a0a00; }
.cookie-btn-accept:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(247,226,35,0.5); }

.back-to-top {
    --bttn-progress: 0;
    position: fixed;
    bottom: 26px; right: 26px;
    width: 60px; height: 60px;
    border: none;
    background: conic-gradient(var(--signal) calc(var(--bttn-progress) * 1%), rgba(255, 255, 255, 0.10) 0);
    color: var(--signal);
    border-radius: 50%;
    display: grid; place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .35s, transform .35s;
    z-index: 9000;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55), 0 0 18px rgba(247, 226, 35, 0.18);
    padding: 0;
    overflow: visible;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #1a0a30;
    z-index: 0;
}
.back-to-top svg { display: none; }
.back-to-top i { position: relative; z-index: 1; font-size: 16px; }
.back-to-top:hover { color: #fff8b3; }
.back-to-top:hover::after { background: #2a1448; }

.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--violet), var(--violet-bright), var(--signal));
    z-index: 9999;
    box-shadow: 0 0 12px var(--violet-glow);
}

/* ==========================================================================
   Slot machine digit roll (for hero stat counters from JS)
   ========================================================================== */
.slot-digit-wrapper {
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;
}
.slot-digit-strip {
    display: block;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.slot-digit-strip > span {
    display: block;
    height: 1.2em;
    line-height: 1.2;
}

/* ==========================================================================
   Responsive container padding
   ========================================================================== */
@media (max-width: 880px) {
    .container, .promo-container { padding-inline: 20px; }
    .section-pad { padding-block: calc(80px * var(--density)); }
    .section-head { margin-bottom: 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   MOBILE — comprehensive responsive polish
   ========================================================================== */

/* --- Hamburger animation (X) --- */
.nav-hamburger span { transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile full-screen nav menu --- */
@media (max-width: 720px) {
    /* Shrink nav on mobile */
    .site-header, .promo-nav {
        width: calc(100% - 32px);
        top: 12px;
    }
    .site-header.scrolled, .promo-nav.scrolled {
        width: calc(100% - 24px);
        top: 10px;
    }

    /* Hide login button from the top bar */
    .promo-nav .btn-nav-login { display: none; }

    /* Smaller lang switch */
    .promo-nav .nav-lang-switch { padding: 2px; }
    .promo-nav .nav-lang-btn { padding: 4px 10px; font-size: 11px; }

    /* Lift entire nav above the mobile overlay */
    .promo-nav { z-index: 1001 !important; }
    .nav-hamburger { position: relative; }
    .nav-actions    { position: relative; }
}

/* Hide mobile-only items on desktop */
.nav-mobile-login-item,
.nav-mobile-header,
.nav-mobile-divider { display: none; }

/* ==========================================================================
   MOBILE MENU OVERLAY — body-level portal (avoids nav transform trap)
   ========================================================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ink);
    z-index: 1000;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    animation: mmoFadeIn 0.22s ease;
}
.mobile-menu-overlay.open { display: flex; }
@keyframes mmoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Top spacer — clears the nav bar */
.mmo-header {
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
}
.mmo-logo { height: 30px; width: auto; display: block; }

/* Nav links — fill remaining space */
.mmo-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 0 0;
    list-style: none;
    margin: 0;
}
.mmo-nav li { list-style: none; width: 100%; }
.mmo-nav a {
    display: flex;
    align-items: center;
    padding: 20px 28px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.mmo-nav a:active { color: var(--violet-bright); background: rgba(138, 61, 240, 0.06); }

/* Login button — pinned at bottom */
.mmo-nav .nav-mobile-login-item {
    display: block !important;
    padding: 24px 28px 48px;
    margin-top: auto;
}
.mmo-nav .nav-mobile-login-item a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 28px !important;
    background: var(--signal);
    color: #1a0a00 !important;
    border-radius: 12px;
    font-size: 16px !important;
    font-weight: 700 !important;
    width: 100%;
    border-bottom: none !important;
}
.mmo-nav .nav-mobile-login-item a:hover { filter: brightness(1.06); }

/* Hide dividers — we use border-bottom on links */
.mmo-nav .nav-mobile-divider { display: none !important; }
/* Hide header-only items (logo li, divider li) from mmo-nav */
.mmo-nav .nav-mobile-header { display: none !important; }

/* Glow orb */
.mmo-glow {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(96, 0, 208, 0.15), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

/* --- Hero mobile --- */
@media (max-width: 720px) {
    .hero, .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .hero-text { gap: 18px; }
    .hero-title { font-size: clamp(28px, 8vw, 44px); }
    .hero-cta-row, .hero-ctas { gap: 10px; flex-wrap: nowrap; }
    .btn-hero-yellow, .btn-primary-glow,
    .btn-hero-outline, .btn-secondary-outline {
        padding: 12px 14px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        white-space: nowrap;
        min-width: 0;
    }
}

/* --- Section padding — compact on mobile --- */
@media (max-width: 720px) {
    .features-section,
    .misty-showcase-section,
    .showcase-section,
    .how-it-works-section,
    .comparison-section,
    .workflow-section,
    .testimonials-section,
    .security-section,
    .faq-section,
    .cta-section { padding-block: 64px; }

    .section-header { margin-bottom: 36px; gap: 12px; }
    .section-title { font-size: clamp(26px, 7vw, 40px); }
    .section-description { font-size: 15px; }
}

/* --- Container — tighter on very small screens --- */
@media (max-width: 480px) {
    .container, .promo-container { padding-inline: 16px; }
}

/* --- Comparison table — allow horizontal scroll --- */
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
    .comparison-table { min-width: 600px; }
    .comparison-table th, .comparison-table td { padding: 12px 14px; font-size: 13px; }
}

/* --- Showcase tabs — horizontally scrollable on mobile --- */
@media (max-width: 640px) {
    .showcase-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        border-radius: var(--r-lg);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .showcase-tabs::-webkit-scrollbar { display: none; }
    .showcase-tab { white-space: nowrap; flex-shrink: 0; }
}

/* --- Workflow pipeline — vertical stack on mobile --- */
@media (max-width: 640px) {
    .workflow-pipeline {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        overflow-x: hidden;
    }
    .workflow-progress-track { display: none; }
    .workflow-arrow { display: none; }
    .workflow-stage {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 2px;
        text-align: left;
        min-width: 0;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .workflow-stage:last-child { border-bottom: none; }
    .workflow-stage-icon {
        width: 44px; height: 44px;
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
    }
    .workflow-stage-title { font-size: 14px; align-self: end; margin-bottom: 0; }
    .workflow-stage-desc { font-size: 12px; }
    .workflow-detail { gap: 14px; }
}

/* --- Misty mockup — tighter padding on mobile --- */
@media (max-width: 640px) {
    .misty-mock-step { padding: 20px; min-height: 360px; gap: 16px; }
    .misty-mock-step2-actions { flex-direction: column; }
    .misty-mock-step2-actions button { width: 100%; justify-content: center; }
    .misty-mockup-header { padding: 12px 16px; }
    .misty-mockup-dots { gap: 6px; }
    .misty-mockup-dot { width: 24px; height: 24px; font-size: 11px; }
}

/* --- Stats — compact on very small screens --- */
@media (max-width: 480px) {
    .stats-grid { gap: 12px; }
    .stat-item { padding: 18px 10px; }
    .stat-item .stat-value { font-size: clamp(24px, 8vw, 36px); }
}

/* --- Security grid — single column on very small screens --- */
@media (max-width: 480px) {
    .security-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* --- CTA section --- */
@media (max-width: 640px) {
    .cta-content { padding: 36px 20px; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn-primary-glow,
    .cta-buttons .btn-secondary-outline { justify-content: center; }
}

/* --- Demo modal — full coverage on small screens --- */
@media (max-width: 560px) {
    .demo-modal-overlay { padding: 12px; align-items: flex-end; }
    .demo-modal {
        padding: 24px 20px;
        border-radius: var(--r-xl) var(--r-xl) var(--r-sm) var(--r-sm);
        max-height: 92vh;
        overflow-y: auto;
    }
    .demo-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- Cookie banner — stacked on mobile --- */
@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 14px 16px;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
    .cookie-banner-actions { justify-content: center; width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}

/* --- Marquee — slower on mobile + remove box borders --- */
@media (max-width: 720px) {
    .marquee-track { animation-duration: 180s; }
    .marquee,
    .marquee-section {
        border-top: none;
        border-bottom: none;
        background: transparent;
        padding: 40px 0;
    }
}

/* --- Hero dashboard mockup — compact on mobile --- */
@media (max-width: 720px) {
    .hero-dashboard-body { padding: 16px; }
    .mock-stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }
    /* Force items to yield — minmax(0,1fr) on tracks + min-width:0 on items */
    .mock-stat {
        min-width: 0;
        padding: 14px 8px;
        overflow: hidden;
    }
    .mock-stat-value {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mock-stat-label {
        font-size: 9px;
        letter-spacing: 0.1em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Chart area compact */
    .hero-chart,
    .mock-chart { padding: 14px; }
}
