/* ============================================
   Claude Cowork — Stylesheet professionnel
   Palette : bleu marine / bleu acier / azur
   ============================================ */

:root {
  /* Bleus principaux */
  --navy-900: #0a1f44;
  --navy-800: #0f2a5c;
  --navy-700: #1e3a8a;
  --blue-600: #1e40af;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --sky-400: #38bdf8;

  /* Neutres */
  --ink: #0b1426;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f8fafc;
  --white: #ffffff;

  /* Accents */
  --gold: #d4a017;
  --success: #059669;

  /* Dégradés */
  --gradient-blue: linear-gradient(135deg, #0a1f44 0%, #1e3a8a 50%, #2563eb 100%);
  --gradient-soft: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  --gradient-accent: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(15, 42, 92, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 42, 92, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 42, 92, 0.08), 0 2px 4px rgba(15, 42, 92, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 42, 92, 0.15), 0 8px 12px -4px rgba(15, 42, 92, 0.08);
  --shadow-blue: 0 8px 24px rgba(30, 64, 175, 0.25);

  /* Géométrie */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

/* ============================================
   HEADER + NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 17px;
  box-shadow: var(--shadow-blue);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--blue-600);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.005em;
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.35);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy-800);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
  background: var(--gray-50);
}

.btn-light {
  background: white;
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gamma {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: white;
  padding: 16px 28px;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-gamma:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.4);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 110px 0 90px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -250px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--blue-600);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero-badge::before {
  content: '●';
  color: var(--sky-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  color: var(--navy-900);
}

.hero h1 .accent {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero p {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS GÉNÉRIQUES
   ============================================ */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.section-tag {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--navy-900);
}

.section-subtitle {
  font-size: 18.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   FEATURES GRID (home)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.feature-card {
  display: block;
  padding: 36px 32px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 28px;
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.feature-link {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.005em;
}

/* ============================================
   BENEFITS / KPI
   ============================================ */
.benefits {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.benefit {
  text-align: center;
  padding: 24px;
}

.benefit-number {
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.benefit-label {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
}

/* ============================================
   PAGE HERO (sous-pages)
   ============================================ */
.page-hero {
  padding: 80px 0 70px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 22px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--blue-600);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--navy-900);
}

.page-hero h1 .accent {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero .lead {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.page-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   CONTENT SECTIONS (split text/visual)
   ============================================ */
.content-section {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
}

.content-grid:last-child { margin-bottom: 0; }

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text .eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.content-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--navy-900);
}

.content-text p {
  color: var(--gray-700);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

.content-text ul li {
  padding: 10px 0 10px 36px;
  position: relative;
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.55;
}

.content-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.content-visual {
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.25) 0%, transparent 50%);
}

.visual-icon {
  font-size: 140px;
  color: white;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   DEEP DIVE — sections détaillées
   ============================================ */
.deep-dive {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.deep-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.deep-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.deep-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.deep-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.deep-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.use-case {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue-500);
  transition: all 0.3s ease;
}

.use-case:hover {
  border-left-color: var(--sky-400);
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.use-case h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}

.use-case p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   GAMMA CALLOUT — bandeau dédié
   ============================================ */
.gamma-callout {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  margin: 70px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.gamma-callout::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.gamma-callout-content {
  position: relative;
  z-index: 1;
}

.gamma-callout-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.gamma-callout h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.gamma-callout p {
  color: var(--gray-700);
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 520px;
}

.gamma-callout-cta {
  position: relative;
  z-index: 1;
}

/* ============================================
   CTA SECTION (bas de page)
   ============================================ */
.cta-section {
  padding: 90px 0;
  background: var(--gradient-blue);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: white;
}

.cta-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 18.5px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-900);
  color: var(--gray-400);
  padding: 70px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--gray-400);
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 340px;
}

.footer h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer ul li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .content-grid.reverse {
    direction: ltr;
  }
  .gamma-callout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 70px 0 60px;
  }
  .section {
    padding: 60px 0;
  }
  .content-section, .deep-dive {
    padding: 60px 0;
  }
  .container {
    padding: 0 20px;
  }
  .gamma-callout {
    padding: 32px 24px;
  }
  .visual-icon {
    font-size: 100px;
  }
}

/* ============================================
   SECTION 1 — TIMELINE IA "Évolution de l'IA"
   ============================================ */
.ai-timeline {
  position: relative;
  padding: 110px 0 130px;
  background: radial-gradient(ellipse at top, #102356 0%, #07112b 70%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.ai-timeline::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.16) 0%, transparent 50%);
  z-index: -1;
}

.timeline-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}

.ai-timeline .section-header {
  margin-bottom: 90px;
}

