/* ============================================================
   ANIMiaPRO — Marketing site (v2, aligned to real product)
   Brand: ANIM (white/dark) + ia (#ff6d00) + PRO (#FFD700)
   Real colors from src/index.css and component files
   ============================================================ */

:root {
  /* Brand palette (from real product) */
  --green-deep: #0F5C38;
  --green-mid: #15693F;
  --green-vivid: #2DB872;
  --green-light: #3DD68C;
  --neon-green: #00c864;
  --neon-teal: #00bcd4;
  --neon-orange: #ff5722;
  --neon-red: #e53935;
  --brand-orange: #ff6d00;
  --brand-gold: #FFD700;
  --brand-gold-2: #fff176;
  --brand-gold-glow: rgba(255,215,0,0.55);
  --mint: #6ee7b7;

  /* AI tool colors (each real tool has its own) */
  --c-soap: #00bcd4;
  --c-symptomes: #00c864;
  --c-assistant: #f4511e;
  --c-stats: #7c4dff;
  --c-rappels: #00c864;
  --c-rdv: #0077c2;
  --c-facturation: #c678ff;
  --c-devis: #7c4dff;
  --c-recouvrement: #3D5AFE;

  /* Flowboard colors (from real Dashboard) */
  --flow-route: #6366F1;
  --flow-attente: #D97706;
  --flow-consult: #0EA5E9;
  --flow-hospit: #DC2626;
  --flow-sortie: #059669;

  /* Roles */
  --role-admin: #c678ff;
  --role-veto: #00c864;
  --role-assistant: #00bcd4;
  --role-supadmin: #ff3d00;

  /* Surfaces */
  --cream: #FAF6F0;
  --cream-mid: #F3EDE4;
  --cream-border: #E8DDD2;
  --border: #E8DDD2;
  --text: #0F1E15;
  --text-mid: #3D5248;
  --text-muted: #7A9086;
  --text-faint: #A8BCAB;
  --white: #FFFFFF;

  /* Dark sidebar */
  --nav-1: #0a1628;
  --nav-2: #11203a;
  --nav-3: #142540;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,30,21,0.04), 0 1px 3px rgba(15,30,21,0.06);
  --shadow-md: 0 4px 12px rgba(15,30,21,0.07), 0 16px 40px rgba(15,30,21,0.12);
  --shadow-lg: 0 12px 24px rgba(15,30,21,0.08), 0 24px 64px rgba(15,30,21,0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --grad-deep: linear-gradient(135deg, #0F5C38 0%, #15693F 50%, #2DB872 100%);
  --grad-accent: linear-gradient(135deg, #00c864 0%, #00bcd4 100%);
  --grad-brand: linear-gradient(135deg, #00bcd4, #00c864, #c678ff);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03', 'tnum';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.005em;
  line-height: 1.55;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; font-variant-numeric: tabular-nums; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(0,200,100,0.25), rgba(0,188,212,0.25)); border-radius: 6px; }
::selection { background: rgba(0,200,100,0.22); color: var(--green-deep); }

/* ========== LAYOUT ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--green-deep);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,92,56,0.06);
  border: 1px solid rgba(15,92,56,0.10);
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}
.section-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}
.section-title { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--text-muted); }

/* ========== ANIMIA WORDMARK ========== */
.am-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.am-mark .anim { color: var(--text); }
.am-mark .ia {
  color: var(--brand-orange);
  text-shadow: 0 0 12px rgba(255,109,0,0.35);
}
.am-mark .pro {
  background: linear-gradient(180deg, #fff7a8 0%, #FFD700 45%, #ffae00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.65)) drop-shadow(0 0 18px rgba(255,200,0,0.35));
  margin-left: 6px;
  font-size: 0.78em;
  font-weight: 900;
  letter-spacing: 0.06em;
  animation: pro-glow 3.2s ease-in-out infinite;
}
@keyframes pro-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(255,215,0,0.65)) drop-shadow(0 0 18px rgba(255,200,0,0.35)); }
  50% { filter: drop-shadow(0 0 14px rgba(255,215,0,0.95)) drop-shadow(0 0 28px rgba(255,200,0,0.55)); }
}
.am-mark.on-dark .anim { color: white; text-shadow: 0 0 12px rgba(0,200,100,0.45); }

/* ANIMIA paw logo */
.am-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F5C38, #15693F);
  border-radius: 22%;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(15,92,56,0.18), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ========== MESH BG ========== */
.mesh-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.mesh-bg::before, .mesh-bg::after, .mesh-bg .blob {
  content: ''; position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  filter: blur(80px); opacity: 0.55;
}
.mesh-bg::before {
  background: radial-gradient(circle, rgba(61,214,140,0.32), transparent 60%);
  top: -200px; left: -200px;
}
.mesh-bg::after {
  background: radial-gradient(circle, rgba(0,188,212,0.18), transparent 60%);
  bottom: -240px; right: -200px;
}
.mesh-bg .blob {
  background: radial-gradient(circle, rgba(255,109,0,0.08), transparent 60%);
  top: 30%; left: 50%; transform: translate(-50%, -50%);
}

.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,200,100,0.10) 1px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15,92,56,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 32px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px;
}
.logo .am-logo { width: 30px; height: 30px; }
.nav-links {
  display: flex; gap: 28px; margin-left: 12px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text); opacity: 0.78;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--green-deep); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  align-items: center; justify-content: center;
}
.nav-hamburger span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.nav-hamburger span::before, .nav-hamburger span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text);
}
.nav-hamburger span::before { top: -5px; }
.nav-hamburger span::after { top: 5px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00c864 0%, #00d4ff 50%, #00c864 100%);
  background-size: 200% 100%;
  color: white;
  box-shadow: 0 4px 12px rgba(0,200,100,0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  box-shadow: 0 8px 24px rgba(0,200,100,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover::after { left: 120%; }

.btn-ghost {
  background: rgba(255,255,255,0.5);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.85); border-color: rgba(15,92,56,0.18); }

.btn-outline-teal {
  background: rgba(255,255,255,0.4);
  color: var(--green-deep);
  border: 1.5px solid rgba(0,188,212,0.4);
}
.btn-outline-teal:hover { background: rgba(0,188,212,0.08); border-color: var(--neon-teal); }

.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 14px; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ========== HERO ========== */
.hero { position: relative; padding: 160px 0 100px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pill {
  background: var(--grad-accent);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
h1.hero-title {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
h1.hero-title .grad {
  color: #ff6d00;
}
.hero-sub {
  font-size: 19px; color: var(--text-muted);
  line-height: 1.55; max-width: 540px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px dashed var(--border);
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
  font-weight: 500;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--green-vivid); }

/* hero mockup — real Dashboard */
.hero-visual { position: relative; perspective: 1600px; }
.hero-mockup {
  position: relative;
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: hero-float 5s var(--ease) infinite;
}
@keyframes hero-float {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(4deg) translateY(-12px); }
}
.mockup-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,92,56,0.10);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.mockup-bar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.mockup-bar .lights { display: flex; gap: 6px; }
.mockup-bar .lights span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-bar .lights span:nth-child(1) { background: #ff5f57; }
.mockup-bar .lights span:nth-child(2) { background: #ffbd2e; }
.mockup-bar .lights span:nth-child(3) { background: #28c93f; }
.mockup-bar .title {
  font-size: 12px; color: var(--text-muted);
  font-weight: 500;
}
.mockup-bar .badge {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(0,200,100,0.1);
  color: var(--green-deep);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}

/* compact dashboard preview in hero */
.mp-weather {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.mp-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700;
  color: #334155;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.mp-pill.strong { font-weight: 800; }
.mp-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.mp-kpi {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid;
  background: white;
  position: relative;
}
.mp-kpi .l { font-size: 9px; color: #6B7280; font-weight: 600; margin-bottom: 4px; }
.mp-kpi .v { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.mp-kpi .d { font-size: 9px; font-weight: 700; margin-top: 4px; }

.mp-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.mp-col {
  border: 1px solid;
  border-radius: 8px;
  padding: 6px 5px;
  min-height: 90px;
}
.mp-col .h {
  font-size: 8.5px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: flex; justify-content: space-between;
}
.mp-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 5px;
  padding: 4px 5px;
  margin-bottom: 3px;
  font-size: 9px;
  position: relative;
}
.mp-card .n { font-weight: 800; font-size: 9.5px; display: flex; align-items: center; gap: 2px; }
.mp-card .p { color: #9CA3AF; font-size: 8.5px; }
.mp-card .dot {
  width: 5px; height: 5px; border-radius: 50%;
  position: absolute; top: 5px; right: 5px;
}

/* floating side cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,92,56,0.10);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(12px);
}
.float-card.fc-top { top: -24px; right: -28px; animation: fc-a 4s var(--ease) infinite; }
.float-card.fc-bot { bottom: 24px; left: -36px; animation: fc-b 4.5s var(--ease) infinite; }
@keyframes fc-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fc-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad-accent);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.float-card.fc-bot .ic { background: linear-gradient(135deg, var(--brand-orange), #ffab40); }
.float-card .sub { font-size: 11px; color: var(--text-muted); font-weight: 500; display: block; margin-top: 2px; }

/* ========== FEATURES ========== */
.features { background: var(--cream); position: relative; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15,92,56,0.08);
  border-radius: 20px;
  padding: 26px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--feat-color, rgba(0,200,100,0.4)), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15,92,56,0.18);
}
.feat-card:hover::before { opacity: 1; }
.feat-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--feat-color) 14%, transparent);
  display: grid; place-items: center;
  color: var(--feat-color, var(--green-deep));
  margin-bottom: 20px;
  border: 1px solid color-mix(in oklab, var(--feat-color) 30%, transparent);
  box-shadow: 0 0 12px color-mix(in oklab, var(--feat-color) 20%, transparent);
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.feat-card .num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.5;
  font-weight: 500;
}
.feat-card.is-ai {
  background: linear-gradient(135deg, rgba(15,92,56,0.95), rgba(10,22,40,0.98));
  color: white;
  border-color: rgba(0,200,100,0.25);
}
.feat-card.is-ai h3 { color: white; }
.feat-card.is-ai p { color: rgba(255,255,255,0.7); }
.feat-card.is-ai .feat-ic {
  background: rgba(0,200,100,0.15);
  border-color: rgba(0,200,100,0.3);
  color: var(--neon-green);
}
.feat-card.is-ai .num { color: rgba(255,255,255,0.4); }

/* ========== AI SECTION (DARK) ========== */
.ai-section {
  background: linear-gradient(180deg, var(--nav-1) 0%, var(--nav-3) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.ai-section .container { position: relative; z-index: 2; }
.ai-section h2 { color: white; }
.ai-section .section-eyebrow {
  background: rgba(0,200,100,0.12);
  border-color: rgba(0,200,100,0.25);
  color: var(--neon-green);
}
.ai-section .section-sub { color: rgba(255,255,255,0.66); }
.ai-section::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  width: 1200px; height: 1200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,200,100,0.18) 0%, transparent 50%);
  filter: blur(80px);
  pointer-events: none;
}

.ai-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* MASCOT — faithful recreation of RobotMascot.jsx */
.mascot-stage {
  position: relative;
  height: 480px;
  display: grid;
  place-items: center;
}
.mascot-card {
  background: rgba(15,92,56,0.18);
  border: 1px solid rgba(0,200,100,0.22);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  width: 340px;
  box-shadow: 0 30px 80px rgba(0,200,100,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}
.mascot-card .hud {
  position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--neon-green);
  pointer-events: none;
}
.mascot-card .hud.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.mascot-card .hud.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.mascot-card .hud.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.mascot-card .hud.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.mascot-status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--neon-green);
  margin-bottom: 16px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mascot-status .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: led-blink 1.6s infinite;
}
@keyframes led-blink { 0%, 80%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.mascot-svg-wrap {
  display: grid; place-items: center;
  position: relative;
  animation: mascot-float 4s var(--ease) infinite;
}
@keyframes mascot-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.mascot-svg {
  width: 280px;
  height: 280px;
}

.mascot-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,200,100,0.2);
}
.mascot-foot .id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.mascot-foot .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--neon-green);
  font-weight: 700;
}

