/* ==========================================================================
   Rentobo — Design tokens
   ========================================================================== */

:root {
  --navy-950: #030d1a;
  --navy-900: #04142a;
  --navy-800: #0a2540;
  --navy-700: #0f3654;
  --teal-600: #027d99;
  --teal-500: #0aa3c2;
  --cyan-500: #12b8d6;
  --cyan-400: #2fd1e8;
  --cyan-300: #6fe0f2;
  --cyan-100: #e6fafd;

  --ink: #071224;
  --ink-soft: #38455a;
  --muted: #667186;
  --heading: var(--navy-900);
  --line: #e6eaf0;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef8fb;

  --brand-gradient: linear-gradient(100deg, var(--navy-900) 0%, var(--teal-600) 55%, var(--cyan-400) 100%);
  --brand-gradient-soft: linear-gradient(135deg, var(--teal-600) 0%, var(--cyan-400) 100%);
  --hero-grad: linear-gradient(100deg, var(--navy-800) 0%, var(--teal-600) 50%, var(--cyan-400) 100%);

  --shadow-sm: 0 1px 2px rgba(7, 18, 36, 0.06), 0 1px 1px rgba(7, 18, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(7, 18, 36, 0.08), 0 2px 6px rgba(7, 18, 36, 0.04);
  --shadow-lg: 0 24px 60px rgba(7, 18, 36, 0.14), 0 8px 24px rgba(7, 18, 36, 0.08);
  --shadow-glow: 0 20px 60px rgba(18, 184, 214, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1200px;
  --container-wide: 1360px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
}

/* Dark theme.
   Applied either by system preference (unless the visitor explicitly chose
   light) or by an explicit choice via the header toggle, which writes
   data-theme onto <html>. Both selectors carry the same declarations. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef3f9;
    --ink-soft: #c3ccd9;
    --muted: #93a0b3;
    --heading: #f2f7fc;
    --hero-grad: linear-gradient(100deg, #3fb4cf 0%, var(--cyan-400) 55%, var(--cyan-300) 100%);
    --line: #1b2636;
    --line-soft: #17202e;
    --bg: #06101f;
    --bg-soft: #0a1728;
    --bg-tint: #0a1f2b;
  }
}
:root[data-theme="dark"] {
  --ink: #eef3f9;
  --ink-soft: #c3ccd9;
  --muted: #93a0b3;
  --heading: #f2f7fc;
  --hero-grad: linear-gradient(100deg, #3fb4cf 0%, var(--cyan-400) 55%, var(--cyan-300) 100%);
  --line: #1b2636;
  --line-soft: #17202e;
  --bg: #06101f;
  --bg-soft: #0a1728;
  --bg-tint: #0a1f2b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container, .container-wide { padding: 0 20px; }
}

section { position: relative; }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.18s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.34s; }

/* ==========================================================================
   Buttons & badges
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--bg-tint);
  border: 1px solid rgba(18, 184, 214, 0.22);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(18, 184, 214, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--navy-800); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-600); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 4px 24px rgba(7, 18, 36, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }

/* Logo variants: dark-text on light backgrounds, light on dark backgrounds */
.logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-dark { display: none; }
  .logo-light { display: inline-block; }
}
:root[data-theme="light"] .logo-dark { display: inline-block; }
:root[data-theme="light"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: inline-block; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-main a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s;
  position: relative;
}
.nav-main a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Login — quieter than the primary CTA so the two don't compete */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.nav-login svg { width: 16px; height: 16px; }
.nav-login:hover { color: var(--ink); background: var(--bg-soft); border-color: var(--line); }

/* Light/dark toggle — shows the icon of the mode you'd switch *to* */
.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  padding: 0;
  transition: color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.theme-toggle:hover { color: var(--teal-600); border-color: var(--teal-600); transform: rotate(-15deg); }
.theme-toggle svg { width: 17px; height: 17px; }
/* Exactly one icon shows: the mode the click would switch you *to*.
   Light now -> moon ("go dark"). Dark now -> sun ("go light"). */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }

.lang-switch { position: relative; }
.lang-switch-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lang-switch-btn svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.lang-switch.is-open .lang-switch-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 148px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: none; border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft);
  text-align: left;
}
/* Flags render as colour emoji, so they ignore the surrounding text colour. */
.lang-menu button .flag,
.lang-switch-btn .flag { font-size: 16px; line-height: 1; }
.lang-menu button:hover { background: var(--bg-soft); color: var(--ink); }
.lang-menu button.is-active { color: var(--teal-600); font-weight: 700; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 18px; height: 18px; }

