/* =========================================================
   DealHaus — Landing Page Styles
   Modern corporate German design
   ========================================================= */

:root{
  --color-blue-900: #03195b;
  --color-blue-800: #0b2cb1;
  --color-blue-600: #1951fc;
  --color-blue-500: #3781fc;
  --color-blue-400: #5fa8ff;
  --color-blue-100: #cbe9fd;

  --bg: color-mix(in srgb, var(--color-blue-100) 42%, white);
  --bg-soft: color-mix(in srgb, var(--color-blue-100) 28%, white);
  --surface: color-mix(in srgb, var(--color-blue-100) 24%, white);
  --surface-2: color-mix(in srgb, var(--color-blue-100) 44%, white);
  --border: color-mix(in srgb, var(--color-blue-900) 12%, transparent);
  --border-strong: color-mix(in srgb, var(--color-blue-900) 22%, transparent);

  --primary: var(--color-blue-600);
  --primary-2: var(--color-blue-500);
  --primary-dark: var(--color-blue-800);
  --accent: var(--color-blue-800);

  --fg: var(--color-blue-900);
  --muted: color-mix(in srgb, var(--color-blue-900) 78%, var(--color-blue-100));
  --muted-2: color-mix(in srgb, var(--color-blue-900) 64%, var(--color-blue-100));

  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 20px 50px -20px color-mix(in srgb, var(--color-blue-900) 22%, transparent);
  --shadow-sm:    0 8px 24px -12px color-mix(in srgb, var(--color-blue-900) 18%, transparent);

  --container:    1140px;
}

/* ---------- Reset ---------- */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
img{ max-width: 100%; display: block; }

/* =========================================================
   ANIMIERTER HINTERGRUND — dunkle Basis + schwebende Partikel
   ========================================================= */
.bg-animation{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% -10%, color-mix(in srgb, var(--color-blue-500) 12%, transparent) 0%, transparent 60%),
    radial-gradient(120% 120% at 50% 100%, color-mix(in srgb, var(--color-blue-100) 48%, white) 0%, var(--bg) 60%, var(--bg) 100%);
}
/* feine Gitter-Textur für Tiefe */
.bg-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-blue-500) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-blue-500) 5%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, var(--color-blue-900) 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, var(--color-blue-900) 20%, transparent 78%);
  opacity: 0.28;
}
/* schwebende Partikel */
.particles{ position: absolute; inset: 0; }
.particles span{
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-blue-500) 52%, transparent);
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--color-blue-500) 38%, transparent);
  opacity: 0;
  animation: floatUp linear infinite;
}
.particles span:nth-child(1){ left: 6%;  width:3px; height:3px; animation-duration: 16s; animation-delay: 0s; }
.particles span:nth-child(2){ left: 14%; animation-duration: 22s; animation-delay: 3s; }
.particles span:nth-child(3){ left: 22%; width:5px; height:5px; animation-duration: 19s; animation-delay: 7s; }
.particles span:nth-child(4){ left: 31%; animation-duration: 25s; animation-delay: 1s; }
.particles span:nth-child(5){ left: 39%; width:3px; height:3px; animation-duration: 18s; animation-delay: 9s; }
.particles span:nth-child(6){ left: 47%; animation-duration: 23s; animation-delay: 4s; }
.particles span:nth-child(7){ left: 54%; width:5px; height:5px; animation-duration: 20s; animation-delay: 11s; }
.particles span:nth-child(8){ left: 62%; animation-duration: 17s; animation-delay: 2s; }
.particles span:nth-child(9){ left: 69%; width:3px; height:3px; animation-duration: 26s; animation-delay: 6s; }
.particles span:nth-child(10){ left: 76%; animation-duration: 21s; animation-delay: 8s; }
.particles span:nth-child(11){ left: 83%; width:5px; height:5px; animation-duration: 19s; animation-delay: 12s; }
.particles span:nth-child(12){ left: 89%; animation-duration: 24s; animation-delay: 5s; }
.particles span:nth-child(13){ left: 94%; animation-duration: 18s; animation-delay: 10s; }
.particles span:nth-child(14){ left: 44%; width:3px; height:3px; animation-duration: 27s; animation-delay: 14s; }
.particles span:nth-child(15){ left: 11%; width:5px; height:5px; animation-duration: 22s; animation-delay: 13s; }
@keyframes floatUp{
  0%{ transform: translateY(0) scale(1); opacity: 0; }
  10%{ opacity: 0.9; }
  90%{ opacity: 0.7; }
  100%{ transform: translateY(-105vh) scale(0.4); opacity: 0; }
}

/* =========================================================
   HERO GLOW — leuchtender Bogen (Dome) wie ein Sonnenaufgang
   ========================================================= */