.ai-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 20px;
}
.ai-copy h2 .grad {
  background: linear-gradient(135deg, #00c864, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai-copy p { color: rgba(255,255,255,0.72); font-size: 18px; margin-bottom: 28px; max-width: 520px; line-height: 1.55; }

.ai-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.meta-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 7px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.meta-chip.glow {
  background: rgba(0,200,100,0.10);
  border-color: rgba(0,200,100,0.3);
  color: var(--neon-green);
}
.meta-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }

/* AI tools grid (real 9 tools, each with own color) */
.ai-tools { margin-top: 40px; }

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.ai-tool {
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid color-mix(in oklab, var(--tc) 25%, transparent);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.ai-tool::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tc), transparent);
}
.ai-tool::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, color-mix(in oklab, var(--tc) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.ai-tool:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--tc) 55%, transparent);
  box-shadow: 0 8px 30px color-mix(in oklab, var(--tc) 18%, transparent);
}
.ai-tool .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--tc) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--tc) 30%, transparent);
  display: grid; place-items: center;
  color: var(--tc);
  margin-bottom: 14px;
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--tc) 50%, transparent));
}
.ai-tool .meta {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--tc) 85%, white);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.ai-tool .meta .n {
  background: color-mix(in oklab, var(--tc) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--tc) 30%, transparent);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 8.5px;
}
.ai-tool h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.ai-tool p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.ai-tool .powered {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
}
.ai-tool .powered::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tc);
  box-shadow: 0 0 4px var(--tc);
}

.models-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-top: 32px;
}
.models-row .models {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
}
.models-row .models span { display: inline-flex; align-items: center; gap: 6px; }
.models-row .models span::before { content: '·'; color: rgba(255,255,255,0.3); }
.models-row .models span:first-child::before { display: none; }
.models-row .models span:first-child { color: rgba(255,255,255,0.8); font-weight: 600; }
.cost-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0,200,100,0.12);
  border: 1px solid rgba(0,200,100,0.3);
  color: var(--neon-green);
}

/* ========== DASHBOARD SHOWCASE ========== */
.dash-section { background: var(--cream); position: relative; overflow: hidden; }
.dash-section .container { position: relative; z-index: 2; }
.dash-wrap { position: relative; perspective: 2600px; }
.dash-mockup {
  position: relative;
  transform: rotateX(6deg) rotateY(-2deg);
  transform-style: preserve-3d;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(15,92,56,0.18), 0 12px 32px rgba(15,92,56,0.12);
  background: white;
  border: 1px solid rgba(15,92,56,0.10);
}
.dash-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.dash-titlebar .lights { display: flex; gap: 6px; }
.dash-titlebar .lights span { width: 11px; height: 11px; border-radius: 50%; }
.dash-titlebar .lights span:nth-child(1) { background: #ff5f57; }
.dash-titlebar .lights span:nth-child(2) { background: #ffbd2e; }
.dash-titlebar .lights span:nth-child(3) { background: #28c93f; }
.dash-titlebar .t { font-size: 11px; color: var(--text-muted); font-weight: 500; font-family: 'JetBrains Mono', monospace; }
.dash-titlebar .who {
  margin-left: auto;
  font-size: 11px; color: var(--text-muted); font-weight: 600;
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 660px;
}

/* ── Sidebar (dark navy from real app) ── */
.dash-side {
  background: linear-gradient(180deg, var(--nav-1) 0%, var(--nav-2) 50%, var(--nav-3) 100%);
  color: rgba(255,255,255,0.8);
  padding: 14px 10px;
  position: relative;
  overflow: hidden;
}
.dash-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110,231,183,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,231,183,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.dash-side > * { position: relative; z-index: 1; }
.cab-card {
  padding: 12px;
  border-bottom: 1px solid rgba(110,231,183,0.10);
  margin: 0 -10px 10px;
}
.cab-cap {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; padding: 0 6px;
}
.cab-cap .l {
  font-size: 8.5px; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cab-cap .open {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.08em;
}
.cab-cap .open::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px rgba(110,231,183,0.7);
}
.cab-info {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(110,231,183,0.12);
}
.cab-info .am-logo { width: 30px; height: 30px; }
.cab-info .am-logo svg { width: 70%; height: 70%; }
.cab-info .body { min-width: 0; }
.cab-info .n { font-size: 12px; font-weight: 700; color: white; }
.cab-info .s { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 1px; }

.side-search {
  position: relative;
  margin-bottom: 12px;
}
.side-search input {
  width: 100%;
  padding: 7px 10px 7px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-family: inherit;
  outline: none;
}
.side-search input::placeholder { color: rgba(255,255,255,0.35); }
.side-search::before {
  content: '';
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 11px; height: 11px;
  background: rgba(255,255,255,0.35);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='8' fill='none' stroke='black' stroke-width='2'/><line x1='21' y1='21' x2='16.65' y2='16.65' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='8' fill='none' stroke='black' stroke-width='2'/><line x1='21' y1='21' x2='16.65' y2='16.65' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
}

.side-cap-h {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 8px;
}
.side-cap-h .l {
  font-size: 8.5px; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.side-cap-h .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(110,231,183,0.18), transparent);
}

.side-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.side-nav li {
  display: flex; align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.side-nav li:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.9); }
.side-nav li.active {
  background: rgba(255,255,255,0.06);
  color: white;
  font-weight: 600;
}
.side-nav li.active::before {
  content: '';
  position: absolute;
  left: -2px; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--nav-color);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px var(--nav-color);
}
.side-nav li .ic {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.side-nav li.active .ic {
  background: color-mix(in oklab, var(--nav-color) 14%, transparent);
  border-color: color-mix(in oklab, var(--nav-color) 35%, transparent);
  color: var(--nav-color);
}
.side-nav li .ic svg {
  width: 13px; height: 13px;
  color: rgba(255,255,255,0.55);
}
.side-nav li.active .ic svg { color: var(--nav-color); }
.side-nav li .badge {
  margin-left: auto;
  font-size: 9px; font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  background: color-mix(in oklab, var(--nav-color) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--nav-color) 40%, transparent);
  color: var(--nav-color);
  min-width: 16px;
  text-align: center;
}

.side-divider { height: 1px; background: rgba(110,231,183,0.10); margin: 12px 6px; }

.side-user-card {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(110,231,183,0.14);
}
.side-user-card .av {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #c678ff, #6200ea);
  display: grid; place-items: center;
  color: white; font-size: 10px; font-weight: 800;
  flex-shrink: 0;
  position: relative;
}
.side-user-card .av::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--nav-1);
  box-shadow: 0 0 6px rgba(110,231,183,0.6);
}
.side-user-card .body { min-width: 0; flex: 1; }
.side-user-card .n { font-size: 12px; font-weight: 700; color: white; }
.side-user-card .r { font-size: 9.5px; color: rgba(255,255,255,0.55); margin-top: 1px; }

/* ── Main dashboard area ── */
.dash-main {
  padding: 16px 18px;
  background: white;
  overflow: hidden;
}

.dash-titletop {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.dash-titletop .title {
  font-size: 18px; font-weight: 800;
  margin-right: 6px;
}
.weather-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700;
  color: #334155;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
}
.weather-pill.strong { font-weight: 800; }
.dash-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #00c864, #0F5C38);
  border: 1px solid rgba(0,200,100,0.5);
  color: white;
  border-radius: 8px;
  font-size: 11px; font-weight: 700;
}

