/* ============================================
   KACHMACH — OBSIDIAN LUXE DESIGN SYSTEM
   "Mes Agents Gèrent."
   ============================================ */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-1: #111111;
  --gray-2: #1a1a1a;
  --gray-3: #333333;
  --gray-4: #666666;
  --gray-5: #999999;
  --green: #00ff88;
  --green-dim: #00cc6a;
  --font: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 15% 85%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1.5px 1.5px at 65% 55%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3), transparent);
  background-size: 200px 200px;
  animation: starsTwinkle 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes starsTwinkle {
  0% { opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { opacity: 0.5; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============ TICKER ============ */
#ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  color: var(--black);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ NAVBAR ============ */
#navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  color: var(--gray-5);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-login {
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 8px 20px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.2s !important;
  letter-spacing: 0.02em;
}
.nav-login:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,255,255,0.2); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ============ HERO ============ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 30, 60, 0.4) 0%, transparent 60%);
}

#globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(0,0,0,0.5));
}

.hero-diamond {
  font-size: 36px;
  margin-bottom: 20px;
  animation: pulse 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.4);
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

#hero h1 {
  font-size: clamp(56px, 12vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(255,255,255,0.9),
    0 0 40px rgba(255,255,255,0.5),
    0 0 80px rgba(255,255,255,0.3),
    0 4px 60px rgba(0,0,0,0.9);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
  text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 2px 30px rgba(0,0,0,0.8);
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  padding: 20px 52px;
  border-radius: 100px;
  transition: transform 0.25s, box-shadow 0.4s;
  animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 40px rgba(255,255,255,0.25); }
}
.btn-primary:hover {
  transform: scale(1.07);
  box-shadow: 0 0 80px rgba(255,255,255,0.35);
  animation: none;
}

.hero-counter {
  margin-top: 48px;
}

.counter-value {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.counter-label {
  font-size: 14px;
  color: var(--gray-5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ============ STATS BAR ============ */
#stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  color: var(--black);
  padding: 32px 0;
}

.stat-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--gray-4);
  margin-top: 4px;
  font-weight: 500;
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-white {
  background: var(--white);
  color: var(--black);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-5);
  margin-bottom: 16px;
  text-align: center;
}
.section-label.dark { color: var(--gray-4); }

.section h2, h2.dark {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
}
h2.dark { color: var(--black); }

/* ============ PROBLEM ============ */
.problem-text {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.punch-line {
  margin: 48px 0 32px;
  padding: 56px 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.punch-line::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,255,136,0.15), transparent 50%, rgba(58,123,213,0.15));
  z-index: -1;
}

.punch-line h3 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.problem-answer {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ============ IC NETWORK ============ */
#ic-network {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 48px 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,255,136,0.03) 0%, transparent 60%);
  border-radius: 24px;
  border: 1px solid rgba(0,255,136,0.06);
  overflow: hidden;
}

#ic-canvas {
  width: 100%;
  height: 100%;
}

.ic-example {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 32px auto;
}

.ic-sub {
  font-size: 15px;
  color: var(--green);
}

.ic-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.ic-stat {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s;
}
.ic-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,136,0.3);
}

.ic-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ic-label {
  display: block;
  font-size: 14px;
  color: var(--gray-5);
}

.ic-quote {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

/* ============ MONEY / COMPARISON ============ */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.comp-col {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.comp-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.comp-before h4 { color: var(--gray-5); }
.comp-after h4 { color: var(--green); }

.comp-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
}
.comp-row:last-child { border-bottom: none; }
.comp-before .comp-row span:last-child { color: var(--gray-5); }
.comp-after .comp-row span:last-child { color: var(--white); font-weight: 600; }

.roi-box {
  max-width: 500px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.roi-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.roi-result { border-bottom: none; padding-top: 16px; font-weight: 700; }
.green { color: var(--green); }
.big { font-size: 32px; font-weight: 900; }

/* ============ LIVE FEED ============ */
.live-feed {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  max-height: 380px;
  overflow: hidden;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: feedIn 0.5s ease;
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
  animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 4px var(--green); }
  50% { box-shadow: 0 0 16px var(--green); }
}

.feed-time {
  font-size: 12px;
  color: var(--gray-5);
  min-width: 80px;
}

.feed-text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.feed-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}

/* ============ STEPS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.step-num {
  font-size: 48px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}
.step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-4);
}

/* ============ DIRECTOR CHAT ============ */
.chat-demo {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  padding: 20px 24px;
  border-radius: 20px;
  max-width: 85%;
  position: relative;
}

