/* ==========================================================================
   Scalaro · Premium Brand System
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-2: #050810;
  --bg-3: #0a0f1a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 163, 255, 0.4);
  --text: #e8ecf3;
  --text-strong: #ffffff;
  --muted: #8a93a6;
  --muted-2: #5a6478;
  --accent: #00a3ff;
  --accent-2: #4dc3ff;
  --accent-deep: #0066cc;
  --accent-glow: rgba(0, 163, 255, 0.35);
  --accent-glow-soft: rgba(0, 163, 255, 0.12);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1280px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--bg); }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) {
  body { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-strong);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Loader
   ========================================================================== */

.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: grid;
  place-items: center;
  gap: 2rem;
  grid-template-rows: 1fr auto;
  padding-bottom: 6rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  align-self: end;
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}
.loader-mark svg { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.loader-bar {
  width: 200px; height: 2px;
  background: var(--border);
  position: relative; overflow: hidden;
  align-self: start;
}
.loader-bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: loader-fill 1.2s var(--ease) forwards;
}
@keyframes loader-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */

.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transition: transform 0.18s var(--ease-out), width 0.25s var(--ease), height 0.25s var(--ease);
  mix-blend-mode: difference;
}
.cursor {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.7);
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor.hover {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,1);
}
@media (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 0.6rem var(--pad);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text-strong);
}
/* Logo: mark icon (S+arrow only) paired with SCALARO wordmark in brand typography */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-mark {
  display: block;
  height: 56px;
  width: auto;
  transition: transform 0.4s var(--ease), height 0.4s var(--ease);
}
.nav-wordmark-img {
  display: block;
  height: 26px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.nav-brand:hover .nav-mark {
  transform: scale(1.06) rotate(-2deg);
}
.nav.scrolled .nav-mark { height: 42px; }
.nav.scrolled .nav-wordmark-img { height: 20px; }

/* Footer variant — slightly larger */
.footer-mark { height: 72px; }
.footer-wordmark-img { height: 34px; }

@media (max-width: 600px) {
  .nav-mark { height: 38px; }
  .nav-wordmark-img { height: 18px; }
  .nav.scrolled .nav-mark { height: 32px; }
  .nav.scrolled .nav-wordmark-img { height: 15px; }
  .footer-mark { height: 52px; }
  .footer-wordmark-img { height: 24px; }
}
.brand-mark {
  position: relative;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,163,255,0.15), rgba(0,163,255,0.02));
  border: 1px solid rgba(0,163,255,0.3);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  overflow: hidden;
}
.brand-mark span { position: relative; z-index: 1; }
.brand-mark svg {
  position: absolute;
  width: 16px; height: 16px;
  bottom: 2px; right: 2px;
  color: var(--accent);
  z-index: 0;
  opacity: 0.85;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}
.nav-menu {
  display: flex; gap: 2.2rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-menu a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s var(--ease);
}
.nav-menu a:hover { color: var(--text-strong); }
.nav-menu a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25); }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 0.5rem;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-strong);
  transition: transform 0.3s var(--ease);
}
.nav-burger.open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 1rem var(--pad); background: rgba(0,0,0,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem var(--pad) 6rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(0, 102, 204, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 60, 130, 0.12) 0%, transparent 60%);
}

/* Subtle radial vignette anchoring the scene */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 50%, transparent 0%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Scan-line removed — too busy for a calm hero. Uncomment to bring back. */
.hero::after { display: none; }
@keyframes scan-line {
  0%   { top: -2%; opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.4; }
  100% { top: 102%; opacity: 0; }
}

/* Background video — cinematic film grade, no ken-burns (clip has its own motion) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  /* No filter — let the natural high-quality footage shine */
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.hero-video.ready {
  opacity: 1;
}

/* Three.js canvas as fallback while/if no video — fades out once video plays */
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  transition: opacity 0.8s var(--ease);
}
.hero.video-ready #hero-canvas {
  opacity: 0;
  pointer-events: none;
}

/* Multi-layer cinematic overlay — vignette + brand tint + film grain feel */
.hero-video-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Soft top fade — only enough for nav legibility */
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 18%),
    /* Soft bottom fade — for content readability */
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 25%);
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.hero.video-ready .hero-video-overlay {
  opacity: 1;
}

/* Bottom-edge fade — smooth transition from video into next section */
.hero-fade-out {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 50%, var(--bg) 100%);
}

/* ==========================================================================
   Hero VFX — Logo emergence from water + snow, synced to video timeline
   ========================================================================== */
.hero-vfx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.vfx-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}
.vfx-stage.active {
  opacity: 1;
  visibility: visible;
}

/* ---- The logo that erupts ---- */
.vfx-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(140px, 16vw, 220px);
  height: auto;
  transform: translate(-50%, 200%) scale(0.6) rotate(-12deg);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
  pointer-events: none;
  will-change: transform, filter;
}
.vfx-stage.active .vfx-logo {
  animation: vfx-logo-emerge 4.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes vfx-logo-emerge {
  0%   { transform: translate(-50%, 200%) scale(0.55) rotate(-14deg); opacity: 0; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.7)) blur(8px); }
  18%  { transform: translate(-50%, -130%) scale(1.15) rotate(8deg);   opacity: 1; filter: drop-shadow(0 18px 38px rgba(0,163,255,0.55)) blur(0px); }
  30%  { transform: translate(-50%, -90%) scale(0.95) rotate(-4deg); }
  45%  { transform: translate(-50%, -100%) scale(1.02) rotate(2deg); }
  55%  { transform: translate(-50%, -100%) scale(1) rotate(0deg);     filter: drop-shadow(0 14px 30px rgba(0,163,255,0.6)); }
  85%  { transform: translate(-50%, -100%) scale(1) rotate(0deg);     opacity: 1; }
  100% { transform: translate(-50%, -180%) scale(0.85) rotate(0deg);  opacity: 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)) blur(2px); }
}

/* ---- Glint flash at apex of emergence ---- */
.vfx-glint {
  position: absolute;
  left: 50%; top: 50%;
  width: 240px; height: 240px;
  transform: translate(-50%, -50%) scale(0.2);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(77, 195, 255, 0.5) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0;
  mix-blend-mode: screen;
}
.vfx-stage.active .vfx-glint {
  animation: vfx-glint-flash 1.4s ease-out forwards;
  animation-delay: 0.15s;
}
@keyframes vfx-glint-flash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  25%  { opacity: 0.95; transform: translate(-50%, -150%) scale(1.4); }
  100% { opacity: 0; transform: translate(-50%, -200%) scale(2.2); }
}

