/* ═══════════════════════════════════════════════════════════════
   Arbiter Interactive Collateral — Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #E63946;
  --red-light: #FFF5F5;
  --red-glow: rgba(230, 57, 70, 0.25);
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #2D2D2D;
  --grey-900: #333333;
  --grey-700: #555555;
  --grey-500: #888888;
  --grey-400: #AAAAAA;
  --grey-300: #CCCCCC;
  --grey-200: #E8E8E8;
  --grey-100: #F5F5F5;
  --grey-50: #FAFAFA;
  --white: #FFFFFF;
  --purple: #7C5C8A;
  --blue: #5B6ABF;
  --green: #4A7C6F;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--grey-50);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Wider container for journey detail pages */
#journeyView .container {
  max-width: 85%;
}

/* ── Typography ── */
.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--grey-500);
  max-width: 100%;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Founder callout */
.founder-callout {
  background: linear-gradient(135deg, rgba(230,57,70,0.06), rgba(91,106,191,0.04));
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 24px 32px;
  margin-bottom: 32px;
  max-width: 100%;
}

.founder-callout p {
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HUB LANDING (TOC)
   ═══════════════════════════════════════════════════════════════ */

#hubLanding {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hub-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1519 50%, #1a1a1a 100%);
  padding: 52px 0 40px;
  text-align: center;
}

.hub-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.hub-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.hub-body {
  flex: 1;
  padding: 40px 0 60px;
}

.hub-toolbar {
  margin-bottom: 36px;
}

.hub-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 20px;
}

.hub-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
  pointer-events: none;
}

.hub-search {
  width: 100%;
  padding: 14px 80px 14px 44px;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hub-search:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.hub-search-kbd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-400);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 3px 8px;
  border-radius: 5px;
}

.hub-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.toc-pill {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toc-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.toc-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* TOC Sections */
.toc-section {
  margin-bottom: 40px;
}

.toc-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-200);
}

.toc-section-icon {
  font-size: 20px;
}

.toc-section-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.toc-section-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
  background: var(--grey-100);
  padding: 2px 10px;
  border-radius: 12px;
}

/* TOC Sub-sections (e.g. call categories) */
.toc-sub-section {
  margin-bottom: 20px;
}

.toc-sub-section:last-child {
  margin-bottom: 0;
}

.toc-sub-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  padding-left: 2px;
}

/* TOC Cards List */
.toc-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--grey-200);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
  padding: 0;
}

.toc-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(230,57,70,0.08), 0 0 0 2px var(--red-glow);
  transform: translateY(-2px);
}

.toc-card-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  margin: 8px 0 8px 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.toc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.toc-card-thumb-fallback {
  position: absolute;
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  z-index: 0;
}

.toc-card-body {
  flex: 1;
  padding: 10px 14px 10px 0;
  min-width: 0;
}

.toc-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-card-tagline {
  font-size: 12px;
  color: var(--grey-500);
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-card-modalities {
  display: flex;
  align-items: center;
  gap: 4px;
}

.toc-card-modality {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.toc-card-modality svg {
  width: 13px;
  height: 13px;
}

.toc-card-step-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-400);
}

.toc-card-thumb-icon {
  font-size: 24px;
}

.toc-card-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--grey-700);
  background: var(--grey-100);
  padding: 2px 7px;
  border-radius: 4px;
}

.toc-card-badge--lang {
  text-transform: capitalize;
  background: #FFF3E0;
  color: #E65100;
}

.toc-empty {
  text-align: center;
  padding: 48px 20px;
  font-size: 15px;
  color: var(--grey-400);
}

.hub-footer {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--grey-400);
  border-top: 1px solid var(--grey-200);
}

/* ── Back to Hub button ── */
.back-to-hub {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.back-to-hub:hover {
  opacity: 1;
  background: rgba(0,0,0,0.7);
}

/* ═══════════════════════════════════════════════════════════════
   CMD+K MODAL
   ═══════════════════════════════════════════════════════════════ */

.cmdk-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.cmdk-modal {
  width: 90%;
  max-width: 680px;
  max-height: 70vh;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cmdk-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-200);
}

.cmdk-search-icon {
  font-size: 18px;
  opacity: 0.5;
  flex-shrink: 0;
}

.cmdk-search {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  background: transparent;
}

.cmdk-close {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-400);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.cmdk-close:hover {
  background: var(--grey-200);
  color: var(--grey-700);
}

