/* ═══════════════════════════════════════════════════════════════
   Defbot — Premium overlay
   Layers on top of preview.css + scrolly.css. Refines spacing,
   glass-cards, bento grid, gradient borders, ambient orbs, and
   micro-interaction polish to deliver the "elite SaaS" feel.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');

:root {
  --accent:        oklch(0.65 0.20 275);
  --accent-glow:   oklch(0.78 0.18 280);
  --accent-soft:   oklch(0.65 0.20 275 / 0.18);
  --accent-line:   oklch(0.65 0.20 275 / 0.30);

  --glass-bg:      linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  --glass-bg-hi:   linear-gradient(180deg, rgba(168,144,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  --glass-line:    rgba(255,255,255,0.07);
  --glass-line-hi: oklch(0.65 0.20 275 / 0.30);
}

/* ───────────────────────────────────────────────────────────────
   Scroll reveals — generic primitives, applied via [data-reveal]
   ─────────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
[data-reveal][data-delay="100"] { transition-delay: 100ms; }
[data-reveal][data-delay="200"] { transition-delay: 200ms; }
[data-reveal][data-delay="300"] { transition-delay: 300ms; }
[data-reveal][data-delay="400"] { transition-delay: 400ms; }
[data-reveal][data-delay="500"] { transition-delay: 500ms; }
[data-reveal][data-delay="600"] { transition-delay: 600ms; }

/* Stagger children with data-reveal-stagger on parent */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal-stagger].is-revealed > * { opacity: 1; transform: translate3d(0, 0, 0); }
[data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 60ms; }
[data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 160ms; }
[data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 260ms; }
[data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 360ms; }
[data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 460ms; }
[data-reveal-stagger].is-revealed > *:nth-child(6) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ───────────────────────────────────────────────────────────────
   Editorial typography — generous tracking, refined kicker style
   ─────────────────────────────────────────────────────────────── */
.hero h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: 5em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg,
    oklch(0.88 0.10 280) 0%,
    oklch(0.65 0.20 275) 60%,
    oklch(0.78 0.18 280) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .eyebrow span:last-child {
  letter-spacing: 0.22em;
  font-size: 11px;
}

/* Kicker pattern (Defbot kickers across the page) */
.kicker {
  font-family: var(--mono);
  font-size: 14px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Subtle gradient underline on the .step labels used in showcases */
.showcase .text .step {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.showcase .text .step::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ───────────────────────────────────────────────────────────────
   Glass-card system — applies to live-ops, stat-cards, model-cards,
   booking-card. Soft glass with refined borders.
   ─────────────────────────────────────────────────────────────── */
.live-ops,
.stat-card,
.model-card,
.booking-card {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-line) !important;
  border-radius: 18px !important;
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 400ms ease,
    background 400ms ease,
    box-shadow 500ms ease;
  position: relative;
  isolation: isolate;
}

/* Inset highlight on top edge — premium light-source detail */
.live-ops::before,
.stat-card::before,
.model-card::before,
.booking-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  pointer-events: none;
  z-index: 0;
}

/* Hover lift + accent border on interactive cards */
.stat-card:hover,
.model-card:hover {
  border-color: var(--glass-line-hi) !important;
  background: var(--glass-bg-hi) !important;
  transform: translateY(-6px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 60px oklch(0.55 0.22 275 / 0.18);
}

/* ───────────────────────────────────────────────────────────────
   Bento Stats grid — asymmetric 2x2 with two wide tiles
   ─────────────────────────────────────────────────────────────── */
.stats.bento .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: minmax(220px, auto) minmax(220px, auto);
  gap: 18px;
}
.stats.bento .stat-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.stats.bento .stat-card:nth-child(2) { grid-column: 3;     grid-row: 1; }
.stats.bento .stat-card:nth-child(3) { grid-column: 1;     grid-row: 2; }
.stats.bento .stat-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }

.stats.bento .stat-card {
  padding: 32px 36px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 14px;
  overflow: hidden;
}

/* Wide-card glow accent */
.stats.bento .stat-card:nth-child(1)::after,
.stats.bento .stat-card:nth-child(4)::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 100% 100%, oklch(0.55 0.22 275 / 0.20), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Bigger numerals on wide tiles */
.stats.bento .stat-card:nth-child(1) .num,
.stats.bento .stat-card:nth-child(4) .num {
  font-size: clamp(64px, 7vw, 96px) !important;
}