/* ===========================================
   WATER VFX — Mountain lake (video t≈5–9s)
   =========================================== */
.vfx-water {
  /* Positioned over the centre of the lake in the video composition */
  top: 62%;
  left: 50%;
}

.vfx-ripple {
  position: absolute;
  left: 50%; top: 50%;
  width: 80px; height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(190, 230, 255, 0.7);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.4);
}
.vfx-stage.active .vfx-ripple {
  animation: vfx-ripple-expand 2.6s ease-out forwards;
  animation-delay: 0.05s;
}
.vfx-stage.active .vfx-ripple-2 {
  animation-delay: 0.3s;
  animation-duration: 2.8s;
  border-color: rgba(140, 200, 240, 0.5);
}
@keyframes vfx-ripple-expand {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.95; }
  10%  { opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

.vfx-splash, .vfx-flakes {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
}
.vfx-splash span {
  position: absolute;
  left: 0; top: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #b4dfff 40%, rgba(77, 195, 255, 0.7) 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(77, 195, 255, 0.7);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, opacity;
}
.vfx-stage.active .vfx-splash span {
  animation: vfx-splash-fly 1.5s cubic-bezier(0.18, 0.85, 0.5, 1) forwards;
  animation-delay: var(--del, 0s);
}
@keyframes vfx-splash-fly {
  0%   {
    transform: translate(-50%, -50%) rotate(var(--a)) translateX(0) scale(0.4);
    opacity: 1;
  }
  20%  { opacity: 1; }
  100% {
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translateX(var(--d, 150px))
      rotate(calc(var(--a) * -1))
      translateY(120px)
      scale(0.15);
    opacity: 0;
  }
}

/* ===========================================
   SNOW VFX — Glacier (video t≈32–36s)
   =========================================== */
.vfx-snow {
  /* Positioned over the upper-centre area where the glacier sits */
  top: 50%;
  left: 50%;
}

.vfx-snow-cloud {
  position: absolute;
  left: 50%; top: 50%;
  width: 280px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.7) 0%, rgba(220, 235, 250, 0.3) 40%, transparent 75%);
  transform: translate(-50%, -40%) scale(0.2);
  opacity: 0;
  filter: blur(18px);
  mix-blend-mode: screen;
}
.vfx-stage.active .vfx-snow-cloud {
  animation: vfx-cloud-burst 2.6s ease-out forwards;
  animation-delay: 0.1s;
}
.vfx-stage.active .vfx-snow-cloud-2 {
  animation-delay: 0.3s;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.5), transparent 70%);
}
@keyframes vfx-cloud-burst {
  0%   { transform: translate(-50%, -40%) scale(0.2); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(-50%, -90%) scale(2.4); opacity: 0; }
}

.vfx-flakes span {
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 30%, rgba(230, 240, 255, 0.8) 70%, transparent 100%);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.vfx-stage.active .vfx-flakes span {
  animation: vfx-flake-fly 1.8s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
  animation-delay: var(--del, 0s);
}
@keyframes vfx-flake-fly {
  0%   {
    transform: translate(-50%, -50%) rotate(var(--a)) translateX(0) scale(0.3);
    opacity: 1;
  }
  100% {
    transform:
      translate(-50%, -50%)
      rotate(var(--a))
      translateX(var(--d, 180px))
      rotate(calc(var(--a) * -1))
      translateY(80px)
      scale(0.2);
    opacity: 0;
  }
}

/* Reduce-motion safety */
@media (prefers-reduced-motion: reduce) {
  .hero-vfx { display: none; }
}

@media (max-width: 700px) {
  .vfx-logo { width: clamp(90px, 24vw, 140px); }
}

/* Tech-grid disabled — too busy for a clean meditative hero */
.hero-grid { display: none; }
@keyframes grid-shift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 64px; }
}

/* Glow disabled — let the video carry the atmosphere on its own */
.hero-glow { display: none; }

/* Floating data orbs (decorative pure-CSS) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(77, 195, 255, 0.4), rgba(0, 163, 255, 0.05));
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Floating marketing UI cards (composited over the hero video)
   Topstep-style: nature footage + brand UI elements floating on top
   ========================================================================== */
.hero-cards {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.float-card {
  position: absolute;
  background: linear-gradient(180deg, rgba(15, 25, 45, 0.78), rgba(5, 10, 22, 0.65));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(77, 195, 255, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  color: var(--text-strong);
  box-shadow:
    0 18px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px -6px rgba(0, 163, 255, 0.25);
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(20px);
  animation: card-in 1s var(--ease-out) forwards;
}

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

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

.card-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.15;
}
.card-row {
  display: flex; align-items: center; gap: 0.7rem;
}
.card-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.card-icon svg { width: 18px; height: 18px; }
.card-icon-blue {
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.25), rgba(0, 163, 255, 0.05));
  color: var(--accent-2);
  border: 1px solid rgba(77, 195, 255, 0.3);
}
.card-pulse {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80, 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.55rem;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card-meta-inline {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.card-tag {
  color: #4ade80;
  font-weight: 600;
  font-size: 0.72rem;
}

/* === Card 1: AI Call (top-right) === */
.card-call {
  top: 12%;
  right: 5%;
  width: 240px;
  animation-delay: 1.4s;
}
.card-call::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
}
.card-wave {
  display: flex; align-items: center;
  gap: 3px;
  height: 24px;
  margin-top: 0.6rem;
}
.card-wave span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite;
  opacity: 0.85;
}
.card-wave span:nth-child(1)  { animation-delay: 0s; height: 30%; }
.card-wave span:nth-child(2)  { animation-delay: 0.05s; height: 60%; }
.card-wave span:nth-child(3)  { animation-delay: 0.1s; height: 80%; }
.card-wave span:nth-child(4)  { animation-delay: 0.15s; height: 50%; }
.card-wave span:nth-child(5)  { animation-delay: 0.2s; height: 90%; }
.card-wave span:nth-child(6)  { animation-delay: 0.25s; height: 40%; }
.card-wave span:nth-child(7)  { animation-delay: 0.3s; height: 70%; }
.card-wave span:nth-child(8)  { animation-delay: 0.35s; height: 100%; }
.card-wave span:nth-child(9)  { animation-delay: 0.4s; height: 55%; }
.card-wave span:nth-child(10) { animation-delay: 0.45s; height: 75%; }
.card-wave span:nth-child(11) { animation-delay: 0.5s; height: 35%; }
.card-wave span:nth-child(12) { animation-delay: 0.55s; height: 85%; }
.card-wave span:nth-child(13) { animation-delay: 0.6s; height: 65%; }
.card-wave span:nth-child(14) { animation-delay: 0.65s; height: 45%; }
.card-wave span:nth-child(15) { animation-delay: 0.7s; height: 95%; }
.card-wave span:nth-child(16) { animation-delay: 0.75s; height: 25%; }
.card-wave span:nth-child(17) { animation-delay: 0.8s; height: 70%; }
.card-wave span:nth-child(18) { animation-delay: 0.85s; height: 50%; }
.card-wave span:nth-child(19) { animation-delay: 0.9s; height: 80%; }
.card-wave span:nth-child(20) { animation-delay: 0.95s; height: 35%; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* === Card 2: Conversion stat (mid-left) === */
.card-stat {
  top: 38%;
  left: 4%;
  width: 220px;
  animation-delay: 1.7s;
}
.card-stat-row {
  display: flex; align-items: center; gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.card-stat-row strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-strong);
}
.card-stat-row strong em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.1rem;
}
.card-arrow {
  width: 22px; height: 22px;
  color: #4ade80;
  margin-left: auto;
}
.card-spark {
  width: 100%;
  height: 36px;
  display: block;
}