.cmdk-pills {
  display: flex;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--grey-100);
  flex-wrap: wrap;
}

.cmdk-pills .toc-pill {
  font-size: 12px;
  padding: 5px 14px;
}

.cmdk-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
}

/* Cmd+K inherits compact card style from .toc-card */
.cmdk-content .toc-cards {
  gap: 8px;
}

.cmdk-content .toc-card-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 8px;
  margin: 6px 0 6px 6px;
}

.cmdk-content .toc-card-thumb-fallback {
  font-size: 18px;
}

.cmdk-content .toc-card-body {
  padding: 8px 12px 8px 0;
}

.cmdk-content .toc-card-title {
  font-size: 14px;
}

.cmdk-content .toc-card-tagline {
  font-size: 11px;
}

.cmdk-content .toc-sub-section {
  margin-bottom: 14px;
}

.cmdk-content .toc-sub-section:last-child {
  margin-bottom: 0;
}

.cmdk-content .toc-sub-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  padding-left: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFF5F5 30%, #F8E8EA 55%, #F0F0F5 80%, #FAFAFA 100%);
  color: var(--dark);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-200);
}

.hero-bg-glow {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg-glow-2 {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91,106,191,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--dark);
  margin-bottom: 4px;
}

.hero-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

/* Journey Picker */
.journey-picker {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.journey-pill {
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-500);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-align: left;
  min-width: 180px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.journey-pill .pill-category {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.5;
}

.journey-pill .pill-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-700);
  transition: color 0.3s;
}

.journey-pill:hover:not(.disabled) {
  border-color: var(--grey-300);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.journey-pill.active {
  border-color: var(--red);
  background: linear-gradient(135deg, rgba(230,57,70,0.06), rgba(230,57,70,0.02));
  box-shadow: 0 0 0 3px rgba(230,57,70,0.08), 0 4px 12px rgba(230,57,70,0.06);
}

.journey-pill.active .pill-title { color: var(--dark); }
.journey-pill.active .pill-category { color: var(--red); opacity: 1; }

.journey-pill.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.journey-pill.disabled {
  opacity: 0.4;
  cursor: default;
}

.journey-pill.disabled .pill-title::after {
  content: ' · Soon';
  font-size: 10px;
  font-weight: 500;
  color: var(--grey-400);
  letter-spacing: 0.5px;
}

/* Hero Info */
.hero-info { max-width: 640px; margin-bottom: 28px; }

.hero-info h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--dark);
}