@media (max-width: 900px) {
  .stats.bento .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .stats.bento .stat-card:nth-child(1),
  .stats.bento .stat-card:nth-child(2),
  .stats.bento .stat-card:nth-child(3),
  .stats.bento .stat-card:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* ───────────────────────────────────────────────────────────────
   Animated gradient borders — applied to .glow-border parent
   ─────────────────────────────────────────────────────────────── */
.glow-border {
  position: relative;
  isolation: isolate;
}
.glow-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(from var(--gb-from, 0deg),
      transparent 0deg,
      var(--accent-glow) 60deg,
      transparent 120deg,
      transparent 240deg,
      var(--accent) 300deg,
      transparent 360deg);
  -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0);
          mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: gbRotate 6s linear infinite;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 1;
}
.glow-border:hover::after { opacity: 0.85; }
@keyframes gbRotate {
  to { --gb-from: 360deg; }
}
@property --gb-from {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ───────────────────────────────────────────────────────────────
   Magnetic primary button — pairs with js/premium.js
   ─────────────────────────────────────────────────────────────── */
.btn.primary {
  position: relative;
  isolation: isolate;
  padding: 11px 20px;
  font-weight: 500;
  letter-spacing: -0.005em;
  
  background: linear-gradient(
    135deg, oklch(0.31 0.12 22.71) 0%, oklch(0.4 0.16 29.23) 100%) !important;
    
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 12px 30px oklch(0.4 0.16 29.23 / 0.45),
    0 4px 10px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.15) !important;
  transition:
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 350ms ease,
    background 350ms ease;
}
.btn.primary:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14),
    0 18px 40px oklch(0.4 0.16 29.23 / 0.6),
    0 6px 14px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255,255,255,0.16) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.btn.primary:hover::before { transform: translateX(100%); }
.btn.primary > * { position: relative; z-index: 1; }

/* "Book my walkthrough" stays bluish-violet (only primary button with .block) */
.btn.primary.block {
  background: linear-gradient(
    135deg,
    oklch(0.62 0.22 275) 0%,
    oklch(0.70 0.20 285) 100%
  ) !important;
}

/* Ghost button refinement */
.btn.ghost {
  position: relative;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn.ghost:hover {
  border-color: oklch(0.65 0.20 275 / 0.35) !important;
  background: oklch(0.65 0.20 275 / 0.08);
  transform: translateY(-1px);
}

/* ───────────────────────────────────────────────────────────────
   Ambient orbs — drifting violet blobs in hero + booking bgs
   ─────────────────────────────────────────────────────────────── */
.hero,
.booking {
  position: relative;
  isolation: isolate;
}
.hero .ambient-orb,
.booking .ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero .ambient-orb.o1 {
  width: 600px; height: 600px;
  top: -100px; left: -150px;
  background: radial-gradient(circle, oklch(0.55 0.22 275 / 0.55), transparent 70%);
  animation: orbDrift1 18s ease-in-out infinite;
}
.hero .ambient-orb.o2 {
  width: 500px; height: 500px;
  bottom: -120px; right: -100px;
  background: radial-gradient(circle, oklch(0.50 0.24 290 / 0.45), transparent 70%);
  animation: orbDrift2 22s ease-in-out infinite;
}
.booking .ambient-orb.o1 {
  width: 500px; height: 500px;
  top: 10%; left: 5%;
  background: radial-gradient(circle, oklch(0.55 0.22 275 / 0.4), transparent 70%);
  animation: orbDrift1 24s ease-in-out infinite;
}
.booking .ambient-orb.o2 {
  width: 400px; height: 400px;
  bottom: 5%; right: 8%;
  background: radial-gradient(circle, oklch(0.50 0.24 290 / 0.35), transparent 70%);
  animation: orbDrift2 28s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 50px) scale(0.95); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, 40px) scale(1.08); }
  66%      { transform: translate(60px, -30px) scale(0.92); }
}

/* ───────────────────────────────────────────────────────────────
   Refined nav — sticky shrink + sharper blur
   ─────────────────────────────────────────────────────────────── */
