/* ========================================
   ORBIT - SaaS Landing Page
   Premium dark mode for AI CRM platform
   ======================================== */

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

:root {
  /* Surfaces */
  --bg: oklch(0.14 0.012 270);
  --bg-elevated: oklch(0.17 0.013 270);
  --bg-card: oklch(0.19 0.014 270);
  --bg-card-hover: oklch(0.22 0.015 270);
  --border: oklch(0.28 0.015 270);
  --border-bright: oklch(0.36 0.02 270);

  /* Text */
  --text: oklch(0.97 0.005 270);
  --text-muted: oklch(0.72 0.015 270);
  --text-dim: oklch(0.52 0.02 270);

  /* Accent — purple electric */
  --accent: oklch(0.72 0.18 290);
  --accent-bright: oklch(0.78 0.2 290);
  --accent-dim: oklch(0.55 0.16 290);
  --accent-glow: oklch(0.72 0.18 290 / 0.35);

  /* Secondary cyan */
  --cyan: oklch(0.85 0.12 200);
  --cyan-dim: oklch(0.65 0.13 200);

  /* Status */
  --green: oklch(0.78 0.16 150);
  --amber: oklch(0.82 0.15 75);
  --red: oklch(0.68 0.2 25);
  --whatsapp: oklch(0.72 0.16 145);

  /* Shadows / glow */
  --glow-accent: 0 0 60px oklch(0.72 0.18 290 / 0.4);
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.04) inset, 0 8px 32px -8px oklch(0 0 0 / 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}

/* Background ambient effects */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-bg::before,
.ambient-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.ambient-bg::before {
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: var(--accent);
}

.ambient-bg::after {
  top: 30%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: var(--cyan-dim);
  opacity: 0.15;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

main {
  position: relative;
  z-index: 1;
}

/* Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  padding: 6px 12px;
  background: oklch(0.72 0.18 290 / 0.08);
  border: 1px solid oklch(0.72 0.18 290 / 0.2);
  border-radius: 100px;
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.h-section {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text) 30%, var(--accent-bright) 70%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mono { font-family: 'Geist Mono', monospace; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.06), 0 1px 0 oklch(1 0 0 / 0.4) inset, 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
  background: oklch(1 0 0);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1), 0 1px 0 oklch(1 0 0 / 0.4) inset, 0 12px 32px -6px var(--accent-glow);
}

.btn-ghost {
  background: oklch(1 0 0 / 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.08);
  border-color: var(--border-bright);
}

.btn-accent {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: oklch(0.12 0.01 270);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.3) inset, 0 0 0 1px var(--accent), 0 8px 24px -6px var(--accent-glow);
}
.btn-accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 24px; font-size: 15px; }

/* Card primitive */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.04), transparent 30%);
  pointer-events: none;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  background: oklch(0.14 0.012 270 / 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo-wordmark .wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-family: 'Geist', system-ui, sans-serif;
}

.logo-wordmark .wm-lead {
  color: oklch(0.08 0 0);
  -webkit-text-stroke: 0.6px oklch(0.95 0 0);
  text-shadow: 0 0 1px oklch(1 0 0 / 0.3);
}

.logo-wordmark .wm-custom {
  color: var(--accent-bright);
  text-shadow: 0 0 24px var(--accent-glow);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1) inset, 0 4px 12px var(--accent-glow);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid oklch(1 0 0 / 0.85);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-30deg);
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: oklch(1 0 0 / 0.04); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 0;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.hero h1 .line {
  display: block;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}
.check::after {
  content: '';
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg) translate(0, -1px);
}

/* Hero product mockup */
.hero-product {
  margin-top: 72px;
  position: relative;
  perspective: 2000px;
}

.product-frame {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-bright);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.04) inset,
    0 60px 120px -40px oklch(0 0 0 / 0.6),
    0 0 80px -20px var(--accent-glow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.product-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Product UI mock — Dashboard */
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
  font-size: 13px;
}

.dash-side {
  background: oklch(0.16 0.012 270);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-org {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.dash-org-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--cyan-dim));
}
.dash-org-name { font-weight: 500; font-size: 13px; }
.dash-org-meta { font-size: 11px; color: var(--text-dim); }