/* === Card 3: Workflow flow (bottom-left) === */
.card-flow {
  bottom: 14%;
  left: 6%;
  width: 250px;
  animation-delay: 2.0s;
}
.card-flow-graph {
  position: relative;
  width: 100%;
  height: 76px;
  margin: 0.55rem 0 0.4rem;
}
.card-flow-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.node {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(77, 195, 255, 0.5);
  background: rgba(0, 163, 255, 0.18);
  display: grid; place-items: center;
}
.node span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.node-1 { left: 0; top: 12%; animation-delay: 0s; }
.node-2 { left: 36%; top: 12%; }
.node-2 span { animation-delay: 0.4s; }
.node-3 { left: 36%; bottom: 12%; }
.node-3 span { animation-delay: 0.8s; }
.node-4 { right: 0; bottom: 12%; }
.node-4 span { animation-delay: 1.2s; }

/* === Card 4: Booking toast (bottom-right) === */
.card-toast {
  bottom: 18%;
  right: 5%;
  width: 240px;
  animation-delay: 2.3s;
}
.card-check {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.25), rgba(74, 222, 128, 0.05));
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  flex-shrink: 0;
}
.card-check svg { width: 20px; height: 20px; }

/* Idle drift — different rhythm per card so they don't sync */
.card-call  { animation: card-in 1s var(--ease-out) 1.4s forwards, float-y 6s ease-in-out 2.4s infinite; }
.card-stat  { animation: card-in 1s var(--ease-out) 1.7s forwards, float-y 7s ease-in-out 2.7s infinite; }
.card-flow  { animation: card-in 1s var(--ease-out) 2.0s forwards, float-y 8s ease-in-out 3.0s infinite; }
.card-toast { animation: card-in 1s var(--ease-out) 2.3s forwards, float-y 6.5s ease-in-out 3.3s infinite; }

/* Hide cards on mobile — they overlap content too much */
@media (max-width: 1100px) {
  .card-flow, .card-stat { display: none; }
}
@media (max-width: 800px) {
  .hero-cards { display: none; }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
}

/* Topstep-style cinematic centered headline — heavy white, big tracking-tight */
.hero-title-cinematic {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.6rem;
  padding-bottom: 0.15em;
}
.hero-title-cinematic .line {
  padding-bottom: 0.05em;
}
.hero-title-cinematic .line > span {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* Brand-accent word inside the title — clean solid blue, subtle */
.hero-title-cinematic .title-accent {
  color: var(--accent-2) !important;
  -webkit-text-fill-color: var(--accent-2) !important;
  background: none !important;
  display: inline-block;
}

/* Brand tagline block — recreates the logo's tagline panel under the title */
.hero-tagline {
  margin: 0 auto 2.5rem;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  opacity: 1 !important;
  animation: tagline-fade-in 0.9s var(--ease-out) 1.6s both;
}
@keyframes tagline-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tagline-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-tagline-line .dash {
  width: clamp(28px, 4vw, 56px);
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.6);
}
.hero-tagline-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #ffffff;
  white-space: nowrap;
}
.hero-tagline-text .accent,
.hero-tagline-italic .accent {
  color: var(--accent);
  font-style: inherit;
}
.hero-tagline-italic {
  margin-top: 0.55rem;
  font-family: 'Inter', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.005em;
}
@media (max-width: 600px) {
  .hero-tagline-line { gap: 0.65rem; }
  .hero-tagline-text { white-space: normal; }
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stats .stat {
  text-align: left;
  display: flex; flex-direction: column;
}
.hero-stats .stat-num {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}
.hero-stats .stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-block;
}
.hero-stats .stat em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
/* Text-stat (e.g. DSGVO) — slightly smaller so it sits optically with the numbers */
.hero-stats .stat-text strong {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.005em;
}
.hero-stats .stat-text em {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  margin-left: 0.3rem;
}
.hero-stats .stat span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--border);
}
@media (max-width: 700px) {
  .stat-divider { display: none; }
  .hero-stats { gap: 1.6rem; }
  .hero-stats .stat { text-align: center; align-items: center; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 4;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -50%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scroll-down 2.2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: var(--text-strong);
}

.btn-large {
  padding: 1.15rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee-track {
  display: flex; gap: 3rem;
  align-items: center;
  padding: 1.4rem 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.marquee-track span { color: var(--text-strong); }
.marquee-track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.8em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Capability strip — honest value claims, replaces fake live metrics
   ========================================================================== */
.cap-strip {
  position: relative;
  padding: 2.4rem var(--pad);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--border);
}
.cap-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .cap-strip-inner { gap: 1.5rem; flex-direction: column; }
}
.cap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cap-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.14), rgba(0, 163, 255, 0.02));
  border: 1px solid rgba(77, 195, 255, 0.22);
  color: var(--accent-2);
}
.cap-icon svg { width: 18px; height: 18px; }
.cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.cap span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   (legacy) Live Stats Bar — kept for reference, no longer rendered
   ========================================================================== */
