/* ==========================================================================
   home.css — Styles used ONLY on the home page
   ========================================================================== */

/* ===== HERO VISUAL (video frame) ===== */
.hero-visual {
  position: relative;
  aspect-ratio: 16 / 16;
  background: #f5f3f1;
  border-radius: 0px;
  padding: 0px;
  box-sizing: border-box;
  width: 80%;
  height: 100%;
}

/* Vertical solid lines */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -36px;
  bottom: -36px;
  left: -12px;
  right: -12px;
  border-left: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  pointer-events: none;
}

/* Horizontal solid lines */
.hero-visual::after {
  content: '';
  position: absolute;
  left: -36px;
  right: -36px;
  top: -12px;
  bottom: -12px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  pointer-events: none;
}

/* ===== HERO VIDEO SWITCHER ===== */
.hero-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* ===== HERO VIDEO HEADER ===== */
.hero-video-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
}

.hvh-badge {
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 0;
  flex-shrink: 0;
}

.hvh-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.25s;
}

.hvh-ruler {
  flex: 1;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--border-strong) 0px,
    var(--border-strong) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.7;
}

.hvh-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.hero-video-switcher {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.hero-video-switcher video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  pointer-events: none;
}

.hero-video-switcher video.active {
  display: block;
}

.visual-titlebar {
  height: 36px;
  background: #12121e;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.visual-body {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.visual-sidebar {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px;
}