.dash-section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 8px 4px;
  letter-spacing: 0.08em;
}

.dash-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.12s;
  position: relative;
}
.dash-item:hover { background: oklch(1 0 0 / 0.03); color: var(--text); }
.dash-item.active {
  background: oklch(0.72 0.18 290 / 0.12);
  color: var(--text);
}
.dash-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 16px;
  background: var(--accent-bright);
  border-radius: 2px;
}

.dash-icon {
  width: 14px; height: 14px;
  display: grid; place-items: center;
  color: currentColor;
}

.dash-badge {
  margin-left: auto;
  background: var(--accent);
  color: var(--text);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 100px;
  font-weight: 500;
}

.dash-main {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-topbar h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.dash-topbar-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Geist Mono', monospace;
}
.stat-value {
  font-size: 22px;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.stat-delta {
  font-size: 11px;
  margin-top: 2px;
  color: var(--green);
  font-family: 'Geist Mono', monospace;
}
.stat-delta.down { color: var(--red); }

.dash-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.panel-title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-title .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0.6); }
  70% { box-shadow: 0 0 0 8px oklch(0.78 0.16 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0); }
}

/* Activity feed */
.feed-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.feed-item:last-child { border-bottom: none; }
.feed-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 10px;
}
.feed-icon.bot { background: oklch(0.72 0.18 290 / 0.15); color: var(--accent-bright); }
.feed-icon.call { background: oklch(0.85 0.12 200 / 0.12); color: var(--cyan); }
.feed-icon.invoice { background: oklch(0.78 0.16 150 / 0.12); color: var(--green); }
.feed-icon.review { background: oklch(0.82 0.15 75 / 0.12); color: var(--amber); }
.feed-text { flex: 1; }
.feed-title { color: var(--text); font-weight: 500; }
.feed-meta { color: var(--text-dim); font-size: 11px; margin-top: 1px; }
.feed-time { color: var(--text-dim); font-size: 11px; font-family: 'Geist Mono', monospace; }

/* Mini chart */
.chart {
  height: 90px;
  position: relative;
  margin-top: 4px;
}
.chart svg { width: 100%; height: 100%; display: block; }

/* Logos strip */
.logos {
  margin-top: 64px;
  text-align: center;
}
.logos-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}
.logo-item {
  display: grid;
  place-items: center;
  height: 56px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.2s;
  border-left: 1px solid var(--border);
}
.logo-item:first-child { border-left: none; }
.logo-item:hover { opacity: 1; color: var(--text); }

/* ============ SECTION HEADERS ============ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ============ BENTO ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 12px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.03), transparent 40%);
  pointer-events: none;
  border-radius: inherit;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.bento-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-icon-wrap {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: oklch(0.72 0.18 290 / 0.12);
  border: 1px solid oklch(0.72 0.18 290 / 0.25);
  color: var(--accent-bright);
  display: grid; place-items: center;
}

.bento-card.col-3 { grid-column: span 3; }
.bento-card.col-2 { grid-column: span 2; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.row-2 { grid-row: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col-3, .bento-card.col-2, .bento-card.col-4, .bento-card.col-6 { grid-column: span 2; }
}

.bento-visual {
  margin-top: auto;
  padding-top: 20px;
}

/* ============ INTERACTIVE WHATSAPP ============ */
.demo-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) {
  .demo-split { grid-template-columns: 1fr; gap: 40px; }
}

.demo-text h2 { margin-bottom: 20px; }
.demo-text p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.demo-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.demo-bullets li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.demo-bullets li .b-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: oklch(0.78 0.16 150 / 0.15);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.demo-bullets li .b-text { color: var(--text-muted); }
.demo-bullets li .b-text strong { color: var(--text); font-weight: 500; }

