/* =========================================================
   Talkenza — Landing page styles
   ========================================================= */

:root {
  /* Palette (inspired by the logo: cyan → indigo → violet) */
  --bg:          #07091b;
  --bg-2:        #0b0f2a;
  --surface:     rgba(255,255,255,0.04);
  --surface-2:   rgba(255,255,255,0.06);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);

  --text:        #e9ecff;
  --text-mute:   #a5adc9;
  --text-dim:    #7b83a3;

  --cyan:        #22d3ee;
  --blue:        #3b82f6;
  --indigo:      #6366f1;
  --violet:      #8b5cf6;
  --magenta:     #c026d3;

  --grad:        linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #c026d3 100%);
  --grad-soft:   linear-gradient(135deg, rgba(34,211,238,0.15) 0%, rgba(99,102,241,0.15) 50%, rgba(192,38,211,0.15) 100%);

  --shadow-xl:   0 30px 80px -20px rgba(99,102,241,0.35);
  --shadow-md:   0 10px 30px -10px rgba(0,0,0,0.5);

  --radius:      14px;
  --radius-lg:   22px;

  --container:   1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99,102,241,0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 15px 40px -10px rgba(99,102,241,0.8); }

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }

.btn-ghost {
  background: transparent;
  color: var(--text-mute);
}
.btn-ghost:hover { color: var(--text); }

/* ====== Background mesh ====== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(34,211,238,0.06) 0%, transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(192,38,211,0.08) 0%, transparent 40%),
              radial-gradient(circle at 50% 100%, rgba(99,102,241,0.08) 0%, transparent 50%),
              var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: #22d3ee; top: -140px; left: -140px; }
.blob-2 { width: 620px; height: 620px; background: #8b5cf6; top: 10%; right: -200px; animation-delay: -6s; }
.blob-3 { width: 480px; height: 480px; background: #c026d3; bottom: -160px; left: 30%; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ====== Navbar ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,9,27,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7,9,27,0.88); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 0; position: relative; }
.nav-burger span { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger span:nth-child(1) { top: 11px; }
.nav-burger span:nth-child(2) { top: 17px; }
.nav-burger span:nth-child(3) { top: 23px; }

/* ====== Hero ====== */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  font-size: 12.5px;
  font-weight: 500;
  color: #c7d0ff;
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 4px rgba(34,211,238,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,211,238,0); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 0 34px 0;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.avatar:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg,#22d3ee,#3b82f6); }
.a2 { background: linear-gradient(135deg,#8b5cf6,#c026d3); }
.a3 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.a4 { background: linear-gradient(135deg,#10b981,#22d3ee); }
.trust-text { font-size: 13px; color: var(--text-mute); line-height: 1.3; }
.stars { color: #fbbf24; letter-spacing: 1px; font-size: 13px; }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
}
.demo-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  animation: fadeUp .8s ease both;
}
.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(34,211,238,0.1), transparent 40%),
              radial-gradient(circle at 100% 100%, rgba(192,38,211,0.1), transparent 40%);
  pointer-events: none;
}
.demo-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  position: relative;
}
.demo-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mute); font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 8px #22d3ee; animation: pulse 1.5s infinite; }
.demo-timer {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 8px;
}
.demo-wave {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  justify-content: center;
  height: 44px;
  margin-bottom: 18px;
  position: relative;
}
.demo-wave span {
  width: 4px;
  background: var(--grad);
  border-radius: 2px;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.demo-wave span:nth-child(1) { animation-delay: -0.0s; }
.demo-wave span:nth-child(2) { animation-delay: -0.1s; }
.demo-wave span:nth-child(3) { animation-delay: -0.2s; }
.demo-wave span:nth-child(4) { animation-delay: -0.3s; }
.demo-wave span:nth-child(5) { animation-delay: -0.4s; }
.demo-wave span:nth-child(6) { animation-delay: -0.5s; }
.demo-wave span:nth-child(7) { animation-delay: -0.6s; }
.demo-wave span:nth-child(8) { animation-delay: -0.7s; }
.demo-wave span:nth-child(9) { animation-delay: -0.8s; }
.demo-wave span:nth-child(10) { animation-delay: -0.9s; }
.demo-wave span:nth-child(11) { animation-delay: -1.0s; }
.demo-wave span:nth-child(12) { animation-delay: -1.1s; }
.demo-wave span:nth-child(13) { animation-delay: -1.2s; }
.demo-wave span:nth-child(14) { animation-delay: -1.3s; }

@keyframes waveAnim {
  0%, 100% { height: 8px; opacity: 0.5; }
  50% { height: 36px; opacity: 1; }
}
.demo-transcript {
  position: relative;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 14px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13.5px;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.45;
  animation: bubbleIn .4s ease;
}
.bubble.agent {
  background: var(--grad);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble.client {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.bubble.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: typing 1.2s infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-4px); opacity: 1; }
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}
.demo-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 4px; }
.metric-value { font-size: 14px; font-weight: 600; color: var(--text); }
.metric-value.hot { color: #ff6b6b; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border: 1px solid var(--border-2);
  padding: 12px 16px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  animation: floatY 4s ease-in-out infinite;
}
.floating-card svg { color: var(--cyan); }
.card-tl { top: -20px; left: -30px; animation-delay: -1s; }
.card-br { bottom: -20px; right: -30px; animation-delay: -2.5s; }
.card-br svg { color: var(--magenta); }
.fc-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; line-height: 1; }
.fc-label { font-size: 11px; color: var(--text-dim); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== Logos bar ====== */
.logos { padding: 40px 0 20px; }
.logos-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
  opacity: 0.7;
}
.logo-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  transition: color .3s ease;
}
.logo-pill:hover { color: var(--text); }