.quick-row {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 12px;
}
.quick {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  background: #F8FAFC;
  border: 1px solid #DDE4EC;
  border-radius: 8px;
  font-size: 11px; font-weight: 700;
  color: #334155;
}
.quick svg { width: 11px; height: 11px; }
.quick.urgent {
  background: rgba(220,38,38,0.08);
  border-color: rgba(220,38,38,0.3);
  color: #B91C1C;
}

/* Financial bar (admin) — 6 KPIs */
.fin-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.fin-kpi {
  background: white;
  border: 1px solid #DDE4EC;
  border-radius: 10px;
  padding: 9px 10px;
  position: relative;
}
.fin-kpi .top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.fin-kpi .top svg { width: 12px; height: 12px; color: var(--fc); }
.fin-kpi .trend {
  font-size: 8.5px; font-weight: 800;
}
.fin-kpi .trend.up { color: #059669; }
.fin-kpi .trend.down { color: #DC2626; }
.fin-kpi .v {
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.1;
}
.fin-kpi .l {
  font-size: 9px; color: #9CA3AF;
  margin-top: 2px;
  line-height: 1.3;
}

/* Flowboard — 5 columns */
.flowboard {
  background: white;
  border: 1px solid #DDE4EC;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.flowboard-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.flowboard-hdr .l {
  display: flex; align-items: center; gap: 7px;
}
.flowboard-hdr .l svg { color: #0F766E; width: 13px; height: 13px; }
.flowboard-hdr .t { font-size: 12px; font-weight: 800; color: #111827; }
.flowboard-hdr .pill {
  font-size: 9.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(16,185,129,0.1);
  color: #047857;
}
.flowboard-hdr .a {
  font-size: 10px; font-weight: 700; color: #0F766E;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.flow-col {
  background: color-mix(in oklab, var(--col) 7%, transparent);
  border: 1px solid color-mix(in oklab, var(--col) 25%, transparent);
  border-radius: 9px;
  padding: 7px;
  min-height: 200px;
}
.flow-col .h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.flow-col .h .lbl {
  font-size: 8.5px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--col);
}
.flow-col .h .ct {
  font-size: 9px; font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--col) 25%, transparent);
  color: var(--col);
}
.fcard {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 7px;
  padding: 6px 8px;
  margin-bottom: 5px;
  position: relative;
  font-size: 10.5px;
}
.fcard .top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.fcard .name {
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; gap: 3px;
  color: #111827;
}
.fcard .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0; margin-top: 3px;
}
.fcard .dot.urgent { background: #DC2626; }
.fcard .dot.warn { background: #D97706; }
.fcard .dot.ok { background: #10B981; }
.fcard .p { font-size: 9.5px; color: #6B7280; margin-top: 1px; }
.fcard .motif { font-size: 9.5px; color: #9CA3AF; }
.fcard .wait {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 700;
  margin-top: 3px;
}
.fcard .wait.long { color: #DC2626; }
.fcard .wait.med { color: #D97706; }
.fcard .wait.ok { color: #6B7280; }
.fcard .etat {
  font-size: 8.5px; font-weight: 700;
  margin-top: 2px;
}
.fcard .etat.surveil { color: #D97706; }
.fcard .etat.critical { color: #DC2626; }
.fcard .etat.stable { color: #10B981; }
.fcard .sort { font-size: 9px; color: #10B981; font-weight: 700; margin-top: 2px; }

/* Triple-panel grid bottom */
.dash-panels {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 10px;
}
.panel {
  background: white;
  border: 1px solid #DDE4EC;
  border-radius: 11px;
  padding: 11px;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.panel .ph {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.panel .pt { font-size: 12px; font-weight: 800; color: #111827; }
.panel .pa { font-size: 10px; font-weight: 700; color: #0F766E; }

.rdv-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid #EEF1F4;
  font-size: 11px;
}
.rdv-item:last-child { border-bottom: none; }
.rdv-item .h { font-weight: 700; font-size: 10.5px; padding-top: 1px; }
.rdv-item .body { min-width: 0; }
.rdv-item .n {
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}
.rdv-item .tag {
  font-size: 8px; font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
}
.rdv-item .tag.urgent { background: rgba(220,38,38,0.12); color: #DC2626; }
.rdv-item .tag.surveil { background: rgba(217,119,6,0.12); color: #D97706; }
.rdv-item .sub { font-size: 9.5px; color: #6B7280; }

.fill-gauge {
  margin-top: 8px;
  padding: 8px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #EEF1F4;
}
.fill-gauge .row {
  display: flex; justify-content: space-between;
  font-size: 10px;
  margin-bottom: 4px;
}
.fill-gauge .row .name { font-weight: 700; color: #374151; }
.fill-gauge .row .v { font-weight: 800; color: #0F766E; }
.fill-gauge .bar { height: 5px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.fill-gauge .bar > div { height: 100%; background: linear-gradient(90deg, #0F766E, #10B981); border-radius: 999px; }

.alert-block { margin-bottom: 10px; }
.alert-block .h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.alert-block .h .l {
  font-size: 10.5px; font-weight: 800; color: #374151;
  display: flex; align-items: center; gap: 5px;
}
.alert-block .item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 7px;
  border-radius: 7px;
  margin-bottom: 3px;
  font-size: 10.5px;
}
.alert-block .item.stock { background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.28); }
.alert-block .item.stock .name { color: #92400E; font-weight: 700; }
.alert-block .item.stock .qty { font-size: 9px; background: rgba(220,38,38,0.1); color: #DC2626; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
.alert-block .item.exp { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.22); }
.alert-block .item.exp .name { color: #B91C1C; font-weight: 700; }
.alert-block .item.exp .date { font-size: 9px; color: #9CA3AF; }
.alert-block .item.vacc { background: rgba(109,40,217,0.05); border: 1px solid rgba(109,40,217,0.15); }
.alert-block .item.vacc .name { color: #1F2937; font-weight: 700; font-size: 11px; }
.alert-block .item.vacc .sub { font-size: 9.5px; color: #9CA3AF; }
.alert-block .item.vacc .late { font-size: 8.5px; color: #DC2626; font-weight: 800; }

.todo-input {
  display: flex; gap: 5px;
  margin-bottom: 8px;
}
.todo-input input {
  flex: 1;
  padding: 6px 9px;
  border: 1px solid #D9E0E8;
  border-radius: 7px;
  font-size: 11px;
  background: #F8FAFC;
  outline: none;
}
.todo-input button {
  border: 1px solid #D9E0E8;
  background: white;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11px;
}
.todo-list { display: flex; flex-direction: column; gap: 4px; }
.todo-item {
  display: flex; align-items: center; gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E3E8EF;
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 11px;
}
.todo-item.done { color: #9CA3AF; text-decoration: line-through; }
.todo-item .cb {
  width: 12px; height: 12px;
  border: 1.5px solid #D9E0E8;
  border-radius: 3px;
  flex-shrink: 0;
}
.todo-item.done .cb { background: var(--neon-green); border-color: var(--neon-green); }

/* ========== ROLES ========== */
.roles-section { background: var(--cream); }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,92,56,0.08);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(14px);
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--role-color);
  opacity: 0.9;
}
.role-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--role-color), transparent 60%);
  opacity: 0.08;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.role-card:hover::after { opacity: 0.18; }

.role-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: color-mix(in oklab, var(--role-color) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--role-color) 30%, transparent);
  color: var(--role-color);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.role-badge .led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--role-color);
  box-shadow: 0 0 8px var(--role-color);
}

.role-user {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.role-user .av {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: white; font-size: 12px; font-weight: 800;
  background: var(--role-avatar);
  box-shadow: 0 4px 14px color-mix(in oklab, var(--role-color) 30%, transparent);
}
.role-user .n { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.role-user .r { font-size: 12px; color: var(--text-muted); }

.role-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.perm-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.perm-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.perm-list li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--role-color) 15%, transparent);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.perm-list li .check svg { width: 10px; height: 10px; color: var(--role-color); }

/* PIN switch demo */
.role-pin-demo {
  margin-top: 56px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(15,92,56,0.04), rgba(0,188,212,0.04));
  border: 1px solid rgba(15,92,56,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.role-pin-demo .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-deep);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.role-pin-demo .body { flex: 1; min-width: 200px; }
.role-pin-demo .t { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.role-pin-demo .s { font-size: 14px; color: var(--text-muted); }
.role-pin-demo .pinpad {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  gap: 6px;
}
.role-pin-demo .pinpad .k {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ========== PLATFORM ========== */
.platform-section { background: var(--cream-mid); position: relative; overflow: hidden; }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.platform-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.pl-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green-deep);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: rgba(15,92,56,0.06);
  border: 1px solid rgba(15,92,56,0.12);
  border-radius: 999px;
}
.pl-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}
.platform-card h3 { font-size: 24px; margin-bottom: 12px; }
.platform-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}
.pl-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pl-badge {
  padding: 4px 10px;
  background: rgba(15,92,56,0.06);
  border: 1px solid rgba(15,92,56,0.12);
  border-radius: 7px;
  font-size: 10.5px; font-weight: 600;
  color: var(--green-deep);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

/* OS mockup */
.os-mockup {
  background: linear-gradient(180deg, var(--cream), var(--cream-mid));
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 10px;
  margin-bottom: 16px;
}
.os-tb { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.os-tb span { width: 8px; height: 8px; border-radius: 50%; }
.os-tb span:nth-child(1) { background: #ff5f57; }
.os-tb span:nth-child(2) { background: #ffbd2e; }
.os-tb span:nth-child(3) { background: #28c93f; }
.os-tb .t { font-size: 10px; margin-left: auto; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.os-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px;
  min-height: 150px;
}
.os-sidebar {
  background: linear-gradient(180deg, var(--nav-1), var(--nav-3));
  border-radius: 7px;
  padding: 8px 6px;
}
.os-sidebar .item {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px;
  border-radius: 5px;
  margin-bottom: 3px;
}
.os-sidebar .item.active { background: rgba(255,255,255,0.08); }
.os-sidebar .ic {
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--os-ic);
}
.os-sidebar .lbl {
  font-size: 8.5px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.os-sidebar .item.active .lbl { color: white; }
.os-content {
  background: white;
  border-radius: 7px;
  padding: 10px;
}
.os-content .line {
  height: 6px;
  background: var(--cream-mid);
  border-radius: 3px;
  margin-bottom: 5px;
}
.os-content .line.short { width: 60%; }
.os-content .line.accent { background: linear-gradient(90deg, var(--green-light), var(--neon-teal)); width: 40%; }

/* phone */
.phone-mockup {
  background: var(--text);
  border-radius: 28px;
  padding: 8px;
  margin: 0 auto 16px;
  width: 200px;
  box-shadow: var(--shadow-md);
  border: 3px solid #1a2620;
}
.phone-screen {
  background: var(--cream);
  border-radius: 22px;
  padding: 28px 12px 12px;
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--text);
  border-radius: 0 0 10px 10px;
}
.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 12px;
}
.phone-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 11px;
}
.phone-card .t { font-weight: 800; font-size: 11px; }
.phone-card .s { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.phone-card .row { display: flex; justify-content: space-between; align-items: center; }
.phone-card .pill {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0,200,100,0.12);
  color: var(--green-deep);
  font-weight: 800;
}
.phone-card .pill.warn { background: rgba(255,87,34,0.12); color: var(--neon-orange); }
.phone-card .pill.urgent { background: rgba(229,57,53,0.12); color: var(--neon-red); }

.security-callout {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(15,92,56,0.06), rgba(0,188,212,0.04));
  border: 1px solid rgba(15,92,56,0.12);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex; align-items: center; gap: 20px;
}
.security-callout .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-deep);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.security-callout .body .t { font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.security-callout .body .s { font-size: 13px; color: var(--text-muted); }

/* ========== FINAL CTA ========== */
.final-cta {
  background: linear-gradient(135deg, #07140d 0%, var(--green-deep) 60%, #0f3a25 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,200,100,0.25) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 2; text-align: center; }
.final-cta h2 {
  color: white;
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}
.final-cta h2 .grad {
  background: linear-gradient(135deg, #00c864, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-cta > .container > p {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 36px;
}
.final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-contact {
  margin-top: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.final-contact a { color: var(--neon-green); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 16px;
}
.footer-bar .links { display: flex; gap: 22px; }
.footer-bar a:hover { color: var(--neon-green); }

/* ========== LEGAL PAGES ========== */
.legal-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(250,246,240,0) 300px),
    var(--cream);
}
.legal-nav {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-logo {
  flex-shrink: 0;
}
.legal-nav .am-logo {
  width: 34px;
  height: 34px;
  overflow: hidden;
}
.legal-nav .am-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legal-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 650;
}
.legal-nav-links a:not(.btn):hover {
  color: var(--green-deep);
}
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 46px 28px 58px;
}
.legal-hero {
  max-width: 760px;
  margin-bottom: 28px;
}
.legal-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.legal-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  margin-bottom: 12px;
}
.legal-lead {
  max-width: 720px;
  color: var(--text-mid);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.55;
}
.legal-updated {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.legal-panel {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  margin-top: 14px;
  box-shadow: 0 1px 2px rgba(15,30,21,0.035);
}
.legal-panel h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.legal-panel h3 {
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--green-deep);
}
.legal-panel p {
  color: var(--text-mid);
}
.legal-panel p + p,
.legal-panel p + ul,
.legal-panel ul + p,
.legal-panel p + .legal-table-wrap {
  margin-top: 12px;
}
.legal-panel ul {
  padding-left: 20px;
  color: var(--text-mid);
}
.legal-panel li + li {
  margin-top: 8px;
}
.legal-panel a,
.legal-footer a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(15,92,56,0.24);
  text-underline-offset: 3px;
}
.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.legal-info-grid div,
.legal-summary-grid div {
  background: rgba(250,246,240,0.58);
  border: 1px solid rgba(232,221,210,0.9);
  border-radius: 8px;
  padding: 13px 14px;
}
.legal-info-grid span,
.legal-summary-grid span {
  display: block;
}
.legal-info-grid span {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-info-grid strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
.legal-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-orange);
  background: rgba(255,109,0,0.06);
  color: var(--text-mid);
  font-size: 14px;
}
.legal-summary {
  border-color: rgba(0,200,100,0.18);
  background: rgba(255,255,255,0.88);
}
.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.legal-summary-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}
.legal-summary-grid span {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.45;
}
.legal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.legal-columns > div {
  background: rgba(250,246,240,0.65);
  border: 1px solid rgba(232,221,210,0.9);
  border-radius: 8px;
  padding: 18px;
}
.legal-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.56);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.legal-table tr:last-child td {
  border-bottom: 0;
}
.legal-table th {
  color: var(--green-deep);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(15,92,56,0.045);
}
.legal-table td {
  color: var(--text-mid);
}
.legal-footer {
  max-width: 860px;
  margin: 0 auto 42px;
  padding: 24px 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.legal-footer a[aria-current="page"] {
  color: var(--text);
  text-decoration-color: rgba(15,30,21,0.28);
}

@media (max-width: 760px) {
  .legal-nav {
    align-items: center;
    padding: 16px;
    gap: 14px;
  }
  .legal-nav-links {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .legal-nav-links a:not(.btn) { display: none; }
  .legal-nav-links .btn {
    width: auto;
    justify-content: center;
    padding: 10px 13px;
  }
  .legal-page {
    padding: 30px 16px 44px;
  }
  .legal-kicker {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .legal-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }
  .legal-lead {
    font-size: 15.5px;
  }
  .legal-info-grid,
  .legal-summary-grid,
  .legal-columns {
    grid-template-columns: 1fr;
  }
  .legal-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .legal-table,
  .legal-table thead,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }
  .legal-table thead {
    display: none;
  }
  .legal-table tr {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
    overflow: hidden;
  }
  .legal-table tr + tr {
    margin-top: 10px;
  }
  .legal-table td {
    border: 0;
    padding: 11px 13px;
  }
  .legal-table td + td {
    border-top: 1px solid var(--border);
  }
  .legal-table td::before {
    display: block;
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-deep);
  }
  .legal-table td:first-child::before {
    content: 'Sujet';
  }
  .legal-table td:nth-child(2)::before {
    content: 'Détail';
  }
  .legal-footer {
    margin-bottom: 28px;
    padding: 22px 16px 0;
  }
}

.azurnova {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.10em;
}
.azurnova .name {
  background: linear-gradient(90deg, #00bcd4, #00c864, #c678ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: 0.2em;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.stagger.in > * { opacity: 1; transform: translateY(0) scale(1); }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.in > *:nth-child(9) { transition-delay: 0.61s; }

/* ========== VPS WEB APP SHOWCASE ========== */
.vps-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 32px;
}

.vps-browser {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,92,56,0.16), 0 12px 32px rgba(15,92,56,0.10);
  position: relative;
}
.vps-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.vps-chrome .lights { display: flex; gap: 6px; }
.vps-chrome .lights span { width: 11px; height: 11px; border-radius: 50%; }
.vps-chrome .lights span:nth-child(1) { background: #ff5f57; }
.vps-chrome .lights span:nth-child(2) { background: #ffbd2e; }
.vps-chrome .lights span:nth-child(3) { background: #28c93f; }
.vps-url {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}
.vps-url .sch { color: #059669; font-weight: 700; }
.vps-url .host { color: var(--text); font-weight: 600; }
.vps-url .tls {
  margin-left: auto;
  font-size: 9.5px;
  background: rgba(5,150,105,0.10);
  color: #059669;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.vps-chrome .tab-actions { display: flex; gap: 4px; }
.vps-chrome .tab-actions .dot { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }

.vps-stack {
  padding: 28px;
  background: linear-gradient(180deg, #fafbff 0%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
}
.vps-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,92,56,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,92,56,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
}
.vps-stack > * { position: relative; z-index: 1; }

.vps-layer {
  background: white;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15,92,56,0.06);
}
.vps-layer.client { background: linear-gradient(135deg, #fff, var(--cream)); }
.vps-layer .layer-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0,188,212,0.12);
  color: #00838f;
  margin-bottom: 4px;
}
.vps-layer .layer-name { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.vps-layer .layer-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.layer-viz { display: flex; gap: 6px; }
.layer-viz .hex {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #fff, var(--cream));
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 10px;
  color: var(--text-muted);
}

.vps-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
}
.vps-link .line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-teal), transparent);
  background-size: 200% 100%;
  animation: link-flow 3s linear infinite;
  border-radius: 1px;
  position: relative;
}
.vps-link .line::after {
  content: '';
  position: absolute;
  top: -2px; bottom: -2px;
  left: 0; right: 0;
  background: inherit;
  background-size: 200% 100%;
  animation: link-flow 3s linear infinite;
  filter: blur(4px);
  opacity: 0.6;
}
@keyframes link-flow {
  0% { background-position: 200% 50%; }
  100% { background-position: -200% 50%; }
}
.vps-link .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(0,200,100,0.3);
  color: var(--green-deep);
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(0,200,100,0.18);
}

.vps-layer.server {
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, #0a1628 0%, #11203a 100%);
  border-color: rgba(110,231,183,0.20);
  color: white;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.server-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: 600px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,200,100,0.15), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.server-rows { position: relative; z-index: 1; }
.server-hdr {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
}
.server-hdr .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: led-blink 1.6s infinite;
}
.server-hdr .name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.005em;
}
.server-hdr .loc {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.unit {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(110,231,183,0.14);
  border-radius: 9px;
  padding: 9px 10px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.unit:hover {
  border-color: rgba(110,231,183,0.4);
  background: rgba(110,231,183,0.05);
  transform: translateY(-1px);
}
.unit .u-name { font-size: 12px; font-weight: 700; color: white; letter-spacing: -0.01em; }
.unit .u-meta { font-size: 9.5px; color: rgba(255,255,255,0.45); margin-top: 1px; }
.unit .u-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--mint);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

.server-foot {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 6px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(110,231,183,0.10);
}
.server-foot .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.server-foot .bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.server-foot .bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-teal));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,200,100,0.5);
}
.server-foot .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.vps-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.spec {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.spec::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sc), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.spec:hover {
  border-color: color-mix(in oklab, var(--sc) 35%, var(--border));
  box-shadow: 0 8px 24px color-mix(in oklab, var(--sc) 15%, transparent);
  transform: translateX(4px);
}
.spec:hover::before { opacity: 1; }
.sp-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--sc) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--sc) 30%, transparent);
  color: var(--sc);
  display: grid; place-items: center;
  margin-bottom: 10px;
  box-shadow: 0 0 12px color-mix(in oklab, var(--sc) 18%, transparent);
}
.sp-t { font-size: 15px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 4px; }
.sp-s { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* ========== EXTRA PRO EFFECTS ========== */

/* Animated mesh on hero */
.hero .mesh-bg::before {
  animation: mesh-drift-a 14s ease-in-out infinite;
}
.hero .mesh-bg::after {
  animation: mesh-drift-b 18s ease-in-out infinite;
}
.hero .mesh-bg .blob {
  animation: mesh-drift-c 16s ease-in-out infinite;
}
@keyframes mesh-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(40px, 30px) scale(1.08); opacity: 0.7; }
}
@keyframes mesh-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-30px, -20px) scale(1.05); opacity: 0.65; }
}
@keyframes mesh-drift-c {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-45%, -55%) scale(1.12); }
}