/* ==========================================================================
   Mobile nav overlay
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-top .brand img { height: 24px; }
.mobile-nav-close {
  width: 42px; height: 42px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--heading); cursor: pointer;
}
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav-close svg path { stroke-width: 2.2; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 48px; }
.mobile-nav-links a {
  font-size: 30px; font-weight: 600; padding: 14px 2px; border-bottom: 1px solid var(--line-soft);
}
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.mobile-lang-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: -4px;
}
.mobile-lang-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-lang-row button {
  flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 12px; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.mobile-lang-row button .flag { font-size: 20px; line-height: 1; }
.mobile-lang-row button.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }

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

.hero {
  padding: 168px 0 100px;
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(47, 209, 232, 0.16), transparent 60%),
    radial-gradient(700px 460px at 8% 8%, rgba(10, 163, 194, 0.10), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { position: relative; text-align: center; }

/* The claim runs the full width of the page — 9vw keeps it edge-to-edge on
   any screen without ever wrapping. */
.hero-title {
  font-size: clamp(3rem, 9vw, 9.5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--heading);
  margin: 0;
}

.hero-copy { max-width: 640px; margin: 0 auto; }
.hero h1 .grad {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 28px auto 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
}
.hero-sub .accent { color: var(--teal-600); }
.hero-desc {
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--cyan-500); flex-shrink: 0; }

/* Bottom half: the phone mock on the left, the mascot beside it on the right. */
/* Both columns size to their content and the pair is centred, so the phone
   can't drift to the page edge. */
.hero-visual {
  margin-top: 80px;
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px;
  align-items: end;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   iPhone mock — the conversation is supposed to read as a real WhatsApp chat.
   WhatsApp's own palette is used verbatim, so it stays recognisable and does
   not shift with the site's brand colours; only light/dark flips.
   -------------------------------------------------------------------------- */
.phone {
  --wa-bg: #efe7de;
  --wa-head: #f6f6f6;
  --wa-head-ink: #0b1a24;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --wa-ink: #111b21;
  --wa-meta: rgba(17, 27, 33, 0.45);
  --wa-line: rgba(0, 0, 0, 0.08);
  --wa-field: #ffffff;

  width: 336px;
  flex-shrink: 0;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(155deg, #39424e 0%, #1b222b 45%, #0d1218 100%);
  box-shadow:
    0 34px 70px rgba(4, 12, 22, 0.42),
    0 8px 20px rgba(4, 12, 22, 0.24),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone {
    --wa-bg: #0b141a;
    --wa-head: #1f2c34;
    --wa-head-ink: #e9edef;
    --wa-in: #202c33;
    --wa-out: #005c4b;
    --wa-ink: #e9edef;
    --wa-meta: rgba(233, 237, 239, 0.55);
    --wa-line: rgba(255, 255, 255, 0.08);
    --wa-field: #2a3942;
  }
}
:root[data-theme="dark"] .phone {
  --wa-bg: #0b141a;
  --wa-head: #1f2c34;
  --wa-head-ink: #e9edef;
  --wa-in: #202c33;
  --wa-out: #005c4b;
  --wa-ink: #e9edef;
  --wa-meta: rgba(233, 237, 239, 0.55);
  --wa-line: rgba(255, 255, 255, 0.08);
  --wa-field: #2a3942;
}

.phone-screen {
  position: relative;
  /* Height comes from the width, never from the conversation — that is what
     keeps the page from jumping as messages arrive. */
  aspect-ratio: 314 / 596;
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--wa-bg);
}
.phone-island {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  border-radius: var(--radius-pill);
  background: #05080c;
  z-index: 5;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 46px 12px 10px;
  background: var(--wa-head);
  color: var(--wa-head-ink);
  border-bottom: 1px solid var(--wa-line);
  flex-shrink: 0;
}
.wa-back { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.85; }
.wa-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: url("../Grafiken/rentobo_Roboter.webp") center 24% / 210% no-repeat, var(--brand-gradient);
  flex-shrink: 0;
}
.wa-who { min-width: 0; flex: 1; text-align: left; }
.wa-head .who {
  font-size: 13.5px; font-weight: 600; color: var(--wa-head-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-head .status {
  font-size: 11px; color: var(--wa-meta);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-ico { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.8; }

.wa-body {
  flex: 1;
  min-height: 0;
  padding: 12px 10px;
}

.wa-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 20px;
  background: var(--wa-head);
  border-top: 1px solid var(--wa-line);
  flex-shrink: 0;
}
.wa-field {
  flex: 1;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--wa-field);
  border: 1px solid var(--wa-line);
}
.wa-mic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-mic svg { width: 17px; height: 17px; }

/* The list scrolls inside the fixed-height screen. Nothing here may change the
   height of anything outside the phone, or the page jumps as messages arrive. */
.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  text-align: left;
  /* Must stay "auto": the follow-scroll is eased in script.js so it lasts as
     long as the bubble's entrance. Native smooth scrolling covers the same
     distance in ~5 frames, which is what made it look like a stutter. */
  scroll-behavior: auto;
}
.chat-bubbles::-webkit-scrollbar { display: none; }
/* Spare room below the conversation, one screen tall. Without it the list
   bottoms out while an older bubble still hangs half-visible under the header:
   there is simply nothing left to scroll it away with. */