.ai-timeline .section-tag {
  color: var(--sky-400);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.ai-timeline .section-title {
  color: white;
}

.ai-timeline .section-title .accent {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-timeline .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.timeline-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-track {
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(56,189,248,0.15) 50%, rgba(255,255,255,0.05) 100%);
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 2.2s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

.ai-timeline.is-visible .timeline-track::before {
  transform: scaleX(1);
}

.timeline-events {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  z-index: 1;
}

.timeline-event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ai-timeline.is-visible .timeline-event {
  opacity: 1;
  transform: translateY(0);
}

.ai-timeline.is-visible .timeline-event:nth-child(1) { transition-delay: 0.2s; }
.ai-timeline.is-visible .timeline-event:nth-child(2) { transition-delay: 0.45s; }
.ai-timeline.is-visible .timeline-event:nth-child(3) { transition-delay: 0.7s; }
.ai-timeline.is-visible .timeline-event:nth-child(4) { transition-delay: 0.95s; }
.ai-timeline.is-visible .timeline-event:nth-child(5) { transition-delay: 1.2s; }
.ai-timeline.is-visible .timeline-event:nth-child(6) { transition-delay: 1.45s; }
.ai-timeline.is-visible .timeline-event:nth-child(7) { transition-delay: 1.7s; }

.timeline-event:nth-child(odd) { flex-direction: column; }
.timeline-event:nth-child(even) { flex-direction: column-reverse; }

.event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 18px 14px;
  width: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
}

.timeline-event:hover .event-card {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(96, 165, 250, 0.08);
}

.event-icon {
  font-size: 28px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.4));
}

.event-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--sky-400);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.event-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 6px;
}

.event-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.event-connector {
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, rgba(96,165,250,0.6) 0%, rgba(56,189,248,0.2) 100%);
  margin: 0 auto;
}

.timeline-event:nth-child(even) .event-connector {
  background: linear-gradient(0deg, rgba(96,165,250,0.6) 0%, rgba(56,189,248,0.2) 100%);
}

.event-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2), 0 0 20px rgba(56, 189, 248, 0.8);
  position: relative;
  flex-shrink: 0;
}

.event-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--sky-400);
  opacity: 0;
  animation: timeline-pulse 2.4s infinite;
}

@keyframes timeline-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 980px) {
  .timeline-track { display: none; }
  .timeline-events {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .timeline-event,
  .timeline-event:nth-child(even) {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 18px;
  }
  .event-connector { display: none; }
  .event-dot { margin-top: 8px; align-self: flex-start; }
  .event-card { flex: 1; }
}

/* ============================================
   SECTION 2 — INTERFACE INTERACTIVE
   ============================================ */
.interface-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.interface-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.interface-stage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.claude-mockup {
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 540px;
  font-size: 13px;
}

.ci-sidebar {
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ci-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
  padding: 6px 8px;
  margin-bottom: 10px;
  font-size: 15px;
}

.ci-logo::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--gradient-blue);
}

.ci-newchat {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--navy-800);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  text-align: left;
}

.ci-section-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding: 4px 8px;
  margin-top: 8px;
}

.ci-chat-item {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--gray-700);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ci-chat-item:hover { background: rgba(30, 64, 175, 0.06); }
.ci-chat-item.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--blue-600);
  font-weight: 600;
}

.ci-main {
  display: flex;
  flex-direction: column;
  background: white;
}

.ci-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
}

.ci-title {
  font-weight: 600;
  color: var(--navy-900);
}

.ci-actions {
  display: flex;
  gap: 8px;
  color: var(--gray-500);
  font-size: 16px;
}

.ci-chat {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.ci-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 13px;
}

.ci-msg-user {
  background: var(--gradient-accent);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ci-msg-claude {
  background: var(--gray-100);
  color: var(--gray-900);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ci-artifact {
  margin-top: 10px;
  padding: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.ci-artifact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.ci-input {
  margin: 0 16px 16px;
  padding: 10px 12px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.ci-attach,
.ci-send {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.ci-attach {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 16px;
}

.ci-send {
  background: var(--gradient-blue);
  color: white;
  margin-left: auto;
}

.ci-input-text {
  flex: 1;
  color: var(--gray-400);
  font-size: 13px;
  padding: 4px 0;
}

.ci-skills {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 600;
}

.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(30, 64, 175, 0.35);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}

.hotspot:hover { transform: scale(1.15); }

.hotspot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--blue-400);
  animation: hotspot-pulse 2s infinite;
}

@keyframes hotspot-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hotspot.active {
  background: var(--navy-900);
  transform: scale(1.15);
}

.hotspot.active::before {
  border-color: var(--navy-700);
}

.highlight-zone {
  position: absolute;
  border: 2px solid var(--blue-500);
  background: rgba(59, 130, 246, 0.08);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.highlight-zone.visible { opacity: 1; }

.ci-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ci-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ci-panel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: white;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
}

.ci-panel h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ci-panel p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}

.ci-panel-hint {
  font-size: 13px;
  color: var(--gray-500);
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ci-panel-content {
  display: none;
  animation: panel-in 0.4s ease;
}

.ci-panel-content.active { display: block; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ci-features-list {
  list-style: none;
  margin-top: 16px;
}

.ci-features-list li {
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ci-features-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .interface-stage {
    grid-template-columns: 1fr;
  }
  .claude-mockup {
    height: 480px;
  }
  .ci-sidebar {
    display: none;
  }
  .claude-mockup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ai-timeline { padding: 70px 0 80px; }
  .claude-mockup { height: 420px; font-size: 12px; }
  .ci-panel { padding: 24px; }
  .ci-panel h3 { font-size: 20px; }
}