.live-stats {
  position: relative;
  padding: 2rem var(--pad);
  background:
    linear-gradient(180deg, rgba(0, 163, 255, 0.04) 0%, transparent 100%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.live-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 163, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.live-stats-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.live-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #4ade80;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-stats-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80, 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.live-stat {
  flex: 1;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.live-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}
.live-stat strong em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 500;
}
.live-stat span:not(.live-num) {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.live-num.flash {
  animation: live-flash 0.6s ease-out;
}
@keyframes live-flash {
  0%   { color: #4dc3ff; text-shadow: 0 0 12px rgba(77, 195, 255, 0.6); }
  100% { color: var(--text-strong); text-shadow: none; }
}
.live-stat-sep {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
@media (max-width: 800px) {
  .live-stats-inner { gap: 1rem; }
  .live-stat-sep { display: none; }
  .live-stats-pill { width: 100%; justify-content: center; margin-bottom: 0.5rem; }
}

/* ==========================================================================
   Section heads
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-eyebrow span {
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* ==========================================================================
   Bento Grid — refined 4-tile composition with breathing room
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 380px 380px;
  grid-template-areas:
    "ki  web"
    "flow visi";
  gap: 1.3rem;
  perspective: 1400px;
}
.bento-ki    { grid-area: ki; }
.bento-web   { grid-area: web; }
.bento-flow  { grid-area: flow; }
.bento-visi  { grid-area: visi; }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "ki"
      "web"
      "flow"
      "visi";
  }
  .bento-tile { min-height: 320px; }
}

.bento-tile {
  position: relative;
  padding: 2rem 2.2rem;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0, 163, 255, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(1400px);
  will-change: transform;
}
.bento-tile::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle 380px at var(--mx, 50%) var(--my, -20%), rgba(0, 163, 255, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.bento-tile > * { position: relative; z-index: 1; }
.bento-tile:hover {
  border-color: rgba(77, 195, 255, 0.45);
  box-shadow: 0 30px 60px -20px rgba(0, 163, 255, 0.18);
}
.bento-tile:hover::before { opacity: 1; }

.bento-content {
  position: relative;
  z-index: 2;
  max-width: 95%;
}
.bento-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.2rem;
}
.bento-tile h3 {
  font-size: clamp(1.35rem, 1.85vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--text-strong);
}
.bento-ki h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}
.bento-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Visualization wrappers === */
.bento-viz {
  position: relative;
  margin-top: auto;
  padding-top: 1.2rem;
  z-index: 1;
}

/* === KI tile — call card with waveform === */
.bento-viz-call { padding-top: 1.5rem; }
.bento-viz-call .bento-call-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(77, 195, 255, 0.2);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  backdrop-filter: blur(10px);
}
.bento-call-row {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1rem;
}
.bento-call-avatar {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.25), rgba(0, 163, 255, 0.05));
  border: 1px solid rgba(77, 195, 255, 0.35);
  color: var(--accent-2);
  border-radius: 11px;
  flex-shrink: 0;
}
.bento-call-avatar svg { width: 18px; height: 18px; }
.bento-call-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.005em;
}
.bento-call-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.bento-call-pulse {
  margin-left: auto;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80, 0 0 0 3px rgba(74, 222, 128, 0.2);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.bento-wave {
  display: flex; align-items: center; gap: 3px;
  height: 32px;
}
.bento-wave span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.85;
}
.bento-wave span:nth-child(1)  { animation-delay: 0s;    height: 35%; }
.bento-wave span:nth-child(2)  { animation-delay: 0.05s; height: 60%; }
.bento-wave span:nth-child(3)  { animation-delay: 0.1s;  height: 80%; }
.bento-wave span:nth-child(4)  { animation-delay: 0.15s; height: 50%; }
.bento-wave span:nth-child(5)  { animation-delay: 0.2s;  height: 90%; }
.bento-wave span:nth-child(6)  { animation-delay: 0.25s; height: 45%; }
.bento-wave span:nth-child(7)  { animation-delay: 0.3s;  height: 70%; }
.bento-wave span:nth-child(8)  { animation-delay: 0.35s; height: 100%; }
.bento-wave span:nth-child(9)  { animation-delay: 0.4s;  height: 55%; }
.bento-wave span:nth-child(10) { animation-delay: 0.45s; height: 75%; }
.bento-wave span:nth-child(11) { animation-delay: 0.5s;  height: 35%; }
.bento-wave span:nth-child(12) { animation-delay: 0.55s; height: 85%; }
.bento-wave span:nth-child(13) { animation-delay: 0.6s;  height: 65%; }
.bento-wave span:nth-child(14) { animation-delay: 0.65s; height: 45%; }
.bento-wave span:nth-child(15) { animation-delay: 0.7s;  height: 95%; }
.bento-wave span:nth-child(16) { animation-delay: 0.75s; height: 25%; }
.bento-wave span:nth-child(17) { animation-delay: 0.8s;  height: 70%; }
.bento-wave span:nth-child(18) { animation-delay: 0.85s; height: 50%; }
.bento-wave span:nth-child(19) { animation-delay: 0.9s;  height: 80%; }
.bento-wave span:nth-child(20) { animation-delay: 0.95s; height: 35%; }
.bento-wave span:nth-child(21) { animation-delay: 1.0s;  height: 65%; }
.bento-wave span:nth-child(22) { animation-delay: 1.05s; height: 90%; }
.bento-wave span:nth-child(23) { animation-delay: 1.1s;  height: 40%; }
.bento-wave span:nth-child(24) { animation-delay: 1.15s; height: 70%; }
.bento-call-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.bento-call-tag {
  color: #4ade80;
  font-weight: 600;
  font-size: 0.72rem;
}

