/* Rezervini — landing page styles */
:root {
  --bg: #0d0f14;
  --bg-2: #11141b;
  --card: rgba(24, 24, 27, 0.5);
  --border: rgba(39, 39, 42, 0.9);
  --border-soft: rgba(39, 39, 42, 0.6);
  --text: #fafafa;
  --text-2: #d4d4d8;
  --text-3: #a1a1aa;
  --text-4: #71717a;
  --text-5: #52525b;
  --accent: oklch(0.74 0.19 52);          /* spicy orange */
  --accent-2: oklch(0.66 0.20 45);
  --accent-soft: oklch(0.74 0.19 52 / 0.14);
  --royal: oklch(0.48 0.22 265);          /* royal blue */
  --royal-2: oklch(0.42 0.22 265);
  --royal-soft: oklch(0.48 0.22 265 / 0.16);
  --green: oklch(0.78 0.16 155);
  --display: "Bricolage Grotesque", ui-serif, Georgia, serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ─────────────  LIGHT THEME  ───────────── */
html[data-theme="light"] {
  --bg: #fafaf7;
  --bg-2: #ffffff;
  --card: rgba(255, 255, 255, 0.85);
  --border: rgba(20, 24, 40, 0.10);
  --border-soft: rgba(20, 24, 40, 0.07);
  --text: #0a0e1a;
  --text-2: #1f2333;
  --text-3: #4b5168;
  --text-4: #6b7185;
  --text-5: #9aa0b4;
  /* Accents punch harder in light mode */
  --accent: oklch(0.66 0.22 48);
  --accent-2: oklch(0.58 0.23 42);
  --accent-soft: oklch(0.66 0.22 48 / 0.14);
  --royal: oklch(0.44 0.23 265);
  --royal-2: oklch(0.38 0.23 265);
  --royal-soft: oklch(0.44 0.23 265 / 0.10);
}
html[data-theme="light"] .nav {
  background: rgba(13, 15, 20, 0.85);
  border-bottom-color: rgba(39, 39, 42, 0.6);
  color: #fafafa;
}
html[data-theme="light"] .nav .nav-links a,
html[data-theme="light"] .nav .nav-drop-trigger { color: #a1a1aa; }
html[data-theme="light"] .nav .nav-links a:hover,
html[data-theme="light"] .nav .nav-drop-trigger:hover { color: #fafafa; }
html[data-theme="light"] .nav .brand { color: #fafafa; }
html[data-theme="light"] .nav .btn-ghost { color: #d4d4d8; border-color: rgba(39,39,42,0.9); background: transparent; }
html[data-theme="light"] .nav .btn-ghost:hover { color: #fafafa; border-color: #52525b; }
html[data-theme="light"] .nav .theme-toggle { color: #d4d4d8; border-color: rgba(39,39,42,0.9); }
html[data-theme="light"] .nav .theme-toggle:hover { border-color: #3f3f46; color: #fafafa; }
html[data-theme="light"] .nav .lang-btn { color: #a1a1aa; border-color: rgba(39,39,42,0.6); }
html[data-theme="light"] .nav .lang-btn:hover { color: #fafafa; border-color: rgba(39,39,42,0.9); }
/* Footer always stays dark regardless of theme */
html[data-theme="light"] .foot {
  background: #0d0f14;
  border-top-color: rgba(39, 39, 42, 0.6);
}
html[data-theme="light"] .foot h5 { color: #71717a; }
html[data-theme="light"] .foot ul li a { color: #d4d4d8; }
html[data-theme="light"] .foot ul li a:hover { color: #fafafa; }
html[data-theme="light"] .foot-tagline { color: #a1a1aa; }
html[data-theme="light"] .foot-bot { color: #71717a; border-top-color: rgba(39, 39, 42, 0.6); }
html[data-theme="light"] .foot .brand { color: #fafafa; }

html[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(20,24,40,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,40,0.05) 1px, transparent 1px);
}
html[data-theme="light"] .card,
html[data-theme="light"] .cat,
html[data-theme="light"] .float-card {
  box-shadow: 0 1px 0 rgba(20,24,40,0.02), 0 8px 24px -12px rgba(20,24,40,0.08);
}
html[data-theme="light"] .btn-ghost {
  background: rgba(255,255,255,0.6);
}
html[data-theme="light"] .btn-ghost:hover {
  background: #fff;
  border-color: rgba(20,24,40,0.18);
}
html[data-theme="light"] .ph-status .right svg [opacity] { opacity: 1; }
html[data-theme="light"] .pros {
  background:
    radial-gradient(60% 100% at 100% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(40% 80% at 0% 100%, var(--royal-soft), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
}
html[data-theme="light"] .dash-mock,
html[data-theme="light"] .pros-stat {
  background: rgba(255,255,255,0.7);
}
html[data-theme="light"] .heat-cell { background: rgba(20,24,40,0.04); }
html[data-theme="light"] .heat-cell.l1 { background: oklch(0.66 0.22 48 / 0.18); }
html[data-theme="light"] .heat-cell.l2 { background: oklch(0.66 0.22 48 / 0.40); }
html[data-theme="light"] .heat-cell.l3 { background: oklch(0.66 0.22 48 / 0.70); }
html[data-theme="light"] .heat-cell.l4 { background: oklch(0.66 0.22 48 / 0.95); }
html[data-theme="light"] .meter-bar { border-color: var(--border); }
html[data-theme="light"] .phone {
  background: #1a1c22;
  box-shadow:
    0 40px 80px -20px rgba(20,24,40,0.25),
    0 0 0 8px #d8dae0,
    0 0 0 9px #b8bcc6,
    inset 0 1px 0 rgba(255,255,255,0.05);
}
html[data-theme="light"] .ph-card {
  background: #fff;
  border-color: rgba(20,24,40,0.08);
}
html[data-theme="light"] .phone-screen {
  background: #fafaf7;
}
html[data-theme="light"] .ph-slot {
  border-color: rgba(20,24,40,0.12);
}
html[data-theme="light"] .feat-ic { color: var(--accent); }
html[data-theme="light"] .brand-logo { mix-blend-mode: normal; }
html[data-theme="light"] .float-card .t { color: #ffffff; }
html[data-theme="light"] .float-card .s { color: rgba(255,255,255,0.55); }

/* ── Light mode: new components ── */
html[data-theme="light"] .slot-visual,
html[data-theme="light"] .request-visual {
  background: rgba(255,255,255,0.9);
  border-color: rgba(20,24,40,0.1);
  box-shadow: 0 8px 32px -8px rgba(20,24,40,0.1);
}
html[data-theme="light"] .sv-confirm {
  background: rgba(20,24,40,0.03);
  border-color: rgba(20,24,40,0.08);
}
html[data-theme="light"] .sv-slot {
  border-color: rgba(20,24,40,0.12);
  color: var(--text-2);
}
html[data-theme="light"] .sv-slot.taken {
  color: var(--text-5);
  border-color: rgba(20,24,40,0.07);
}
html[data-theme="light"] .chat-mock {
  background: rgba(20,24,40,0.04);
}
html[data-theme="light"] .chat-bubble.them {
  background: rgba(20,24,40,0.07);
  border-color: rgba(20,24,40,0.1);
  color: var(--text-2);
}
html[data-theme="light"] .chat-bubble.me {
  background: rgba(40,120,60,0.12);
  border-color: rgba(40,120,60,0.18);
  color: var(--text-2);
}
html[data-theme="light"] .rz-notif {
  background: rgba(20,24,40,0.04);
  border-color: rgba(20,24,40,0.08);
}
html[data-theme="light"] .pain-card.bad {
  background: rgba(180,30,30,0.04);
  border-color: rgba(180,30,30,0.14);
}
html[data-theme="light"] .pain-card.good {
  background: rgba(30,180,80,0.04);
  border-color: rgba(30,180,80,0.14);
}
html[data-theme="light"] .req-body {
  background: rgba(20,24,40,0.04);
  border-color: rgba(20,24,40,0.08);
}
html[data-theme="light"] .req-photo {
  background: rgba(20,24,40,0.06);
  border-color: rgba(20,24,40,0.1);
}
html[data-theme="light"] .req-btn.counter {
  background: rgba(20,24,40,0.06);
  color: var(--text-2);
  border-color: rgba(20,24,40,0.12);
}
html[data-theme="light"] .req-window-bar {
  background: rgba(20,24,40,0.08);
}
html[data-theme="light"] .stats-strip {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 1px 0 rgba(20,24,40,0.02), 0 8px 24px -12px rgba(20,24,40,0.08);
}
html[data-theme="light"] .compare-table tbody td {
  color: var(--text-3);
}
html[data-theme="light"] .compare-table tbody td:first-child {
  color: var(--text-2);
}
html[data-theme="light"] .crz {
  background: oklch(0.66 0.22 48 / 0.05);
}
html[data-theme="light"] .dash-feat-card {
  box-shadow: 0 1px 0 rgba(20,24,40,0.02), 0 4px 16px -8px rgba(20,24,40,0.08);
}
html[data-theme="light"] .customer-cta {
  background: radial-gradient(70% 80% at 50% 0%, var(--accent-soft), transparent 60%), rgba(255,255,255,0.85);
}
html[data-theme="light"] .business-cta {
  background: radial-gradient(70% 80% at 50% 0%, var(--royal-soft), transparent 60%), rgba(255,255,255,0.85);
}

/* ── Language switcher ── */
.lang-switcher { position:relative; }
.lang-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 12px; border-radius:10px;
  border:1px solid var(--border); background:transparent;
  color:var(--text-2); font-size:13px; font-weight:500;
  cursor:pointer; font-family:inherit; transition:all 0.18s ease;
}
.lang-btn:hover { border-color:#3f3f46; color:var(--text); }
html[data-theme="light"] .lang-btn:hover { border-color:rgba(20,24,40,0.2); }
.lang-dropdown {
  position:absolute; top:calc(100% + 8px); right:0;
  background:var(--bg-2); border:1px solid var(--border);
  border-radius:14px; padding:6px; min-width:160px;
  box-shadow:0 16px 48px -8px rgba(0,0,0,0.4);
  opacity:0; pointer-events:none; transform:translateY(-6px);
  transition:opacity 0.15s ease, transform 0.15s ease;
  z-index:100;
}
html[data-theme="light"] .lang-dropdown { box-shadow:0 16px 48px -8px rgba(20,24,40,0.15); }
.lang-dropdown.open { opacity:1; pointer-events:all; transform:translateY(0); }
.lang-option {
  display:flex; align-items:center; gap:10px;
  padding:9px 12px; border-radius:9px;
  cursor:pointer; font-size:13px; color:var(--text-3);
  transition:background 0.12s ease, color 0.12s ease;
}
.lang-option:hover { background:rgba(255,255,255,0.06); color:var(--text); }
html[data-theme="light"] .lang-option:hover { background:rgba(20,24,40,0.05); }
.lang-option.active { color:var(--accent); font-weight:600; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-tight { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Type */
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-4);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(13, 15, 20, 0.75);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand-logo { height: 36px; width: auto; mix-blend-mode: screen; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(140deg, var(--royal), var(--accent));
  display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 16px -4px var(--royal-soft), inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; color: var(--text-3); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Nav dropdowns ── */
.nav-item-drop { position: relative; display: flex; align-items: center; }
.nav-item-drop::after { content: ''; position: absolute; top: 100%; left: -40px; right: -40px; height: 16px; }
.nav-drop-trigger { display: flex; align-items: center; gap: 4px; white-space: nowrap; cursor: default; }
.drop-caret { flex-shrink: 0; transition: transform 0.2s ease; opacity: 0.5; }
.nav-item-drop:hover .drop-caret { transform: rotate(180deg); opacity: 1; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 244px;
  background: rgba(13,15,20,0.97);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.12s;
  pointer-events: none; z-index: 200;
  box-shadow: 0 20px 48px -8px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.nav-item-drop:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s; }
.nav-dropdown::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: rgba(13,15,20,0.97);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  border-radius: 2px 0 0 0;
}
.nav-drop-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: var(--text-2);
  transition: background 0.13s;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.055); color: var(--text); }
.nav-drop-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-drop-ic.accent-ic { background: var(--accent-soft); color: var(--accent); }
.nav-drop-ic.royal-ic { background: var(--royal-soft); color: oklch(0.72 0.16 265); }
.nav-drop-label { font-size: 13px; font-weight: 600; font-family: var(--display); color: var(--text); letter-spacing: -0.01em; }
.nav-drop-desc { font-size: 11px; color: var(--text-4); margin-top: 1px; }
.nav-drop-sep { height: 1px; background: var(--border-soft); margin: 5px 4px; }
.nav-drop-label-row { font-size: 10px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-5); padding: 4px 10px 3px; }
html[data-theme="light"] .nav-dropdown { background: rgba(252,252,250,0.99); border-color: var(--border); box-shadow: 0 20px 48px -8px rgba(20,24,40,0.14), 0 4px 12px -4px rgba(20,24,40,0.08); }
html[data-theme="light"] .nav-dropdown::before { background: rgba(252,252,250,0.99); }
html[data-theme="light"] .nav-drop-item:hover { background: rgba(20,24,40,0.04); }
html[data-theme="light"] .nav-drop-label { color: var(--text); }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  display: grid; place-items: center;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover { border-color: #3f3f46; color: var(--text); }
html[data-theme="light"] .theme-toggle:hover { border-color: rgba(20,24,40,0.2); }
/* Nav always dark — theme toggle inside nav stays dark-styled */
html[data-theme="light"] .nav .theme-toggle:hover { border-color: #3f3f46; }
.theme-toggle svg { transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.2s; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html[data-theme="light"] .theme-toggle .sun { display: block; }
html[data-theme="light"] .theme-toggle .moon { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1a0d04; border-color: var(--accent); font-weight: 600; }
.btn-primary:hover { background: var(--accent-2); }
.btn-royal { background: var(--royal); color: #fff; border-color: var(--royal); font-weight: 600; }
.btn-royal:hover { background: var(--royal-2); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { border-color: #3f3f46; color: var(--text); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 14px; }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(2px); }

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.card-2xl { border-radius: 24px; padding: 32px; }

/* HERO */
.hero { position: relative; padding: 88px 0 120px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(55% 55% at 85% 10%, var(--accent-soft), transparent 60%),
    radial-gradient(60% 60% at 8% 40%, var(--royal-soft), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); margin: 18px 0 22px; }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero p.lede { font-size: 18px; color: var(--text-3); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 24px; margin-top: 40px; color: var(--text-4); font-size: 13px; flex-wrap: wrap; }
.hero-trust .pill { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .num { color: var(--text); font-weight: 600; font-family: var(--display); font-size: 18px; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: 320px; height: 660px;
  background: #050608;
  border-radius: 44px;
  border: 1px solid #2a2d35;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.6),
    0 0 0 8px #1a1c22,
    0 0 0 9px #2a2d35,
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  padding: 14px;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background: #0d0f14; border-radius: 32px; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #050608; border-radius: 14px; z-index: 5;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 8px; font-size: 12px; font-weight: 600; }
.ph-status .right { display: flex; gap: 5px; align-items: center; color: var(--text-2); }
.ph-content { padding: 18px 18px 22px; }
.ph-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ph-h h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.ph-h .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, oklch(0.5 0.1 280), oklch(0.4 0.12 320)); }

.ph-card {
  background: rgba(24,24,27,0.7); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px; margin-bottom: 10px;
  display: flex; gap: 12px; align-items: center;
}
.ph-card .ph-thumb {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, oklch(0.45 0.08 35), oklch(0.3 0.06 35));
  display: grid; place-items: center; font-size: 22px;
}
.ph-card .name { font-size: 14px; font-weight: 600; }
.ph-card .sub { font-size: 12px; color: var(--text-4); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ph-card .price { margin-left: auto; text-align: right; font-size: 12px; }
.ph-card .price strong { font-size: 14px; color: var(--text); display: block; }
.ph-card .price small { color: var(--text-4); }

.ph-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0; }
.ph-slot { padding: 8px 0; border-radius: 10px; border: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ph-slot.taken { color: var(--text-5); text-decoration: line-through; border-color: var(--border-soft); background: transparent; }
.ph-slot.active { background: var(--accent); border-color: var(--accent); color: #1a1208; font-weight: 600; }

.ph-cta {
  width: 100%; padding: 14px; border-radius: 14px;
  background: var(--accent); color: #1a1208; font-weight: 600; font-size: 14px;
  border: none; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Floating phone notifications */
.float-card {
  position: absolute; z-index: 3;
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  min-width: 220px;
}
.float-card .ic {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
}
.float-card .ic.green { background: oklch(0.78 0.16 155 / 0.14); color: var(--green); }
.float-card .t { font-size: 12px; font-weight: 600; line-height: 1.2; }
.float-card .s { font-size: 11px; color: var(--text-4); margin-top: 2px; }
.float-card.top { top: 60px; left: -40px; animation: float1 6s ease-in-out infinite; }
.float-card.bot { bottom: 80px; right: -50px; animation: float2 7s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Section base */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 14px 0 14px; }
.section-head p { font-size: 17px; color: var(--text-3); margin: 0; }

/* Two models */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.model { position: relative; overflow: hidden; padding: 36px; }
.model::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 0% 0%, var(--mtint), transparent 50%);
  opacity: 0.5;
}
.model.shop { --mtint: var(--accent-soft); }
.model.service { --mtint: var(--royal-soft); }
.model-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; position: relative; }
.model-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-3);
}
.model.shop .model-badge { color: var(--accent); border-color: oklch(0.74 0.19 52 / 0.4); }
.model.service .model-badge { color: oklch(0.72 0.16 265); border-color: oklch(0.48 0.22 265 / 0.45); }
.model h3 { font-family: var(--display); font-size: 32px; margin: 0 0 12px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.model p.desc { color: var(--text-3); margin: 0 0 24px; position: relative; }
.model ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.model ul li { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.model ul li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text-4); }

/* Flow visualizer inside model */
.flow { position: relative; display: flex; gap: 10px; align-items: stretch; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.flow-step { flex: 1; }
.flow-step .step-num { font-family: var(--mono); font-size: 10px; color: var(--text-5); margin-bottom: 6px; }
.flow-step .step-t { font-size: 13px; font-weight: 600; }
.flow-step .step-s { font-size: 11.5px; color: var(--text-4); margin-top: 2px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--card);
  transition: all 0.2s;
  cursor: default;
}
.cat:hover { border-color: #3f3f46; transform: translateY(-2px); }
.cat .cat-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.04); display: grid; place-items: center;
  color: var(--text-2);
}
.cat .cat-n { font-size: 13.5px; font-weight: 600; }
.cat .cat-c { font-size: 11px; color: var(--text-4); font-variant-numeric: tabular-nums; }
.cat-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 8px 0 -4px; color: var(--text-4); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.cat-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 24px; }
.feat .feat-ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feat h4 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; font-weight: 500; letter-spacing: -0.005em; }
.feat p { font-size: 14px; color: var(--text-3); margin: 0; line-height: 1.5; }

/* Score */
.score-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.score-table { width: 100%; border-collapse: collapse; }
.score-table td { padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.score-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.score-table tr:last-child td { border-bottom: 0; }
.pts-pos { color: var(--green); }
.pts-neg { color: oklch(0.7 0.18 25); }
.score-meter { display: flex; flex-direction: column; gap: 12px; }
.meter-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.meter-bar > div:nth-child(1) { flex: 50; background: oklch(0.65 0.2 25); }
.meter-bar > div:nth-child(2) { flex: 30; background: oklch(0.78 0.15 85); }
.meter-bar > div:nth-child(3) { flex: 20; background: var(--green); }
.meter-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.1em; }

/* For pros */
.pros {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 48px;
  background:
    radial-gradient(60% 100% at 100% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(40% 80% at 0% 100%, var(--royal-soft), transparent 60%),
    linear-gradient(180deg, rgba(24,24,27,0.4), rgba(24,24,27,0.2));
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.pros h2 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; margin: 12px 0 16px; line-height: 1.05; }
.pros p { color: var(--text-3); margin: 0 0 28px; }
.pros-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pros-stat { padding: 18px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(13,15,20,0.4); }
.pros-stat .v { font-family: var(--display); font-size: 30px; letter-spacing: -0.02em; }
.pros-stat .l { font-size: 12px; color: var(--text-4); margin-top: 2px; }

.dash-mock {
  border: 1px solid var(--border); border-radius: 18px;
  padding: 18px; background: rgba(13,15,20,0.6); position: relative;
}
.dash-tabs { display: flex; gap: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft); padding-bottom: 10px; }
.dash-tab { font-size: 12px; color: var(--text-4); padding-bottom: 8px; position: relative; }
.dash-tab.on { color: var(--text); }
.dash-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: var(--accent); border-radius: 2px; }
.heatmap { display: grid; grid-template-columns: 32px repeat(7, 1fr); gap: 4px; font-family: var(--mono); font-size: 9px; color: var(--text-5); }
.heat-cell { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,0.03); }
.heat-cell.l1 { background: oklch(0.74 0.19 52 / 0.18); }
.heat-cell.l2 { background: oklch(0.74 0.19 52 / 0.4); }
.heat-cell.l3 { background: oklch(0.74 0.19 52 / 0.65); }
.heat-cell.l4 { background: oklch(0.74 0.19 52 / 0.95); }
.heat-lbl { text-align: right; padding-right: 4px; font-size: 9px; line-height: 1; align-self: center; }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.city { padding: 14px 18px; border: 1px solid var(--border-soft); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.city .cn { font-size: 14px; font-weight: 600; }
.city .cs { font-size: 11px; color: var(--text-4); font-family: var(--mono); }

/* Footer */
.foot { border-top: 1px solid var(--border-soft); padding: 64px 0 40px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.foot h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul li a { font-size: 14px; color: var(--text-2); }
.foot ul li a:hover { color: var(--text); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; color: var(--text-4); font-size: 12px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.foot-tagline { color: var(--text-3); font-size: 13px; max-width: 280px; margin-top: 12px; }

/* Misc */
.divider-w-label { display: flex; align-items: center; gap: 14px; color: var(--text-4); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin: 56px 0 28px; }
.divider-w-label::before, .divider-w-label::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-inner { gap: 40px; }
  .hero h1 { font-size: clamp(38px, 5.5vw, 64px); }
}

@media (max-width: 980px) {
  .hero-inner, .pros, .score-row { grid-template-columns: 1fr; gap: 48px; }
  .phone-stage { margin-top: 8px; }
  .models { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .pros { padding: 40px 32px; }
}

@media (max-width: 720px) {
  .wrap, .wrap-tight { padding: 0 18px; }
  .nav-inner { padding: 12px 18px; gap: 16px; }
  .nav-signin { display: none; }
  .nav-cta { gap: 8px; }
  .btn { padding: 9px 14px; font-size: 13.5px; }
  .btn-lg { padding: 12px 18px; font-size: 14px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .section-head p { font-size: 15px; }

  .hero { padding: 48px 0 72px; }
  .hero h1 { font-size: clamp(40px, 10vw, 56px); margin: 14px 0 18px; }
  .hero p.lede { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; justify-content: center; min-width: 0; }
  .hero-trust { gap: 14px; margin-top: 28px; font-size: 12px; }
  .hero-trust .num { font-size: 16px; }

  /* Phone mockup — scale and contain float cards inside the stage */
  .phone-stage { overflow: visible; padding: 30px 0; }
  .phone {
    width: 280px; height: 580px;
    border-radius: 38px;
    box-shadow:
      0 30px 60px -20px rgba(0,0,0,0.6),
      0 0 0 6px #1a1c22, 0 0 0 7px #2a2d35,
      inset 0 1px 0 rgba(255,255,255,0.05);
  }
  .phone-screen { border-radius: 28px; }
  .phone-notch { width: 80px; height: 22px; top: 6px; }
  .ph-content { padding: 14px 14px 18px; }
  .ph-card { padding: 12px; }
  .ph-card .ph-thumb { width: 42px; height: 42px; }

  .float-card.top { left: -10px; top: 30px; min-width: 0; padding: 10px 12px; }
  .float-card.bot { right: -10px; bottom: 50px; min-width: 0; padding: 10px 12px; }
  .float-card .t { font-size: 11.5px; }
  .float-card .s { font-size: 10.5px; }

  .model { padding: 28px; }
  .model h3 { font-size: 26px; }
  .flow { gap: 8px; }
  .flow-step .step-t { font-size: 12px; }
  .flow-step .step-s { font-size: 11px; }

  .card-2xl { padding: 28px 22px; border-radius: 20px; }
  .pros { padding: 36px 24px; border-radius: 22px; gap: 36px; }
  .pros > * { min-width: 0; }
  .pros h2 { font-size: clamp(28px, 6.5vw, 38px); }

  .feat { padding: 22px; }
  .feat h4 { font-size: 18px; }

  .score-row { gap: 28px; }
  .score-table td { padding: 9px 0; font-size: 13px; }

  .dash-mock { padding: 14px; }
  .heatmap { grid-template-columns: 22px repeat(7, 1fr); gap: 3px; }
  .heat-lbl { font-size: 8px; }

  .foot { padding: 48px 0 32px; margin-top: 32px; }
  .foot-bot { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand span:last-child { display: none; }
  .phone { width: 260px; height: 540px; }
  .ph-slots { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .ph-slot { font-size: 11px; padding: 7px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ── Comprehensive mobile fixes ── */

/* Scroll wrappers for wide tables */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table { min-width: 580px; }
.score-table { min-width: 320px; }

/* Nav — hide lang code text on tiny screens so it doesn't crowd */
@media (max-width: 480px) {
  #lang-current { display: none; }
  .lang-btn { padding: 8px 10px; gap: 4px; }
  .nav-cta { gap: 6px; }
  .btn { padding: 8px 12px; font-size: 13px; }
}

/* Stats strip — collapse to 2×3 grid */
@media (max-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    border-radius: 16px;
  }
  .stats-strip .stat-item {
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    border-left: none !important;
  }
  .stats-strip .stat-item:nth-child(2n) {
    border-right: none !important;
  }
  .stats-strip .stat-item:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
}

/* Hero float cards — stay inside stage on narrow screens */
@media (max-width: 400px) {
  .float-card.top { left: 0; top: 10px; }
  .float-card.bot { right: 0; bottom: 30px; }
  .float-card { min-width: 0; max-width: 200px; }
}

/* Hero — trust pills wrap cleanly */
@media (max-width: 560px) {
  .hero-trust { gap: 10px 16px; }
}

/* Feat-rows (slot/service sections) */
@media (max-width: 720px) {
  .slot-visual, .request-visual { padding: 18px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Dashboard tabs — scroll horizontally */
.dash-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-tab { flex-shrink: 0; }

/* Dashboard feature cards */
@media (max-width: 560px) {
  .dash-feats-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 400px) {
  .dash-feats-grid { grid-template-columns: 1fr !important; }
}

/* Big numbers grid */
@media (max-width: 480px) {
  .big-nums-grid { grid-template-columns: 1fr 1fr !important; }
  .bnum { font-size: clamp(32px, 8vw, 48px); }
}

/* Score table — reduce padding on mobile */
@media (max-width: 560px) {
  .score-table td { font-size: 12px; padding: 8px 0; }
  .card-2xl { padding: 22px 18px !important; }
  .score-row { gap: 24px !important; }
}

/* Pain section chat bubbles — prevent overflow */
@media (max-width: 560px) {
  .chat-bubble { max-width: 92%; font-size: 12px; }
  .pain-card { padding: 20px 18px; }
  .pain-vs { gap: 14px; }
}

/* Comparison table — hint that it scrolls */
@media (max-width: 720px) {
  .table-scroll::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none;
    border-radius: 0 20px 20px 0;
  }
  .table-scroll { position: relative; border-radius: 20px; }
}

/* Pros section — prevent overflow on mobile */
@media (max-width: 560px) {
  .pros { padding: 28px 20px !important; border-radius: 18px !important; }
  .pros h2 { font-size: clamp(24px, 6vw, 32px) !important; }
  .pros-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pros-stat { padding: 12px 10px; }
  .pros-stat .v { font-size: 22px; }
}

/* Dual CTA cards */
@media (max-width: 560px) {
  .cta-card { padding: 28px 22px !important; }
}

/* Footer */
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
}

/* Prevent any horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }
section, .wrap, .wrap-tight { max-width: 100%; }

/* Lang dropdown — position correctly on small screens */
@media (max-width: 480px) {
  .lang-dropdown { right: -60px; }
}

/* ─────────────  MOBILE DRAWER  ───────────── */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.hamburger:hover { border-color: #3f3f46; color: var(--text); }
html[data-theme="light"] .nav .hamburger { border-color: rgba(39,39,42,0.9); color: #d4d4d8; }
html[data-theme="light"] .nav .hamburger:hover { border-color: #52525b; color: #fafafa; }

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 149;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #0d0f14;
  border-left: 1px solid rgba(39,39,42,0.9);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
html[data-theme="light"] .drawer { background: #fafaf7; border-left-color: rgba(20,24,40,0.12); }
.drawer.open { right: 0; }

/* RTL — drawer slides from left */
[dir="rtl"] .drawer {
  right: auto; left: -100%;
  border-left: none;
  border-right: 1px solid rgba(39,39,42,0.9);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html[data-theme="light"] [dir="rtl"] .drawer { border-right-color: rgba(20,24,40,0.12); }
[dir="rtl"] .drawer.open { left: 0; right: auto; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(39,39,42,0.6);
  flex-shrink: 0;
}
.drawer-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(39,39,42,0.9);
  background: transparent;
  color: #a1a1aa;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.drawer-close:hover { border-color: #52525b; color: #fafafa; }

.drawer-nav {
  flex: 1;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.drawer-nav-group { margin-bottom: 4px; }
.drawer-nav-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #52525b;
  padding: 8px 10px 4px;
}
.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #d4d4d8;
  transition: background 0.15s ease;
}
.drawer-nav-item:hover { background: rgba(255,255,255,0.06); }
html[data-theme="light"] .drawer-nav-item { color: #1f2333; }
html[data-theme="light"] .drawer-nav-item:hover { background: rgba(20,24,40,0.05); }
.drawer-nav-ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.drawer-nav-title {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--display);
  letter-spacing: -0.01em;
  color: #fafafa;
}
html[data-theme="light"] .drawer-nav-title { color: #0a0e1a; }
.drawer-nav-sub { font-size: 11px; color: #71717a; margin-top: 1px; }
.drawer-sep { height: 1px; background: rgba(39,39,42,0.6); margin: 6px 10px; }
.drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer-link:hover { background: rgba(255,255,255,0.06); color: #fafafa; }
html[data-theme="light"] .drawer-link { color: #4b5168; }
html[data-theme="light"] .drawer-link:hover { background: rgba(20,24,40,0.05); color: #0a0e1a; }

.drawer-footer {
  padding: 16px 16px max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(39,39,42,0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .hamburger { display: flex; }
  .nav-cta .btn { display: none !important; }
  .lang-switcher { display: none !important; }
  .nav-cta { margin-left: auto; }
  .brand span { display: none; }
}
/* Guarantee drawer is always visible when .open is added */
.drawer.open { right: 0 !important; }
.drawer-backdrop.open { opacity: 1 !important; pointer-events: all !important; }
[dir="rtl"] .drawer.open { left: 0 !important; right: auto !important; }