.hero-info .hero-tagline {
  font-size: 17px;
  color: var(--grey-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.impact-badge.critical {
  background: rgba(230,57,70,0.15);
  color: var(--red);
}

.impact-badge.high {
  background: rgba(0,0,0,0.06);
  color: var(--dark);
}

.impact-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.timing-badge {
  font-size: 12px;
  color: var(--grey-700);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   FLOWCHART
   ═══════════════════════════════════════════════════════════════ */
#flowchart {
  padding: 80px 0 40px;
  background: var(--white);
}

/* flowchart inherits #journeyView .container max-width: 85% */

/* Journey advantages bullets */
.journey-advantages {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-bottom: 48px;
  max-width: 960px;
}

.journey-advantages li {
  font-size: 19px;
  color: var(--grey-700);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.journey-advantages li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.journey-advantages li strong {
  color: var(--dark);
  font-weight: 700;
}

.flow-container {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px 0 32px;
  width: 100%;
}

/* Step Card */
.flow-step {
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step:hover { transform: translateY(-4px); }

.step-day {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 6px;
  padding: 3px 10px;
  background: rgba(230,57,70,0.08);
  border-radius: 20px;
  display: inline-block;
  align-self: center;
}

/* Day span — groups multiple steps under one timeline label */
.flow-day-span {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 3 1 0;          /* takes up proportional space for 3 children */
  min-width: 0;
}

.flow-day-span-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 6px;
  padding: 3px 12px;
  background: rgba(230,57,70,0.08);
  border-radius: 20px;
  white-space: nowrap;
}

.flow-day-span-content {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.flow-day-span-content .flow-step {
  flex: 1 1 0;
  min-width: 0;
}

.flow-day-span-content .flow-connector {
  flex: 0 0 auto;
}

/* Hide individual day badges when inside a span */
.flow-day-span .step-day {
  display: none;
}

.flow-step-card {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: 16px;
  padding: 14px 12px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.flow-step:hover .flow-step-card {
  border-color: var(--grey-300);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.flow-step.active .flow-step-card {
  border-color: var(--red);
  box-shadow:
    0 0 0 3px var(--red-glow),
    0 12px 32px rgba(230,57,70,0.12);
}

/* Looping highlight animation (different from user-selected active) */
.flow-step.fc-highlight .flow-step-card {
  box-shadow:
    0 0 0 2px rgba(230,57,70,0.3),
    0 0 24px rgba(230,57,70,0.15),
    0 8px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.flow-step:not(.fc-highlight) .flow-step-card {
  transition: box-shadow 0.4s ease;
}

.flow-step.fc-highlight .step-visual {
  box-shadow: 0 0 20px rgba(230,57,70,0.25);
}

.flow-step.active .flow-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

/* Step visual preview */
.step-visual {
  width: 100%;
  height: 80px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.step-visual-icon {
  width: 36px;
  height: 36px;
  color: white;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Step number badge */
.step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.step-modality {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-modality-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-title {
  font-size: 12px;
  color: var(--grey-500);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}

.step-outcome {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.35;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.step-outcome-icon {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
  margin-top: 0px;
}

/* Active step arrow indicator */
.flow-step.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--red);
  opacity: 1;
  transition: opacity 0.3s;
}

/* Connector */
.flow-connector {
  flex: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  height: 120px;
  position: relative;
}

.connector-line {
  width: 100%;
  height: 2px;
  background: var(--grey-200);
  position: relative;
  overflow: hidden;
}

.connector-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  top: 50%;
  transform: translateY(-50%);
  animation: flowDot 3s ease-in-out infinite;
  opacity: 0;
}

.flow-connector:nth-child(2) .connector-dot { animation-delay: 0s; }
.flow-connector:nth-child(4) .connector-dot { animation-delay: 0.6s; }
.flow-connector:nth-child(6) .connector-dot { animation-delay: 1.2s; }
.flow-connector:nth-child(8) .connector-dot { animation-delay: 1.8s; }

@keyframes flowDot {
  0%   { left: -6px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% + 6px); opacity: 0; }
}

/* connector-label removed — intelligence now shown in context panel */

/* ═══════════════════════════════════════════════════════════════
   PHONE EXPERIENCE
   ═══════════════════════════════════════════════════════════════ */
#phone-experience {
  padding: 24px 0 80px;
  background: var(--white);
}

/* phone-experience inherits #journeyView .container max-width: 85% */

.phone-layout {
  display: flex;
  gap: 72px;
  align-items: center;
  justify-content: center;
}

/* Context Panel */
.phone-context {
  flex: 0 0 400px;
  max-width: 400px;
}

.phone-context .ctx-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.phone-context .ctx-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.phone-context .ctx-modality {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 24px;
  margin-bottom: 20px;
}

.phone-context .ctx-description {
  font-size: 18px;
  color: var(--grey-700);
  line-height: 1.7;
  margin-bottom: 28px;
}

.phone-context .ctx-intelligence {
  background: var(--grey-100);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  border-left: 4px solid var(--red);
}

.phone-context .ctx-intelligence.incoming {
  border-left-color: var(--blue);
}

.phone-context .ctx-intelligence.outgoing {
  border-left-color: var(--red);
}

.phone-context .ctx-intelligence-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.phone-context .ctx-intelligence-arrow svg {
  width: 18px;
  height: 18px;
}

.phone-context .ctx-intelligence.incoming .ctx-intelligence-arrow {
  background: rgba(91, 106, 191, 0.12);
  color: var(--blue);
  transform: rotate(180deg);
}

.phone-context .ctx-intelligence.outgoing .ctx-intelligence-arrow {
  background: rgba(230, 57, 70, 0.12);
  color: var(--red);
}

.phone-context .ctx-intelligence-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.phone-context .ctx-intelligence-text {
  font-size: 16px;
  color: var(--grey-700);
  font-weight: 500;
  line-height: 1.5;
}

/* Phone Frame */
.phone-wrapper {
  position: relative;
  flex: 0 0 auto;
}

.phone-frame {
  width: 340px;
  height: 700px;
  background: #000;
  border-radius: 48px;
  padding: 14px;
  position: relative;
  box-shadow:
    inset 0 0 0 2px #333,
    0 30px 80px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.1);
  transition: transform 0.4s var(--ease-out);
}

.phone-frame:hover {
  transform: translateY(-4px);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a2e;
  border: 2px solid #222;
}

.phone-status-bar {
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.psb-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 10px;
}

.psb-signal {
  letter-spacing: -1px;
  font-size: 8px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.phone-screen-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.phone-home-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: #555;
  border-radius: 3px;
  z-index: 10;
}

/* Phone nav arrows */
.phone-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-700);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: var(--font);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 5;
}

.phone-nav:hover {
  background: var(--grey-100);
  border-color: var(--grey-300);
  transform: translateY(-50%) scale(1.05);
}

.phone-nav-prev { left: -56px; }
.phone-nav-next { right: -56px; }

/* Phone dots */
.phone-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-300);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.phone-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

.phone-dot:hover:not(.active) {
  background: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════════
   PHONE CONTENT — shared styles
   ═══════════════════════════════════════════════════════════════ */
.phone-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 28px;
}

/* ── Video ── */
.pc-video { background: var(--dark); }

.pc-video .video-cover {
  width: calc(100% - 24px);
  height: 240px;
  margin: 16px 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pc-video .video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  animation: pulse-play 2s ease-in-out infinite;
}

.pc-video .video-play-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.pc-video .video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}

/* ── Video Player Overlay (inside phone) ── */
.video-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 38px;
}