.chat-bubbles::after {
  content: "";
  flex: 0 0 100%;
}
.chat-bubbles .bubble,
.chat-bubbles .chat-typing { animation: bubbleIn 0.42s var(--ease) both; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(9px) scale(0.965); }
  to { opacity: 1; transform: none; }
}

.bubble {
  position: relative;
  max-width: 78%;
  padding: 6px 9px 7px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.42;
  color: var(--wa-ink);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  flex-shrink: 0;
}
/* The little tail that makes a WhatsApp bubble a WhatsApp bubble. */
.bubble::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8px; height: 13px;
}
.bubble.in {
  background: var(--wa-in);
  align-self: flex-start;
  border-top-left-radius: 0;
  margin-left: 8px;
}
.bubble.in::after {
  left: -8px;
  background: var(--wa-in);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.bubble.out {
  background: var(--wa-out);
  align-self: flex-end;
  border-top-right-radius: 0;
  margin-right: 8px;
}
.bubble.out::after {
  right: -8px;
  background: var(--wa-out);
  clip-path: polygon(0 0, 0 100%, 100% 0);
}
/* pre-line so the booking summary can use real line breaks, the way a bot
   actually formats a receipt in WhatsApp. */
.bubble .b-text { display: block; white-space: pre-line; }
/* Time and ticks sit on the last line, right-aligned, as in the app. */
.bubble .meta {
  float: right;
  margin: 4px 0 -2px 8px;
  font-size: 10.5px;
  color: var(--wa-meta);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.bubble .meta svg { width: 14px; height: 14px; color: #53bdeb; }

.chat-typing {
  align-self: flex-start;
  display: flex; gap: 4px; padding: 11px 12px;
  background: var(--wa-in);
  border-radius: 8px; border-top-left-radius: 0;
  margin-left: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  flex-shrink: 0;
}
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--wa-meta); opacity: 0.7; animation: bounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Cut out, no frame — it just stands next to the phone, grounded on the same
   baseline, with a soft glow instead of a card behind it. */
.hero-mascot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 4px;
}
.hero-mascot::before {
  content: "";
  position: absolute;
  left: 4%; bottom: 6%;
  width: 78%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47, 209, 232, 0.22), transparent 68%);
  pointer-events: none;
}
.hero-mascot img {
  width: 400px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 34px rgba(4, 16, 28, 0.34));
}
.hero-mascot .spec-tag {
  position: absolute;
  top: 8%; left: 4%;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--bg-tint);
  border: 1px solid rgba(18, 184, 214, 0.24);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}

@media (max-width: 900px) {
  .hero { padding: 150px 0 70px; }
  .hero-visual { margin-top: 56px; }
}

/* Below the two-up threshold the mascot moves under the phone rather than
   shrinking into uselessness beside it. */
@media (max-width: 780px) {
  .hero-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }
  .hero-mascot { justify-content: center; }
  .hero-mascot img { width: 260px; }
  .hero-mascot .spec-tag { top: 0; left: 50%; transform: translateX(-50%); }
}

/* Narrow phones: shrink the mock so it never touches the screen edges.
   The screen scales with it via aspect-ratio. */