/* Subtle scan line on dark sections */
.ai-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,200,100,0.4), transparent);
  animation: scan-h 14s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scan-h {
  from { transform: translateY(0); }
  to { transform: translateY(100vh); }
}

/* Mockup card subtle inner glow */
.mockup-card::after {
  content: '';
  position: absolute;
  top: -2px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-teal), transparent);
  opacity: 0.5;
}

/* Section-title shimmer on grad text */
h1.hero-title .grad {
  background-size: 200% 100%;
  animation: title-shimmer 8s ease-in-out infinite;
}
@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Feature card sweep on hover */
.feat-card {
  position: relative;
}
.feat-card .sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 0.8s var(--ease);
}
.feat-card:hover .sweep {
  transform: translateX(100%);
}

/* AI tool: inner border-flow on hover */
.ai-tool {
  position: relative;
}
.ai-tool::before {
  background: linear-gradient(90deg, transparent, var(--tc), var(--tc), transparent);
  background-size: 200% 100%;
  background-position: -200% 50%;
  transition: background-position 1.2s var(--ease);
}
.ai-tool:hover::before {
  background-position: 200% 50%;
}

/* Status indicator pulse */
.section-eyebrow::before {
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--neon-green); transform: scale(1); }
  50% { box-shadow: 0 0 16px var(--neon-green), 0 0 28px rgba(0,200,100,0.4); transform: scale(1.15); }
}