/* ====== Section headings ====== */
.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-mute);
  margin: 0;
}

/* ====== Pillars ====== */
.pillars { padding: 100px 0; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  color: var(--cyan);
  margin-bottom: 20px;
}
.pillar h3 { font-size: 1.4rem; margin-bottom: 12px; }
.pillar > p { color: var(--text-mute); margin: 0 0 20px; }
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-mute);
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(34,211,238,0.4);
}
.pillar-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.pillar-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(192,38,211,0.06));
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 20px 60px -20px rgba(139,92,246,0.4);
}
.pillar-featured .pillar-icon { color: white; background: var(--grad); }
.pillar-badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--grad);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ====== Stats ====== */
.stats { padding: 40px 0 80px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(192,38,211,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-mute);
  font-size: 14px;
}

/* ====== How it works ====== */
.how { padding: 80px 0 100px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  z-index: 0;
}
.how-step {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  background: var(--grad);
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -8px rgba(99,102,241,0.6);
}
.how-step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.how-step p { color: var(--text-mute); margin: 0; }

/* ====== Cases ====== */
.cases { padding: 80px 0; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  cursor: default;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.35);
  background: linear-gradient(180deg, rgba(99,102,241,0.08), transparent);
}
.case-tag {
  display: inline-block;
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,0.25);
  color: #c7d0ff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.case-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.case-card p { color: var(--text-mute); margin: 0; font-size: 15px; }

/* ====== Features ====== */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  transition: border-color .3s ease, transform .3s ease;
}
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature svg {
  color: var(--cyan);
  margin-bottom: 14px;
}
.feature h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-mute); font-size: 14.5px; margin: 0; }

/* ====== Testimonial ====== */
.testimonial { padding: 60px 0 100px; }
.quote-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 44px;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(192,38,211,0.08));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
}
.quote-mark {
  color: var(--indigo);
  opacity: 0.35;
  position: absolute;
  top: 20px;
  left: 28px;
}
.quote-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.45;
  margin: 30px 0 24px;
  color: var(--text);
  font-weight: 500;
}
.quote-text strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg,#8b5cf6,#22d3ee);
}
.author-name { font-weight: 600; }
.author-role { font-size: 13px; color: var(--text-mute); }