/* Phone frame */
.phone {
  width: 320px;
  height: 640px;
  background: oklch(0.1 0.005 270);
  border-radius: 44px;
  border: 1px solid var(--border-bright);
  padding: 8px;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.05) inset,
    0 40px 80px -20px oklch(0 0 0 / 0.6),
    0 0 60px -10px var(--accent-glow);
}
.phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: oklch(0.08 0 0);
  border-radius: 100px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: oklch(0.12 0.005 145);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wa-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: oklch(0.95 0 0);
  font-weight: 500;
}

.wa-header {
  background: oklch(0.18 0.02 145);
  padding: 10px 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid oklch(1 0 0 / 0.05);
  margin-top: 16px;
}
.wa-back { color: oklch(0.95 0 0); font-size: 18px; line-height: 1; }
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan-dim));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  font-size: 13px;
  position: relative;
}
.wa-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px; height: 10px;
  background: var(--green);
  border: 2px solid oklch(0.18 0.02 145);
  border-radius: 50%;
}
.wa-name { font-size: 14px; font-weight: 500; color: oklch(0.95 0 0); }
.wa-online { font-size: 11px; color: oklch(0.7 0.05 145); }

.wa-body {
  flex: 1;
  background:
    radial-gradient(circle at 20% 30%, oklch(0.18 0.02 145) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, oklch(0.16 0.02 145) 0%, transparent 50%),
    oklch(0.13 0.012 145);
  padding: 16px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.wa-msg {
  max-width: 80%;
  padding: 8px 12px 6px;
  border-radius: 10px;
  position: relative;
  line-height: 1.35;
  animation: msgIn 0.4s ease both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-msg.them {
  background: oklch(0.22 0.015 145);
  color: oklch(0.95 0 0);
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.wa-msg.us {
  background: oklch(0.32 0.06 145);
  color: oklch(0.97 0 0);
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.wa-time {
  font-size: 9.5px;
  opacity: 0.6;
  margin-top: 2px;
  text-align: right;
  font-family: 'Geist Mono', monospace;
}

.wa-typing {
  align-self: flex-start;
  background: oklch(0.22 0.015 145);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  gap: 4px;
}
.wa-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(0.5 0.02 145);
  animation: bounce 1.4s infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-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; }
}

.wa-quote {
  background: oklch(0.18 0.02 145);
  border-left: 3px solid var(--accent-bright);
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 4px;
  font-size: 11px;
}
.wa-quote-label { color: var(--accent-bright); font-weight: 500; }

.wa-input {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: oklch(0.15 0.012 145);
  align-items: center;
}
.wa-input-box {
  flex: 1;
  background: oklch(0.22 0.015 145);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  color: oklch(0.6 0.02 145);
}
.wa-input-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: oklch(0.45 0.1 145);
  display: grid;
  place-items: center;
  color: white;
}

/* ============ AI RECEPTIONIST ============ */
.ai-call {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.ai-call-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.ai-call-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-call-status .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse-red 1.4s infinite;
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ai-call-title { font-weight: 500; }
.ai-call-sub { font-size: 12px; color: var(--text-dim); font-family: 'Geist Mono', monospace; margin-top: 2px; }

.ai-call-time {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
}

.ai-call-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
@media (max-width: 800px) {
  .ai-call-body { grid-template-columns: 1fr; }
}

.ai-waveform {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wave-vis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 80px;
  flex: 1;
}
.wave-bar {
  width: 3px;
  background: linear-gradient(180deg, var(--accent-bright), var(--cyan));
  border-radius: 100px;
  animation: wave 1.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.transcript {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  max-height: 320px;
  overflow-y: auto;
}

.t-line {
  display: flex;
  gap: 10px;
  animation: msgIn 0.4s ease both;
}
.t-speaker {
  flex-shrink: 0;
  width: 56px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.t-speaker.ai { color: var(--accent-bright); }
.t-speaker.caller { color: var(--cyan); }
.t-text { color: var(--text); line-height: 1.5; }
.t-meta { color: var(--text-dim); font-size: 11px; margin-top: 4px; font-family: 'Geist Mono', monospace; }

.ai-call-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.detected {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detected-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.detected-value {
  font-size: 13px;
  font-weight: 500;
}
.detected-value.match { color: var(--green); }

/* ============ ROI CALCULATOR ============ */
.roi {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.roi::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  pointer-events: none;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi { padding: 32px 24px; }
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.slider-group label .val {
  font-family: 'Geist Mono', monospace;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid var(--text);
  box-shadow: 0 0 0 4px oklch(0.72 0.18 290 / 0.15), 0 4px 12px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-bright);
  border: 2px solid var(--text);
  cursor: pointer;
}

.roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
}

.roi-stat {
  background: oklch(0.14 0.012 270 / 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(20px);
}
.roi-stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.roi-stat-value {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-top: 6px;
  line-height: 1;
}
.roi-stat-value.accent { color: var(--accent-bright); }
.roi-stat-value.cyan { color: var(--cyan); }
.roi-stat-value.green { color: var(--green); }
.roi-stat-sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

.roi-stat.full { grid-column: span 2; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  font-size: 14px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan-dim));
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}
.t-name { font-weight: 500; font-size: 14px; }
.t-role { font-size: 12px; color: var(--text-dim); }

/* ============ PRICING ============ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin: 0 auto;
}
.toggle-opt {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.toggle-opt.active {
  background: var(--text);
  color: var(--bg);
}
.save-badge {
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--green);
  color: var(--bg);
  font-size: 10px;
  font-family: 'Geist Mono', monospace;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: oklch(0.72 0.18 290 / 0.5);
  background:
    linear-gradient(180deg, oklch(0.72 0.18 290 / 0.06), transparent 40%),
    var(--bg-card);
  box-shadow: 0 0 60px -20px var(--accent-glow);
}
.plan-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-name {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.plan.featured .plan-name { color: var(--accent-bright); }

.plan-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price-main {
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price-period {
  color: var(--text-dim);
  font-size: 14px;
}

.plan-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  text-wrap: pretty;
}

.plan-cta {
  margin-top: 24px;
  width: 100%;
}

.plan-features {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.plan-features li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
}
.plan-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-bright); }
.plan-features li strong { color: var(--text); font-weight: 500; }

/* Pricing card section labels — clearer hierarchy */
.plan-sec-label {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Geist', system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: none;
}
.plan-sec-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}
.plan-features li span { color: var(--text-muted); }
.plan-features.svc li span { color: var(--text); }

@media (max-width: 800px) {
  .flow-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .flow-steps { grid-template-columns: repeat(2, 1fr) !important; }
  .africa-grid { grid-template-columns: 1fr !important; }
  .africa-grid > div:last-child { border-left: none !important; border-top: 1px solid var(--border); }
  .africa-grid > div { padding: 28px !important; }
}

.africa-input {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.15s;
}
.africa-input:focus {
  outline: none;
  border-color: oklch(0.78 0.16 65 / 0.6);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px oklch(0.78 0.16 65 / 0.12);
}
.africa-input::placeholder { color: var(--text-dim); }
@media (max-width: 500px) {
  .flow-steps { grid-template-columns: 1fr !important; }
}

/* ============ FAQ ============ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--bg-card);
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  border-color: var(--accent);
}
.faq-toggle::before {
  content: '';
  width: 12px; height: 1.5px;
  background: var(--text-muted);
  border-radius: 100px;
}
.faq-toggle::after {
  content: '';
  width: 1.5px; height: 12px;
  background: var(--text-muted);
  border-radius: 100px;
  position: absolute;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle::after { transform: scaleY(0); }
.faq-item.open .faq-toggle::before { background: var(--text); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 200px;
  margin-top: 16px;
}

/* ============ FINAL CTA ============ */
.final-cta {
  text-align: center;
  padding: 96px 48px;
  background:
    radial-gradient(ellipse at center, oklch(0.72 0.18 290 / 0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 70%);
}
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(36px, 5vw, 64px); }
.final-cta p {
  margin: 24px auto 36px;
  max-width: 540px;
  font-size: 17px;
  color: var(--text-muted);
}
.final-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-tag {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 280px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-bright);
  text-decoration: none;
  font-family: 'Geist Mono', monospace;
}
.footer-email::before { content: '✉'; }
.footer-email:hover { text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Geist Mono', monospace;
}
.footer-phone::before { content: '✆'; color: var(--accent-bright); }
.footer-phone:hover { color: var(--text); }

/* Language toggle */
#lc-lang-toggle {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9996;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: oklch(0.17 0.013 270 / 0.9);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.5);
}
#lc-lang-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
#lc-lang-toggle button.on { background: var(--text); color: var(--bg); }
@media (max-width: 600px) { #lc-lang-toggle { bottom: 80px; } }
.footer-col h4 {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
}

/* Visually hidden */
.sr { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════
   Order notifications (social proof popup)
   ════════════════════════════════════════ */
.order-notif {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 40px 14px 14px;
  background: linear-gradient(180deg, oklch(0.19 0.014 270 / 0.96), oklch(0.16 0.013 270 / 0.96));
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 24px 60px -12px oklch(0 0 0 / 0.7),
    0 0 0 1px oklch(1 0 0 / 0.04) inset,
    0 0 40px -10px var(--accent-glow);
  max-width: 360px;
  font-family: 'Geist', system-ui, sans-serif;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.order-notif--in {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.order-notif-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: oklch(0.97 0.005 270);
  border: 1px solid oklch(1 0 0 / 0.08);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.order-notif-body {
  flex: 1;
  min-width: 0;
}

.order-notif-title {
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
}

.order-notif-title strong {
  font-weight: 600;
  color: var(--text);
}

.order-notif-offer {
  margin-top: 4px;
  font-size: 12px;
  color: var(--accent-bright);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-notif-time {
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.order-notif-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0.7);
  animation: order-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes order-pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0.7); }
  70%  { box-shadow: 0 0 0 8px oklch(0.78 0.16 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0); }
}

.order-notif-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  padding: 0;
}

.order-notif-close:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--border-bright);
}