/* CTA button: animated gradient */
.btn-primary {
  background-size: 200% 100%;
  animation: btn-shift 5s ease-in-out infinite;
}
@keyframes btn-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating decorative particles in hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 1px, rgba(0,200,100,0.4) 1px, transparent 1.5px),
    radial-gradient(circle 1px, rgba(0,188,212,0.3) 1px, transparent 1.5px);
  background-size: 240px 240px, 320px 320px;
  background-position: 0 0, 120px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 80% 50%, black, transparent 70%);
  opacity: 0.5;
  z-index: 1;
}

/* Mascot card pulsing border */
.mascot-card {
  animation: mascot-card-pulse 4s ease-in-out infinite;
}
@keyframes mascot-card-pulse {
  0%, 100% {
    box-shadow: 0 30px 80px rgba(0,200,100,0.18), 0 0 0 1px rgba(0,200,100,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
  }
  50% {
    box-shadow: 0 30px 90px rgba(0,200,100,0.28), 0 0 0 1px rgba(0,200,100,0.45), 0 0 40px rgba(0,200,100,0.18), inset 0 1px 0 rgba(255,255,255,0.10);
  }
}

/* Dashboard mockup hover lift */
.dash-mockup {
  transition: transform 0.6s var(--ease);
}
.dash-wrap:hover .dash-mockup {
  transform: rotateX(4deg) rotateY(-1deg) translateY(-8px);
}

/* Role card: more pronounced hover glow */
.role-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.role-card:hover {
  border-color: color-mix(in oklab, var(--role-color) 35%, transparent);
  box-shadow: var(--shadow-md), 0 0 32px color-mix(in oklab, var(--role-color) 15%, transparent);
}

/* HUD scan lines on AI section */
.ai-section .dot-grid {
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 20%, transparent 80%);
}

/* Final CTA: pulsing radial glow */
.final-cta::before {
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* Navbar: subtle border-bottom shimmer */
.navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,100,0.4), rgba(0,188,212,0.3), transparent);
}

/* ========== ENCYCLOPEDIA + MODULAR (in AI section) ========== */
.encyclo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}
.encyclo-card {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(15, 92, 56, 0.18) 100%);
  border: 1px solid rgba(0, 200, 100, 0.20);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  color: white;
  transition: all 0.4s var(--ease);
}
.encyclo-card.knowledge::before,
.encyclo-card.modular::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-green) 30%, var(--neon-teal) 70%, transparent);
  background-size: 200% 100%;
  animation: header-flow 5s linear infinite;
}
.encyclo-card.modular::before {
  background: linear-gradient(90deg, transparent, var(--neon-teal) 30%, #c678ff 70%, transparent);
  background-size: 200% 100%;
}
@keyframes header-flow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.encyclo-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,100,0.12), transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.6;
  transition: opacity 0.6s var(--ease);
}
.encyclo-card.modular::after {
  background: radial-gradient(circle, rgba(0,188,212,0.14), transparent 60%);
}
.encyclo-card:hover {
  border-color: rgba(0, 200, 100, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,200,100,0.18);
}
.encyclo-card:hover::after { opacity: 1; }
.encyclo-card .hud {
  position: absolute; width: 16px; height: 16px;
  border: 1.5px solid rgba(0,200,100,0.5);
  pointer-events: none;
}
.encyclo-card .hud.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.encyclo-card .hud.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.encyclo-card .hud.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.encyclo-card .hud.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.encyclo-card.modular .hud { border-color: rgba(0,188,212,0.5); }

.encyclo-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.encyclo-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--ec) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--ec) 35%, transparent);
  color: var(--ec);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px color-mix(in oklab, var(--ec) 24%, transparent);
}
.encyclo-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--neon-green);
  margin-bottom: 6px;
  font-weight: 700;
}
.encyclo-card h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.encyclo-card > p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
  position: relative; z-index: 2;
}

.encyclo-grid-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.stat-cell {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,200,100,0.18);
  border-radius: 11px;
  padding: 12px 11px;
  transition: all 0.3s var(--ease);
}
.stat-cell:hover {
  background: rgba(0,200,100,0.06);
  border-color: rgba(0,200,100,0.45);
}
.stat-cell .sv {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-cell .sl {
  font-size: 10.5px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 4px;
}
.stat-cell .sm {
  font-size: 8.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* Dose calculator preview */
.dose-calc {
  background: #04130a;
  border: 1px solid rgba(0,200,100,0.22);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
}
.dose-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(0,200,100,0.15);
}
.dose-cap {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.dose-tag {
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.dose-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.mol-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 2px;
}
.mol-meta {
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
}
.dose-result { text-align: right; }
.dose-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.dose-min { color: var(--neon-green); }
.dose-sep { color: rgba(255,255,255,0.4); font-size: 14px; }
.dose-max { color: var(--neon-teal); }
.dose-unit { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; margin-left: 4px; }
.dose-foot {
  font-size: 9.5px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.dose-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.dose-warn {
  color: #ffb300;
  margin-right: 4px;
}

/* Modular: prompt card */
.prompt-card {
  background: #04130a;
  border: 1px solid rgba(0,188,212,0.22);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}
.prompt-tab {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,188,212,0.12);
  border: 1px solid rgba(0,188,212,0.3);
  color: var(--neon-teal);
  margin-bottom: 8px;
}
.prompt-tab.guard {
  background: rgba(229,57,53,0.10);
  color: #ff7269;
  border-color: rgba(229,57,53,0.3);
  margin-top: 10px;
}
.prompt-body {
  display: flex; flex-direction: column;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  padding: 8px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 8px;
}
.prompt-body .line { display: block; }
.prompt-body .lk { color: var(--neon-teal); }
.prompt-body .lv { color: var(--brand-gold); }

.automations {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
  z-index: 2;
}
.auto-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.auto-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.auto-row + .auto-row { border-top: 1px solid rgba(255,255,255,0.04); }
.auto-info { display: flex; flex-direction: column; gap: 2px; }
.auto-name { font-size: 13px; font-weight: 700; color: white; letter-spacing: -0.01em; }
.auto-sched { font-size: 10px; color: rgba(255,255,255,0.45); }
.toggle {
  width: 38px; height: 22px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  flex-shrink: 0;
}
.toggle .knob {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  position: absolute;
  top: 2px; left: 2px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.toggle.on {
  background: linear-gradient(135deg, var(--neon-green), #00a050);
  border-color: rgba(0,200,100,0.45);
  box-shadow: 0 0 12px rgba(0,200,100,0.35);
}
.toggle.on .knob {
  left: 18px;
  background: white;
}

/* ========== EXTRA PRO EFFECTS v3 ========== */

/* AI section: animated aurora blobs */
.ai-section .container::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,100,0.15), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: aurora-a 18s ease-in-out infinite;
  z-index: 0;
}
.ai-section .container::after {
  content: '';
  position: absolute;
  bottom: 0%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,188,212,0.12), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: aurora-b 20s ease-in-out infinite;
  z-index: 0;
}
@keyframes aurora-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-60px, 40px) scale(1.15); opacity: 0.9; }
}
@keyframes aurora-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(50px, -30px) scale(1.10); opacity: 0.85; }
}