.video-player-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 38px;
  background: #000;
}

.video-player-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  transition: background 0.2s;
  font-family: var(--font);
  line-height: 1;
}

.video-player-close:hover {
  background: rgba(0,0,0,0.8);
}

.pc-video .video-info {
  padding: 0 16px;
  color: white;
}

.pc-video .video-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pc-video .video-subtitle {
  font-size: 14px;
  color: var(--grey-400);
  margin-bottom: 16px;
}

.pc-video .video-bullets {
  list-style: none;
  padding: 0;
}

.pc-video .video-bullets li {
  font-size: 14px;
  color: var(--grey-400);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pc-video .video-bullets li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.pc-video .video-cta {
  display: block;
  margin: 20px 16px 0;
  padding: 12px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  font-family: var(--font);
  cursor: pointer;
}

/* ── Chat ── */
.pc-chat { background: var(--grey-50); display: flex; flex-direction: column; }

.pc-chat .chat-header {
  background: var(--white);
  padding: 12px 16px;
  margin-top: 16px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-chat .chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.pc-chat .chat-name {
  font-size: 16px;
  font-weight: 700;
}

.pc-chat .chat-status {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

.pc-chat .chat-messages {
  flex: 1;
  padding: 12px 12px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-chat .chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-line;
}

.pc-chat .chat-msg.ai {
  background: var(--white);
  border: 1px solid var(--grey-200);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.pc-chat .chat-msg.member {
  background: var(--blue);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.pc-chat .chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
}

.pc-chat .chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey-400);
  animation: typing 1.4s ease-in-out infinite;
}

.pc-chat .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.pc-chat .chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.pc-chat .chat-input {
  padding: 10px 14px;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-chat .chat-input-field {
  flex: 1;
  height: 36px;
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--font);
  color: var(--grey-400);
}

.pc-chat .chat-input-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SMS ── */
.pc-sms { background: var(--white); display: flex; flex-direction: column; }

.pc-sms .sms-header {
  padding: 12px 16px;
  margin-top: 16px;
  text-align: center;
  border-bottom: 1px solid var(--grey-200);
}

.pc-sms .sms-header-name {
  font-size: 17px;
  font-weight: 700;
}

.pc-sms .sms-header-sub {
  font-size: 13px;
  color: var(--grey-400);
}

.pc-sms .sms-messages {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.pc-sms .sms-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-line;
}

.pc-sms .sms-bubble.incoming {
  background: var(--grey-100);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.pc-sms .sms-bubble.outgoing {
  background: var(--green);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.pc-sms .sms-btn {
  display: block;
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-align: center;
  width: 100%;
}

.pc-sms .sms-delivered {
  font-size: 10px;
  color: var(--grey-400);
  text-align: right;
  margin-top: 2px;
  margin-right: 4px;
}

/* ── Voice ── */
.pc-voice {
  background: linear-gradient(180deg, #1a1a2e 0%, #0a0a15 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.pc-voice .voice-caller {
  margin-top: 36px;
  text-align: center;
}

.pc-voice .voice-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #FF6B6B);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  animation: avatar-ring 3s ease-in-out infinite;
}

@keyframes avatar-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.4); }
  50% { box-shadow: 0 0 0 20px rgba(230,57,70,0); }
}

.pc-voice .voice-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pc-voice .voice-subtitle {
  font-size: 14px;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.pc-voice .voice-timer {
  font-size: 16px;
  color: var(--green);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Waveform */
.pc-voice .voice-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  margin: 24px 0;
}

.pc-voice .wave-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--red);
  animation: waveBar 1.2s ease-in-out infinite;
}