/* ====== Pricing ====== */
.pricing { padding: 80px 0 100px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(192,38,211,0.06));
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 60px -20px rgba(139,92,246,0.5);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.plan-price span { font-size: 2.5rem; line-height: 1; }
.plan-price small { color: var(--text-mute); font-size: 14px; font-weight: 500; }
.plan-hint { color: var(--text-mute); font-size: 14px; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-mute);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ====== FAQ ====== */
.faq { padding: 80px 0 100px; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] {
  border-color: rgba(139,92,246,0.35);
  background: rgba(99,102,241,0.06);
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--cyan);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--text-mute);
  font-size: 15px;
}

/* ====== Final CTA ====== */
.cta-final { padding: 100px 0 120px; }
.cta-inner {
  padding: 70px 50px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 30%, rgba(34,211,238,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(192,38,211,0.25), transparent 50%),
    linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.05));
  border: 1px solid rgba(139,92,246,0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.04)'/></svg>");
  pointer-events: none;
  opacity: 0.5;
}
.cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
  line-height: 1.1;
}
.cta-final p { color: var(--text-mute); font-size: 18px; margin: 0 0 30px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: var(--text-mute);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta-trust svg { color: var(--cyan); }

/* ====== Footer ====== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 60px;
  background: rgba(0,0,0,0.2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-mute); font-size: 14.5px; max-width: 320px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-cols a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

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

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .hero-inner,
  .pillars-grid,
  .how-grid,
  .cases-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .cases-grid,
  .features-grid {
    gap: 16px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 30px 24px; }
  .how-grid::before { display: none; }
  .plan-featured { transform: none; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }

  .hero { padding: 50px 0 60px; }
  .hero-visual { margin-top: 30px; }
  .floating-card { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { padding: 50px 24px; }

  /* Mobile menu drawer */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(7,9,27,0.98);
    backdrop-filter: blur(14px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 320px;
    left: 24px; right: 24px;
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Modal — Contact form
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 18, 0.72);
  backdrop-filter: blur(8px);
  animation: modalFade .25s ease both;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)), var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 36px 32px 32px;
  animation: modalPop .3s cubic-bezier(.2,.8,.2,1) both;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-mute);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.08); border-color: var(--border-2); }

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.modal-sub {
  color: var(--text-mute);
  font-size: 15px;
  margin: 0 0 22px;
}

.modal-view { display: block; }
.modal-view[hidden] { display: none; }

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
}
.field > span { color: var(--text-mute); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(99,102,241,0.6);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.field textarea { resize: vertical; min-height: 96px; }

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  padding: 4px 0;
}
.field-consent input {
  margin-top: 2px;
  accent-color: var(--indigo);
  flex-shrink: 0;
}
.field-consent a { color: var(--cyan); text-decoration: underline; }
.field-consent.is-invalid { color: #ff8a8a; }

.modal-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.35);
  color: #ffb4b4;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
}

.modal-submit {
  margin-top: 4px;
  position: relative;
  justify-content: center;
}
.submit-spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.modal.is-submitting .submit-label { opacity: 0.6; }
.modal.is-submitting .submit-spinner { display: inline-block; }
.modal.is-submitting .modal-submit { pointer-events: none; }

.modal-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 4px auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.35);
}
.modal-view-success { text-align: center; }
.modal-view-success .modal-title { text-align: center; }
.modal-view-success .btn { margin-top: 12px; }

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 540px) {
  .modal { padding: 12px; }
  .modal-card { padding: 28px 20px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal pages (mentions, CGV, confidentialité)
   ========================================================= */
.legal {
  padding: 80px 0 100px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.legal h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 12px;
}
.legal .legal-meta {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
  color: var(--text);
}
.legal h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
}
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--cyan); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .placeholder {
  background: rgba(251, 191, 36, 0.1);
  border-bottom: 1px dashed rgba(251, 191, 36, 0.5);
  color: #fde68a;
  padding: 0 4px;
  border-radius: 3px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.95em;
}