.visual-sidebar-item {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.visual-sidebar-item.active {
  background: rgba(124, 92, 252, 0.15);
  color: rgba(255,255,255,0.8);
}

.visual-editor {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.visual-editor .line-num {
  color: rgba(255,255,255,0.15);
  display: inline-block;
  width: 28px;
  text-align: right;
  margin-right: 16px;
  user-select: none;
}

.visual-editor .keyword { color: #c792ea; }
.visual-editor .string { color: #c3e88d; }
.visual-editor .func { color: #82aaff; }
.visual-editor .comment { color: rgba(255,255,255,0.2); }
.visual-editor .type { color: #ffcb6b; }

.visual-chat {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 240px;
  background: rgba(20, 20, 35, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.visual-chat-header {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.visual-chat-msg {
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ===== SCORING VISUAL MOCKUPS ===== */
.scoring-visual {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  height: auto !important;
  min-height: 140px;
}

.vis-scorecard-mock {
  padding: 14px 16px;
  font-size: 12px;
  color: #1f2937;
  font-family: var(--font-body);
}

.vis-scorecard-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 11px;
  color: #6b7280;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 4px;
}

.vis-scorecard-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 11.5px;
  color: #374151;
  border-bottom: 1px solid #f9fafb;
}

.vis-scorecard-chevron {
  color: #9ca3af;
  font-size: 10px;
  width: 10px;
}

.vis-scorecard-emoji {
  font-size: 12px;
}

.vis-score {
  margin-left: auto;
  font-weight: 600;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.vis-score-green {
  background: #dcfce7;
  color: #16a34a;
}

.vis-score-orange {
  background: #fef3c7;
  color: #d97706;
}

.vis-score-red {
  background: #fee2e2;
  color: #dc2626;
}

/* Coaching mockup */
.vis-coaching-mock {
  padding: 14px 16px;
  font-family: var(--font-body);
}

.vis-coaching-criterion {
  margin-bottom: 10px;
}

.vis-coaching-criterion-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #374151;
  line-height: 1.4;
}

.vis-coaching-chevron {
  margin-left: auto;
  color: #9ca3af;
  font-size: 14px;
  flex-shrink: 0;
}

.vis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.vis-dot-green { background: #22c55e; }
.vis-dot-orange { background: #f59e0b; }
.vis-dot-red { background: #ef4444; }

.vis-coaching-bubble {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 12px 14px;
}

.vis-coaching-bubble-title {
  font-size: 11px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 6px;
}

.vis-coaching-bubble-text {
  font-size: 11px;
  color: #4b5563;
  line-height: 1.5;
}

/* Indicators mockup */
.vis-indicators-mock {
  padding: 14px 16px;
  font-family: var(--font-body);
}

.vis-indicator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vis-indicator-item {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 10px 12px;
}

.vis-indicator-label {
  font-size: 9.5px;
  color: #9ca3af;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vis-indicator-value {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.vis-indicator-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

.vis-indicator-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.vis-tag-green {
  color: #16a34a;
  background: #dcfce7;
}
.vis-tag-green::before { background: #22c55e; }

.vis-tag-red {
  color: #dc2626;
  background: #fee2e2;
}
.vis-tag-red::before { background: #ef4444; }

.vis-tag-orange {
  color: #d97706;
  background: #fef3c7;
}
.vis-tag-orange::before { background: #f59e0b; }

/* Dark mode overrides for scoring visuals */
[data-theme="dark"] .scoring-visual {
  background: #1e1e2e !important;
  border-color: #2d2d3f !important;
}
[data-theme="dark"] .vis-scorecard-mock,
[data-theme="dark"] .vis-coaching-criterion-header,
[data-theme="dark"] .vis-coaching-bubble-text { color: #d1d5db; }
[data-theme="dark"] .vis-scorecard-header { color: #9ca3af; border-bottom-color: #2d2d3f; }
[data-theme="dark"] .vis-scorecard-row { color: #d1d5db; border-bottom-color: #252536; }
[data-theme="dark"] .vis-coaching-bubble { background: #2a2a4a; border-color: #3b3b6b; }
[data-theme="dark"] .vis-coaching-bubble-title { color: #818cf8; }
[data-theme="dark"] .vis-indicator-item { background: #252536; border-color: #2d2d3f; }
[data-theme="dark"] .vis-indicator-label { color: #6b7280; }
[data-theme="dark"] .vis-indicator-value { color: #f3f4f6; }

/* ===== STEPS SECTION ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.step-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  font-weight: 500;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== GIT SECTION ===== */
.git-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.git-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.git-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 10px;
  transition: background 0.15s;
}

.git-feature:hover {
  background: var(--accent-soft);
}

.git-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.git-feature-icon svg {
  width: 13px;
  height: 13px;
  color: var(--accent-green);
}

.git-feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.git-feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== ANALYTICS PREVIEW + MODAL ===== */
.analytics-preview {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 16px 64px rgba(17, 25, 39, 0.08);
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.analytics-preview:hover {
  box-shadow: 0 20px 80px rgba(17, 25, 39, 0.14);
  transform: translateY(-2px);
}

.analytics-preview-inner {
  padding: 0;
  height: 100%;
  display: flex;
  pointer-events: none;
}

.ap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.ap-stat {
  background: #f9fafb;
  border-radius: 8px;
  padding: 10px 12px;
}

.ap-stat-label {
  font-size: 9px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.ap-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #111927;
}

.ap-chart-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.ap-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-bar-label {
  font-size: 9px;
  color: #9ca3af;
  width: 60px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-bar-track {
  flex: 1;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}

.ap-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.ap-bar-val {
  font-size: 10px;
  font-weight: 600;
  color: #374151;
  width: 28px;
}

.ap-heatmap-row {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.ap-heat-cell {
  width: 18px;
  height: 14px;
  border-radius: 3px;
}

.ap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
}

.ap-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--text-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.analytics-preview:hover .ap-cta {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.ap-cta svg {
  width: 14px;
  height: 14px;
}

/* Modal */
.analytics-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.analytics-modal.open {
  display: flex;
}

.analytics-modal-content {
  width: 100%;
  max-width: 1280px;
  height: calc(100vh - 48px);
  background: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 128px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.analytics-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.analytics-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analytics-modal-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analytics-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.15s;
}

.analytics-modal-close:hover {
  background: #f3f4f6;
  color: #111;
}

.analytics-modal-body {
  flex: 1;
  overflow: hidden;
}

.analytics-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== AGENTS SECTION ===== */
.agents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.agent-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.agent-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(17, 25, 39, 0.06);
}

.agent-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.agent-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.agent-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-green);
  font-weight: 500;
  margin-bottom: 14px;
  font-family: var(--font-mono);
}

.agent-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

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

/* ===== MCP / INTEGRATIONS SECTION ===== */
.integ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.integ-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.25s ease;
  cursor: default;
}

.integ-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(17, 25, 39, 0.06);
}

.integ-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.integ-icon svg {
  width: 24px;
  height: 24px;
}

.integ-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.integ-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ===== METIERS GRID ===== */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.metier-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.metier-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(17, 25, 39, 0.06);
}

.metier-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.metier-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.metier-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.metiers-tagline {
  text-align: center;
  margin-top: 40px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.metiers-tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== VOICE REALISM SECTION ===== */
.voice-section {
  padding: 100px 32px;
}

.voice-header {
  text-align: center;
  margin-bottom: 48px;
}

.voice-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

.voice-header .section-desc {
  max-width: 580px;
  margin: 0 auto;
}

.voice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.voice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
}

.voice-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(17, 25, 39, 0.06);
}

.voice-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.voice-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,25,39,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,25,39,0.07) 1px, transparent 1px);
  background-size: 8px 8px;
}

.voice-card-icon svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  stroke-width: 1.5;
}

.voice-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.voice-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.voice-embed {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== CONVERSATION PLAYER ===== */
.conv-player {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}

.conv-player::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.conv-player.theme-purple {
  background: linear-gradient(135deg, #2a1f3d 0%, #3d2b4a 30%, #4a3352 60%, #3d2845 100%);
}

.conv-player.theme-blue {
  background: linear-gradient(135deg, #1a2a3d 0%, #1e3548 30%, #243d50 60%, #1d3042 100%);
}

/* Grain texture overlay */
.conv-player::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
}

.conv-player > * {
  position: relative;
  z-index: 2;
}

/* Label de scenario */
.conv-label {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 11;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--font-body);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Overlay CTA initial */
.conv-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: opacity 0.4s ease;
}

.conv-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.conv-overlay-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
  pointer-events: none;
}

.conv-overlay:hover .conv-overlay-btn { transform: scale(1.08); }

.conv-overlay-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.conv-overlay-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.conv-overlay-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Note voix IA sous les controls */
.conv-ai-note {
  text-align: center;
  margin-top: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: opacity 0.3s ease;
}

/* Cacher label et note voix IA une fois l'overlay dismiss */
.conv-player.is-started .conv-label,
.conv-player.is-started .conv-ai-note {
  opacity: 0;
  pointer-events: none;
}

.conv-transcript {
  flex: 1;
  overflow-y: hidden;
  padding: 40px 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  scrollbar-width: none;
}

.conv-transcript::-webkit-scrollbar { display: none; }

.conv-line {
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.conv-line.active, .conv-line.past {
  opacity: 1;
}

.conv-speaker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.conv-speaker.prospect {
  color: rgba(255, 255, 255, 0.45);
}

.conv-speaker.agent {
  color: rgba(180, 140, 255, 0.7);
}

.theme-blue .conv-speaker.agent {
  color: rgba(100, 180, 255, 0.7);
}

.conv-role {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
  font-size: 11px;
}

.conv-text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
}

.conv-text .word {
  transition: color 0.15s ease;
  display: inline;
}

.conv-text .word.spoken {
  color: rgba(255, 255, 255, 0.95);
}

.conv-text .word.current {
  color: #ffffff;
}

/* Controls */
.conv-controls {
  padding: 20px 48px 0px;
  background: linear-gradient(to top, rgba(30, 20, 40, 0.6), transparent);
}

.conv-controls-inner {
  display: flex;
  align-items: center;
  background: #0a0a0a;
  border-radius: 28px;
  padding: 4px;
  position: relative;
}

.conv-play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  transition: transform 0.15s;
  z-index: 1;
}

.conv-play-btn:hover { transform: scale(1.05); }
.conv-play-btn:active { transform: scale(0.95); }

.conv-play-btn svg {
  width: 16px;
  height: 16px;
}

.conv-reset-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s, transform 0.15s;
  margin-right: 2px;
}

.conv-reset-btn:hover { color: rgba(255, 255, 255, 0.85); transform: scale(1.1); }
.conv-reset-btn:active { transform: scale(0.9); }

.conv-reset-btn svg {
  width: 14px;
  height: 14px;
}

.conv-play-btn .icon-play {
  margin-left: 2px;
}

.conv-timeline {
  flex: 1;
  height: 44px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 20px 0 16px;
}

.conv-timeline-bg {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
  border-radius: 1px;
}

.conv-timeline-progress {
  position: absolute;
  top: 50%;
  left: 16px;
  height: 2px;
  width: 0%;
  background: #ffffff;
  transform: translateY(-50%);
  border-radius: 1px;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ===== SCENARIOS SECTION ===== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.scenario-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.scenario-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(17, 25, 39, 0.06);
}

.scenario-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.scenario-icon svg {
  width: 24px;
  height: 24px;
}

.scenario-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.scenario-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== COMPARATIVE TABLE (home-specific section) ===== */
.compare-section {
  padding: 100px 32px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(17, 25, 39, 0.08);
}

.pricing-card.featured {
  background: var(--text-primary);
  color: var(--bg);
  border-color: transparent;
}

.pricing-card.featured .pricing-tier { color: rgba(245, 243, 241, 0.5); }
.pricing-card.featured .pricing-price { color: var(--bg); }
.pricing-card.featured .pricing-desc { color: rgba(245, 243, 241, 0.6); }
.pricing-card.featured .pricing-feature { color: rgba(245, 243, 241, 0.7); }
.pricing-card.featured .pricing-feature svg { color: rgba(245, 243, 241, 0.4); }

.pricing-card.featured .btn-pricing {
  background: var(--bg);
  color: var(--text-primary);
}

.pricing-tier {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 10px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  opacity: 0.5;
  font-weight: 400;
}

.pricing-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
  margin-top: 8px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-feature svg {
  width: 15px;
  height: 15px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.btn-pricing {
  width: 100%;
  padding: 11px 0;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.btn-pricing:hover {
  background: var(--accent-soft);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: none;
  background-image: linear-gradient(to right, rgba(17, 25, 39, 0.18) 6px, transparent 6px);
  background-size: 14px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: color 0.15s;
}

.faq-question:hover { color: var(--text-secondary); }

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== ABOUT / ENGRAMME SECTION ===== */
.about-section {
  padding: 120px 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-badge {
  margin-bottom: 32px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-weight: 450;
  letter-spacing: -0.01em;
}

.about-text p.highlight {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.about-text p.muted {
  color: var(--text-secondary);
  font-size: 16.5px;
  font-weight: 400;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.about-neural {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

/* ===== LANGUAGES SECTION ===== */
.languages-section {
  padding: 100px 32px;
  overflow: hidden;
}

.languages-header {
  text-align: center;
  margin-bottom: 64px;
}

.languages-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

.languages-header p {
  color: var(--text-secondary);
  font-size: 16.5px;
  max-width: 500px;
  margin: 0 auto;
}

.languages-globe-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 500px;
  margin: 0 auto 64px;
}

.globe-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 25, 39, 0.18);
}

.globe-wireframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  animation: globeSpin 30s linear infinite;
  transform-style: preserve-3d;
}

.globe-wireframe::before,
.globe-wireframe::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(17, 25, 39, 0.12);
}

.globe-wireframe::before {
  top: 0; left: 25%; right: 25%; bottom: 0;
}

.globe-wireframe::after {
  top: 0; left: 10%; right: 10%; bottom: 0;
}

.globe-meridian {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 1px solid rgba(17, 25, 39, 0.12);
}

.globe-meridian:nth-child(1) { transform: rotateY(30deg); }
.globe-meridian:nth-child(2) { transform: rotateY(60deg); }
.globe-meridian:nth-child(3) { transform: rotateY(90deg); }
.globe-meridian:nth-child(4) { transform: rotateY(120deg); }
.globe-meridian:nth-child(5) { transform: rotateY(150deg); }

/* Static parallels clipped inside outer circle */
.globe-parallels {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
}

.globe-parallel {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px solid rgba(17, 25, 39, 0.08);
}

.globe-parallel:nth-child(1) { top: 12%; }
.globe-parallel:nth-child(2) { top: 24%; }
.globe-parallel:nth-child(3) { top: 36%; }
.globe-parallel:nth-child(4) { top: 50%; border-top-color: rgba(17, 25, 39, 0.12); }
.globe-parallel:nth-child(5) { top: 64%; }
.globe-parallel:nth-child(6) { top: 76%; }
.globe-parallel:nth-child(7) { top: 88%; }

.globe-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(59, 130, 246, 0.18), rgba(124, 92, 252, 0.12), rgba(236, 72, 153, 0.05) 60%, transparent 80%);
  filter: blur(30px);
}

@keyframes globeSpin {
  0% { transform: translate(-50%, -50%) rotateY(0deg); }
  100% { transform: translate(-50%, -50%) rotateY(360deg); }
}

.lang-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(17, 25, 39, 0.06);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  animation: langFloat var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0;
}

.lang-tag .flag {
  font-size: 18px;
  line-height: 1;
}

@keyframes langFloat {
  0% { opacity: 0; transform: translateY(10px) scale(0.9); }
  15% { opacity: 1; transform: translateY(0) scale(1); }
  85% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.9); }
}

.languages-count {
  text-align: center;
  margin-bottom: 48px;
}

.languages-count .big-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.languages-count .big-label {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.languages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  max-height: 82px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.languages-grid.expanded {
  max-height: 2000px;
}

.lang-toggle {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.lang-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 450;
  transition: all 0.2s;
}

.lang-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 25, 39, 0.06);
}

.lang-pill .flag {
  font-size: 14px;
  line-height: 1;
}

/* ===== STUDIO SECTION ===== */
.studio-section {
  padding: 100px 32px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.studio-text .section-badge { margin-bottom: 16px; }

.studio-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

.studio-text .section-desc {
  max-width: 440px;
}

.studio-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.studio-output-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 450;
  transition: all 0.2s;
}

.studio-output-tag:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.studio-output-tag .tag-icon {
  font-size: 14px;
}

.studio-visual {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phase layers */
.sv-phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.sv-phase#svPhase3 {
  justify-content: flex-start;
}
.sv-phase.active { opacity: 1; pointer-events: auto; }

/* PHASE 1: Upload zone */
.sv-upload-box {
  width: 280px;
  border: 2px dashed var(--border-strong);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.sv-upload-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sv-upload-drop {
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  transition: all 0.3s;
}

.sv-upload-drop .drop-check {
  display: none;
  color: #10b981;
  font-weight: 600;
}

.sv-upload-drop.received { border-color: #10b981; background: rgba(16,185,129,0.04); }
.sv-upload-drop.received .drop-check { display: inline; }
.sv-upload-drop.received .drop-text { display: none; }

.sv-pdf {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(17,25,39,0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 2;
  will-change: transform, opacity;
}

.sv-pdf .pdf-icon {
  width: 26px;
  height: 30px;
  background: rgba(239,68,68,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #dc2626;
  font-weight: 700;
  flex-shrink: 0;
}

.sv-pdf.absorbed {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

/* PHASE 2: Spinner */
.sv-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sv-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: svSpin 0.8s linear infinite;
}

@keyframes svSpin {
  to { transform: rotate(360deg); }
}

.sv-spinner-text {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.sv-spinner-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

/* PHASE 3: Generated module cards */
.sv-module {
  width: 100%;
  height: 100%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sv-module-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.sv-module-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.sv-module-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  padding-left: 24px;
  overflow: hidden;
}

.sv-module-list::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--border);
}

.sv-mod-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
  flex-shrink: 0;
  position: relative;
}

.sv-mod-card::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.sv-mod-card.show {
  opacity: 1;
  transform: translateY(0);
}

.sv-mod-card.show::before {
  background: #9977ff;
  border-color: #9977ff;
}

.sv-mod-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-mod-icon svg {
  width: 14px;
  height: 14px;
}

.sv-mod-info {
  flex: 1;
  min-width: 0;
}

.sv-mod-info h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.sv-mod-info span {
  font-size: 11px;
  color: var(--text-tertiary);
}

.sv-mod-cta {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: default;
  transition: all 0.2s;
}

.sv-mod-badge {
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.studio-output-tag .tag-icon { display: none; }

/* ===== RESPONSIVE — Home Page ===== */
@media (max-width: 900px) {
  .steps-grid,
  .pricing-grid,
  .metiers-grid,
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .git-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { display: none; }
  .languages-globe-container { height: 350px; }
  .languages-globe-container .globe-wireframe { width: 220px; height: 220px; }
  .languages-globe-container .globe-outer { width: 220px; height: 220px; }
  .languages-globe-container .globe-parallels { width: 220px; height: 220px; }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .studio-visual { min-height: 400px; }
  .integ-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voice-cards { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .voice-embed { grid-template-columns: 1fr; }
  .conv-transcript { padding: 24px 24px 16px; gap: 20px; }
  .conv-text { font-size: 16px; }
  .conv-controls { padding: 16px 24px 20px; }
  .conv-play-btn { width: 36px; height: 36px; min-width: 36px; }
  .conv-play-btn svg { width: 14px; height: 14px; }
  .metiers-grid { grid-template-columns: 1fr; }
  .integ-grid {
    grid-template-columns: 1fr;
  }
}
