/* ============================================
   HeyPapaya — Swiss AI Agency
   Dark, modern, gradient-accented landing page
   ============================================ */

:root {
  --bg: #07070b;
  --bg-elev: #0d0d14;
  --bg-elev-2: #11111a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ECEEF2;
  --text-dim: #A4A8B5;
  --text-mute: #6B7080;
  --accent-1: #FF6B35;
  --accent-2: #FFB347;
  --accent-3: #8FBC3B;
  --grad: linear-gradient(135deg, #FF6B35 0%, #FFB347 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,107,53,0.15) 0%, rgba(255,179,71,0.15) 100%);
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px -12px rgba(0,0,0,0.6);
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --maxw-narrow: 820px;
  --container-pad: clamp(20px, 5vw, 48px);
  --bg-glow-3: rgba(143,188,59,0.50);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

p { margin: 0; color: var(--text-dim); }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ============= LAYOUT HELPERS ============= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container-narrow { max-width: var(--maxw-narrow); }

.section {
  padding: clamp(48px, 6vw, 88px) 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, transparent 0%, var(--bg-elev) 50%, transparent 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.section-head p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-dim);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 14px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============= BACKGROUND DECOR ============= */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  z-index: -1;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
}
.bg-glow--1 {
  top: -300px;
  left: -200px;
  background: radial-gradient(circle, rgba(255,107,53,0.55), transparent 60%);
}
.bg-glow--2 {
  top: 200px;
  right: -300px;
  background: radial-gradient(circle, rgba(255,179,71,0.5), transparent 60%);
}

/* ============= ANNOUNCEMENT ============= */
.announce {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  padding: 12px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.announce .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

/* ============= NAV ============= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--container-pad);
  max-width: var(--maxw);
  margin: 0 auto;
  transition: backdrop-filter 0.2s, background 0.2s;
}
.nav.is-stuck {
  background: rgba(7, 7, 11, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-mark { display: inline-flex; }
.brand-name { color: var(--text); }
.brand-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  position: relative;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s;
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    gap: 14px;
  }
  .nav.is-open .nav-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 280px;
    left: 16px;
    right: 16px;
    gap: 10px;
  }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--text);
  color: #0a0a0f;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(255,107,53,0.6);
  color: #0a0a0f;
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* ============= HERO ============= */
.hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(48px, 7vw, 100px);
  text-align: center;
  position: relative;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.025);
  font-size: 13px;
  color: var(--text-dim);
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.ch-flag {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  border-radius: 2px;
  margin: 0 2px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 14ch;
  margin: 0 auto;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 880px;
}
.hero-stats > div {
  background: var(--bg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.hero-stats strong {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* ============= TRUST STRIP ============= */
.trust { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.trust-logos span {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dim);
  opacity: 0.7;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, color 0.2s;
}
.trust-logos span:hover { opacity: 1; color: var(--text); }

/* ============= GRIDS / CARDS ============= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--bg-elev-2);
}
.card-icn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--accent-2);
}
.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.card p { font-size: 15px; }

/* ============= SERVICES — BENTO ============= */
.services-bento { gap: 20px; }
.bento {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}
.bento:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

/* Top visual mockup area */
.bento-visual {
  position: relative;
  height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 220px at 50% -40%, rgba(255,107,53,0.16), transparent 70%),
    radial-gradient(500px 200px at 100% 100%, rgba(255,179,71,0.10), transparent 70%),
    var(--bg-elev-2);
  overflow: hidden;
}
.bento-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}
.bento-visual > * { position: relative; z-index: 1; }

/* Chat visual */
.bento-chat-bubble {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 88%;
  font-weight: 400;
}
.bento-chat-bubble.user {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-bottom-right-radius: 4px;
  margin-left: auto;
  text-align: right;
}
.bento-chat-bubble.bot {
  background: var(--grad-soft);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

/* Voice visual */
.bento-voice {
  justify-content: space-between;
  padding: 24px 22px;
}
.bento-voice-call {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bento-voice-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.bento-voice-call strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.bento-voice-call span {
  font-size: 12px;
  color: var(--text-mute);
}
.bento-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 50px;
}
.bento-wave span {
  flex: 1;
  background: var(--grad);
  border-radius: 2px;
  animation: waveBounce 1.2s ease-in-out infinite;
  opacity: 0.85;
}
.bento-wave span:nth-child(1)  { animation-delay: 0.00s; }
.bento-wave span:nth-child(2)  { animation-delay: 0.05s; }
.bento-wave span:nth-child(3)  { animation-delay: 0.10s; }
.bento-wave span:nth-child(4)  { animation-delay: 0.15s; }
.bento-wave span:nth-child(5)  { animation-delay: 0.20s; }
.bento-wave span:nth-child(6)  { animation-delay: 0.25s; }
.bento-wave span:nth-child(7)  { animation-delay: 0.30s; }
.bento-wave span:nth-child(8)  { animation-delay: 0.35s; }
.bento-wave span:nth-child(9)  { animation-delay: 0.40s; }
.bento-wave span:nth-child(10) { animation-delay: 0.45s; }
.bento-wave span:nth-child(11) { animation-delay: 0.50s; }
.bento-wave span:nth-child(12) { animation-delay: 0.55s; }
.bento-wave span:nth-child(13) { animation-delay: 0.60s; }
.bento-wave span:nth-child(14) { animation-delay: 0.65s; }
.bento-wave span:nth-child(15) { animation-delay: 0.70s; }
.bento-wave span:nth-child(16) { animation-delay: 0.75s; }
.bento-wave span:nth-child(17) { animation-delay: 0.80s; }
.bento-wave span:nth-child(18) { animation-delay: 0.85s; }
.bento-wave span:nth-child(19) { animation-delay: 0.90s; }
.bento-wave span:nth-child(20) { animation-delay: 0.95s; }
.bento-wave span:nth-child(21) { animation-delay: 1.00s; }
.bento-wave span:nth-child(22) { animation-delay: 1.05s; }
.bento-wave span:nth-child(23) { animation-delay: 1.10s; }
.bento-wave span:nth-child(24) { animation-delay: 1.15s; }

/* Workflow log visual */
.bento-flow-log {
  justify-content: flex-start;
  padding: 20px 22px;
  gap: 0;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
}
.log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--line);
}
.log-row:last-child { border-bottom: 0; }
.log-row .log-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.log-row.done .log-dot {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
}
.log-row.pending .log-dot {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251,191,36,0.6);
  animation: pulseDot 1.4s ease-in-out infinite;
}
.log-row .log-text {
  flex: 1;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-row.pending .log-text { color: var(--text); }
.log-row .log-time {
  font-size: 11px;
  color: var(--text-mute);
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Body */
.bento-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bento-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.bento-body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bento-body p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.bento-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
  flex: 1;
}
.bento-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
}
.bento-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.bento-stat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* Hover gradient outline (matches other cards) */
.bento::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.bento:hover::after { opacity: 0.7; }