@media (max-width: 400px) {
  .phone { width: 296px; padding: 10px; border-radius: 46px; }
  .phone-screen { border-radius: 38px; }
  .phone-island { width: 82px; height: 23px; }
}
@media (max-width: 350px) {
  .phone { width: 264px; padding: 9px; border-radius: 42px; }
  .phone-screen { border-radius: 34px; }
}

/* ==========================================================================
   Marquee / spec strip
   ========================================================================== */

.spec-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 88px 0;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.spec-item {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.spec-item:first-child { border-left: none; }
.spec-item .num {
  font-size: clamp(3.4rem, 6.2vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--heading);
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spec-item .num .unit { font-size: 0.34em; font-weight: 700; }
.spec-item .label {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 600;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 800px) {
  .spec-strip { padding: 60px 0; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  /* With two per row the left border only makes sense on the right-hand cell. */
  .spec-item { border-left: none; }
  .spec-item:nth-child(even) { border-left: 1px solid var(--line); }
  .spec-item .label { font-size: 14.5px; }
}

/* ==========================================================================
   Section heading pattern
   ========================================================================== */

.section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 16px; display: block;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--heading);
}
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 700px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
}

/* ==========================================================================
   Problem section
   ========================================================================== */

.problem { background: var(--bg); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-item {
  background: var(--bg);
  padding: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.problem-item .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
}
.problem-item .ico svg { width: 22px; height: 22px; }
.problem-item h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.problem-item p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (max-width: 700px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-item { padding: 28px; }
}

/* ==========================================================================
   How it works
   ========================================================================== */

.steps { background: var(--bg-soft); }
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
}
.step-card .step-num {
  font-size: 13px; font-weight: 800; letter-spacing: 0.05em;
  color: var(--cyan-500);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.step-card .step-num::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 980px) {
  .steps-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.benefit-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 24px;
}
.benefit-card .ico svg { width: 24px; height: 24px; }
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.benefit-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.benefit-card.featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.benefit-card.featured .ico { background: rgba(255,255,255,0.12); }
.benefit-card.featured h3 { color: #fff; }
.benefit-card.featured p { color: rgba(255,255,255,0.68); }
.benefit-card.featured:hover { border-color: var(--cyan-400); }

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

/* ==========================================================================
   ROI / math band
   ========================================================================== */

.roi {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.roi::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47, 209, 232, 0.22), transparent 70%);
  top: -160px; right: -120px;
}
.roi-copy .section-kicker { color: var(--cyan-400); }
.roi-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.roi-copy p { margin-top: 18px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.68); max-width: 44ch; }
.roi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  z-index: 1;
}
.roi-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.roi-row:last-child { border-bottom: none; }
.roi-row .l { font-size: 14.5px; color: rgba(255,255,255,0.68); }
.roi-row .v { font-size: 16px; font-weight: 700; }
.roi-row.total .l, .roi-row.total .v { color: var(--cyan-300); font-size: 18px; font-weight: 800; }

@media (max-width: 900px) {
  .roi { grid-template-columns: 1fr; padding: 40px 28px; border-radius: var(--radius-lg); }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47, 209, 232, 0.20), transparent 70%);
  top: -180px; right: -140px;
  pointer-events: none;
}
.price-ribbon {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--brand-gradient-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.price-head { position: relative; z-index: 1; }
.price-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--heading); }
.price-card.featured .price-head h3 { color: #fff; }
.price-tagline { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.price-card.featured .price-tagline { color: rgba(255,255,255,0.66); }

.price-amount { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 10px; margin: 26px 0 6px; }
.price-amount .amount { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--heading); }
.price-card.featured .price-amount .amount {
  background: var(--brand-gradient-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-amount .per { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card.featured .price-amount .per { color: rgba(255,255,255,0.72); }

.price-meta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price-card.featured .price-meta { border-color: rgba(255,255,255,0.14); }
.price-fine { font-size: 13px; color: var(--muted); }
.price-card.featured .price-fine { color: rgba(255,255,255,0.60); }
.price-strike {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.4);
}

.price-features { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.price-features li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.80); }
.price-features li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--bg-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%23027d99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}
.price-card.featured .price-features li::before {
  background-color: rgba(47, 209, 232, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%236fe0f2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-features li.highlight { color: var(--cyan-300); font-weight: 600; }

.price-cta { position: relative; z-index: 1; width: 100%; }
.price-card.featured .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.price-foot { position: relative; z-index: 1; margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.price-card.featured .price-foot { color: rgba(255,255,255,0.55); }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-card { padding: 32px 26px; }
}

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

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  background: none; border: none; text-align: left;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-q .plus {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink-soft);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-q .plus::before { width: 12px; height: 1.6px; }
.faq-q .plus::after { width: 1.6px; height: 12px; }
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-q .plus { border-color: var(--teal-600); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a { padding: 0 4px 26px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 68ch; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--teal-600) 130%);
  color: #fff;
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(111, 224, 242, 0.22), transparent 65%);
}
.final-cta-inner { position: relative; }
.final-cta .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--cyan-300); }
.final-cta .eyebrow .dot { background: var(--cyan-300); }
.final-cta h2 {
  margin-top: 28px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.final-cta p { margin: 24px auto 0; max-width: 46ch; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.7); }