/* === Web tile — clean browser mockup === */
.bento-viz-web {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bento-browser {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(77, 195, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  transform: translateY(8px);
}
.bento-browser-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bento-browser-bar > span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.bento-browser-url {
  flex: 1;
  margin-left: 0.6rem;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--accent-2);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.bento-browser-body {
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.bento-line {
  height: 7px;
  background: linear-gradient(90deg, rgba(77, 195, 255, 0.5), rgba(77, 195, 255, 0.08));
  border-radius: 4px;
}
.bento-line.w-70 { width: 70%; }
.bento-line.w-60 { width: 60%; }
.bento-line.w-50 { width: 50%; }
.bento-block {
  height: 60px;
  background:
    linear-gradient(135deg, rgba(0, 163, 255, 0.22), rgba(0, 163, 255, 0.04)),
    radial-gradient(ellipse at 30% 30%, rgba(77, 195, 255, 0.3), transparent 60%);
  border: 1px solid rgba(77, 195, 255, 0.22);
  border-radius: 8px;
  margin: 0.3rem 0;
}

/* === Flow tile — animated workflow nodes === */
.bento-viz-flow {
  height: 90px;
  display: flex; align-items: center;
}
.bento-viz-flow svg {
  width: 100%; height: 100%;
}

/* === Visi tile — Google search result mockup === */
.bento-viz-visi { padding-top: 1rem; }
.bento-search {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(77, 195, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.bento-search-bar {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}
.bento-search-bar svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent-2); }
.bento-rank {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.bento-rank-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  transition: background 0.3s var(--ease);
}
.bento-rank-row.top {
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(77, 195, 255, 0.25);
}
.rank-pos {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-2);
  min-width: 24px;
}
.bento-rank-row.top .rank-pos { color: var(--accent-2); }
.rank-content {
  flex: 1;
  display: flex; flex-direction: column; gap: 0.2rem;
  min-width: 0;
}
.rank-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
  height: 12px;
  display: flex;
  align-items: center;
}
.rank-meta {
  font-size: 0.72rem;
  color: var(--muted);
  height: 10px;
  display: flex;
  align-items: center;
}
.rank-blur {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-radius: 3px;
  width: 70%;
}
.rank-meta.rank-blur { width: 50%; }
.rank-icon {
  color: #4ade80;
  font-size: 1rem;
  font-weight: 700;
}

/* === Trust tile — 4-cell metrics row === */
.bento-trust {
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.08), rgba(0, 0, 0, 0.4));
  border-color: rgba(77, 195, 255, 0.25);
}
.bento-trust-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}
.bento-trust-cell {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.bento-trust-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem; top: 25%; bottom: 25%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.bento-trust-cell strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.bento-trust-cell strong em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.05em;
}
.bento-trust-cell span {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 600px) {
  .bento-trust-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .bento-trust-cell:nth-child(2)::after { display: none; }
}

.service-card {
  position: relative;
  padding: 2.4rem 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  transform-style: preserve-3d;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--accent-glow-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.service-card:hover { border-color: var(--border-hover); }
.service-card:hover::before { opacity: 1; }

.service-num {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}
.service-icon {
  width: 64px; height: 64px;
  margin-bottom: 1.6rem;
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent-glow));
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-icon { transform: translateY(-4px) scale(1.05); }
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}
.service-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 2rem;
}
.service-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.92rem;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.service-arrow {
  position: absolute;
  bottom: 1.6rem; right: 1.8rem;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.service-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.service-card:hover .service-arrow svg { transform: translateX(2px); }

/* ==========================================================================
   Live Demo — iPhone mockup with KI-Rezeptionist in action
   ========================================================================== */
.demo-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #03070f 60%, var(--bg) 100%);
  isolation: isolate;
}
.demo-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 70% 50%, rgba(0, 163, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(0, 60, 130, 0.1), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.demo-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,195,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,195,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 90%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.demo-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 720px;
}
@media (max-width: 1000px) {
  .demo-content { grid-template-columns: 1fr; gap: 5rem; }
}

.demo-text { max-width: 540px; }
.demo-text .section-eyebrow { justify-content: flex-start; }
.demo-text .section-title {
  text-align: left;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 1.4rem;
}
.demo-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
}
.demo-bullets {
  display: flex; flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.demo-bullet {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.05rem;
  background: rgba(15, 25, 45, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.demo-bullet-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.18), rgba(0, 163, 255, 0.04));
  border: 1px solid rgba(77, 195, 255, 0.3);
  color: var(--accent-2);
  flex-shrink: 0;
}
.demo-bullet-icon svg { width: 18px; height: 18px; }
.demo-bullet strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-strong);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.demo-bullet span {
  font-size: 0.82rem;
  color: var(--muted);
}
.demo-cta { margin-top: 0.5rem; }

/* === Stage holding the phone + floating cards === */
.demo-stage {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
}

/* === iPhone mockup === */
.phone {
  position: relative;
  width: 280px;
  height: 580px;
  z-index: 5;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.8s var(--ease);
  animation: phone-float 8s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(-6deg) rotateX(2deg) translateY(-8px); }
}
.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1f2e 0%, #0a0f1a 50%, #1a1f2e 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #2a3142,
    0 30px 70px -10px rgba(0,0,0,0.7),
    0 0 80px -20px rgba(0, 163, 255, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 10;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050810;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  z-index: 5;
}
.phone-time { letter-spacing: -0.02em; }
.phone-status-icons {
  display: flex; gap: 0.4rem; align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);
}
.phone-signal::before {
  content: '';
  display: inline-block;
  width: 18px; height: 8px;
  background:
    linear-gradient(to right,
      #fff 0 3px, transparent 3px 4px,
      #fff 4px 8px, transparent 8px 9px,
      #fff 9px 13px, transparent 13px 14px,
      rgba(255,255,255,0.4) 14px 18px);
}
.phone-battery {
  width: 22px; height: 10px;
  border: 1px solid #fff;
  border-radius: 2px;
  position: relative;
}
.phone-battery::before {
  content: '';
  position: absolute; inset: 1px;
  width: 70%; height: calc(100% - 2px);
  background: #fff;
  border-radius: 1px;
}
.phone-battery::after {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 4px;
  background: #fff;
  border-radius: 0 1px 1px 0;
}

/* === Phone Screen Pages === */
.phone-screen-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.phone-screen-page.active {
  opacity: 1;
  visibility: visible;
}

/* === Screen 1: Incoming === */
.phone-bg-pulse {
  position: absolute;
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(0, 163, 255, 0.4), transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
  animation: bg-pulse 2.4s ease-in-out infinite;
}
@keyframes bg-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -55%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%, -55%) scale(1.15); }
}
.phone-call-label {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 50px;
  z-index: 1;
}
.phone-avatar {
  position: relative;
  width: 130px; height: 130px;
  display: grid; place-items: center;
  margin-bottom: 28px;
  z-index: 1;
}
.phone-avatar-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 163, 255, 0.4);
  animation: ring-pulse 2s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
.phone-avatar-inner {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 0 40px rgba(0, 163, 255, 0.5);
}
.phone-avatar-inner svg { width: 44px; height: 44px; }
.phone-caller-name {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  z-index: 1;
}
.phone-caller-meta {
  position: relative;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  z-index: 1;
}