@keyframes waveBar {
  0%, 100% { height: 6px; opacity: 0.4; }
  50% { height: 32px; opacity: 1; }
}

/* Audio play button */
.pc-voice .voice-audio-btn {
  padding: 10px 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: all 0.2s;
}

.pc-voice .voice-audio-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* Transcript */
.pc-voice .voice-transcript {
  width: 100%;
  padding: 0 16px;
  max-height: 200px;
  overflow-y: auto;
}

.pc-voice .voice-transcript-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}

.pc-voice .transcript-line {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.pc-voice .transcript-speaker {
  font-weight: 700;
  flex-shrink: 0;
  min-width: 28px;
}

.pc-voice .transcript-speaker.ai { color: var(--red); }
.pc-voice .transcript-speaker.member { color: var(--grey-400); }

.pc-voice .transcript-text {
  color: var(--grey-300);
}

/* ── Portal ── */
.pc-portal { background: var(--grey-50); display: flex; flex-direction: column; }

.pc-portal .portal-header {
  margin-top: 16px;
  padding: 16px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}

.pc-portal .portal-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.pc-portal .portal-subtitle {
  font-size: 13px;
  color: var(--grey-500);
}

.pc-portal .portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(124,92,138,0.1);
  padding: 4px 10px;
  border-radius: 10px;
  margin-top: 8px;
}

.pc-portal .portal-form {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.pc-portal .form-group {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
}

.pc-portal .form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pc-portal .form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
}

.pc-portal .form-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-portal .form-check-box.checked {
  background: var(--green);
  color: white;
  font-size: 12px;
}

.pc-portal .form-check-box.unchecked {
  border: 2px solid var(--grey-300);
  background: var(--white);
}

.pc-portal .form-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--grey-50);
}

.pc-portal .form-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--grey-50);
  resize: none;
  height: 56px;
  line-height: 1.4;
}

.pc-portal .form-info {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 14px;
  background: #FEF3C7;
  border-radius: 10px;
  font-size: 14px;
  color: #92400E;
  line-height: 1.4;
}

.pc-portal .form-info-icon { flex-shrink: 0; }

/* Yes/No pill picker */
.pc-portal .form-yesno {
  display: flex;
  gap: 8px;
}

.pc-portal .form-yesno-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-600);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pc-portal .form-yesno-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* Phone footer in portal */
.pc-portal .form-phone-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--grey-50);
  border-radius: 10px;
  border: 1px solid var(--grey-200);
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-700);
  margin-top: 4px;
}

.pc-portal .form-phone-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.pc-portal .portal-submit {
  padding: 14px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  margin: 0 16px 16px;
  transition: all 0.2s;
}

.pc-portal .portal-submit:hover {
  background: #6A4D77;
}

/* ── Voice state badges (voicemail/unanswered) ── */
.voice-state-badge {
  text-align: center;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 8px 16px 4px;
}

.voice-state-badge.voicemail {
  background: #FFF3E0;
  color: #E65100;
}

.voice-state-badge.unanswered {
  background: var(--grey-100);
  color: var(--grey-500);
}

/* ── Iframe phone content ── */
.pc-iframe {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
}

.pc-iframe-embed {
  width: 100%;
  flex: 1;
  border: none;
  border-radius: 0;
}

/* ── Language toggle (below phone frame) ── */
.phone-lang-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.lang-pill {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.lang-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════
   COMPLIANCE
   ═══════════════════════════════════════════════════════════════ */
#compliance {
  padding: 80px 0;
  background: var(--grey-50);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Center last row when it has fewer items */
.compliance-grid .compliance-card:last-child:nth-child(3n - 1) {
  grid-column: 2;
}

.compliance-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s var(--ease-out);
}