.hero{ position: relative; overflow: hidden; }
.hero-glow{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* sanftes Ausblenden nach unten -> kein harter Abschnitt des Kreises */
  -webkit-mask-image: linear-gradient(180deg, var(--color-blue-900) 0%, var(--color-blue-900) 50%, color-mix(in srgb, var(--color-blue-900) 35%, transparent) 78%, transparent 96%);
  mask-image: linear-gradient(180deg, var(--color-blue-900) 0%, var(--color-blue-900) 50%, color-mix(in srgb, var(--color-blue-900) 35%, transparent) 78%, transparent 96%);
}
/* der leuchtende Bogen: oberer Rand eines großen Kreises */
.hero-glow .arc{
  position: absolute;
  left: 50%;
  top: 940px;
  width: 1700px;
  height: 1700px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 0 2px 1px color-mix(in srgb, var(--color-blue-100) 90%, transparent),
    0 0 60px 6px color-mix(in srgb, var(--color-blue-500) 85%, transparent),
    0 0 140px 30px color-mix(in srgb, var(--color-blue-600) 55%, transparent),
    inset 0 2px 40px 0 color-mix(in srgb, var(--color-blue-500) 35%, transparent);
  animation: arcPulse 5s ease-in-out infinite;
}
/* der wandernde Licht-Schimmer auf dem Bogen */
.hero-glow .arc-shimmer{
  position: absolute;
  left: 50%;
  top: 940px;
  width: 1700px;
  height: 1700px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    color-mix(in srgb, var(--color-blue-100) 90%, transparent) 12deg,
    transparent 30deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(circle, transparent 846px, var(--color-blue-900) 848px, var(--color-blue-900) 853px, transparent 855px);
  mask: radial-gradient(circle, transparent 846px, var(--color-blue-900) 848px, var(--color-blue-900) 853px, transparent 855px);
  filter: blur(2px);
  animation: shimmerSpin 6s linear infinite;
}
@keyframes arcPulse{
  0%,100%{ box-shadow:
    0 0 2px 1px color-mix(in srgb, var(--color-blue-100) 90%, transparent),
    0 0 60px 6px color-mix(in srgb, var(--color-blue-500) 85%, transparent),
    0 0 140px 30px color-mix(in srgb, var(--color-blue-600) 55%, transparent),
    inset 0 2px 40px 0 color-mix(in srgb, var(--color-blue-500) 35%, transparent); }
  50%{ box-shadow:
    0 0 3px 1px color-mix(in srgb, var(--color-blue-100) 100%, transparent),
    0 0 80px 10px color-mix(in srgb, var(--color-blue-500) 100%, transparent),
    0 0 190px 50px color-mix(in srgb, var(--color-blue-600) 70%, transparent),
    inset 0 2px 60px 0 color-mix(in srgb, var(--color-blue-500) 50%, transparent); }
}
@keyframes shimmerSpin{
  from{ transform: translate(-50%, -50%) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-inner{ position: relative; z-index: 1; }

/* Bewegung respektiert Nutzereinstellungen */
@media (prefers-reduced-motion: reduce){
  .particles span,
  .hero-glow .arc,
  .hero-glow .arc-shimmer{ animation: none !important; }
}

/* ---------- Layout helpers ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 96px 0; }
.section-head{ text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue-800);
  margin-bottom: 14px;
}
.section-head h2{
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-desc{ margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-sm{ padding: 10px 18px; font-size: 0.9rem; }
.btn-lg{ padding: 16px 30px; font-size: 1.05rem; }
.btn-block{ width: 100%; }

.btn-primary{
  background: var(--color-blue-600);
  color: var(--color-blue-100);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-blue-600) 75%, transparent);
}
.btn-primary:hover:not(:disabled){
  border-color: var(--color-blue-800);
  background: var(--color-blue-800);
  box-shadow: 0 14px 40px -8px color-mix(in srgb, var(--color-blue-500) 90%, transparent);
  transform: translateY(-2px);
}
.btn-primary:active:not(:disabled){ border-color: var(--color-blue-900); background: var(--color-blue-900); }
.btn:disabled{ opacity: .55; cursor: not-allowed; }
.btn-ghost{
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover{ background: color-mix(in srgb, var(--color-blue-100) 5%, transparent); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--color-blue-600);
  border-color: var(--primary);
}
.btn-outline:hover{ background: color-mix(in srgb, var(--color-blue-600) 14%, transparent); }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{
  outline: 2px solid var(--color-blue-400);
  outline-offset: 3px;
}

/* ---------- Navbar ---------- */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, white 84%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo{
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo span{ color: var(--color-blue-600); }
.nav-links{ display: flex; gap: 32px; }
.nav-links a{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--fg); }

/* ---------- Hero ---------- */
.hero{ padding: 96px 0 80px; text-align: center; }
.hero-inner{ display: flex; flex-direction: column; align-items: center; }
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge-dot{
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 8px 2px color-mix(in srgb, var(--color-blue-500) 70%, transparent);
}
.hero h1{
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.grad{
  background: linear-gradient(120deg, var(--color-blue-800) 0%, var(--color-blue-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub{
  margin: 24px auto 0;
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-actions{ display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-stats{
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat{ display: flex; flex-direction: column; align-items: center; }
.stat strong{
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--color-blue-800), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span{ font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* ---------- Features ---------- */
.features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover{
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.feature-icon{
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature-card h3{ font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p{ font-size: 0.95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer{
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: color-mix(in srgb, white 50%, transparent);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p{ color: var(--muted); font-size: 0.9rem; }
.footer-links{ display: flex; gap: 24px; }
.footer-links a{ color: var(--muted); font-size: 0.9rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--fg); }

/* =========================================================
   MODAL (POPUP) — Glassmorphism
   ========================================================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--color-blue-900) 30%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.open{ opacity: 1; visibility: visible; }

.modal{
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: color-mix(in srgb, white 94%, var(--color-blue-100));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--color-blue-900) 28%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transform: translateY(20px) scale(0.97);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.modal-overlay.open .modal{ transform: translateY(0) scale(1); }

.modal-close{
  position: absolute;
  top: 16px; right: 18px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  background: color-mix(in srgb, var(--color-blue-100) 6%, transparent);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.modal-close:hover{ color: var(--color-blue-900); background: color-mix(in srgb, var(--color-blue-500) 14%, transparent); transform: rotate(90deg); }

/* Contact form */
.modal-step{ animation: stepIn .35s ease; }
@keyframes stepIn{
  from{ opacity: 0; transform: translateX(12px); }
  to{ opacity: 1; transform: translateX(0); }
}
.modal h3{
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.modal-sub{
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 8px 0 24px;
}

/* Messenger-Auswahl */
.messenger-choice{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.messenger-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  background: color-mix(in srgb, white 55%, var(--color-blue-100));
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 8px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.messenger-btn .m-ico{ display: inline-flex; align-items: center; justify-content: center; }
.messenger-btn .m-ico svg{ display: block; }
.messenger-btn:hover{ transform: translateY(-2px); border-color: var(--primary); }
.messenger-btn.active{
  border-color: var(--primary);
  background: color-mix(in srgb, var(--color-blue-600) 20%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-blue-500) 40%, transparent);
}
.messenger-choice.invalid .messenger-btn{ border-color: var(--color-blue-400); }

/* =========================================================
   Form (innerhalb Modal)
   ========================================================= */
.lead-form{ display: flex; flex-direction: column; gap: 16px; }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field label{ font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.field input,
.field textarea{
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: color-mix(in srgb, white 62%, var(--color-blue-100));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder{ color: var(--muted-2); }
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-blue-600) 22%, transparent);
}
.field input.invalid{
  border-color: var(--color-blue-400);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-blue-400) 15%, transparent);
}
.form-note{ font-size: 0.82rem; color: var(--muted-2); text-align: center; margin-top: 2px; }
.form-status{
  font-size: 0.95rem;
  text-align: center;
  font-weight: 500;
  min-height: 22px;
  transition: color .2s ease;
}
.form-status.success{ color: var(--accent); }
.form-status.error{ color: var(--color-blue-800); }

body.modal-open{ overflow: hidden; }

/* =========================================================
   SCROLL-REVEAL — sanftes Einblenden beim Scrollen
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .features{ grid-template-columns: repeat(2, 1fr); }
  /* Bogen kleiner -> Kuppel bleibt sichtbar gewölbt */
  .hero-glow .arc,
  .hero-glow .arc-shimmer{ width: 1300px; height: 1300px; top: 740px; }
  .hero-glow .arc-shimmer{
    -webkit-mask: radial-gradient(circle, transparent 646px, var(--color-blue-900) 648px, var(--color-blue-900) 653px, transparent 655px);
    mask: radial-gradient(circle, transparent 646px, var(--color-blue-900) 648px, var(--color-blue-900) 653px, transparent 655px);
  }
}
@media (max-width: 720px){
  .section{ padding: 72px 0; }
  .nav-links{ display: none; }
  .hero-stats{ gap: 32px; }
  .modal{ padding: 28px 22px; }
  /* Bogen für Smartphones */
  .hero-glow .arc,
  .hero-glow .arc-shimmer{ width: 1000px; height: 1000px; top: 570px; }
  .hero-glow .arc-shimmer{
    -webkit-mask: radial-gradient(circle, transparent 496px, var(--color-blue-900) 498px, var(--color-blue-900) 502px, transparent 504px);
    mask: radial-gradient(circle, transparent 496px, var(--color-blue-900) 498px, var(--color-blue-900) 502px, transparent 504px);
  }
  .hero-glow{
    -webkit-mask-image: linear-gradient(180deg, var(--color-blue-900) 0%, var(--color-blue-900) 46%, color-mix(in srgb, var(--color-blue-900) 30%, transparent) 74%, transparent 94%);
    mask-image: linear-gradient(180deg, var(--color-blue-900) 0%, var(--color-blue-900) 46%, color-mix(in srgb, var(--color-blue-900) 30%, transparent) 74%, transparent 94%);
  }
}
@media (max-width: 480px){
  .features{ grid-template-columns: 1fr; }
  .hero-actions{ flex-direction: column; width: 100%; }
  .hero-actions .btn{ width: 100%; }
  .container{ padding: 0 18px; }
  .messenger-choice{ grid-template-columns: 1fr; }
  .messenger-btn{ flex-direction: row; justify-content: center; }
  /* Bogen für kleine Smartphones */
  .hero-glow .arc,
  .hero-glow .arc-shimmer{ width: 760px; height: 760px; top: 450px; }
  .hero-glow .arc-shimmer{
    -webkit-mask: radial-gradient(circle, transparent 376px, var(--color-blue-900) 378px, var(--color-blue-900) 382px, transparent 384px);
    mask: radial-gradient(circle, transparent 376px, var(--color-blue-900) 378px, var(--color-blue-900) 382px, transparent 384px);
  }
}

/* ---------- Interactive four-step roadmap ---------- */
.roadmap-head{ max-width: 760px; margin-bottom: 46px; }
.roadmap-head h2{ font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.045em; }
.roadmap-head .section-desc{ max-width: 560px; margin-left: auto; margin-right: auto; }
.roadmap-progress{ position: relative; width: min(660px, 78%); margin: 0 auto 34px; padding: 0 0 2px; }
.roadmap-progress-line{
  position: absolute; top: 50%; left: 7%; right: 7%; height: 1px;
  background: color-mix(in srgb, var(--color-blue-500) 20%, transparent); transform: translateY(-50%);
}
.roadmap-progress-line span{
  display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--color-blue-500) 70%, transparent); transition: width .45s cubic-bezier(.2,.8,.2,1);
}
.roadmap-step-list{ position: relative; display: flex; justify-content: space-between; }
.roadmap-step{
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-blue-900) 16%, transparent); background: color-mix(in srgb, white 78%, var(--color-blue-100)); color: var(--color-blue-800);
  font: 600 .75rem/1 'Inter', sans-serif; cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.roadmap-step:hover{ color: var(--fg); border-color: color-mix(in srgb, var(--color-blue-500) 55%, transparent); transform: translateY(-2px); }
.roadmap-step.is-active{ color: white; border-color: var(--primary-2); background: linear-gradient(145deg, var(--color-blue-600), var(--color-blue-800)); box-shadow: 0 0 22px color-mix(in srgb, var(--color-blue-600) 24%, transparent); }
.roadmap-carousel{
  position: relative; left: 50%; width: 100vw; overflow: hidden; transform: translateX(-50%);
  padding: 18px 0 26px; touch-action: pan-y; cursor: grab;
}
.roadmap-carousel:active{ cursor: grabbing; }
.roadmap-track{
  display: flex; align-items: stretch; gap: 22px; width: max-content; padding: 0 12px;
  transition: transform .55s cubic-bezier(.22,.8,.25,1); will-change: transform;
}
.roadmap-card{
  position: relative; display: flex; flex: 0 0 clamp(340px, 57vw, 660px); flex-direction: column;
  min-height: 380px; padding: 32px 36px 25px; overflow: hidden; text-align: left; color: var(--fg);
  font: inherit; border: 1px solid color-mix(in srgb, var(--color-blue-500) 15%, transparent); border-radius: 26px;
  background:
    radial-gradient(ellipse at 86% 3%, color-mix(in srgb, var(--color-blue-500) 9%, transparent), transparent 43%),
    linear-gradient(145deg, color-mix(in srgb, white 90%, var(--color-blue-100)), color-mix(in srgb, white 76%, var(--color-blue-100)) 74%);
  box-shadow: inset 0 1px color-mix(in srgb, white 90%, transparent), 0 18px 60px color-mix(in srgb, var(--color-blue-900) 10%, transparent);
  cursor: pointer; opacity: .82; transform: scale(.94); filter: saturate(.72);
  transition: opacity .45s ease, transform .55s cubic-bezier(.22,.8,.25,1), border-color .4s ease, box-shadow .4s ease, filter .4s ease;
}
.roadmap-card::after{
  position: absolute; right: -95px; bottom: -140px; width: 290px; height: 290px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-blue-600) 14%, transparent), transparent 69%); content: ""; pointer-events: none;
}
.roadmap-card:hover{ opacity: .94; border-color: color-mix(in srgb, var(--color-blue-500) 38%, transparent); }
.roadmap-card.is-active{
  opacity: 1; filter: none; transform: scale(1);
  border-color: color-mix(in srgb, var(--color-blue-500) 62%, transparent);
  background:
    radial-gradient(ellipse at 82% 0%, color-mix(in srgb, var(--color-blue-500) 14%, transparent), transparent 45%),
    linear-gradient(145deg, color-mix(in srgb, white 88%, var(--color-blue-100)), color-mix(in srgb, var(--color-blue-100) 62%, white) 72%);
  box-shadow: 0 24px 72px color-mix(in srgb, var(--color-blue-900) 14%, transparent), 0 0 44px color-mix(in srgb, var(--color-blue-600) 12%, transparent), inset 0 1px white;
}
.roadmap-card-top,.roadmap-card-foot{ position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.roadmap-card-number{ color: var(--color-blue-800); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.roadmap-card-arrow{ color: color-mix(in srgb, var(--color-blue-800) 60%, transparent); font-size: 1.15rem; transition: color .2s ease, transform .2s ease; }
.roadmap-card.is-active .roadmap-card-arrow{ color: var(--color-blue-800); }
.roadmap-card:hover .roadmap-card-arrow{ transform: translate(2px,-2px); }
.roadmap-icon{
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px;
  margin-top: 42px; border: 1px solid color-mix(in srgb, var(--color-blue-500) 27%, transparent); border-radius: 18px;
  color: var(--color-blue-600); background: linear-gradient(145deg, color-mix(in srgb, var(--color-blue-600) 14%, white), color-mix(in srgb, var(--color-blue-600) 5%, white));
  box-shadow: inset 0 1px color-mix(in srgb, var(--color-blue-100) 5%, transparent), 0 8px 24px color-mix(in srgb, var(--color-blue-800) 14%, transparent);
}
.roadmap-icon svg{ width: 29px; height: 29px; }
.roadmap-card-copy{ position: relative; z-index: 1; display: flex; flex-direction: column; margin-top: 26px; }
.roadmap-card-kicker{ color: var(--color-blue-800); font-size: .76rem; font-weight: 600; letter-spacing: .055em; }
.roadmap-card-title{ margin-top: 7px; color: var(--color-blue-900); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 750; line-height: 1.2; letter-spacing: -.04em; }
.roadmap-card-description{ max-width: 475px; margin-top: 12px; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.roadmap-card-foot{
  z-index: 1; margin-top: auto; padding-top: 20px; color: var(--muted-2); font-size: .73rem; font-weight: 600; letter-spacing: .045em;
}
.roadmap-card-foot i,.roadmap-trust i,.roadmap-counter i{
  display: inline-block; width: 3px; height: 3px; margin: 0 7px; border-radius: 50%; background: var(--color-blue-400); vertical-align: middle;
}
.roadmap-card.is-active .roadmap-card-foot{ color: var(--muted); }
.roadmap-controls{ display: flex; align-items: center; justify-content: space-between; width: min(660px, 90%); margin: 0 auto; }
.roadmap-nav{ display: flex; gap: 10px; }
.roadmap-arrow{
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid color-mix(in srgb, var(--color-blue-500) 24%, transparent);
  border-radius: 50%; color: var(--color-blue-800); background: color-mix(in srgb, white 78%, transparent); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.roadmap-arrow svg{ width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.roadmap-arrow:hover:not(:disabled){ color: white; border-color: color-mix(in srgb, var(--color-blue-500) 68%, transparent); background: var(--color-blue-800); box-shadow: 0 0 20px color-mix(in srgb, var(--color-blue-600) 20%, transparent); transform: translateY(-2px); }
.roadmap-arrow:disabled{ opacity: .55; cursor: default; }
.roadmap-counter{ color: var(--muted-2); font-size: .8rem; font-weight: 700; letter-spacing: .14em; }
.roadmap-counter span{ color: var(--color-blue-800); }
.roadmap-counter i{ margin: 0 10px; }
.roadmap-cta{ display: flex; align-items: center; flex-direction: column; gap: 17px; margin-top: 32px; }
.roadmap-start{ min-width: 168px; min-height: 52px; gap: 14px; padding: 0 26px; border-radius: 999px; box-shadow: 0 8px 30px color-mix(in srgb, var(--color-blue-600) 24%, transparent); }
.roadmap-start span{ font-size: 1.18rem; transition: transform .2s ease; }
.roadmap-start:hover{ box-shadow: 0 10px 34px color-mix(in srgb, var(--color-blue-600) 42%, transparent); transform: translateY(-2px); }
.roadmap-start:hover span{ transform: translateX(4px); }
.roadmap-trust{ display: flex; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--muted-2); font-size: .75rem; font-weight: 500; }
.roadmap-trust i{ width: 2px; height: 2px; margin: 0 12px; background: var(--muted-2); }
.roadmap button:focus-visible,.roadmap-start:focus-visible{ outline: 2px solid var(--color-blue-500); outline-offset: 4px; }
@media (max-width: 720px){
  .roadmap-head{ margin-bottom: 35px; }
  .roadmap-head h2{ font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .roadmap-progress{ width: 88%; margin-bottom: 20px; }
  .roadmap-step{ width: 37px; height: 37px; font-size: .68rem; }
  .roadmap-card{ flex-basis: 81vw; min-height: 360px; padding: 27px 25px 22px; border-radius: 23px; }
  .roadmap-icon{ width: 54px; height: 54px; margin-top: 34px; }
  .roadmap-card-copy{ margin-top: 22px; }
  .roadmap-card-title{ font-size: 1.65rem; }
  .roadmap-card-description{ font-size: .91rem; }
  .roadmap-controls{ width: 81vw; }
  .roadmap-arrow{ width: 42px; height: 42px; }
  .roadmap-cta{ margin-top: 26px; }
}
@media (max-width: 480px){
  .roadmap-progress{ width: 94%; }
  .roadmap-step{ width: 34px; height: 34px; }
  .roadmap-carousel{ padding-top: 12px; }
  .roadmap-track{ gap: 14px; }
  .roadmap-card{ flex-basis: 84vw; min-height: 345px; padding: 23px 21px 20px; }
  .roadmap-card-title{ font-size: 1.5rem; }
  .roadmap-card-description{ margin-top: 9px; font-size: .87rem; }
  .roadmap-icon{ margin-top: 30px; }
  .roadmap-controls{ width: 84vw; }
  .roadmap-trust{ gap: 4px; font-size: .68rem; }
  .roadmap-trust i{ margin: 0 6px; }
}
@media (prefers-reduced-motion: reduce){
  .roadmap-card,.roadmap-track,.roadmap-step,.roadmap-progress-line span,.roadmap-arrow,.roadmap-start,.roadmap-start span{
    transition-duration: .01ms !important;
  }
}

/* ---------- Member reviews ---------- */
.section-reviews{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--color-blue-600) 10%, transparent), transparent 64%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 48%, transparent) 24%, color-mix(in srgb, var(--surface) 48%, transparent) 76%, transparent);
}
.section-reviews::before,.section-reviews::after{
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; content: "";
  background: linear-gradient(90deg, transparent 5%, color-mix(in srgb, var(--color-blue-500) 28%, transparent) 50%, transparent 95%);
}
.section-reviews::before{ top: 0; }
.section-reviews::after{ bottom: 0; }
.reviews-head{ max-width: 700px; margin-bottom: 42px; }
.reviews-grid{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.review-card{
  position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 21px 22px 18px;
  overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-blue-500) 16%, transparent); border-radius: 20px;
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--color-blue-500) 8%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, white 90%, var(--color-blue-100)), color-mix(in srgb, white 72%, var(--color-blue-100)));
  box-shadow: inset 0 1px white, 0 18px 48px color-mix(in srgb, var(--color-blue-900) 9%, transparent);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.review-card:hover{ transform: translateY(-5px); border-color: color-mix(in srgb, var(--color-blue-500) 42%, transparent); box-shadow: 0 20px 50px color-mix(in srgb, var(--color-blue-900) 24%, transparent), 0 0 28px color-mix(in srgb, var(--color-blue-600) 10%, transparent); }
.review-card-featured{
  border-color: color-mix(in srgb, var(--color-blue-500) 34%, transparent);
  background:
    radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--color-blue-500) 13%, transparent), transparent 52%),
    linear-gradient(145deg, color-mix(in srgb, white 88%, var(--color-blue-100)), color-mix(in srgb, var(--color-blue-100) 62%, white) 76%);
}
.review-card-top{ display: flex; align-items: center; justify-content: space-between; min-height: 24px; }
.review-stars{ color: var(--color-blue-600); font-size: .92rem; letter-spacing: .14em; line-height: 1; }
.review-card p.review-quote{ margin-top: 17px; color: var(--color-blue-900); font-size: .88rem; line-height: 1.65; }
.review-card-foot{ display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; color: var(--muted); font-size: .78rem; font-weight: 650; letter-spacing: .025em; }
.review-author::before{ display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--color-blue-400); box-shadow: 0 0 9px color-mix(in srgb, var(--color-blue-500) 55%, transparent); content: ""; vertical-align: 1px; }
.reviews-cta{ display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.reviews-cta p{ color: var(--muted); font-size: .95rem; }
.reviews-start{ min-height: 48px; gap: 12px; padding: 0 22px; border-radius: 999px; box-shadow: 0 8px 28px color-mix(in srgb, var(--color-blue-600) 20%, transparent); }
.reviews-start span{ transition: transform .2s ease; }
.reviews-start:hover{ box-shadow: 0 10px 34px color-mix(in srgb, var(--color-blue-600) 40%, transparent); transform: translateY(-2px); }
.reviews-start:hover span{ transform: translateX(4px); }
.reviews-start:focus-visible{ outline: 2px solid var(--color-blue-500); outline-offset: 4px; }
@media (max-width: 900px){
  .reviews-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-card:last-child{ grid-column: 1 / -1; min-height: 200px; }
}
@media (max-width: 620px){
  .reviews-grid{ grid-template-columns: 1fr; gap: 14px; }
  .review-card,.review-card:last-child{ grid-column: auto; min-height: 170px; padding: 19px 20px 16px; }
  .review-card p.review-quote{ margin-top: 12px; font-size: .84rem; }
  .review-card-foot{ padding-top: 12px; }
  .reviews-cta{ flex-direction: column; gap: 14px; margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce){
  .review-card,.reviews-start,.reviews-start span{ transition-duration: .01ms !important; }
}

/* =========================================================
   TOP SECTION — reference card (nav + hero only)
   ========================================================= */
.hero-shell{
  position: relative;
  width: min(1240px, calc(100% - 48px));
  margin: 22px auto 10px;
}
.hero-panel{
  position: relative;
  overflow: visible;
  padding: 22px 48px 46px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hero-panel .navbar{
  position: relative;
  top: auto;
  z-index: 3;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.hero-panel .nav-inner{
  height: auto;
  padding: 6px 4px 0;
  justify-content: flex-start;
  gap: 64px;
}
.hero-panel .logo{
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #12172a;
}
.hero-panel .logo span{ color: #2f66f6; }
.hero-panel .nav-links{ gap: 36px; }
.hero-panel .nav-links a{
  color: #8b93a7;
  font-size: 0.98rem;
  font-weight: 500;
}
.hero-panel .nav-links a:hover{ color: #12172a; }

.hero-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: 8px;
  padding: 42px 4px 8px;
}
.hero-copy{ position: relative; z-index: 2; }
.hero-copy h1{
  max-width: none;
  color: #101528;
  font-size: clamp(2.15rem, 3.35vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.048em;
}
.hero-line{ white-space: nowrap; }
.hero-accent{ color: #2f66f6; }
.hero-panel .hero-sub{
  margin: 18px 0 0;
  max-width: 430px;
  color: #7d869b;
  font-size: 1.02rem;
  line-height: 1.55;
}
.hero-panel .hero-actions{
  justify-content: flex-start;
  margin-top: 28px;
}
.btn-pill{
  min-width: 248px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4c7dff 0%, #2d5ef8 100%);
  box-shadow: 0 12px 26px -10px rgba(47, 94, 248, 0.75);
}
.btn-pill:hover:not(:disabled){
  background: linear-gradient(180deg, #3f72fb 0%, #244fe0 100%);
  border-color: transparent;
}

.hero-panel .hero-stats{
  justify-content: flex-start;
  gap: 0;
  margin-top: 42px;
}
.hero-panel .stat{
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.stat-ico{
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #3b6cf5;
  background: rgba(59, 108, 245, 0.08);
}
.stat-ico svg{ width: 22px; height: 22px; }
.stat-copy{ display: flex; flex-direction: column; }
.hero-panel .stat strong{
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.1;
  color: #151b2e;
  background: none;
  -webkit-text-fill-color: #151b2e;
}
.hero-panel .stat-copy span{
  margin-top: 2px;
  color: #8b93a7;
  font-size: 0.82rem;
  line-height: 1.2;
}
.stat-rule{
  width: 1px;
  height: 34px;
  margin: 0 22px;
  background: #e3e8f2;
}

.hero-art{
  position: relative;
  height: 460px;
}
.art-glow{
  position: absolute;
  left: 50%;
  top: 54%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 120, 255, 0.45), rgba(140, 120, 255, 0) 68%);
  filter: blur(8px);
}
.planet{
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(390px, 86%);
  aspect-ratio: 1;
  translate: -50% -50%;
  animation: planet-drift 11s ease-in-out infinite;
}
.sphere{
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.62) 0%, rgba(226, 216, 255, 0.34) 16%, rgba(168, 146, 255, 0.36) 40%, rgba(112, 84, 232, 0.42) 66%, rgba(70, 46, 200, 0.5) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.72),
    inset -30px -42px 56px rgba(78, 46, 190, 0.16),
    inset 14px 18px 32px rgba(255, 255, 255, 0.42),
    0 22px 46px rgba(92, 70, 210, 0.16);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.25);
  backdrop-filter: blur(1.5px) saturate(1.25);
}
.sphere::before{
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 72% 80%, rgba(255,255,255,0.28), transparent 32%);
  pointer-events: none;
}
.sphere::after{
  content: "";
  position: absolute;
  left: 14%;
  top: 10%;
  width: 48%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.85), rgba(255,255,255,0) 68%);
  filter: blur(1px);
  pointer-events: none;
}
.sphere-orbit{
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 108%;
  height: 37.6%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.75), inset 0 0 8px rgba(255,255,255,0.35);
  transform: translate(-50%, -50%) rotate(-18deg);
}
.sphere-age{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(4.6rem, 7vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 24px rgba(80, 50, 180, 0.25);
}
.mini-orb,
.corner-orb{
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffffff 0%, #8eb6ff 18%, #3d74ff 46%, #1d4ed8 100%);
  box-shadow:
    inset -8px -10px 16px rgba(15, 40, 120, 0.28),
    inset 4px 5px 8px rgba(255, 255, 255, 0.55),
    0 10px 18px rgba(40, 80, 200, 0.28);
}
.mini-orb{
  z-index: 2;
  top: 7%;
  left: 46%;
  width: 34px;
  height: 34px;
  animation: ball-wander 8.5s ease-in-out infinite;
}
.corner-orb{
  left: -26px;
  bottom: -22px;
  width: 88px;
  height: 88px;
  z-index: 4;
  animation: ball-wander-2 12s ease-in-out infinite;
}
.orbiter{
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 1;
  width: var(--size);
  height: var(--size);
  transform-origin: center;
  animation: orbit-spin var(--dur) linear infinite, orbit-z var(--dur) linear infinite;
  animation-delay: calc(var(--start) / 360deg * -1 * var(--dur));
}
.orbiter-rev,
.orbiter-rev .orbiter-face,
.orbiter-rev .float-card{
  animation-direction: reverse;
}
.orbiter-face{
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  animation: orbit-face var(--dur) linear infinite;
  animation-delay: calc(var(--start) / 360deg * -1 * var(--dur));
}
.float-drift{
  animation: card-wobble var(--wobble) ease-in-out infinite alternate;
  animation-delay: var(--wobble-delay);
}
.float-card{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  box-shadow:
    0 16px 34px rgba(70, 50, 160, 0.18),
    inset 0 1px 0 #fff;
  animation: orbit-depth var(--dur) linear infinite;
  animation-delay: calc(var(--start) / 360deg * -1 * var(--dur));
}
.float-card img{ display: block; }
.card-etsy{ width: 112px; height: 84px; }
.card-etsy img{ width: 84px; height: auto; }
.card-shopify{ width: 96px; height: 96px; }
.card-shopify img{ width: 62px; height: 62px; }
.card-sumup{
  width: 108px;
  height: 108px;
  gap: 6px;
  align-content: center;
}
.card-sumup img{ width: 36px; height: 36px; }
.card-sumup span{
  color: #16181d;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
@keyframes orbit-spin{
  from{ transform: translate(-50%, -50%) rotate(var(--tilt)) scaleY(var(--flat)) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(var(--tilt)) scaleY(var(--flat)) rotate(360deg); }
}
@keyframes orbit-face{
  from{ transform: rotate(0deg) scaleY(var(--inv)) rotate(calc(var(--tilt) * -1)); }
  to{ transform: rotate(-360deg) scaleY(var(--inv)) rotate(calc(var(--tilt) * -1)); }
}
@keyframes card-wobble{
  0%{ transform: translate(-16px, 10px) rotate(-7deg); }
  45%{ transform: translate(20px, -18px) rotate(6deg); }
  100%{ transform: translate(-8px, 22px) rotate(-3deg); }
}
@keyframes planet-drift{
  0%, 100%{ translate: -50% -50%; }
  30%{ translate: calc(-50% + 18px) calc(-50% - 14px); }
  62%{ translate: calc(-50% - 22px) calc(-50% + 16px); }
}
@keyframes ball-wander{
  0%, 100%{ transform: translate(0, 0); }
  20%{ transform: translate(48px, 22px); }
  48%{ transform: translate(-28px, 64px); }
  74%{ transform: translate(30px, -24px); }
}
@keyframes ball-wander-2{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  28%{ transform: translate(36px, -48px) scale(0.82); }
  55%{ transform: translate(-22px, -16px) scale(1.08); }
  80%{ transform: translate(14px, 28px) scale(0.92); }
}
@keyframes orbit-depth{
  0%, 100%{ transform: translate(-50%, -50%) scale(0.86); opacity: 0.78; }
  16%{ transform: translate(-50%, -50%) scale(0.9); opacity: 0.86; }
  26%{ transform: translate(-50%, -50%) scale(0.94); opacity: 0.94; }
  38%, 62%{ opacity: 1; }
  50%{ transform: translate(-50%, -50%) scale(1); opacity: 1; }
  74%{ transform: translate(-50%, -50%) scale(0.94); opacity: 0.94; }
  84%{ transform: translate(-50%, -50%) scale(0.9); opacity: 0.86; }
}
@keyframes orbit-z{
  0%, 20%{ z-index: 1; }
  28%, 72%{ z-index: 4; }
  80%, 100%{ z-index: 1; }
}

@media (max-width: 980px){
  .hero-panel{ padding: 18px 28px 36px; }
  .hero-layout{
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
  .hero-copy{ max-width: 640px; }
  .hero-art{ height: 420px; margin-top: 8px; }
  .planet{ width: min(340px, 78%); }
}
@media (max-width: 720px){
  .hero-line{ white-space: normal; }
  .hero-shell{ width: min(1240px, calc(100% - 20px)); margin-top: 12px; }
  .hero-panel{ padding: 16px 18px 28px; border-radius: 24px; }
  .hero-panel .nav-inner{ gap: 0; }
  .hero-panel .hero-stats{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .stat-rule{ display: none; }
  .hero-panel .stat{ gap: 8px; }
  .stat-ico{ width: 34px; height: 34px; flex-basis: 34px; }
  .hero-panel .stat strong{ font-size: 0.98rem; }
  .hero-panel .stat-copy span{ font-size: 0.72rem; }
  .hero-art{ height: 360px; }
  .card-etsy{ width: 92px; height: 68px; }
  .card-etsy img{ width: 70px; height: auto; }
  .card-shopify{ width: 76px; height: 76px; }
  .card-shopify img{ width: 46px; height: 46px; }
  .card-sumup{ width: 86px; height: 86px; }
  .card-sumup img{ width: 28px; height: 28px; }
  .card-sumup span{ font-size: 0.82rem; }
  .corner-orb{ width: 54px; height: 54px; left: -8px; bottom: 8px; }
}
@media (max-width: 480px){
  .hero-copy h1{ font-size: 2.05rem; }
  .hero-panel .hero-actions,
  .hero-panel .hero-actions .btn{ width: 100%; }
  .hero-panel .hero-stats{ gap: 18px 22px; }
}
@media (prefers-reduced-motion: reduce){
  .sphere-orbit{ box-shadow: none; }
  .orbiter,
  .orbiter-face,
  .float-card,
  .float-drift,
  .planet,
  .mini-orb,
  .corner-orb{ animation: none; }
  .planet{ translate: -50% -50%; }
  .orbiter{ transform: translate(-50%, -50%) rotate(var(--tilt)) scaleY(var(--flat)) rotate(var(--start)); }
  .orbiter-face{ transform: rotate(calc(-1 * var(--start))) scaleY(var(--inv)) rotate(calc(var(--tilt) * -1)); }
  .float-card{ transform: translate(-50%, -50%); }
}