/* Sparkle particles on dark sections */
.ai-section .dot-grid {
  background-image:
    radial-gradient(rgba(0,200,100,0.18) 1px, transparent 1.5px),
    radial-gradient(rgba(0,188,212,0.10) 1px, transparent 1.5px);
  background-size: 28px 28px, 56px 56px;
  background-position: 0 0, 14px 14px;
  animation: sparkle-shift 24s linear infinite;
}
@keyframes sparkle-shift {
  0% { background-position: 0 0, 14px 14px; }
  100% { background-position: 28px 28px, 42px 42px; }
}

/* Mascot card: drop-shadow glow */
.mascot-card {
  filter: drop-shadow(0 0 30px rgba(0,200,100,0.12));
}

/* Hero title: subtle 3D depth */
h1.hero-title {
  text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 0 32px rgba(15,92,56,0.06);
}

/* Section title underline shimmer */
.section-title {
  position: relative;
}

/* Feature card icon: pulse on hover */
.feat-card:hover .feat-ic {
  animation: ic-pulse 1.4s ease-in-out infinite;
}
@keyframes ic-pulse {
  0%, 100% { box-shadow: 0 0 12px color-mix(in oklab, var(--feat-color) 20%, transparent); transform: scale(1); }
  50% { box-shadow: 0 0 24px color-mix(in oklab, var(--feat-color) 40%, transparent); transform: scale(1.05); }
}

/* Smooth shimmer on hovering KPIs */
.fin-kpi {
  position: relative;
  overflow: hidden;
}
.fin-kpi::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,100,0.10), transparent);
  transition: left 0.8s var(--ease);
  pointer-events: none;
}
.fin-kpi:hover::before { left: 130%; }

/* Role card: subtle border pulse */
.role-card {
  position: relative;
  overflow: hidden;
}
.role-card .role-badge .led {
  animation: led-blink 1.8s infinite;
}

/* Mascot card: animated HUD corners */
.mascot-card .hud {
  animation: hud-pulse 3s ease-in-out infinite;
}
.mascot-card .hud.tr { animation-delay: 0.4s; }
.mascot-card .hud.bl { animation-delay: 0.8s; }
.mascot-card .hud.br { animation-delay: 1.2s; }
@keyframes hud-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* AI tool card: animated icon glow on hover */
.ai-tool:hover .ic {
  filter: drop-shadow(0 0 12px var(--tc)) drop-shadow(0 0 22px color-mix(in oklab, var(--tc) 50%, transparent));
  transform: scale(1.08);
}
.ai-tool .ic { transition: all 0.4s var(--ease); }

/* Logo subtle rotation animation in nav */
.logo .am-logo {
  transition: transform 0.4s var(--ease);
}
.logo:hover .am-logo {
  transform: rotate(-5deg) scale(1.08);
}

/* Final CTA: text glow pulse */
.final-cta h2 .grad {
  filter: drop-shadow(0 0 16px rgba(0,200,100,0.4));
  animation: cta-glow 4s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0,200,100,0.4)); }
  50% { filter: drop-shadow(0 0 28px rgba(0,200,100,0.7)) drop-shadow(0 0 50px rgba(0,188,212,0.35)); }
}

/* Encyclo cards: micro hover lift on stat cells */
.stat-cell { transition: all 0.3s var(--ease), transform 0.3s var(--ease); }
.stat-cell:hover { transform: translateY(-2px); }
.stat-cell:hover .sv { animation: stat-shimmer 1s ease-in-out; }
@keyframes stat-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.4) drop-shadow(0 0 8px rgba(0,200,100,0.6)); }
}

/* Mobile fix */
@media (max-width: 1024px) {
  .encyclo-grid { grid-template-columns: 1fr; }
  .encyclo-grid-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ========== AUTOPILOT 24/7 SECTION ========== */
.autopilot-section {
  background: linear-gradient(180deg, #04130a 0%, #061d12 50%, #08251a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.ap-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,100,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,100,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 90%);
  animation: ap-grid-drift 30s linear infinite;
  pointer-events: none;
}
@keyframes ap-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 40px 40px; }
}
.autopilot-section::before {
  content: '';
  position: absolute;
  top: 5%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,200,100,0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: ap-aurora-a 22s ease-in-out infinite;
}
.autopilot-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,188,212,0.14), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: ap-aurora-b 26s ease-in-out infinite;
}
@keyframes ap-aurora-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-60px, 50px) scale(1.15); opacity: 0.85; }
}
@keyframes ap-aurora-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(50px, -40px) scale(1.10); opacity: 0.75; }
}
.autopilot-section .container { position: relative; z-index: 2; }
.autopilot-section h2 { color: white; }

.ap-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

/* ----- Live monitor ----- */
.ap-monitor {
  background: linear-gradient(180deg, rgba(4,19,10,0.95) 0%, rgba(10,30,19,0.85) 100%);
  border: 1px solid rgba(0,200,100,0.22);
  border-radius: 20px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,200,100,0.10);
}
.ap-monitor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-teal), transparent);
  background-size: 200% 100%;
  animation: header-flow 5s linear infinite;
}
.ap-monitor .hud {
  position: absolute; width: 16px; height: 16px;
  border: 1.5px solid rgba(0,200,100,0.5);
  pointer-events: none;
}
.ap-monitor .hud.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.ap-monitor .hud.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.ap-monitor .hud.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.ap-monitor .hud.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.ap-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(0,200,100,0.15);
}
.ap-hdr-l { display: flex; align-items: center; gap: 10px; }
.ap-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
  animation: led-blink 1.4s infinite;
}
.ap-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.005em;
}
.ap-hdr-r { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: rgba(255,255,255,0.55); }
.ap-stat { padding: 2px 8px; border-radius: 5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.ap-stat.ok { color: var(--neon-green); border-color: rgba(0,200,100,0.3); background: rgba(0,200,100,0.08); }

.ap-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.ap-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,200,100,0.16);
  border-radius: 10px;
  padding: 11px 12px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.ap-kpi:hover {
  border-color: rgba(0,200,100,0.40);
  background: rgba(0,200,100,0.04);
  transform: translateY(-1px);
}
.ap-kpi .kv {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.ap-kpi .ku { font-size: 13px; }
.ap-kpi .kl {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  line-height: 1.3;
}

.ap-feed {
  background: #04130a;
  border: 1px solid rgba(0,200,100,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.ap-feed-cap {
  display: flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-green);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0,200,100,0.15);
}
.ap-feed-cap .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  animation: led-blink 1s infinite;
}
.ap-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 290px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, black 70%, transparent 100%);
}
.ap-feed-list::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(180deg, transparent, #04130a);
  pointer-events: none;
}

.ap-evt {
  display: grid;
  grid-template-columns: 50px 20px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.ap-evt::before {
  content: '';
  position: absolute;
  left: -14px; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 18px;
  background: var(--ec);
  box-shadow: 0 0 8px var(--ec);
  border-radius: 2px;
  opacity: 0.7;
}
.ap-evt .t { font-size: 10px; color: rgba(255,255,255,0.45); }
.ap-evt .ic {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: color-mix(in oklab, var(--ec) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--ec) 35%, transparent);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--ec);
}
.ap-evt .msg { line-height: 1.45; }
.ap-evt .msg b { color: white; font-weight: 700; }
.ap-evt.urgent .ic { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.5); box-shadow: 0 0 12px rgba(220,38,38,0.3); }
.ap-evt.urgent::before { animation: urgent-pulse 1.2s ease-in-out infinite; }
@keyframes urgent-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--ec); opacity: 0.7; }
  50% { box-shadow: 0 0 14px var(--ec), 0 0 24px var(--ec); opacity: 1; }
}

.ap-foot {
  display: flex; justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.06);
}

/* ----- Timeline ----- */
.ap-timeline {
  background: linear-gradient(180deg, rgba(4,19,10,0.85) 0%, rgba(15,92,56,0.18) 100%);
  border: 1px solid rgba(0,200,100,0.22);
  border-radius: 20px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.ap-timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-teal), #c678ff, transparent);
  background-size: 200% 100%;
  animation: header-flow 6s linear infinite;
}
.ap-tl-hdr {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0,200,100,0.15);
}
.ap-tl-t { font-size: 15px; font-weight: 700; color: white; letter-spacing: -0.01em; }
.ap-tl-now {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(0,200,100,0.12);
  color: var(--neon-green);
  border: 1px solid rgba(0,200,100,0.3);
}

.ap-clock {
  position: relative;
  padding: 14px 0 4px;
}
.ap-clock .hours {
  display: flex; justify-content: space-between;
  font-size: 9.5px;
  color: rgba(255,255,255,0.4);
  padding: 0 78px 0 0;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.ap-clock .now-line {
  position: absolute;
  top: 22px; bottom: 36px;
  left: calc(0px + (100% - 78px) * 0.405);
  width: 2px;
  background: linear-gradient(180deg, var(--neon-green), transparent);
  box-shadow: 0 0 10px var(--neon-green);
  animation: now-blink 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes now-blink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.5; }
}