/* === Screen 2: Active call === */
.phone-active-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  margin-top: 24px;
}
.phone-status-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #4ade80;
}
.phone-rec-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.phone-timer {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.phone-wave-big {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 60px;
  margin-bottom: 28px;
}
.phone-wave-big span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite;
  opacity: 0.9;
}
.phone-wave-big span:nth-child(1)  { animation-delay: 0s;    height: 35%; }
.phone-wave-big span:nth-child(2)  { animation-delay: 0.04s; height: 50%; }
.phone-wave-big span:nth-child(3)  { animation-delay: 0.08s; height: 75%; }
.phone-wave-big span:nth-child(4)  { animation-delay: 0.12s; height: 60%; }
.phone-wave-big span:nth-child(5)  { animation-delay: 0.16s; height: 90%; }
.phone-wave-big span:nth-child(6)  { animation-delay: 0.2s;  height: 45%; }
.phone-wave-big span:nth-child(7)  { animation-delay: 0.24s; height: 70%; }
.phone-wave-big span:nth-child(8)  { animation-delay: 0.28s; height: 100%; }
.phone-wave-big span:nth-child(9)  { animation-delay: 0.32s; height: 55%; }
.phone-wave-big span:nth-child(10) { animation-delay: 0.36s; height: 80%; }
.phone-wave-big span:nth-child(11) { animation-delay: 0.4s;  height: 30%; }
.phone-wave-big span:nth-child(12) { animation-delay: 0.44s; height: 65%; }
.phone-wave-big span:nth-child(13) { animation-delay: 0.48s; height: 85%; }
.phone-wave-big span:nth-child(14) { animation-delay: 0.52s; height: 40%; }
.phone-wave-big span:nth-child(15) { animation-delay: 0.56s; height: 75%; }
.phone-wave-big span:nth-child(16) { animation-delay: 0.6s;  height: 95%; }
.phone-wave-big span:nth-child(17) { animation-delay: 0.64s; height: 50%; }
.phone-wave-big span:nth-child(18) { animation-delay: 0.68s; height: 70%; }
.phone-wave-big span:nth-child(19) { animation-delay: 0.72s; height: 35%; }
.phone-wave-big span:nth-child(20) { animation-delay: 0.76s; height: 80%; }
.phone-wave-big span:nth-child(21) { animation-delay: 0.8s;  height: 60%; }
.phone-wave-big span:nth-child(22) { animation-delay: 0.84s; height: 45%; }
.phone-wave-big span:nth-child(23) { animation-delay: 0.88s; height: 90%; }
.phone-wave-big span:nth-child(24) { animation-delay: 0.92s; height: 55%; }
.phone-wave-big span:nth-child(25) { animation-delay: 0.96s; height: 70%; }
.phone-wave-big span:nth-child(26) { animation-delay: 1.0s;  height: 40%; }
.phone-wave-big span:nth-child(27) { animation-delay: 1.04s; height: 75%; }
.phone-wave-big span:nth-child(28) { animation-delay: 1.08s; height: 50%; }
.phone-wave-big span:nth-child(29) { animation-delay: 1.12s; height: 85%; }
.phone-wave-big span:nth-child(30) { animation-delay: 1.16s; height: 30%; }
.phone-wave-big span:nth-child(31) { animation-delay: 1.2s;  height: 65%; }
.phone-wave-big span:nth-child(32) { animation-delay: 1.24s; height: 45%; }
.phone-transcript {
  width: 100%;
  display: flex; flex-direction: column;
  gap: 0.6rem;
}
.trans-row {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.trans-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.trans-ki {
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(77, 195, 255, 0.28);
  align-self: flex-start;
  margin-right: 18%;
}
.trans-caller {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: flex-end;
  margin-left: 18%;
  text-align: right;
}
.trans-meta {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.trans-ki .trans-meta { color: var(--accent-2); }
.trans-caller .trans-meta { color: rgba(255, 255, 255, 0.45); }
.trans-text {
  color: #fff;
  min-height: 1em;
}

/* === Screen 3: Confirmed === */
.phone-success {
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center;
  padding-top: 30px;
}
.phone-success-icon {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.25), rgba(74, 222, 128, 0.04));
  color: #4ade80;
  margin-bottom: 24px;
  animation: success-pop 0.7s var(--ease-out);
}
@keyframes success-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
.phone-success-icon svg { width: 64px; height: 64px; }
.phone-success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.phone-success-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 0.2rem;
}
.phone-success-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}
.phone-success-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: flex; flex-direction: column;
  gap: 0.55rem;
}
.phone-success-card-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}
.phone-success-card-status {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  color: #4ade80;
}

/* === Floating UI cards around the phone === */
.float-card-demo {
  position: absolute;
  background: linear-gradient(180deg, rgba(15, 25, 45, 0.9), rgba(5, 10, 22, 0.85));
  border: 1px solid rgba(77, 195, 255, 0.28);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.6),
              0 0 22px -6px rgba(0, 163, 255, 0.3);
  font-family: var(--font-body);
  z-index: 4;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.float-card-demo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.float-card-demo .fcd-row {
  display: flex; align-items: center; gap: 0.7rem;
}
.fcd-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.22), rgba(0, 163, 255, 0.04));
  border: 1px solid rgba(77, 195, 255, 0.3);
  color: var(--accent-2);
  flex-shrink: 0;
}
.fcd-icon svg { width: 14px; height: 14px; }
.fcd-eyebrow {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.2rem;
}
.fcd-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
}
.fcd-check {
  margin-left: auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Card positions — orbit the phone in 3D space */
.card-crm  { top:  4%; left:  -20px; width: 220px; transform: translateZ(40px); animation-delay: 0.5s; }
.card-cal  { top: 32%; right: -40px; width: 220px; }
.card-mail { bottom: 22%; left: -45px; width: 230px; }
.card-sms  { bottom:  3%; right: -10px; width: 190px; }

.card-cal .fcd-cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 0.55rem 0;
}
.card-cal .fcd-cal-cell {
  height: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  display: grid; place-items: center;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-weight: 500;
}
.card-cal .fcd-cal-cell.active {
  background: rgba(0, 163, 255, 0.25);
  border: 1px solid rgba(77, 195, 255, 0.5);
  color: var(--accent-2);
  font-weight: 600;
}
.fcd-cal-event {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.5rem;
  background: rgba(0, 163, 255, 0.12);
  border-left: 2px solid var(--accent-2);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-strong);
}
.fcd-cal-dot {
  width: 6px; height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
}

@media (max-width: 1000px) {
  .demo-stage { min-height: 720px; padding: 2rem 0; }
  .phone { transform: rotateY(-4deg); }
  @keyframes phone-float {
    0%, 100% { transform: rotateY(-4deg) translateY(0); }
    50%      { transform: rotateY(-2deg) translateY(-6px); }
  }
}
@media (max-width: 600px) {
  .card-crm  { left: -8px;  top: -10px; width: 190px; }
  .card-cal  { right: -8px; top: 26%;   width: 180px; }
  .card-mail { left: -8px;  bottom: 30%; width: 195px; }
  .card-sms  { right: -8px; bottom: -10px; width: 165px; }
  .phone { width: 240px; height: 500px; }
  .phone-screen-page { padding: 50px 18px 22px; }
}