.chat-bubble.bot {
  background: var(--gray-2);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: rgba(255,255,255,0.12);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-time {
  display: block;
  font-size: 12px;
  color: var(--gray-5);
  margin-bottom: 6px;
  font-weight: 600;
}

.chat-bubble p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

/* ============ CITIES MAP ============ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.city {
  padding: 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s;
}

.city span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.city.taken {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-5);
}
.city.taken span { color: var(--green-dim); }

.city.free {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
}
.city.free:hover { transform: scale(1.05); border-color: var(--white); }
.city.free span { color: var(--white); font-weight: 700; }

.cities-cta {
  text-align: center;
  font-size: 20px;
  color: rgba(255,255,255,0.7);
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.price-card {
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  text-align: center;
  background: rgba(0,0,0,0.02);
  position: relative;
  transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  border: 2px solid var(--black);
  background: rgba(0,0,0,0.04);
  transform: scale(1.05);
}
.price-card.featured:hover { transform: scale(1.07); }

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.price-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.price {
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 24px;
}
.price span { font-size: 16px; font-weight: 500; color: var(--gray-4); }

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.price-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-4);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.price-card li.green { color: var(--green-dim); font-weight: 600; }

.btn-outline-dark {
  display: inline-block;
  border: 2px solid var(--black);
  color: var(--black);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

.btn-dark {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-dark:hover { transform: scale(1.05); }

.pricing-guarantee {
  text-align: center;
  font-size: 16px;
  color: var(--gray-4);
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-a p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

/* ============ CTA FINAL ============ */
#cta-final {
  text-align: center;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

#globe-mini-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

#cta-final .container { position: relative; z-index: 1; }

.camps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 48px;
}

.camp {
  padding: 32px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.camp-1 {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.camp-2 {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--gray-5);
}

.btn-final {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  padding: 24px 72px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  transition: transform 0.25s, box-shadow 0.4s;
  animation: btnGlow 3s ease-in-out infinite;
  position: relative;
}
.btn-final::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(0,255,136,0.4), rgba(58,123,213,0.4));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-final:hover {
  transform: scale(1.07);
  box-shadow: 0 0 100px rgba(255,255,255,0.35);
  animation: none;
}
.btn-final:hover::after { opacity: 1; }

.final-sub {
  margin-top: 20px;
  font-size: 15px;
  color: var(--gray-5);
}

/* ============ FOOTER ============ */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--gray-5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-legal {
  font-size: 12px;
  color: var(--gray-4);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-4);
}