.track {
  display: grid;
  grid-template-columns: 140px 1fr 78px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.track:last-child { border-bottom: none; }
.track .lbl {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.track .lbl .ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: color-mix(in oklab, var(--c) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--c) 35%, transparent);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--c);
  filter: drop-shadow(0 0 4px color-mix(in oklab, var(--c) 50%, transparent));
}
.track .lane {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.04);
}
.track .tick {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.track .tick.big {
  width: 12px; height: 12px;
  box-shadow: 0 0 14px var(--c);
}
.track .bar {
  position: absolute;
  top: 1px; bottom: 1px;
  background: linear-gradient(90deg, var(--c) 0%, color-mix(in oklab, var(--c) 50%, transparent) 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px color-mix(in oklab, var(--c) 50%, transparent);
}
.track .freq {
  font-size: 9.5px;
  color: rgba(255,255,255,0.45);
  text-align: right;
}

.ap-tl-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.06);
}
.badge-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ap-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0,200,100,0.08);
  border: 1px solid rgba(0,200,100,0.25);
  color: var(--neon-green);
  letter-spacing: 0.04em;
}
.ap-badge .led {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 5px var(--neon-green);
}

/* ----- Extra effects v4 ----- */

/* Wordmark hover effect — golden burst on PRO */
.am-mark:hover .pro {
  animation-duration: 1s;
}

/* Smooth scroll-triggered glow on autopilot HUD corners */
.ap-monitor .hud,
.ap-timeline .hud {
  animation: hud-pulse 3s ease-in-out infinite;
}

/* Subtle data-stream effect on feed */
.ap-feed-list::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0.4;
  pointer-events: none;
  animation: stream-line 4s linear infinite;
}
@keyframes stream-line {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(280px); opacity: 0; }
}

/* Mobile */
@media (max-width: 1024px) {
  .ap-grid { grid-template-columns: 1fr; }
  .ap-kpis { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: 110px 1fr 62px; }
  .ap-clock .hours { padding-right: 62px; }
}

/* ========== HERO ROTATING SUBTITLE ========== */
.hero-rotate {
  display: inline-block;
  position: relative;
  height: 1.5em;
  vertical-align: middle;
  min-width: 280px;
}
.hero-rotate .rot-item {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hero-rotate .rot-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ROBOTVET INTERACTIVE DEMO ========== */
.rv-demo {
  margin-top: 56px;
  background: linear-gradient(180deg, rgba(4,19,10,0.95) 0%, rgba(8,32,20,0.85) 100%);
  border: 1px solid rgba(0,200,100,0.28);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,200,100,0.15);
}
.rv-demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-green) 30%, var(--neon-teal) 70%, transparent);
  background-size: 200% 100%;
  animation: header-flow 5s linear infinite;
}
.rv-demo .hud {
  position: absolute; width: 18px; height: 18px;
  border: 1.5px solid rgba(0,200,100,0.6);
  pointer-events: none;
  animation: hud-pulse 3s ease-in-out infinite;
}
.rv-demo .hud.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.rv-demo .hud.tr { top: 16px; right: 16px; border-left: none; border-bottom: none; animation-delay: .4s; }
.rv-demo .hud.bl { bottom: 16px; left: 16px; border-right: none; border-top: none; animation-delay: .8s; }
.rv-demo .hud.br { bottom: 16px; right: 16px; border-left: none; border-top: none; animation-delay: 1.2s; }

.rv-demo-hdr { text-align: center; margin-bottom: 28px; }
.rv-demo-cap {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--neon-green);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,200,100,0.10);
  border: 1px solid rgba(0,200,100,0.30);
  margin-bottom: 18px;
}
.rv-demo-cap .led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: led-blink 1.2s infinite;
}
.rv-demo h3 {
  color: white;
  font-size: 26px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.rv-demo-hdr p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
}

.rv-demo-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.rv-prompts {
  display: flex; flex-direction: column;
  gap: 8px;
}
.rv-prompts-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.rv-preset {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 11px;
  color: white;
  text-align: left;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  font-family: inherit;
}
.rv-preset:hover {
  background: rgba(0,200,100,0.06);
  border-color: rgba(0,200,100,0.32);
  transform: translateX(3px);
}
.rv-preset.active {
  background: rgba(0,200,100,0.10);
  border-color: rgba(0,200,100,0.55);
  box-shadow: 0 0 16px rgba(0,200,100,0.18);
}
.rv-preset .ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: color-mix(in oklab, var(--rc) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--rc) 35%, transparent);
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--rc) 40%, transparent));
}
.rv-preset-body { display: flex; flex-direction: column; min-width: 0; }
.rv-preset .t { font-size: 12.5px; font-weight: 700; letter-spacing: -0.005em; }
.rv-preset .s { font-size: 10.5px; color: rgba(255,255,255,0.45); margin-top: 1px; }

.rv-chat { display: flex; flex-direction: column; gap: 12px; }
.rv-input-wrap {
  background: #04130a;
  border: 1px solid rgba(0,200,100,0.22);
  border-radius: 14px;
  padding: 12px;
  position: relative;
}
.rv-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.rv-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.55;
  resize: vertical;
  min-height: 60px;
  padding: 0;
}
.rv-input::placeholder { color: rgba(255,255,255,0.3); }
.rv-input-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,200,100,0.12);
}
.rv-counter {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.rv-send {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c864 0%, #00bcd4 100%);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(0,200,100,0.30);
  transition: all 0.3s var(--ease);
}
.rv-send:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,200,100,0.40); }
.rv-send-default { display: inline-flex; align-items: center; gap: 7px; }
.rv-send-loading { display: none; align-items: center; gap: 7px; }
.rv-send.loading .rv-send-default { display: none; }
.rv-send.loading .rv-send-loading { display: inline-flex; }
.rv-send.loading { background: rgba(0,200,100,0.18); pointer-events: none; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Chat messages ─────────────────────────── */
.rv-messages {
  background: #04130a;
  border: 1px solid rgba(0,200,100,0.18);
  border-radius: 14px;
  padding: 16px;
  min-height: 260px;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,200,100,0.3) transparent;
}
.rv-messages::-webkit-scrollbar { width: 4px; }
.rv-messages::-webkit-scrollbar-track { background: transparent; }
.rv-messages::-webkit-scrollbar-thumb { background: rgba(0,200,100,0.3); border-radius: 4px; }

.rv-msg { display: flex; gap: 10px; align-items: flex-start; animation: rv-msg-in 0.25s ease; }
.rv-msg-user { flex-direction: row-reverse; }
@keyframes rv-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.rv-msg-av {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,200,100,0.12);
  border: 1px solid rgba(0,200,100,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1;
}
.rv-msg-user .rv-msg-av {
  background: rgba(0,188,212,0.12);
  border-color: rgba(0,188,212,0.22);
}

.rv-msg-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,200,100,0.12);
  border-radius: 4px 12px 12px 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 86%;
  word-break: break-word;
}
.rv-msg-user .rv-msg-bubble {
  background: rgba(0,188,212,0.1);
  border-color: rgba(0,188,212,0.18);
  border-radius: 12px 4px 12px 12px;
  color: rgba(255,255,255,0.92);
}
.rv-msg-bubble strong { color: var(--neon-teal); }
.rv-msg-bubble h5 { color: var(--neon-green); font-size: 11.5px; margin: 8px 0 3px; text-transform: uppercase; letter-spacing: 0.06em; }
.rv-msg-bubble .rv-soap { color: var(--neon-teal); font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.rv-msg-error { color: #ff6b6b; font-size: 12.5px; }

/* Typing dots */
.rv-typing .rv-msg-bubble { padding: 12px 14px; }
.rv-typing-dots { display: flex; gap: 5px; align-items: center; }
.rv-typing-dots span {
  width: 6px; height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: 0.6;
  animation: rv-bounce 1.1s infinite;
}
.rv-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.rv-typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes rv-bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

/* Clear button */
.rv-clear-btn {
  font-size: 11px; color: rgba(255,255,255,0.35);
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 6px 11px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.rv-clear-btn:hover { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.22); }

.rv-output {
  background: #04130a;
  border: 1px solid rgba(0,200,100,0.18);
  border-radius: 14px;
  padding: 14px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.rv-output-hdr {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(0,200,100,0.15);
}
.rv-output-hdr .led {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  animation: led-blink 1.2s infinite;
}
.rv-output-hdr .mono {
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.005em;
}
.rv-output-meta {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}
.rv-output-body {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}
.rv-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  height: 100%;
  padding: 24px 12px;
  gap: 6px;
}
.rv-placeholder-ic {
  font-size: 28px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 10px rgba(0,200,100,0.5));
}
.rv-placeholder-t { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 13.5px; }
.rv-placeholder-s { color: rgba(255,255,255,0.4); font-size: 11.5px; }

.rv-stream {
  display: flex; flex-direction: column;
  gap: 10px;
}
.rv-stream-line {
  height: 12px;
  background: linear-gradient(90deg, rgba(0,200,100,0.08), rgba(0,200,100,0.18), rgba(0,200,100,0.08));
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.4s linear infinite;
  position: relative;
}
.rv-stream-line.short { width: 60%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.rv-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: cursor-blink 0.8s infinite;
}
@keyframes cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.rv-answer {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}
.rv-answer h5 {
  color: var(--neon-green);
  font-size: 13px;
  margin: 14px 0 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rv-answer strong { color: var(--neon-teal); font-weight: 700; }
.rv-soap {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--neon-green);
  background: rgba(0,200,100,0.12);
  border: 1px solid rgba(0,200,100,0.3);
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
}
.rv-error {
  color: #ff7269;
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.25);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
}