.nav {
  background: rgba(5, 6, 8, 0.55) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding 300ms ease, background 300ms ease;
}
.nav.is-scrolled {
  background: rgba(5, 6, 8, 0.78) !important;
}
.nav .row { height: 68px; }
.nav .links a {
  font-size: 13px;
  letter-spacing: 0.005em;
  color: var(--fg-2);
  position: relative;
  padding: 6px 2px;
  transition: color 250ms ease;
}
.nav .links a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: left 300ms ease, right 300ms ease;
}
.nav .links a:hover { color: var(--fg-1); }
.nav .links a:hover::after { left: 0; right: 0; }

/* ───────────────────────────────────────────────────────────────
   Section dividers — soft gradient hairline between sections
   ─────────────────────────────────────────────────────────────── */
.section + .section,
.stats + .section,
.prdr-scrolly + .stats,
.section + .models,
.models + .section,
.section + .booking {
  position: relative;
}
.section + .section::before,
.stats + .section::before,
.prdr-scrolly + .stats::before,
.section + .models::before,
.models + .section::before,
.section + .booking::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(60%, 720px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.10) 25%,
    oklch(0.65 0.20 275 / 0.35) 50%,
    rgba(255,255,255,0.10) 75%,
    transparent);
  z-index: 5;
}

/* ───────────────────────────────────────────────────────────────
   Refined spacing — more breathing room
   ─────────────────────────────────────────────────────────────── */
.section { padding: 160px 0; }
.section.dense { padding: 120px 0; }
.stats { padding: 160px 0; }
.models { padding: 160px 0; }

@media (max-width: 720px) {
  .section, .stats, .models { padding: 96px 0; }
}

/* ───────────────────────────────────────────────────────────────
   Live-ops glass refinement
   ─────────────────────────────────────────────────────────────── */
.live-ops {
  padding: 24px !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03);
}

/* ───────────────────────────────────────────────────────────────
   Model card hover refinement — gradient glow
   ─────────────────────────────────────────────────────────────── */
.model-card.featured {
  background: linear-gradient(180deg,
    oklch(0.65 0.20 275 / 0.06) 0%,
    rgba(255,255,255,0.01) 100%) !important;
  border-color: oklch(0.65 0.20 275 / 0.20) !important;
}
.model-card .badge {
  background: linear-gradient(135deg,
    oklch(0.65 0.20 275 / 0.25),
    oklch(0.50 0.24 290 / 0.20)) !important;
  border: 1px solid oklch(0.65 0.20 275 / 0.30);
  font-weight: 500;
}

/* ───────────────────────────────────────────────────────────────
   Product showcase — subtle scale on hover for the render image
   ─────────────────────────────────────────────────────────────── */
.product-render {
  cursor: default;
}

/* ───────────────────────────────────────────────────────────────
   Subtle chrome — selection color, scrollbar
   ─────────────────────────────────────────────────────────────── */
/* ───────────────────────────────────────────────────────────────
   Hero eyebrow — larger variant
   ─────────────────────────────────────────────────────────────── */
.hero .eyebrow.eyebrow-lg {
  margin-bottom: 28px;
}
.hero .eyebrow.eyebrow-lg span:last-child {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--fg-1);
}

/* ───────────────────────────────────────────────────────────────
   Spline 3D stage — full-bleed background layer for the hero.

   This is the fortra.com pattern: the iframe fills the ENTIRE
   hero section, the scene renders at its full natural size, and
   the hero text sits on top of it via z-index. The model is
   never cropped because it never lives inside a constrained
   grid cell — it has the whole hero to breathe in.
   ─────────────────────────────────────────────────────────────── */
.spline-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Behind hero-inner (z:2) and ambient orbs (z:1 in their own
     stacking), but above the dotted #hero-canvas backdrop (z:0). */
  z-index: 1;
  background: transparent;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}
.spline-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: block;
  pointer-events: none;
}

/* Soft left-side gradient so the hero text always reads cleanly
   over whatever part of the 3D scene happens to sit behind it.
   Matches fortra.com's tasteful vignette. */
.spline-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink-0) 0%,
      oklch(from var(--ink-0) l c h / 0.85) 22%,
      oklch(from var(--ink-0) l c h / 0.55) 42%,
      transparent 65%
    );
  pointer-events: none;
  z-index: 2;
}