.compliance-card:hover {
  border-color: var(--grey-300);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.compliance-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.compliance-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.compliance-desc {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
#footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 13px;
  color: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════════
   GSAP ANIMATION HELPERS
   ═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); }

/* ═══════════════════════════════════════════════════════════════
   CALL VIEW
   ═══════════════════════════════════════════════════════════════ */

.call-page {
  min-height: 100vh;
  background: var(--grey-50);
  padding: 80px 0 60px;
}

/* Call page uses a wider container */
.call-page .container {
  max-width: 85%;
  padding: 0 40px;
}

/* ── Header ── */
.call-header {
  margin-bottom: 36px;
}

.call-header-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.call-header-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.call-header-tagline {
  font-size: 18px;
  color: var(--grey-500);
  line-height: 1.55;
  max-width: 900px;
}

.call-header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.call-badge {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--grey-100);
  color: var(--grey-700);
}

.call-badge--duration {
  background: var(--dark);
  color: var(--white);
}

.call-badge--lang {
  background: #FFF3E0;
  color: #E65100;
  text-transform: capitalize;
}

.call-badge--audience {
  color: var(--white);
}

/* ── Layout: Video + Highlights ── */
.call-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.call-video-col {
  flex: 3;
  min-width: 0;
}

.call-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.call-highlights-col {
  flex: 2;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  overflow: hidden;
}

.call-highlights-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-200);
  flex-shrink: 0;
}

.call-highlights-icon {
  font-size: 20px;
}

.call-highlights-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.call-highlights-list {
  flex: 1;
  overflow-y: auto;
}

.call-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--grey-100);
}

.call-highlight:hover {
  background: var(--grey-50);
}

.call-highlight.active {
  background: var(--red-light);
  border-left: 3px solid var(--red);
  padding-left: 17px;
}

.call-highlight-time {
  font-size: 14px;
  font-weight: 600;
  font-family: monospace;
  color: var(--red);
  white-space: nowrap;
  min-width: 48px;
  padding-top: 2px;
}

.call-highlight-text {
  font-size: 16px;
  color: var(--grey-700);
  line-height: 1.5;
}

.call-highlight.active .call-highlight-text {
  color: var(--dark);
  font-weight: 600;
}

/* ── Details Section ── */
.call-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.call-detail-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 24px 28px;
}

.call-detail-card--full {
  grid-column: 1 / -1;
}

.call-detail-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 12px;
}

.call-detail-desc {
  font-size: 17px;
  color: var(--grey-700);
  line-height: 1.7;
}

.call-detail-list {
  list-style: none;
  padding: 0;
}

.call-detail-list li {
  font-size: 16px;
  color: var(--grey-700);
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-100);
  padding-left: 22px;
  position: relative;
}

.call-detail-list li:last-child {
  border-bottom: none;
}

.call-detail-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
  top: 10px;
}

.call-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.call-capability {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  color: var(--grey-700);
}

.call-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.call-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--grey-100);
  color: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .phone-layout {
    flex-direction: column;
    gap: 32px;
  }

  .phone-context {
    flex: none;
    max-width: 600px;
    text-align: center;
  }

  .phone-context .ctx-intelligence {
    justify-content: center;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .hero-info h1 { font-size: 32px; }

  .section-title { font-size: 32px; }

  .journey-picker { gap: 8px; }
  .journey-pill { min-width: 140px; padding: 10px 14px; }

  .journey-advantages { grid-template-columns: 1fr; }
  .flow-container { padding: 12px 0 24px; flex-wrap: wrap; gap: 12px; }
  .flow-step { flex: 1 1 140px; min-width: 120px; }
  .flow-connector { flex: 0 0 30px; }

  .phone-frame { width: 300px; height: 620px; }

  .compliance-grid { grid-template-columns: 1fr; }

  .call-page .container { max-width: 100%; padding: 0 20px; }
  .call-layout { flex-direction: column; }
  .call-highlights-col { max-height: 350px; }
  .call-details { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   PLYR OVERRIDES — match Arbiter design
   ═══════════════════════════════════════════════════════════════ */
.call-video-col .plyr {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  --plyr-color-main: #E63946;
  --plyr-video-background: #000;
}

.call-video-col .plyr__control--overlaid {
  background: rgba(230, 57, 70, 0.85);
}

.call-video-col .plyr__control--overlaid:hover {
  background: #E63946;
}