/* =========================================================
   Auth pages (signin, forgot, reset) + dashboard
   ========================================================= */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.auth-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.auth-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 10px;
}
.auth-sub {
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.auth-form {
  margin-bottom: 20px;
}
.auth-form .field input[type="password"] {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-form .field input[type="password"]:focus {
  outline: none;
  border-color: rgba(99,102,241,0.6);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.auth-form .field.is-invalid input {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.auth-card.is-submitting .submit-label { opacity: 0.6; }
.auth-card.is-submitting .submit-spinner { display: inline-block; }
.auth-card.is-submitting .modal-submit { pointer-events: none; }

.auth-success {
  text-align: center;
  padding: 8px 0 4px;
}
.auth-success .modal-title { text-align: center; margin-bottom: 10px; }
.auth-success .modal-sub { text-align: center; color: var(--text-mute); }
.auth-success .btn { margin-top: 16px; }

.auth-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 6px;
}
.auth-links a {
  color: var(--text-mute);
  font-size: 13.5px;
  transition: color .2s ease;
}
.auth-links a:hover { color: var(--cyan); }

/* --- Dashboard (espace-client) --- */
.nav-user {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  padding: 0 4px;
}

.dashboard {
  padding: 80px 0 100px;
}
.dashboard-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.dashboard-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 10px 0 14px;
}
.dashboard-sub {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.dashboard-card:hover { border-color: var(--border-2); background: var(--surface-2); }
.dashboard-card-wide { grid-column: span 3; }
.dashboard-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}
.dashboard-card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dashboard-card-value-sm {
  font-size: 1.15rem;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.dashboard-card-meta {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
.dashboard-card-text {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.7;
  margin: 0;
}
.dashboard-card-text a { color: var(--cyan); text-decoration: underline; }
.dashboard-card-wide .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-card-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card-wide { grid-column: span 1; }
  .auth-card { padding: 32px 24px 24px; }
  .nav-user { display: none; }
}

/* =========================================================================
   Admin — panneau de gestion des demandes de démo (admin.php + admin.js)
   ========================================================================= */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.admin {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.admin-head {
  max-width: 720px;
  margin: 0 0 36px;
}
.admin-head h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 8px 0 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.admin-sub {
  color: var(--text-mute);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.admin-toolbar-field {
  flex: 1 1 220px;
  min-width: 0;
}
.admin-toolbar input[type="search"],
.admin-toolbar select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color .15s, background .15s;
}
.admin-toolbar input[type="search"]::placeholder { color: var(--text-dim); }
.admin-toolbar input[type="search"]:focus,
.admin-toolbar select:focus {
  outline: none;
  border-color: var(--border-2);
  background: var(--surface-2);
}
.admin-toolbar select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%),
                    linear-gradient(135deg, var(--text-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.admin-toolbar-count {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-left: auto;
  padding: 0 4px;
}

.admin-list { margin-bottom: 24px; }
.admin-list[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
.admin-empty,
.admin-error {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-mute);
  background: var(--surface);
}
.admin-error { color: #fca5a5; border-color: rgba(252,165,165,0.3); }

.admin-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-row {
  display: grid;
  grid-template-columns: 190px 1.1fr 1.2fr 1.4fr 120px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition: border-color .15s, background .15s, transform .15s;
}
.admin-row:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateX(2px);
}
.admin-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.admin-row-date    { color: var(--text-dim); font-size: 13px; }
.admin-row-name    { font-weight: 600; }
.admin-row-company { color: var(--text-mute); }
.admin-row-email   { color: var(--text-mute); font-size: 13.5px; }

.admin-badge {
  justify-self: end;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.admin-badge.badge-new       { background: rgba(34,211,238,0.12);  color: #7fe8f5; border-color: rgba(34,211,238,0.3); }
.admin-badge.badge-contacted { background: rgba(99,102,241,0.14);  color: #a5a8ff; border-color: rgba(99,102,241,0.35); }
.admin-badge.badge-qualified { background: rgba(139,92,246,0.14);  color: #c4b1ff; border-color: rgba(139,92,246,0.35); }
.admin-badge.badge-won       { background: rgba(74,222,128,0.12);  color: #9ee8b7; border-color: rgba(74,222,128,0.3); }
.admin-badge.badge-lost      { background: rgba(248,113,113,0.12); color: #fca5a5; border-color: rgba(248,113,113,0.3); }
.admin-badge.badge-archived  { background: rgba(255,255,255,0.04); color: var(--text-dim); border-color: var(--border); }

.admin-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 24px;
}
.admin-pager .btn { padding: 10px 16px; font-size: 13.5px; }
.admin-pager .btn:disabled { opacity: .35; cursor: not-allowed; }
.admin-pager-info { color: var(--text-mute); font-size: 14px; }

/* Drawer latéral ──────────────────────────────────────────────────────── */
.admin-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(520px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7);
  overflow-y: auto;
  z-index: 120;
  animation: admin-drawer-in .18s ease-out;
}
.admin-drawer::before {
  content: '';
  position: fixed;
  inset: 0 min(520px, 100%) 0 0;
  background: rgba(4,6,18,0.55);
  backdrop-filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}
@keyframes admin-drawer-in {
  from { transform: translateX(12%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.admin-drawer-inner {
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.admin-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.admin-drawer-head h2 {
  margin: 6px 0 0;
  font-size: 22px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.admin-drawer-close {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.admin-drawer-close:hover { background: var(--surface-2); border-color: var(--border-2); }

.admin-drawer-dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 16px;
  margin: 0;
  font-size: 14px;
}
.admin-drawer-dl dt { color: var(--text-dim); font-weight: 500; }
.admin-drawer-dl dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.admin-drawer-dl a { color: var(--cyan); text-decoration: underline; }
.admin-drawer-msg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 2px 0 0;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  max-height: 280px;
  overflow-y: auto;
}
.admin-drawer-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text-mute);
  font-size: 12.5px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  overflow-wrap: anywhere;
}

.admin-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.admin-drawer-form .field select {
  min-height: 44px;
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}
.admin-drawer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.admin-btn-delete {
  margin-left: auto;
  border-color: rgba(248,113,113,0.35);
  color: #fca5a5;
}
.admin-btn-delete:hover {
  background: rgba(248,113,113,0.08);
  border-color: rgba(248,113,113,0.55);
}
.admin-drawer-msg-status {
  margin: 0;
  font-size: 13.5px;
  padding: 8px 10px;
  border-radius: 8px;
}
.admin-drawer-msg-err {
  color: #fca5a5;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
}

/* Responsive admin ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .admin-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "date    badge"
      "name    name"
      "company company"
      "email   email";
    gap: 6px 12px;
    padding: 16px;
  }
  .admin-row-date    { grid-area: date; }
  .admin-row-name    { grid-area: name; font-size: 15px; }
  .admin-row-company { grid-area: company; }
  .admin-row-email   { grid-area: email; }
  .admin-row .admin-badge { grid-area: badge; justify-self: end; }
}
@media (max-width: 600px) {
  .admin { padding: 100px 0 60px; }
  .admin-drawer {
    width: 100%;
    border-left: none;
  }
  .admin-drawer::before { display: none; }
  .admin-drawer-inner { padding: 24px 20px 40px; }
  .admin-drawer-dl { grid-template-columns: 1fr; gap: 4px 0; }
  .admin-drawer-dl dt { margin-top: 10px; }
  .admin-toolbar-count { margin-left: 0; width: 100%; }
}