/* ============ AGENT PIPELINE TIMELINE ============ */
.pipeline-timeline {
  background: rgba(0,0,0,0.4); border: 1px solid rgba(0,255,136,0.12);
  border-radius: 20px; overflow: hidden; margin-bottom: 40px;
}
.pipeline-header {
  display: flex; align-items: center; gap: 12px; padding: 16px 24px;
  background: rgba(0,255,136,0.04); border-bottom: 1px solid rgba(0,255,136,0.08);
}
.pipeline-badge { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.pipeline-badge.live { background: rgba(0,255,136,0.15); color: #00ff88; animation: pulse 2s infinite; }
.pipeline-title { flex: 1; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }
.pipeline-clock { font-size: 13px; font-family: 'Courier New', monospace; color: #00ff88; font-weight: 700; }

.agent-grid { display: flex; flex-direction: column; }

.agent-block {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.03); transition: all 0.3s;
  opacity: 0; transform: translateX(-20px);
}
.agent-block.visible { opacity: 1; transform: translateX(0); }
.agent-block:hover { background: rgba(0,255,136,0.02); }
.agent-block:last-child { border-bottom: none; }

.ab-time {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35);
  min-width: 48px; font-family: 'Courier New', monospace; padding-top: 2px;
}
.ab-icon { font-size: 20px; flex-shrink: 0; }
.ab-body { flex: 1; min-width: 0; }
.ab-agent { font-size: 10px; font-weight: 800; color: #00ff88; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.ab-action { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ab-detail { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.4; }

.ab-status {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 12px;
  white-space: nowrap; flex-shrink: 0;
}
.ab-status.done { background: rgba(0,255,136,0.1); color: #00ff88; }
.ab-status.revenue { background: rgba(255,215,0,0.12); color: #ffd700; }
.ab-status.alert { background: rgba(255,166,0,0.12); color: #ffa600; }
.ab-status.ic { background: rgba(100,100,255,0.12); color: #8888ff; }

.pipeline-footer {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 0;
  border-top: 1px solid rgba(0,255,136,0.08); background: rgba(0,255,136,0.02);
}
.pf-stat {
  text-align: center; padding: 16px 8px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.pf-stat:last-child { border-right: none; }
.pf-stat.highlight { background: rgba(0,255,136,0.06); }
.pf-label { display: block; font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.pf-value { display: block; font-size: 18px; font-weight: 900; color: #fff; }
.pf-stat.highlight .pf-value { color: #00ff88; }

.pipeline-punch {
  text-align: center; font-size: 18px; color: rgba(255,255,255,0.7);
  line-height: 1.6; margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.pipeline-punch strong { color: #fff; }

/* ============ 12 PAIN CARDS ============ */
.pain-solved-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.pain-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 20px 16px; text-align: center;
  transition: all 0.3s;
}
.pain-card:hover { border-color: rgba(0,255,136,0.2); background: rgba(0,255,136,0.02); transform: translateY(-3px); }
.pain-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.pain-card h5 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #fff; }
.pain-card p { margin: 0; font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.4; }

/* ============ 5 SUPER-POWERS ============ */
.powers-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px;
}
.power-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: all 0.3s;
}
.power-card:hover { border-color: rgba(0,255,136,0.25); transform: translateY(-4px); background: rgba(0,255,136,0.03); }
.power-icon { font-size: 40px; margin-bottom: 14px; }
.power-card h4 { margin: 0 0 10px; font-size: 16px; color: #fff; font-weight: 800; }
.power-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin: 0 0 14px; }
.power-stat {
  display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 800;
  background: rgba(0,255,136,0.1); color: #00ff88;
}

/* ============ TEST DES 7 JOURS ============ */
.test-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 700px; margin: 0 auto 40px;
}
.test-item {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; font-size: 14px; color: rgba(255,255,255,0.75);
}
.test-check { font-size: 18px; flex-shrink: 0; }
.test-punch {
  text-align: center; margin-top: 20px; padding: 40px; border-radius: 20px;
  background: rgba(0,255,136,0.03); border: 1px solid rgba(0,255,136,0.1);
}
.test-punch h3 { color: #00ff88; font-size: 28px; margin: 0 0 12px; font-weight: 900; }
.test-punch p { color: rgba(255,255,255,0.6); font-size: 16px; margin: 0; }

/* ============ 5 MODES ============ */
.modes-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px;
}
.mode-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px 18px; text-align: center; transition: all 0.3s;
}
.mode-card.featured { border-color: rgba(0,255,136,0.3); background: rgba(0,255,136,0.04); transform: scale(1.04); }
.mode-card:hover { border-color: rgba(0,255,136,0.2); transform: translateY(-3px); }
.mode-emoji { font-size: 40px; margin-bottom: 12px; }
.mode-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 900; color: #fff; letter-spacing: 0.04em; }
.mode-card > p { font-size: 11px; color: rgba(255,255,255,0.4); margin: 0 0 12px; }
.mode-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 16px; }
.mode-price { font-size: 13px; font-weight: 800; color: #00ff88; }

/* ============ PRICING (extended) ============ */
.guarantee-box {
  display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 24px 28px;
  background: rgba(0,255,136,0.03); border: 1px solid rgba(0,255,136,0.1);
  border-radius: 16px; font-size: 15px; color: rgba(255,255,255,0.7);
}
.guarantee-box strong { color: #fff; }
.guarantee-shield { font-size: 32px; flex-shrink: 0; }

/* ============ FAQ ============ */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 22px 0; background: none; border: none;
  color: #fff; font-size: 17px; font-weight: 700; cursor: pointer;
  font-family: Inter, sans-serif; display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-q::after { content: '+'; font-size: 22px; color: rgba(255,255,255,0.3); transition: all 0.3s; }
.faq-item.open .faq-q::after { content: '−'; color: #00ff88; }
.faq-q:hover { color: #00ff88; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { margin: 0; font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ============ CTA FINAL ============ */
.cta-block {
  text-align: center; padding: 60px 40px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(0,255,136,0.06), rgba(0,100,255,0.04));
  border: 1px solid rgba(0,255,136,0.12);
}
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.6); margin: 16px 0 32px; }
.cta-trust {
  display: flex; justify-content: center; gap: 24px; margin-top: 24px;
  font-size: 14px; color: rgba(255,255,255,0.5);
}

/* ============ FOOTER ============ */
#footer {
  background: rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { margin: 0 0 12px; font-size: 20px; color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; margin: 0 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 14px; font-weight: 700; transition: all 0.2s;
}
.footer-social a:hover { background: rgba(0,255,136,0.1); color: #00ff88; }
.footer-col h5 { margin: 0 0 16px; font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.4);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: #00ff88; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { margin: 0; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: #00ff88; }

/* ============ VOICE OPERATOR SECTION ============ */
.voice-intro {
  font-size: 18px; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 48px; line-height: 1.7;
}
.voice-intro strong { color: #00ff88; }

.voice-examples { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }

.voice-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(0,255,136,0.1);
  border-radius: 20px; padding: 28px 32px; transition: all 0.3s;
}
.voice-card:hover { border-color: rgba(0,255,136,0.3); background: rgba(0,255,136,0.02); transform: translateY(-2px); }

.voice-card-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.voice-sector { font-size: 36px; }
.voice-card-header h4 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.voice-tag { font-size: 12px; color: #00ff88; background: rgba(0,255,136,0.1); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.voice-status { margin-left: auto; font-size: 13px; font-weight: 700; }
.voice-status.live { color: #00ff88; animation: pulse 2s ease-in-out infinite; }

.voice-transcript { display: flex; flex-direction: column; gap: 12px; }
.voice-line { padding: 12px 16px; border-radius: 12px; max-width: 85%; }
.voice-line.agent { background: rgba(0,255,136,0.06); border-left: 3px solid #00ff88; align-self: flex-start; }
.voice-line.patient { background: rgba(255,255,255,0.04); border-left: 3px solid rgba(255,255,255,0.2); align-self: flex-end; }
.voice-speaker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #00ff88; }
.voice-line.patient .voice-speaker { color: rgba(255,255,255,0.5); }
.voice-line p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }

.voice-result { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.result-badge { font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px; }
.result-badge.success { background: rgba(0,255,136,0.15); color: #00ff88; }
.result-badge.revenue { background: rgba(255,215,0,0.12); color: #ffd700; }
.result-badge.time { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }

.voice-stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  background: rgba(0,255,136,0.03); border: 1px solid rgba(0,255,136,0.08); border-radius: 16px; padding: 28px;
}
.vs-stat { text-align: center; }
.vs-num { display: block; font-size: 28px; font-weight: 900; color: #00ff88; margin-bottom: 4px; }
.vs-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ DEMO SECTION ============ */
.demo-sub { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 650px; margin: 0 auto 40px; line-height: 1.6; }

.demo-box {
  max-width: 520px; margin: 0 auto 48px; padding: 36px; border-radius: 24px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(0,255,136,0.12);
  backdrop-filter: blur(20px);
}
.demo-input-group { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.demo-icon { font-size: 24px; width: 40px; text-align: center; }
.demo-input {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px 18px; color: #fff; font-size: 15px; font-family: Inter, sans-serif;
  transition: border-color 0.3s;
}
.demo-input:focus { outline: none; border-color: #00ff88; background: rgba(0,255,136,0.04); }
.demo-input::placeholder { color: rgba(255,255,255,0.3); }

.btn-demo {
  width: 100%; padding: 16px; margin-top: 8px; background: #00ff88; color: #000;
  font-size: 16px; font-weight: 800; border: none; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s; font-family: Inter, sans-serif;
}
.btn-demo:hover { background: #33ffaa; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,255,136,0.3); }
.btn-demo-icon { font-size: 20px; }

.demo-status { text-align: center; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.6); min-height: 20px; }
.demo-status.loading { color: #00ff88; }
.demo-status.success { color: #00ff88; font-weight: 700; }
.demo-status.error { color: #ff4444; }

.demo-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 700px; margin: 0 auto;
}
.demo-step {
  text-align: center; padding: 20px 12px; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.ds-num {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #00ff88; color: #000; width: 22px; height: 22px; border-radius: 50%;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ds-icon { font-size: 32px; margin-bottom: 10px; }
.demo-step p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.4; }

/* ============ DIRECTOR FEATURES ============ */
.director-features {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 40px;
}
.df-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  transition: all 0.3s;
}
.df-item:hover { border-color: rgba(0,255,136,0.2); background: rgba(0,255,136,0.02); }
.df-item span { font-size: 28px; flex-shrink: 0; }
.df-item p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.df-item strong { color: #fff; }

/* ============ FLOATING VOICE ASSISTANT ============ */
.va-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }

.va-toggle {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,255,136,0.4); position: relative;
  transition: transform 0.3s;
}
.va-toggle:hover { transform: scale(1.1); }
.va-icon { font-size: 28px; position: relative; z-index: 2; }
.va-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(0,255,136,0.5); animation: vaPulse 2s ease-out infinite;
}
@keyframes vaPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.va-panel {
  position: absolute; bottom: 80px; right: 0; width: 360px;
  background: rgba(10,10,15,0.96); backdrop-filter: blur(30px);
  border: 1px solid rgba(0,255,136,0.15); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8); display: none;
  overflow: hidden;
}
.va-panel.open { display: block; animation: vaSlide 0.3s ease; }
@keyframes vaSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.va-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: rgba(0,255,136,0.06); border-bottom: 1px solid rgba(0,255,136,0.1);
  font-weight: 700; font-size: 14px; color: #fff;
}
.va-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 18px; cursor: pointer; }
.va-close:hover { color: #fff; }

.va-body { padding: 20px; }
.va-intro { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; line-height: 1.5; }

.va-transcript {
  min-height: 60px; max-height: 120px; overflow-y: auto;
  padding: 12px; background: rgba(255,255,255,0.03); border-radius: 10px;
  margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.7);
}

.va-start {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #000; font-size: 15px; font-weight: 800; border: none; border-radius: 12px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: Inter, sans-serif; transition: all 0.3s;
}
.va-start:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,255,136,0.3); }
.va-start.listening { background: #ff4444; color: #fff; animation: vaListening 1s ease-in-out infinite; }
@keyframes vaListening { 0%,100% { box-shadow: 0 0 0 0 rgba(255,68,68,0.4); } 50% { box-shadow: 0 0 0 12px rgba(255,68,68,0); } }
.va-mic { font-size: 18px; }

.va-quick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.va-quick {
  padding: 8px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; color: rgba(255,255,255,0.7); font-size: 12px; cursor: pointer;
  font-family: Inter, sans-serif; transition: all 0.2s;
}
.va-quick:hover { border-color: #00ff88; color: #00ff88; background: rgba(0,255,136,0.05); }

/* ============ FADE IN ANIMATION ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px); padding: 24px; gap: 16px;
  }

  #hero h1 { font-size: 48px; }
  .section { padding: 80px 0; }
  #stats-bar { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { grid-template-columns: 1fr; }
  .ic-stats { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .camps { grid-template-columns: 1fr; }
  
  .pricing-grid {
    grid-template-columns: 1fr; max-width: 400px;
    margin-left: auto; margin-right: auto;
  }
  .price-card.featured { transform: scale(1); }
  .btn-final { font-size: 18px; padding: 18px 40px; }

  /* Voice section mobile */
  .voice-line { max-width: 95%; }
  .voice-stats-bar { grid-template-columns: repeat(2,1fr); }
  .demo-steps { grid-template-columns: repeat(2,1fr); }
  .director-features { grid-template-columns: 1fr; }
  .voice-result { flex-wrap: wrap; }

  /* Pipeline mobile */
  .pipeline-header { flex-wrap: wrap; }
  .pipeline-footer { grid-template-columns: repeat(3,1fr); }
  .agent-block { padding: 10px 14px; gap: 8px; }
  .ab-time { min-width: 36px; font-size: 9px; }
  .ab-icon { font-size: 16px; }
  .ab-action { font-size: 12px; }
  .ab-detail { font-size: 11px; }
  .ab-status { font-size: 10px; padding: 3px 8px; }
  .pain-solved-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .pain-card { padding: 14px 10px; }
  .pipeline-punch { font-size: 15px; }

  /* Powers & Modes mobile */
  .powers-grid { grid-template-columns: repeat(2,1fr); }
  .modes-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .mode-card.featured { transform: scale(1); }
  .test-results { grid-template-columns: 1fr; }
  .test-punch h3 { font-size: 22px; }

  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .cta-trust { flex-direction: column; gap: 8px; }
  .cta-block { padding: 40px 20px; }
  
  /* Voice assistant mobile */
  .va-panel { width: calc(100vw - 40px); right: -12px; }
  .va-widget { bottom: 16px; right: 16px; }
  .va-toggle { width: 56px; height: 56px; }
}