/* ==========================================================================
   3D Centerpiece (legacy class — kept for reference)
   ========================================================================== */
.model3d {
  position: relative;
  min-height: 760px;
  padding: clamp(5rem, 10vw, 7rem) var(--pad);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0, 60, 130, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0, 163, 255, 0.08), transparent 60%),
    var(--bg);
}
#model3d-canvas {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1000px) {
  #model3d-canvas {
    position: absolute;
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.55;
  }
}

.model3d-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 195, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 195, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}
.model3d-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, transparent 30%, rgba(0,0,0,0.6) 90%);
  z-index: 2;
  pointer-events: none;
}

.model3d-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1000px) {
  .model3d-content { grid-template-columns: 1fr; }
}

.model3d-text {
  max-width: 540px;
}
.model3d-text .section-eyebrow { justify-content: flex-start; }
.model3d-text .section-title {
  text-align: left;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 1.2rem;
}
.model3d-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.6rem;
}

.model3d-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
}
@media (max-width: 600px) {
  .model3d-pillars { grid-template-columns: 1fr; }
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  background: rgba(15, 25, 45, 0.45);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.pillar:hover {
  border-color: rgba(77, 195, 255, 0.4);
  background: rgba(15, 25, 45, 0.7);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}
.pillar strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}
.pillar > span:last-child {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Scroll progress indicator (top-fixed)
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-deep));
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Tech Stack Section — premium hero-style block
   ========================================================================== */
.tech-stack {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #02050d 50%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Layered background: subtle grid + radial gradients */
.tech-stack-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 195, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 195, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
  z-index: 0;
}
.tech-stack-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.tech-stack-glow-1 {
  width: 500px; height: 500px;
  left: -150px; top: -100px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.22), transparent 70%);
  animation: glow-drift-a 14s ease-in-out infinite;
}
.tech-stack-glow-2 {
  width: 600px; height: 600px;
  right: -180px; bottom: -150px;
  background: radial-gradient(circle, rgba(77, 195, 255, 0.18), transparent 70%);
  animation: glow-drift-b 18s ease-in-out infinite;
}
@keyframes glow-drift-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, 30px); }
}
@keyframes glow-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-30px, -20px); }
}

.tech-stack-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Pill label */
.tech-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(77, 195, 255, 0.3);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.6rem;
  backdrop-filter: blur(10px);
}
.tech-stack-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* ===== Premium stage around the headline ===== */
.tech-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: clamp(280px, 32vw, 420px);
  margin: 0 auto 3.5rem;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(2rem, 5vw, 4rem);
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 95% at 50% 100%, rgba(0, 60, 130, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(0, 163, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #02050d 0%, #05080f 50%, #02050d 100%);
  border: 1px solid rgba(77, 195, 255, 0.2);
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 100px -20px rgba(0, 163, 255, 0.18);
}

/* Layer 0: neural network canvas */
.tech-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

/* Layer 1: subtle micro-grid */
.tech-stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 195, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 195, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 90%);
  z-index: 1;
  pointer-events: none;
}

/* Layer 2: holographic light rays from top */
.tech-stage-rays {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 110%;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(77, 195, 255, 0.16), transparent 50%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  animation: stage-rays-pulse 9s ease-in-out infinite;
}
@keyframes stage-rays-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* Layer 3: subtle horizontal scanning line (slow, calm) */
.tech-stage-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(77, 195, 255, 0.5) 30%, rgba(255, 255, 255, 0.85) 50%, rgba(77, 195, 255, 0.5) 70%, transparent 100%);
  filter: blur(0.5px);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: stage-scan 11s linear infinite;
}
@keyframes stage-scan {
  0%   { top: -2%; opacity: 0; }
  10%  { opacity: 0.45; }
  90%  { opacity: 0.45; }
  100% { top: 102%; opacity: 0; }
}

/* Floating glass orbs with Scalaro logo inside — slow, ambient */
.tech-stage-orb {
  position: absolute;
  border-radius: 20px;
  background:
    url('assets/logo-mark.png') center / 55% no-repeat,
    linear-gradient(135deg, rgba(77, 195, 255, 0.14), rgba(0, 163, 255, 0.03));
  border: 1px solid rgba(77, 195, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 50px rgba(0, 163, 255, 0.18);
  z-index: 2;
  pointer-events: none;
}
.tech-stage-orb-1 {
  width: 120px; height: 120px;
  left: 5%;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  animation: orb-float-a 16s ease-in-out infinite;
}
.tech-stage-orb-2 {
  width: 84px; height: 84px;
  right: 7%;
  top: 50%;
  transform: translateY(-50%) rotate(18deg);
  animation: orb-float-b 14s ease-in-out infinite;
}
@media (max-width: 900px) {
  .tech-stage-orb-1 { width: 80px; height: 80px; left: 3%; }
  .tech-stage-orb-2 { width: 60px; height: 60px; right: 3%; }
}
@keyframes orb-float-a {
  0%, 100% { transform: translateY(-50%) rotate(-12deg) translate(0, 0); }
  50%      { transform: translateY(-50%) rotate(-8deg) translate(0, -10px); }
}
@keyframes orb-float-b {
  0%, 100% { transform: translateY(-50%) rotate(18deg) translate(0, 0); }
  50%      { transform: translateY(-50%) rotate(14deg) translate(0, 8px); }
}
@media (max-width: 700px) {
  .tech-stage-orb { display: none; }
}

/* Headline: clean, premium, with blue accent glow on key phrase */
.tech-stack-headline {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  max-width: 880px;
  text-align: center;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}
.tech-headline-accent {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #4dc3ff 45%, #00a3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(77, 195, 255, 0.55));
  font-weight: 600;
}
@media (max-width: 700px) {
  .tech-stack-headline { font-size: clamp(1.7rem, 6vw, 2.2rem); }
}

/* Decorative animated line */
.tech-stack-line {
  width: min(720px, 90%);
  height: 50px;
  margin: 0 auto 2.5rem;
  display: block;
  opacity: 0.8;
}

/* Logo grid */
.tech-stack-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
  align-items: stretch;
  justify-items: center;
}
@media (max-width: 900px) {
  .tech-stack-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
@media (max-width: 500px) {
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  transition: all 0.4s var(--ease);
  cursor: default;
}
.tech-logo-tile {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.tech-logo-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0, 163, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tech-logo-tile svg {
  position: relative;
  width: 30px;
  height: 30px;
  z-index: 1;
}
.tech-logo:hover { color: var(--text-strong); }
.tech-logo:hover .tech-logo-tile {
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.12), rgba(0, 163, 255, 0.02));
  border-color: rgba(77, 195, 255, 0.5);
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.5),
    0 0 24px -4px rgba(0, 163, 255, 0.35);
  color: var(--accent-2);
}
.tech-logo:hover .tech-logo-tile::before { opacity: 1; }
.tech-logo span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}