@media (max-width: 600px) {
  .order-notif {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ════════════════════════════════════════
   Custom dev — sur-mesure / sur devis
   ════════════════════════════════════════ */
.custom-dev {
  position: relative;
  padding: 44px;
  background: linear-gradient(170deg, oklch(0.19 0.018 270), oklch(0.14 0.012 270));
  border: 1px solid var(--border-bright);
  border-radius: 28px;
  overflow: hidden;
}
.custom-dev-glow {
  position: absolute;
  top: -160px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.custom-dev > *:not(.custom-dev-glow) { position: relative; z-index: 1; }

.custom-dev-head { max-width: 640px; }
.custom-dev-head p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.custom-dev-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .custom-dev-grid { grid-template-columns: 1fr; } }

.custom-dev-card {
  background: oklch(0.14 0.012 270 / 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.25s ease;
}
.custom-dev-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  background: oklch(0.16 0.013 270 / 0.7);
}
.custom-dev-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: oklch(0.72 0.18 290 / 0.12);
  border: 1px solid oklch(0.72 0.18 290 / 0.25);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.custom-dev-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.custom-dev-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.custom-dev-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.custom-dev-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
}
.custom-dev-card li svg { color: var(--accent-bright); flex-shrink: 0; }

.custom-dev-footer {
  margin-top: 32px;
  padding: 28px 32px;
  background: oklch(0.72 0.18 290 / 0.07);
  border: 1px solid oklch(0.72 0.18 290 / 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 760px) {
  .custom-dev { padding: 32px 24px; }
  .custom-dev-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
}
.custom-dev-footer-left { max-width: 460px; }
.custom-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-bright);
  margin-bottom: 10px;
}
.pulse-tiny {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}
.custom-dev-footer-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.custom-dev-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 760px) { .custom-dev-footer-actions { align-items: flex-start; } }
.custom-dev-note {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'Geist Mono', monospace;
}