/* ========== COMPARATEUR ========== */
.compare-section { background: var(--cream); position: relative; overflow: hidden; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 2;
}
.compare-col {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.compare-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.compare-col.winner {
  background: linear-gradient(180deg, rgba(0,200,100,0.05), rgba(255,255,255,0.92));
  border: 2px solid rgba(0,200,100,0.30);
  box-shadow: 0 12px 40px rgba(0,200,100,0.15);
  transform: scale(1.02);
}
.compare-col.winner:hover { transform: scale(1.02) translateY(-3px); }
.compare-col.winner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-teal), transparent);
  background-size: 200% 100%;
  animation: header-flow 4s linear infinite;
  border-radius: 20px 20px 0 0;
}
.cc-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00c864, #00bcd4);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,200,100,0.40);
}
.cc-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.compare-col h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.cc-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
  line-height: 1.1;
}
.cc-price span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: -0.005em;
}
.cc-price.grad {
  background: linear-gradient(135deg, #0F5C38, #2DB872, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}
.cc-list .x {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.cc-list .no { color: var(--text-muted); opacity: 0.85; }
.cc-list .no .x { background: rgba(229,57,53,0.10); color: #dc2626; }
.cc-list .meh .x { background: rgba(217,119,6,0.12); color: #d97706; }
.cc-list .yes .x { background: rgba(0,200,100,0.14); color: #059669; }
.cc-list .yes { font-weight: 600; }

/* ========== COMMENT ÇA MARCHE ========== */
.how-section { background: var(--cream-mid); position: relative; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.how-step {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(14px);
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--hc) 30%, var(--border));
}
.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hc), transparent);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.how-step:hover::before { opacity: 1; }
.how-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 38px;
  font-weight: 800;
  color: var(--hc);
  opacity: 0.18;
  letter-spacing: -0.04em;
}
.how-line {
  position: absolute;
  top: 50%; right: -10px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--hc), transparent);
  display: none;
}
.how-step:not(:last-child) .how-line { display: block; }
.how-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--hc) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--hc) 30%, transparent);
  color: var(--hc);
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 0 14px color-mix(in oklab, var(--hc) 18%, transparent);
}
.how-time {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--hc);
  background: color-mix(in oklab, var(--hc) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--hc) 25%, transparent);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.how-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== TARIFICATION ========== */
.pricing-section { background: var(--cream); position: relative; overflow: hidden; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 2;
}
.price-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(0,200,100,0.06), rgba(255,255,255,0.94));
  border: 2px solid rgba(0,200,100,0.35);
  box-shadow: 0 16px 48px rgba(0,200,100,0.18);
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-3px); }
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-teal), transparent);
  background-size: 200% 100%;
  animation: header-flow 4s linear infinite;
  border-radius: 22px 22px 0 0;
}
.price-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00c864, #00bcd4);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,200,100,0.40);
}
.price-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.price-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.price-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  margin-top: 4px;
}
.price-val {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}
.price-prefix {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.price-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.price-card.featured .price-num {
  background: linear-gradient(135deg, #0F5C38, #2DB872, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-unit {
  font-size: 24px;
  font-weight: 700;
  margin-left: 2px;
}
.price-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.price-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 22px;
}
.price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.price-list .ck {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,200,100,0.14);
  color: var(--green-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}
.price-card.featured .price-list .ck {
  background: linear-gradient(135deg, #00c864, #00bcd4);
  color: white;
  box-shadow: 0 0 8px rgba(0,200,100,0.35);
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ========== FAQ ========== */
.faq-section { background: var(--cream-mid); }
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item[open] {
  background: white;
  border-color: rgba(0,200,100,0.30);
  box-shadow: 0 8px 24px rgba(15,92,56,0.10);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.faq-item .chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,200,100,0.08);
  color: var(--green-deep);
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.faq-item[open] .chev {
  background: linear-gradient(135deg, #00c864, #00bcd4);
  color: white;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(0,200,100,0.35);
}
.faq-item .a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq-item .a .am-mark { font-size: 13px; }

/* ========== FLOATING MASCOT ========== */
.float-mascot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F5C38, #15693F);
  border: 2px solid rgba(0,255,136,0.5);
  box-shadow: 0 12px 30px rgba(0,200,100,0.35), 0 0 24px rgba(0,200,100,0.25);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: auto;
}
.float-mascot.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.float-mascot:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,200,100,0.50), 0 0 32px rgba(0,255,136,0.40);
}
.float-mascot:hover .fm-label { opacity: 1; transform: translateX(0); }
.fm-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,136,0.4);
  animation: fm-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.fm-pulse-2 { animation-delay: 1.2s; }
@keyframes fm-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.fm-icon { position: relative; z-index: 1; }
.fm-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(4, 19, 10, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(0,200,100,0.30);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.fm-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgba(4, 19, 10, 0.95);
}

/* ========== CUSTOM POINTER (site-wide ring + dot) ========== */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select { cursor: text !important; }

.cur-ring, .cur-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.cur-ring.show, .cur-dot.show { opacity: 1; }

.cur-ring {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(15,92,56,0.45);
  margin-left: -18px;
  margin-top: -18px;
  box-shadow: 0 0 12px rgba(0,200,100,0.15), inset 0 0 8px rgba(0,200,100,0.10);
  background: radial-gradient(circle, rgba(0,200,100,0.06) 0%, transparent 70%);
}
.cur-ring.on-dark {
  border-color: rgba(0,255,136,0.55);
  box-shadow: 0 0 16px rgba(0,255,136,0.35), inset 0 0 8px rgba(0,255,136,0.18);
  background: radial-gradient(circle, rgba(0,255,136,0.10) 0%, transparent 70%);
}
.cur-ring.hover {
  width: 54px; height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border-color: rgba(0,200,100,0.85);
  box-shadow: 0 0 22px rgba(0,200,100,0.30), inset 0 0 14px rgba(0,200,100,0.18);
}
.cur-ring.on-dark.hover {
  border-color: rgba(0,255,136,0.9);
  box-shadow: 0 0 28px rgba(0,255,136,0.40), inset 0 0 16px rgba(0,255,136,0.25);
}
.cur-ring.click {
  border-color: rgba(0,200,100,1);
  box-shadow: 0 0 26px rgba(0,200,100,0.5), inset 0 0 14px rgba(0,200,100,0.30);
}

.cur-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  margin-left: -3px;
  margin-top: -3px;
  box-shadow: 0 0 8px rgba(0,200,100,0.6), 0 0 2px rgba(0,200,100,0.9);
}
.cur-dot.on-dark {
  background: #00ff88;
  box-shadow: 0 0 10px rgba(0,255,136,0.8), 0 0 3px rgba(0,255,136,1);
}
.cur-dot.hover {
  width: 4px; height: 4px;
  margin-left: -2px; margin-top: -2px;
  background: var(--brand-gold);
  box-shadow: 0 0 12px rgba(255,215,0,0.75), 0 0 4px rgba(255,215,0,1);
}
.cur-dot.on-dark.hover {
  background: #fff7a8;
  box-shadow: 0 0 14px rgba(255,215,0,0.9), 0 0 5px rgba(255,247,168,1);
}

@media (prefers-reduced-motion: reduce) {
  .cur-ring, .cur-dot { display: none; }
  .has-custom-cursor, .has-custom-cursor * { cursor: auto !important; }
}

/* ========== CUSTOM CURSOR (AI section) ========== */
.ai-cursor {
  position: fixed;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,136,0.6) 0%, rgba(0,255,136,0) 70%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  margin-left: -12px;
  margin-top: -12px;
  mix-blend-mode: screen;
}
.ai-cursor.show { opacity: 1; }
.ai-cursor::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.30);
  animation: led-blink 1.4s infinite;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .rv-demo-grid { grid-template-columns: 1fr; }
  .compare-grid, .pricing-grid { grid-template-columns: 1fr; }
  .compare-col.winner, .price-card.featured { transform: none; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-line { display: none !important; }
  .float-mascot { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
  .rv-demo { padding: 22px 18px; }
}

/* ========== MOBILE ========== */
@media (max-width: 1024px) {
  .hero-grid, .ai-hero, .vps-showcase { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .roles-grid, .ai-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .float-card { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .fin-bar { grid-template-columns: repeat(3, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); overflow-x: auto; }
  .dash-panels { grid-template-columns: 1fr; }
  .server-grid { grid-template-columns: repeat(2, 1fr); }
  .server-foot { grid-template-columns: auto 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; width: 100%; box-sizing: border-box; }
  .section { padding: 64px 0; }
  h1.hero-title { font-size: 38px; line-height: 1.1; }
  .features-grid, .roles-grid, .ai-tools-grid { grid-template-columns: 1fr; }
  .fin-bar { grid-template-columns: repeat(2, 1fr); }
  /* Pricing : 1 colonne */
  .pricing-grid { grid-template-columns: 1fr !important; }
  .price-card.featured { transform: none; }
  /* Section hero CTA buttons */
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  /* App Store section feature chips */
  .animia-app-banner { flex-direction: column; }
  .animia-app-banner > div:last-child { flex-direction: column; width: 100%; }
  .animia-app-banner > div:last-child > div { min-width: unset; width: 100%; }
  /* Testimonials */
  .reviews-grid { grid-template-columns: 1fr !important; }
  /* Server grid */
  .server-grid { grid-template-columns: 1fr !important; }
  /* Compare grid */
  .compare-grid { grid-template-columns: 1fr !important; }
  /* Roles */
  .roles-grid { grid-template-columns: 1fr; }
  /* How grid */
  .how-grid { grid-template-columns: 1fr; }
  /* Nav */
  .logo + a { display: none; }
  /* section-head spacing */
  .section-head { margin-bottom: 40px; }
  /* RobotVet tools */
  .ai-tools-grid { grid-template-columns: 1fr; }
}