/* Hide the small Spline watermark in the iframe's bottom-right
   corner. With the iframe now full-bleed, that's the actual
   bottom-right of the hero section. */
.spline-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 168px;
  height: 88px;
  background: radial-gradient(ellipse at 100% 100%,
    var(--ink-0) 35%,
    transparent 75%);
  pointer-events: none;
  z-index: 3;
}

/* On narrower viewports, push the vignette wider so the text
   still has a confident dark backdrop on small screens. */
@media (max-width: 720px) {
  .spline-stage::before {
    background:
      linear-gradient(
        180deg,
        oklch(from var(--ink-0) l c h / 0.55) 0%,
        oklch(from var(--ink-0) l c h / 0.85) 55%,
        var(--ink-0) 100%
      );
  }
}

/* ───────────────────────────────────────────────────────────────
   PRDR Infographic — replaces the scrollytelling section
   ─────────────────────────────────────────────────────────────── */
.prdr-infographic {
  position: relative;
  padding: 160px 0;
  isolation: isolate;
}
.prdr-infographic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, oklch(0.55 0.22 275 / 0.10), transparent 70%),
    radial-gradient(40% 60% at 80% 70%, oklch(0.55 0.22 290 / 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.prdr-infographic .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.prdr-infographic .kicker::before {
  content: "";
  width: 24px; height: 1px;
  background: oklch(0.65 0.20 275);
}
.prdr-infographic h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  text-wrap: balance;
  margin-bottom: 22px;
  max-width: 18ch;
}
.prdr-infographic h2 em {
  font-style: normal;
  background: linear-gradient(135deg,
    oklch(0.88 0.10 280) 0%,
    oklch(0.65 0.20 275) 60%,
    oklch(0.78 0.18 280) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.prdr-infographic .lede {
  font-size: 17px;
  line-height: 1.62;
  color: var(--fg-2);
  max-width: 64ch;
  margin-bottom: 64px;
}
.prdr-figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #050608;
  box-shadow:
    0 0 0 1px rgba(160, 230, 255, 0.10),
    0 50px 120px rgba(0,0,0,0.65),
    0 0 80px oklch(0.55 0.22 275 / 0.18);
  position: relative;
  isolation: isolate;
}
.prdr-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(160, 230, 255, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 2;
}
.prdr-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

@media (max-width: 720px) {
  .prdr-infographic { padding: 96px 0; }
  .prdr-infographic .lede { margin-bottom: 40px; }
}

::selection { background: oklch(0.55 0.22 275); color: white; }

html { scroll-behavior: smooth; }

/* ───────────────────────────────────────────────────────────────
   Page-wide background — solid black at top of page, sliding to a
   sophisticated deep-charcoal gradient as the user scrolls past
   the Stats section. background-attachment:fixed makes the
   viewport color track scroll position automatically.
   ─────────────────────────────────────────────────────────────── */
html, body {
  background:
    radial-gradient(70% 40% at 50% 5%, rgba(120, 80, 220, 0.05), transparent 70%),
    linear-gradient(180deg,
      #050608 0%,
      #050608 35%,
      #0a0a12 65%,
      #0d0d14 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}
.section.tinted-a,
.section.tinted-b,
.section.tinted-c {
  background: transparent;
}

/* ───────────────────────────────────────────────────────────────
   Slab renders — flat dashboard slabs with cyan edge lighting,
   magnetic parallax tilt on hover, and a subtle glow puddle below.
   The PNG itself already contains chrome + cyan border; CSS adds
   interaction polish on top.
   ─────────────────────────────────────────────────────────────── */
.product-render.slab-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: none;
  background: transparent;
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter   400ms ease;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
}
.section .showcase .visual {
  position: relative;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  padding: 24px 0;
}
.section .showcase .visual::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  bottom: -20px;
  height: 140px;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(120, 200, 255, 0.18),
    transparent 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 500ms ease;
  pointer-events: none;
}
.section .showcase .visual:hover::after {
  opacity: 1;
}
.product-render.slab-img:hover {
  filter: brightness(1.06) saturate(1.08);
}

/* Hide scroll behavior on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .ambient-orb,
  .booking .ambient-orb { animation: none !important; }
}

/* ───────────────────────────────────────────────────────────────
   Nav — Features dropdown
   ─────────────────────────────────────────────────────────────── */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-trigger {
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms ease;
}
.nav-dd-trigger:hover,
.nav-dd:hover .nav-dd-trigger,
.nav-dd:focus-within .nav-dd-trigger,
.nav-dd.is-open .nav-dd-trigger { color: var(--fg-1); }
.nav-dd-trigger .chev {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.8;
}
.nav-dd:hover .nav-dd-trigger .chev,
.nav-dd:focus-within .nav-dd-trigger .chev,
.nav-dd.is-open .nav-dd-trigger .chev { transform: rotate(180deg); }

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 246px;
  padding: 8px;
  display: grid;
  gap: 1px;
  background: linear-gradient(180deg, rgba(18,18,28,0.96), rgba(10,10,16,0.97));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 24px 60px rgba(0,0,0,0.55),
    0 0 50px oklch(0.55 0.22 275 / 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 220ms;
  z-index: 60;
}
.nav-dd-menu::before {
  /* hover bridge so the menu doesn't close in the gap */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -14px; height: 14px;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.is-open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-dd-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--fg-2);
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.nav-dd-menu a .i {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fg-4);
  transition: color 160ms ease;
}
.nav-dd-menu a:hover {
  background: oklch(0.55 0.22 275 / 0.14);
  color: var(--fg-1);
}
.nav-dd-menu a:hover .i { color: var(--violet); }

/* ───────────────────────────────────────────────────────────────
   Mobile navigation — hamburger toggle + slide-down panel
   ─────────────────────────────────────────────────────────────── */
.nav-mobile-cta { display: none; }   /* shown only inside the mobile panel */

.nav-toggle {
  display: none;                       /* shown only on mobile */
  place-items: center;
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--fg-1);
}
.nav-toggle .bars { position: relative; width: 20px; height: 2px; }
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 240ms ease, opacity 200ms ease, background 200ms ease;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }
.nav.nav-open .nav-toggle .bars { background: transparent; }
.nav.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav.nav-open .nav-toggle .bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: grid; }
  .nav .row > .btn.primary { display: none; }   /* hide bar CTA; lives in panel */

  .nav .links {
    display: flex;                     /* override preview.css display:none */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 20px;
    background: linear-gradient(180deg, rgba(10,10,16,0.98), rgba(8,8,12,0.99));
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 26px 60px rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease,
                transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 220ms;
  }
  .nav.nav-open .links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav .links > a {
    padding: 13px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav .links > a::after { display: none; }    /* drop the desktop underline */

  /* mobile CTA inside the panel */
  .nav-mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0 !important;
  }

  /* Features dropdown — inline & static within the panel */
  .nav-dd { display: block; width: 100%; }
  .nav-dd-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 13px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav-dd-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 2px;
    padding: 0 0 0 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dd-menu::before { display: none; }
  /* override the desktop open-state transform (translate(-50%)) which would
     otherwise shift the now-static, full-width submenu off-screen */
  .nav-dd.is-open .nav-dd-menu { display: grid; transform: none; }
  .nav-dd-menu a { font-size: 14px; padding: 10px 12px; }
}

/* ───────────────────────────────────────────────────────────────
   Footer — 5th column (Connect: address + social links)
   ─────────────────────────────────────────────────────────────── */
.cf-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr; }
@media (max-width: 980px) { .cf-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cf-top { grid-template-columns: 1fr; } }

.cf-col ul li.cf-addr-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-3);
}
.cf-flag {
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
}

/* Social links — flag-style inline icon + label */
.cf-col ul li.cf-soc-line a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cf-soc-ico {
  flex-shrink: 0;
  color: var(--fg-3);
  transition: color 200ms ease;
}
.cf-col ul li.cf-soc-line a:hover .cf-soc-ico { color: var(--fg-1); }

/* ─── Floating WhatsApp button (injected by layout.js) ─────── */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37,211,102,0.45), 0 0 0 1px rgba(255,255,255,0.12);
}
.wa-float:active { transform: translateY(-1px) scale(1.0); }
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}