/* ════════════════════════════════════════
   Chat Assistant (Lia) — floating widget
   ════════════════════════════════════════ */

/* FAB trigger */
.assistant-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: oklch(0.97 0.005 270);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Geist', system-ui, sans-serif;
  box-shadow:
    0 12px 32px -6px var(--accent-glow),
    0 4px 12px -2px oklch(0 0 0 / 0.4),
    0 0 0 1px oklch(1 0 0 / 0.06) inset;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, opacity 0.25s ease;
}
.assistant-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -6px var(--accent-glow),
    0 6px 16px -2px oklch(0 0 0 / 0.5),
    0 0 0 1px oklch(1 0 0 / 0.1) inset;
}
.assistant-fab--hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateY(8px);
}
.assistant-fab-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.18);
  display: grid;
  place-items: center;
  border: 1px solid oklch(1 0 0 / 0.18);
}
.assistant-fab-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}
.assistant-fab-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.assistant-fab-sub {
  font-size: 11px;
  opacity: 0.85;
  font-family: 'Geist Mono', monospace;
}
.assistant-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  animation: assistant-bounce 1.5s ease-in-out infinite;
}
@keyframes assistant-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Panel */
.assistant-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  box-shadow:
    0 32px 80px -16px oklch(0 0 0 / 0.7),
    0 0 0 1px oklch(1 0 0 / 0.04) inset,
    0 0 60px -10px var(--accent-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Geist', system-ui, sans-serif;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.assistant-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, oklch(0.21 0.014 270), transparent);
}
.assistant-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: grid;
  place-items: center;
  color: oklch(0.97 0.005 270);
  border: 1px solid oklch(1 0 0 / 0.12);
  box-shadow: 0 4px 12px var(--accent-glow);
  position: relative;
}
.assistant-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--bg-card);
}
.assistant-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.assistant-status {
  font-size: 10px;
  color: var(--green);
  font-weight: 500;
  font-family: 'Geist Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.assistant-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.assistant-role {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}
.assistant-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}
.assistant-close:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