/* Bottom footer line + text */
.tech-stack-footer {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.tech-stack-footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.tech-stack-footer-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .tech-stack-footer-text { font-size: 0.78rem; white-space: normal; text-align: center; }
}

/* ==========================================================================
   Showcase
   ========================================================================== */

.showcase {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.showcase-text .section-eyebrow { justify-content: flex-start; }
.showcase-text .section-title {
  text-align: left;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.4rem;
}
.showcase-text > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.showcase-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
}
@media (max-width: 600px) {
  .showcase-list { grid-template-columns: 1fr; }
}
.showcase-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
}
.showcase-list li svg {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Showcase visual — staircase composition: front top-left, back bottom-right */
.showcase-visual {
  position: relative;
  width: 100%;
  height: 500px;
}
@media (max-width: 900px) {
  .showcase-visual { height: 420px; }
}
.showcase-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.showcase-img-front {
  inset: 0 6rem 6rem 0;
  z-index: 2;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -20px rgba(0, 163, 255, 0.25);
}
.showcase-img-back {
  bottom: 0; right: 0; top: 6rem; left: 6rem;
  z-index: 1;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 700px) {
  .showcase-img-front { inset: 0 3rem 3rem 0; }
  .showcase-img-back { top: 3rem; left: 3rem; }
}
.showcase-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.showcase-img:hover img { transform: scale(1.05); }
.showcase-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,7,15,0.5) 100%),
              linear-gradient(135deg, rgba(0,163,255,0.15), transparent 40%);
  pointer-events: none;
}
.showcase-badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(5, 7, 15, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-strong);
}
.showcase-badge-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.process-line {
  position: absolute;
  left: var(--pad); right: var(--pad);
  top: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--accent), var(--border), transparent);
}
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
}
.process-step:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h4 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   Why
   ========================================================================== */

.why {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  overflow: hidden;
}
.why-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, var(--accent-glow-soft), transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 70%, rgba(77, 195, 255, 0.06), transparent 70%);
  z-index: 0;
}
.why .section-head { position: relative; z-index: 1; }
.why-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  padding: 2rem 1.8rem;
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: rgba(15, 20, 36, 0.85);
}
.why-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.why-icon svg { width: 100%; height: 100%; }
.why-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.12) 0%, rgba(15, 20, 36, 0.4) 60%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-banner-inner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-banner-inner > * { position: relative; }
.cta-banner-inner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.cta-banner-inner p {
  color: var(--muted);
  max-width: 480px;
  font-size: 0.98rem;
}
@media (max-width: 800px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: 880px;
  margin: 0 auto;
}
.faq-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 4rem); }
.faq-list {
  display: flex; flex-direction: column;
  gap: 0.7rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] {
  border-color: var(--border-hover);
  background: var(--surface-2);
}
.faq-item summary {
  padding: 1.3rem 1.6rem;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-strong);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a3ff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.6rem 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}
.contact-text .section-eyebrow { justify-content: flex-start; }
.contact-text .section-title {
  text-align: left;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 1.4rem;
}
.contact-text > p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.contact-info {
  display: flex; flex-direction: column;
  gap: 1rem;
}
.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.contact-row:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateX(4px);
}
.contact-row-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(0,163,255,0.1);
  border-radius: 10px;
  color: var(--accent);
}
.contact-row-icon svg { width: 20px; height: 20px; }
.contact-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.contact-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-strong);
  font-weight: 500;
}

.contact-form {
  display: flex; flex-direction: column;
  gap: 1.1rem;
  padding: 2.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: flex; flex-direction: column;
  gap: 0.4rem;
}
.contact-form label span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-strong);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 4px var(--accent-glow-soft);
}
.contact-form textarea { min-height: 110px; }
.form-fineprint {
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Legal pages — Impressum / Datenschutz / AGB
   ========================================================================== */
/* Restore the native cursor on legal pages (no custom cursor JS there) */
body.legal-body,
body.legal-body * {
  cursor: auto;
}
body.legal-body a,
body.legal-body button,
body.legal-body summary {
  cursor: pointer;
}

.legal-page {
  position: relative;
  padding: clamp(7rem, 12vw, 9rem) var(--pad) clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  min-height: 80vh;
}
.legal-inner {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
}
.legal-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.legal-eyebrow span {
  width: 28px; height: 1px;
  background: var(--accent);
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-strong);
  margin-bottom: 1rem;
}
.legal-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.legal-placeholder-banner {
  padding: 1rem 1.2rem;
  background: rgba(255, 180, 0, 0.06);
  border: 1px solid rgba(255, 180, 0, 0.3);
  border-radius: 10px;
  color: #ffc966;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 3rem;
}
.legal-placeholder-banner strong { color: #ffdb99; }
.legal-section {
  margin-bottom: 2.4rem;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.legal-section p,
.legal-section ul,
.legal-section ol {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child { margin-bottom: 0; }
.legal-section ul,
.legal-section ol {
  padding-left: 1.4rem;
}
.legal-section li {
  margin-bottom: 0.45rem;
}
.legal-section a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 195, 255, 0.3);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.legal-section a:hover {
  color: #ffffff;
  border-color: var(--accent-2);
}
.legal-section strong { color: var(--text-strong); }
.legal-section code {
  font-family: ui-monospace, monospace;
  background: rgba(77, 195, 255, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}
.legal-note {
  margin-top: 0.5rem !important;
  padding: 0.7rem 0.9rem;
  background: rgba(77, 195, 255, 0.05);
  border-left: 2px solid rgba(77, 195, 255, 0.4);
  border-radius: 4px;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}
.legal-meta {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .nav-brand { margin-bottom: 1rem; }
.footer-tag {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
.footer-cols h5 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-cols a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-cols a:hover {
  color: var(--text-strong);
  transform: translateX(3px);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ==========================================================================
   Animations utilities (driven by GSAP, fallbacks here)
   ========================================================================== */

[data-anim] {
  opacity: 0;
}
/* Title uses line-by-line slide animation, not opacity — keep it visible */
[data-anim="title"] {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title .line span { transform: translateY(0); }
  [data-anim] { opacity: 1; }
}