@media (max-width: 980px) {
  .services-bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .services-bento { grid-template-columns: 1fr; }
  .bento-visual { height: 200px; padding: 22px; }
}

/* ============= FONDATEURS ============= */
.founders {
  max-width: 880px;
  margin: 0 auto;
  gap: 24px;
}
.founder {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
}
.founder:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.founder-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 28px 60px -28px rgba(255,107,53,0.55);
}
.founder-avatar-placeholder {
  background: rgba(255,255,255,0.04);
  color: var(--text-mute);
  border: 1px dashed var(--line-strong);
  box-shadow: none;
  font-weight: 500;
}
.founder-placeholder {
  background: rgba(255,255,255,0.015);
  border-style: dashed;
}
.founder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 380px;
}
.founder-body h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.founder-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.founder-bio {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 6px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.15s, border-color 0.2s, background 0.2s;
}
.founder-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.28);
}

@media (max-width: 720px) {
  .founders { grid-template-columns: 1fr; }
  .founder { padding: 32px 24px; }
}

/* ============= PROCESS ============= */
.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.process li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.process li:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.process .step {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-1);
  margin-bottom: 14px;
}
.process h4 { font-size: 18px; margin-bottom: 8px; }
.process p { font-size: 15px; }

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

/* ============= COMPARE TABLE ============= */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  gap: 12px;
}
.compare-row:first-child { border-top: 0; }
.compare-row > div { color: var(--text-dim); }
.compare-row > div:first-child { color: var(--text); font-weight: 500; }
.compare-head {
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-head > div { color: var(--text-mute); }
.compare-head > div:nth-child(2) {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ok { color: var(--text); position: relative; padding-left: 22px; }
.ok::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.no { color: var(--text-mute); position: relative; padding-left: 22px; }
.no::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--text-mute);
}
@media (max-width: 720px) {
  .compare-row {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
  .compare-head { display: none; }
  .compare-row > div { font-size: 14px; }
  .compare-row > div:first-child {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    margin-bottom: 4px;
  }
}

/* ============= CASE STUDIES ============= */
.case {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.case:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.case-tag {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  font-weight: 600;
}
.case h3 { font-size: clamp(20px, 2.4vw, 26px); }
.case p { font-size: 15px; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-stats strong {
  font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.case-stats span { font-size: 12px; color: var(--text-mute); }

/* ============= TESTIMONIALS ============= */
.testimonials .quote {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s;
}
.testimonials .quote:hover { border-color: var(--line-strong); }
.testimonials blockquote {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}
.testimonials figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.testimonials figcaption strong { font-size: 14px; color: var(--text); font-weight: 500; }
.testimonials figcaption span { font-size: 13px; color: var(--text-mute); }

/* ============= PRICING ============= */
.plans { align-items: stretch; }
.plan {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.plan:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.plan h3 { font-size: 20px; }
.plan-tag { font-size: 14px; color: var(--text-mute); margin-top: -8px; }
.plan-price {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price span {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.plan-price small {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 400;
  margin-left: 4px;
}
.plan-then {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: -10px;
}
.plan ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 16px;
}
.plan ul li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-dim);
}
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.plan .btn { margin-top: auto; }
.plan-feat {
  background: linear-gradient(180deg, rgba(255,107,53,0.08) 0%, var(--bg-elev) 60%);
  border-color: rgba(255,107,53,0.35);
  box-shadow: 0 30px 60px -30px rgba(255,107,53,0.45);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 24px;
}

/* ============= FAQ ============= */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] {
  border-color: var(--line-strong);
  background: var(--bg-elev-2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev {
  font-size: 22px;
  color: var(--text-mute);
  transition: transform 0.25s;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.faq details[open] .chev {
  transform: rotate(45deg);
  color: var(--accent-2);
}
.faq details p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-dim);
}

/* ============= FINAL CTA ============= */
.cta {
  padding: clamp(60px, 9vw, 120px) 0;
}
.cta-card {
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(255,107,53,0.18), transparent 60%),
    radial-gradient(900px 280px at 100% 100%, rgba(255,179,71,0.18), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 60px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.cta-card h2 {
  font-size: clamp(32px, 4.8vw, 56px);
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.cta-card p {
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 17px);
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* ============= FOOTER ============= */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  max-width: 360px;
  font-size: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-cols a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============= REVEAL ANIMATION ============= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .line-inner { transform: none !important; }
  .reveal-up { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============= NOISE TEXTURE ============= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============= HERO LINE REVEAL ============= */
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
  padding-bottom: 0.05em;
}
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: 0.05s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.18s; }

@keyframes lineUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 0.7s ease-out forwards;
}
.hero-sub.reveal-up   { animation-delay: 0.45s; }
.hero-cta.reveal-up   { animation-delay: 0.55s; }
.hero-stats.reveal-up { animation-delay: 0.65s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============= LOGO MARQUEE ============= */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dim);
  opacity: 0.7;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s;
}
.marquee-track span:hover { opacity: 1; color: var(--text); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Shared waveform animation (used by services-bento voice card) */
@keyframes waveBounce {
  0%, 100% { height: 8%; }
  50% { height: 100%; }
}

/* ============= CARD HOVER GRADIENT BORDER ============= */
.card, .case, .plan, .testimonials .quote, .process li, .founder {
  position: relative;
}
.card::after, .case::after, .plan::after, .process li::after, .founder::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::after, .case:hover::after, .plan:hover::after, .process li:hover::after, .founder:hover::after {
  opacity: 0.7;
}

/* ============= TESTIMONIAL MARQUEE ============= */
.t-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 8px 0;
}
.t-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 70s linear infinite;
  will-change: transform;
}
.t-track:hover { animation-play-state: paused; }
.t-track .quote {
  margin: 0;
  flex: 0 0 380px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.t-track .quote:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.t-track blockquote {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}
.t-track figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.t-track figcaption strong { font-size: 14px; color: var(--text); font-weight: 500; }
.t-track figcaption span { font-size: 13px; color: var(--text-mute); }

@media (max-width: 600px) {
  .t-track .quote { flex: 0 0 280px; padding: 22px; }
  .t-track blockquote { font-size: 19px; }
}

/* ============= MAGNETIC BUTTON ============= */
[data-magnetic] {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, box-shadow 0.2s;
  will-change: transform;
}

/* Industry tabs (Études de cas) */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px 0;
  justify-content: center;
}
.industry-tabs button {
  appearance: none;
  background: var(--bg-elev);
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.industry-tabs button:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.industry-tabs button:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}
.industry-tabs button[aria-selected="true"] {
  background: var(--grad);
  color: #0a0a0f;
  border-color: transparent;
}
.case-panels { position: relative; }
.case-panels .case[hidden] { display: none; }
.case-panels .case[role="tabpanel"]:not([hidden]) {
  animation: caseFadeIn 0.32s ease;
}
@keyframes caseFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .industry-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    margin-left: calc(var(--container-pad) * -1);
    margin-right: calc(var(--container-pad) * -1);
    padding: 0 var(--container-pad) 6px;
    -webkit-overflow-scrolling: touch;
  }
  .industry-tabs::-webkit-scrollbar { display: none; }
  .industry-tabs button {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* ============= AURALIS BG (drifting orbs + spotlight + grain motion) ============= */
@keyframes drift1 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(80px, 60px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-110px, 90px); }
  100% { transform: translate(0, 0); }
}
@keyframes drift3 {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, -120px); }
  100% { transform: translate(-50%, 0); }
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, -1%); }
  50%  { transform: translate(1%, 2%); }
  75%  { transform: translate(-1%, 1%); }
  100% { transform: translate(0, 0); }
}

.bg-glow--1 { animation: drift1 22s ease-in-out infinite; }
.bg-glow--2 { animation: drift2 28s ease-in-out infinite; }

.bg-glow--3 {
  position: fixed;
  z-index: -1;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.30;
  pointer-events: none;
  bottom: -380px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--bg-glow-3), transparent 60%);
  animation: drift3 32s ease-in-out infinite;
}

/* Hero spotlight — soft white wash at the top, fading down */
body {
  background:
    radial-gradient(ellipse 65% 40% at 50% -5%, rgba(255,255,255,0.05) 0%, transparent 55%),
    var(--bg);
}

/* Animate the noise so it feels like film grain */
body::after {
  animation: grain 8s steps(8) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow--1, .bg-glow--2, .bg-glow--3,
  body::after { animation: none !important; }
}