.final-cta .hero-ctas { justify-content: center; margin-top: 40px; }

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

.site-footer { background: var(--bg); padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand img { height: 24px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 32ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.footer-social a:hover { color: var(--teal-600); border-color: var(--teal-600); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14.5px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--teal-600); }
.footer-bottom {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom .copy { font-size: 13px; color: var(--muted); }
.footer-lang { display: flex; gap: 6px; }
.footer-lang button {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}
.footer-lang button.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Responsive: header collapse
   ========================================================================== */

@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .lang-switch { display: none; }
  /* Login moves into the mobile menu; the theme toggle is small enough to stay. */
  .header-actions .nav-login { display: none; }
}

@media (max-width: 500px) {
  .roi-card { padding: 24px; }
}

/* On a dark background the navy CTA nearly disappears — give it the brand
   gradient there so the main action stays the loudest thing on screen. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { background: var(--brand-gradient-soft); color: #04121d; }
  :root:not([data-theme="light"]) .btn-primary:hover { background: var(--brand-gradient-soft); filter: brightness(1.08); }
}
:root[data-theme="dark"] .btn-primary { background: var(--brand-gradient-soft); color: #04121d; }
:root[data-theme="dark"] .btn-primary:hover { background: var(--brand-gradient-soft); filter: brightness(1.08); }

/* ==========================================================================
   WhatsApp live-demo popup
   ========================================================================== */

.qr-pop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 300;
  width: 320px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 22px;
  text-align: center;
  /* Hidden until opened: slid down, click-through, and out of the tab order. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.qr-pop.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.qr-pop-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  padding: 0;
  transition: color 0.25s, border-color 0.25s;
}
.qr-pop-close:hover { color: var(--ink); border-color: var(--ink-soft); }
.qr-pop-close svg { width: 13px; height: 13px; }
.qr-pop h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
  max-width: 18ch;
  margin: 0 auto;
}
.qr-pop-code {
  margin: 20px auto 0;
  width: 190px; height: 190px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.qr-pop-code img { width: 100%; height: 100%; }
.qr-pop-hint {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.qr-pop-hint svg { width: 14px; height: 14px; flex-shrink: 0; }

/* WhatsApp green rather than the brand colour: on a "chat with us" button the
   familiar green is the clearer signal. Deliberately not .btn-primary, so the
   theme-specific .btn-primary rules can't override this. */
.qr-pop-btn {
  display: none;
  background: #25d366;
  color: #04121d;
  box-shadow: var(--shadow-md);
}
.qr-pop-btn:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* Floating launcher, shown once the popup has been dismissed. */
.qr-fab {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 299;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-lg);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.qr-fab.is-open { opacity: 1; visibility: visible; transform: scale(1); }
.qr-fab:hover { transform: scale(1.07); }
.qr-fab svg { width: 28px; height: 28px; }

/* Phones can't scan their own screen — offer a tap-through instead. */
@media (max-width: 600px) {
  .qr-pop {
    right: 12px; left: 12px; bottom: 12px;
    width: auto;
    padding: 24px 20px 20px;
  }
  .qr-pop-code, .qr-pop-hint { display: none; }
  .qr-pop-btn { display: inline-flex; width: 100%; margin-top: 18px; }
  .qr-fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-pop, .qr-fab { transition: opacity 0.2s linear, visibility 0.2s linear; transform: none; }
  .qr-pop.is-open, .qr-fab.is-open { transform: none; }
}