/* Messages */
.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.assistant-messages::-webkit-scrollbar {
  width: 6px;
}
.assistant-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.assistant-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 90%;
  animation: assistant-msg-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes assistant-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.assistant-msg--assistant {
  align-self: flex-start;
}
.assistant-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.assistant-msg-avatar {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: grid;
  place-items: center;
  color: oklch(0.97 0.005 270);
  margin-bottom: 2px;
}
.assistant-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
}
.assistant-msg--assistant .assistant-msg-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.assistant-msg--user .assistant-msg-bubble {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border: 1px solid oklch(1 0 0 / 0.08);
  color: oklch(0.97 0.005 270);
  border-bottom-right-radius: 4px;
}
.assistant-msg-bubble--typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
}
.assistant-msg-bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: assistant-typing 1.2s ease-in-out infinite;
}
.assistant-msg-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.assistant-msg-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes assistant-typing {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* Quick prompts */
.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 12px;
}
.assistant-chip {
  padding: 8px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.assistant-chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--text);
}

/* Input */
.assistant-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  align-items: flex-end;
}
.assistant-input {
  flex: 1;
  resize: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.4;
  max-height: 100px;
  outline: none;
  transition: border-color 0.15s ease;
  letter-spacing: -0.005em;
}
.assistant-input:focus {
  border-color: var(--accent);
}
.assistant-input::placeholder {
  color: var(--text-dim);
}
.assistant-send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border: 1px solid oklch(1 0 0 / 0.1);
  color: oklch(0.97 0.005 270);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.assistant-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--accent-glow);
}
.assistant-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.assistant-footer {
  padding: 8px 14px 10px;
  font-size: 10.5px;
  color: var(--text-dim);
  text-align: center;
  background: var(--bg-elevated);
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.02em;
  border-top: 1px solid oklch(1 0 0 / 0.02);
}
.assistant-footer a {
  color: var(--accent-bright);
  text-decoration: none;
}
.assistant-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .assistant-panel {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
    height: calc(100vh - 16px);
    max-height: none;
  }
  .assistant-fab {
    right: 16px;
    bottom: 16px;
  }
  .assistant-fab-label {
    display: none;
  }
  .assistant-fab {
    padding: 12px;
  }
  /* Push order-notif up so it doesn't overlap the FAB on mobile */
  .order-notif {
    bottom: 80px;
  }
}
