/* ==========================================================================
   CLINIQNOTE — DESIGN SYSTEM & MULTI-PAGE STYLESHEET
   Clean, clinical, modern aesthetic with calm teal/emerald accents
   ========================================================================== */

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --color-primary: #0f766e;        /* Deep clinical teal */
  --color-primary-hover: #115e59;  /* Darker teal */
  --color-primary-light: #f0fdfa;  /* Mint / light teal surface */
  --color-primary-subtle: #ccfbf1; /* Border teal highlight */
  --color-accent: #0d9488;         /* Vibrant emerald-teal */
  --color-accent-dark: #134e4a;
  
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-card: #ffffff;
  --color-surface-hover: #f1f5f9;
  
  --color-text-main: #0f172a;      /* Slate 900 */
  --color-text-muted: #475569;     /* Slate 600 */
  --color-text-subtle: #64748b;    /* Slate 500 */
  
  --color-border: #e2e8f0;         /* Slate 200 */
  --color-border-subtle: #cbd5e1;
  
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 12px 30px -4px rgba(15, 118, 110, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-subtle);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.28);
  transform: translateY(-2px) scale(1.015);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
  transform: translateY(-2px) scale(1.015);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border-subtle);
  color: var(--color-text-main);
}

.btn-outline:hover {
  background-color: var(--color-surface);
  border-color: var(--color-text-muted);
  transform: translateY(-1px) scale(1.015);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* ==========================================================================
   NAVIGATION BAR & DROPDOWNS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(203, 213, 225, 0.8);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-text-main);
  letter-spacing: -0.03em;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  padding: 0.35rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1010;
}

.dropdown-item {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.dropdown-item.active {
  color: var(--color-primary);
  font-weight: 700;
  background-color: var(--color-primary-light);
}

.nav-item-dropdown:hover .dropdown-menu {
  display: flex;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-only-ctas {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: all 0.3s ease;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (HOMEPAGE ONLY)
   ========================================================================== */
.top-announcement-bar {
  background-color: #ecfdf5;
  border-bottom: 1px solid rgba(13, 148, 136, 0.2);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-primary-dark);
  text-align: center;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.announcement-link {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.announcement-link:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   HERO SECTIONS (CENTERED PRODUCT-FIRST HEIDI-STYLE HERO)
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 4.5rem;
  background: radial-gradient(circle at 50% 15%, #f0fdfa 0%, #f8fafc 45%, #ffffff 80%);
  overflow: hidden;
}

.hero-centered-layout {
  text-align: center;
  position: relative;
}

.hero-centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1180px;
  position: relative;
}

/* Full-Width Hero Ambient Background Image */
.hero-ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.25) 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.25) 85%, transparent 100%);
}

.hero-ambient-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.45;
  filter: contrast(1.15) saturate(1.2);
}

.hero-pill,
.hero-title-centered,
.hero-subtitle-centered,
.hero-ctas-centered,
.hero-product-stage-wrapper {
  position: relative;
  z-index: 1;
}

.hero-title-centered {
  font-size: 3.4rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle-centered {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   LARGE ROUNDED INTERACTIVE PRODUCT AREA (STAGE CANVAS)
   ========================================================================== */
.hero-product-stage-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-product-stage {
  background: linear-gradient(145deg, #f0fdf9 0%, #ffffff 50%, #f0fdfa 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.25rem 1.75rem;
  box-shadow: 0 20px 50px -10px rgba(15, 118, 110, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-product-stage::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(204, 251, 241, 0.7) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-product-stage:hover {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 24px 60px -12px rgba(15, 118, 110, 0.16);
}

/* Interactive Prompt / Bar at Top of Stage */
.stage-interactive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.55rem 0.65rem 0.55rem 1.15rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  max-width: 680px;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
}

.stage-interactive-bar:hover,
.stage-interactive-bar.active-listening {
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.12);
}

.stage-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.stage-mic-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stage-mic-icon:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.stage-interactive-bar.active-listening .stage-mic-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.2);
}

.stage-input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-main);
  width: 100%;
  outline: none;
  cursor: pointer;
}

.stage-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.stage-action-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.06);
}

/* Canvas View Panels */
.stage-canvas-content {
  margin-bottom: 2rem;
  text-align: left;
}

.stage-view-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.stage-view-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* View 1 Grid Layout */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.stage-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stage-photo-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stage-photo-box img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.stage-photo-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Evidence Demo Grid */
.evidence-demo-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qa-query-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.query-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.query-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.qa-answer-card {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.answer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.verified-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  background-color: #ecfdf5;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.source-tag {
  font-size: 0.72rem;
  color: var(--color-text-subtle);
  font-weight: 600;
}

.qa-answer-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.qa-citations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cite-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--color-primary-subtle);
}

/* Dictate Demo Grid */
.dictate-demo-grid {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.dictate-window-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.dictate-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dictate-indicator-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}

.dictate-app-tag {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.dictate-stream-box {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  min-height: 120px;
}

.dictate-stream-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

/* Capability Switcher Pill at Bottom of Product Stage */
.stage-capability-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.35rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.capability-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.capability-tab .tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: all 0.25s ease;
}

.capability-tab:hover {
  color: var(--color-primary);
}

.capability-tab.active {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.capability-tab.active .tab-dot {
  background-color: #34d399;
}

/* Security Note under Stage */
.hero-stage-security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  margin-top: 1.5rem;
  text-align: center;
}

.hero-stage-security-note svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Prescribe Item Demo Card Styling */
.prescribe-item-card {
  background: var(--color-surface);
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.prescribe-item-card:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}

.med-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.med-name-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.med-tag-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.med-title {
  font-size: 0.92rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.med-dosage {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.med-match-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.med-rationale {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

.prescribe-action-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

/* Two Flexible Paths Comparison Cards */
.two-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.path-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.path-card-ai {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 28%);
}

.path-card-ai:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px -8px rgba(15, 118, 110, 0.14);
}

.path-card-manual:hover {
  transform: translateY(-5px);
  border-color: #94a3b8;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08);
}

.path-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.path-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.path-pill-badge.pill-ai {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-subtle);
}

.path-pill-badge.pill-manual {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.path-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.path-tag-accent {
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.path-tag-neutral {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.path-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.path-icon-wrapper.icon-ai {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-subtle);
}

.path-icon-wrapper.icon-manual {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.path-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.path-card-lead {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.path-card-body {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.path-feature-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-subtle);
  margin-bottom: 1rem;
}

.path-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.path-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.path-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.path-check-icon.icon-neutral {
  background: #f1f5f9;
  color: #475569;
}

.path-feature-list li strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.path-feature-list li p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.path-card-footer {
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}

.path-footer-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  display: block;
}

@media (max-width: 840px) {
  .two-paths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Premium Differentiator Box on Homepage */
.differentiator-box {
  background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 45%, #ffffff 100%);
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: var(--radius-xl);
  padding: 3rem 2.75rem;
  margin-top: 3.5rem;
  box-shadow: 0 20px 40px -15px rgba(15, 118, 110, 0.09);
  position: relative;
  overflow: hidden;
}

.differentiator-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #34d399, #0d9488);
}

.differentiator-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
}

.differentiator-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.differentiator-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-primary-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.differentiator-sub-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.differentiator-title {
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
  margin-bottom: 0.85rem;
}

.differentiator-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.differentiator-points-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.diff-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.diff-point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.diff-point-content strong {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--color-text-main);
  margin-right: 0.35rem;
}

.diff-point-content span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.differentiator-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Right Safety Mock Card */
.diff-preview-card {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(15, 118, 110, 0.1);
  position: relative;
}

.diff-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.diff-preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.diff-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

.diff-cert-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.diff-preview-body {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.diff-quote-icon {
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 1.75rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.4;
  line-height: 1;
}

.diff-quote-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text-main);
  margin: 0;
}

.diff-preview-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  flex-wrap: wrap;
}

.diff-audit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-subtle);
}

.diff-audit-item svg {
  color: var(--color-primary);
}

@media (max-width: 950px) {
  .differentiator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .differentiator-box {
    padding: 2.25rem 1.75rem;
  }
}

/* ==========================================================================
   PLATFORM CLINICAL WORKFLOW SECTION (Connected Lifecycle)
   ========================================================================== */
.workflow-section {
  background-color: #ffffff;
  padding: 5.5rem 0;
  position: relative;
}

.workflow-phase-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 1.75rem;
  position: relative;
  margin-top: 3rem;
}

.workflow-phase-col {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.workflow-phase-col:hover {
  border-color: var(--color-primary-subtle);
  box-shadow: 0 12px 30px -8px rgba(15, 118, 110, 0.08);
}

.phase-header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phase-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
}

.workflow-card-mini {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.workflow-card-mini:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 16px -2px rgba(15, 118, 110, 0.1);
}

.workflow-card-mini-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.workflow-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-mini-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}

.workflow-mini-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-left: auto;
}

.workflow-card-mini p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.workflow-connector-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: bold;
}

@media (max-width: 990px) {
  .workflow-phase-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   REMOTE CAPABILITY & PORTABLE CLINICAL CAPTURE
   ========================================================================== */
.remote-section {
  background: linear-gradient(180deg, var(--color-surface) 0%, #ffffff 100%);
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.remote-box-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.remote-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.remote-env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.remote-env-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.remote-env-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.remote-env-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-main);
  margin-bottom: 0.15rem;
}

.remote-env-item span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   BEYOND CLINICAL NOTES & CLINICAL TASKS (3-Grid & Follow-up Flow)
   ========================================================================== */
.beyond-notes-section {
  background-color: var(--color-surface);
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.beyond-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.beyond-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-subtle);
  box-shadow: 0 10px 25px -4px rgba(15, 118, 110, 0.08);
}

.beyond-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.beyond-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.beyond-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.beyond-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  align-self: flex-start;
}

/* Tasks & Follow-up Flow Bar */
.tasks-flow-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 10px 30px -5px rgba(15, 118, 110, 0.06);
}

.tasks-flow-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.tasks-lifecycle-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  flex-wrap: wrap;
}

.task-step-node {
  flex: 1;
  min-width: 170px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.task-step-node.active-node {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.task-node-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.task-node-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.task-node-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.task-flow-arrow {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .beyond-grid {
    grid-template-columns: 1fr;
  }
  .remote-box-grid {
    grid-template-columns: 1fr;
  }
  .tasks-lifecycle-steps {
    flex-direction: column;
  }
  .task-flow-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   INTEGRATIONS SECTION & WORKFLOW CONNECTIVITY
   ========================================================================== */
.integrations-section {
  background-color: #ffffff;
  padding: 5.5rem 0;
  border-top: 1px solid var(--color-border);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.integration-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary-subtle);
}

.integration-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.integration-status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.status-planned {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-standard {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-subtle);
}

.integration-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.integration-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .integrations-grid {
    grid-template-columns: 1fr;
  }
}

.hero-page-header {
  position: relative;
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at 50% 0%, #f0fdfa 0%, #ffffff 70%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Security Hero Subtle Right-Aligned Background Image */
.security-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.9) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.9) 100%);
}

.security-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.11;
  filter: saturate(0.85);
}

.security-hero-header .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .security-hero-bg {
    width: 100%;
    opacity: 0.06;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: livePulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--color-text-subtle);
  background: var(--color-surface);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  width: fit-content;
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-security-note svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   IMAGE WRAPPERS & STYLES (HERO HOVER & ZOOM)
   ========================================================================== */
.hero-visual {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-banner-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.section-banner-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.avatar-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-subtle);
  box-shadow: var(--shadow-sm);
}

.avatar-photo-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-subtle);
}

.sidebar-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.sidebar-image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.trainee-hero-photo-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.trainee-hero-photo-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ==========================================================================
   DEMO CARDS & WINDOWS (LIVE ACTIVE SESSION MOTION)
   ========================================================================== */
.demo-card-container {
  position: relative;
}

.ai-live-tracker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.08);
  margin-bottom: 0.85rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-live-tracker .tracker-icon {
  color: var(--color-accent);
  font-size: 0.85rem;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.ai-live-tracker .tracker-divider {
  color: var(--color-border);
}

.ai-live-tracker .tracker-desc {
  color: var(--color-text-muted);
  font-weight: 500;
}

.ai-live-tracker.phase-understanding {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.ai-live-tracker.phase-generating {
  border-color: var(--color-primary);
  background: #f0fdf4;
}

.ai-live-tracker.phase-ready {
  border-color: var(--color-success);
  background: #ecfdf5;
  color: #065f46;
}

.clinical-entity {
  background-color: transparent;
  color: inherit;
  border-radius: 3px;
  padding: 0 3px;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.clinical-entity.entity-highlighted {
  background-color: rgba(13, 148, 136, 0.15);
  color: var(--color-primary-dark);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
}

.demo-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.demo-window-bar {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-controls .dot.red { background-color: #f87171; }
.window-controls .dot.yellow { background-color: #fbbf24; }
.window-controls .dot.green { background-color: #34d399; }

.window-tab {
  font-weight: 600;
  color: var(--color-text-muted);
}

.live-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.75rem;
  background: var(--color-primary-light);
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--color-primary-subtle);
  transition: all 0.3s ease;
}

.pulse-ring {
  width: 7px;
  height: 7px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: livePulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.demo-window-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audio-capture-panel {
  position: relative;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  overflow: hidden;
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.audio-capture-panel.listening-active {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.15);
}

.audio-capture-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(13, 148, 136, 0.08) 50%, transparent 100%);
  animation: scanBeam 4s infinite linear;
  pointer-events: none;
}

@keyframes scanBeam {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.panel-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.waveform-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.waveform-anim i {
  display: block;
  width: 2.5px;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: gentleWave 1.4s infinite ease-in-out;
  transform-origin: center;
}

.waveform-anim i:nth-child(1) { animation-delay: 0.0s; }
.waveform-anim i:nth-child(2) { animation-delay: 0.25s; }
.waveform-anim i:nth-child(3) { animation-delay: 0.5s; }
.waveform-anim i:nth-child(4) { animation-delay: 0.15s; }
.waveform-anim i:nth-child(5) { animation-delay: 0.35s; }
.waveform-anim i:nth-child(6) { animation-delay: 0.6s; }

@keyframes gentleWave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.live-dialogue {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.generated-note-panel {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.generated-note-panel.note-focus {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px -2px rgba(15, 118, 110, 0.14);
}

.note-pill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.note-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.timer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  background: var(--color-surface);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: all 0.35s ease;
}

.timer-badge.highlighted {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-subtle);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
  transform: scale(1.04);
}

/* Interactive Right-Side Hero Visual Hover */
@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .hero-image-card {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 16px 30px -4px rgba(15, 118, 110, 0.12);
  }

  .hero-visual:hover .hero-image-card img {
    transform: scale(1.03);
  }

  .hero-visual:hover .demo-window {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 16px 35px -4px rgba(15, 118, 110, 0.12), 0 0 0 1px rgba(15, 118, 110, 0.15);
    transform: translateY(-2px);
  }

  .hero-visual:hover .waveform-anim i {
    animation-duration: 0.9s;
  }

  .hero-visual:hover .audio-capture-panel {
    border-color: var(--color-primary-subtle);
  }
}

/* ==========================================================================
   IMAGE WRAPPERS & STYLES (HERO HOVER & ZOOM)
   ========================================================================== */
.hero-visual {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-banner-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.section-banner-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.avatar-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-subtle);
  box-shadow: var(--shadow-sm);
}

.avatar-photo-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-subtle);
}

.sidebar-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.sidebar-image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.trainee-hero-photo-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.trainee-hero-photo-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ==========================================================================
   DEMO CARDS & WINDOWS (LIVE ACTIVE SESSION MOTION)
   ========================================================================== */
.demo-card-container {
  position: relative;
}

.ai-live-tracker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.08);
  margin-bottom: 0.85rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-live-tracker .tracker-icon {
  color: var(--color-accent);
  font-size: 0.85rem;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.ai-live-tracker .tracker-divider {
  color: var(--color-border);
}

.ai-live-tracker .tracker-desc {
  color: var(--color-text-muted);
  font-weight: 500;
}

.ai-live-tracker.phase-understanding {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.ai-live-tracker.phase-generating {
  border-color: var(--color-primary);
  background: #f0fdf4;
}

.ai-live-tracker.phase-ready {
  border-color: var(--color-success);
  background: #ecfdf5;
  color: #065f46;
}

.clinical-entity {
  background-color: transparent;
  color: inherit;
  border-radius: 3px;
  padding: 0 3px;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.clinical-entity.entity-highlighted {
  background-color: rgba(13, 148, 136, 0.15);
  color: var(--color-primary-dark);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
}

.demo-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.demo-window-bar {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-controls .dot.red { background-color: #f87171; }
.window-controls .dot.yellow { background-color: #fbbf24; }
.window-controls .dot.green { background-color: #34d399; }

.window-tab {
  font-weight: 600;
  color: var(--color-text-muted);
}

.live-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.75rem;
  background: var(--color-primary-light);
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--color-primary-subtle);
  transition: all 0.3s ease;
}

.pulse-ring {
  width: 7px;
  height: 7px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: livePulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.demo-window-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audio-capture-panel {
  position: relative;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  overflow: hidden;
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.audio-capture-panel.listening-active {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.15);
}

.audio-capture-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(13, 148, 136, 0.08) 50%, transparent 100%);
  animation: scanBeam 4s infinite linear;
  pointer-events: none;
}

@keyframes scanBeam {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.panel-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.waveform-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.waveform-anim i {
  display: block;
  width: 2.5px;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: gentleWave 1.4s infinite ease-in-out;
  transform-origin: center;
}

.waveform-anim i:nth-child(1) { animation-delay: 0.0s; }
.waveform-anim i:nth-child(2) { animation-delay: 0.25s; }
.waveform-anim i:nth-child(3) { animation-delay: 0.5s; }
.waveform-anim i:nth-child(4) { animation-delay: 0.15s; }
.waveform-anim i:nth-child(5) { animation-delay: 0.35s; }
.waveform-anim i:nth-child(6) { animation-delay: 0.6s; }

@keyframes gentleWave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.live-dialogue {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.generated-note-panel {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.generated-note-panel.note-focus {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px -2px rgba(15, 118, 110, 0.14);
}

.note-pill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.note-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.timer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  background: var(--color-surface);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: all 0.35s ease;
}

.timer-badge.highlighted {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-subtle);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
  transform: scale(1.04);
}

/* Interactive Right-Side Hero Visual Hover */
@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .hero-image-card {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 16px 30px -4px rgba(15, 118, 110, 0.12);
  }

  .hero-visual:hover .hero-image-card img {
    transform: scale(1.03);
  }

  .hero-visual:hover .demo-window {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 16px 35px -4px rgba(15, 118, 110, 0.12), 0 0 0 1px rgba(15, 118, 110, 0.15);
    transform: translateY(-2px);
  }

  .hero-visual:hover .waveform-anim i {
    animation-duration: 0.9s;
  }

  .hero-visual:hover .audio-capture-panel {
    border-color: var(--color-primary-subtle);
  }
}

.soap-block {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.soap-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}

.note-footer-action {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.btn-action-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-action-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Evidence Q&A Demo Card Specifics */
.qa-query-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.qa-query-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.qa-query-text {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-main);
}

.qa-answer-card {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.qa-answer-text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 0.85rem;
}

.qa-citations {
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
}

.citation-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary-hover);
  margin-bottom: 0.35rem;
}

.citation-list {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.citation-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.citation-tag {
  background: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* Dictate Demo Card Specifics */
.dictate-canvas {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-height: 160px;
}

.dictate-mic-active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-danger);
  margin-bottom: 0.75rem;
}

.mic-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-danger);
  border-radius: 50%;
  animation: pulseDot 1s infinite ease-in-out;
}

.dictate-stream-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--color-primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 1s infinite;
}

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

/* ==========================================================================
   TRUST STRIP / CONTINUOUS LOGO MARQUEE
   ========================================================================== */
.trust-strip {
  padding: 2.75rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.trust-title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
  will-change: transform;
}

.trust-marquee-wrapper:hover .trust-marquee-track {
  animation-play-state: paused;
}

.marquee-brand-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
  user-select: none;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-brand-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.marquee-brand-item:hover .brand-mark {
  background: var(--color-primary);
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.brand-name span {
  font-weight: 500;
  color: var(--color-text-muted);
}

.brand-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-subtle);
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem;
  }
  .trust-marquee-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 768px) {
  .trust-strip {
    padding: 2rem 0;
  }
  .trust-marquee-track {
    gap: 2.25rem;
    animation-duration: 26s;
  }
  .brand-name {
    font-size: 0.92rem;
  }
  .brand-category {
    font-size: 0.62rem;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .brand-mark svg {
    width: 16px;
    height: 16px;
  }
}

/* ==========================================================================
   HOW IT WORKS & STEPS (WITH INTERACTIVE HOVER BACKGROUND)
   ========================================================================== */
.how-it-works-section {
  background-color: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.step-card:not(:has(.card-top-image)) {
  padding-top: 2.25rem;
}

.card-top-image,
.step-card .card-top-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.step-card .step-badge {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.step-card .step-heading,
.step-card .step-description {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.step-card .step-icon-circle {
  margin-left: 1.75rem;
}

.step-card .step-extra-tip {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.6);
    background-color: #f0fdf9;
  }

  .step-card:hover .card-top-image {
    transform: scale(1.04);
  }

  .step-card:hover .step-heading {
    color: var(--color-text-main);
  }

  .step-card:hover .step-description {
    color: var(--color-text-muted);
  }

  .step-card:hover .step-badge {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-subtle);
  }

  .step-card:hover .step-icon-circle {
    background-color: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .card-top-image,
  .step-card .card-top-image {
    height: 190px;
  }
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.step-icon-circle {
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border: 1px solid var(--color-primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-heading {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.step-extra-tip {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  background: #ffffff;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.step-extra-tip.privacy-tip {
  background: var(--color-primary-light);
  border-color: var(--color-primary-subtle);
  color: var(--color-primary-hover);
  font-weight: 500;
}

/* ==========================================================================
   FEATURE CARDS & GRIDS
   ========================================================================== */
.features-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  background-color: #f0fdf9;
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 12px 28px -4px rgba(15, 118, 110, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.feature-card-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.feature-card-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.feature-learn-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.feature-learn-more:hover {
  text-decoration: underline;
}

/* Formats Grid */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.format-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.format-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.format-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.format-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ROI CALCULATOR STYLES
   ========================================================================== */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.calculator-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.calc-control-group {
  margin-bottom: 2rem;
}

.calc-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calc-control-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.calc-control-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-primary-subtle);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15, 118, 110, 0.4);
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(15, 118, 110, 0.4);
}

.calculator-results-card {
  background: linear-gradient(135deg, #042f2e 0%, #115e59 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.results-header-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: #99f6e4;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
}

.stat-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(4px);
}

.stat-box.full-width {
  grid-column: span 2;
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(94, 234, 212, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-box.full-width .stat-number {
  color: #5eead4;
}

.stat-label {
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.calc-disclaimer {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 1rem;
}

/* ==========================================================================
   CUSTOMER STORIES STYLES
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.story-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.specialty-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.stat-callout-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

.story-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.story-author-section {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-primary-subtle);
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text-main);
}

.story-title {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECURITY & COMPLIANCE STYLES
   ========================================================================== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.compliance-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.compliance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.compliance-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.framework-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.framework-status-badge.in-progress {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.framework-status-badge.ready {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.compliance-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.compliance-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.principles-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 3.5rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.principle-item h4 {
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.principle-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FOR TRAINEES & PRICING COMMON STYLES
   ========================================================================== */
.trainee-section {
  background-color: #ffffff;
}

.trainee-banner {
  background: linear-gradient(135deg, #042f2e 0%, #115e59 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.trainee-banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.trainee-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ccfbf1;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trainee-heading {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.trainee-positioning {
  font-size: 1.35rem;
  font-weight: 600;
  color: #99f6e4;
  margin-bottom: 1.25rem;
}

.trainee-paragraph {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.65;
  max-width: 850px;
  margin-bottom: 2.5rem;
}

.trainee-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.trainee-highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(5px);
}

.th-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.trainee-highlight-card h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.trainee-highlight-card p {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.5;
}

.trainee-action-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trainee-action-area .btn-primary {
  background-color: #ffffff;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.trainee-action-area .btn-primary:hover {
  background-color: #ccfbf1;
  color: #042f2e;
}

.trainee-subtext {
  font-size: 0.875rem;
  color: #99f6e4;
}

.trainee-teaser-card {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.trainee-teaser-content h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.trainee-teaser-content p {
  color: #ccfbf1;
  font-size: 1rem;
  max-width: 600px;
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.testimonial-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0;
}

.testimonial-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem 3rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quote-sign {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary-subtle);
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text-main);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-meta {
  text-align: left;
}

.author-name {
  font-weight: 700;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
  background-color: #ffffff;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.12);
  background-color: #ffffff;
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card.trainee-card {
  border: 2px solid #0d9488;
  background-color: var(--color-primary-light);
}

.trainee-card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d9488;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.price-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-name {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  min-height: 40px;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.amount {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-text-main);
}

.period {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.plan-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.check {
  color: var(--color-primary);
  font-weight: 800;
}

.cross {
  color: #cbd5e1;
  font-weight: 800;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.faq-narrow {
  max-width: 820px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item.active {
  border-color: var(--color-primary);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.accordion-chevron {
  color: var(--color-text-subtle);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-section {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.bullet-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: 1rem;
  text-align: center;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Callout Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d9488 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.cta-strip-title {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-strip-subtitle {
  color: #ccfbf1;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-strip-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-strip-buttons .btn-primary {
  background-color: #ffffff;
  color: var(--color-primary);
}

.cta-strip-buttons .btn-primary:hover {
  background-color: #ccfbf1;
}

.cta-strip-buttons .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-strip-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #091312;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-privacy-badge {
  font-size: 0.8125rem;
  color: #5eead4;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .calculator-grid,
  .stage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title-centered {
    font-size: 2.85rem;
  }
  .pricing-cards-grid,
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stories-grid,
  .principles-grid,
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-ambient-bg {
    height: 100%;
  }
  .hero-ambient-bg img {
    opacity: 0.35;
  }
  .hero-title,
  .hero-title-centered {
    font-size: 2.15rem;
  }
  .hero-product-stage {
    padding: 1.5rem 1rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .stage-interactive-bar {
    padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  }
  .stage-input {
    font-size: 0.85rem;
  }
  .stage-capability-switcher {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .capability-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .stage-photo-box img {
    height: 160px;
  }
  .steps-grid,
  .features-grid,
  .formats-grid,
  .stories-grid,
  .principles-grid,
  .compliance-grid,
  .trainee-highlights-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .stat-box-grid {
    grid-template-columns: 1fr;
  }
  .stat-box.full-width {
    grid-column: span 1;
  }
  .trust-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trainee-banner {
    padding: 2.5rem 1.5rem;
  }
  .trainee-teaser-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .trainee-heading {
    font-size: 1.85rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mobile Nav Menu */
  .menu-toggle {
    display: flex;
  }
  .nav-actions .btn {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-menu {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    width: 100%;
  }
  .mobile-only-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }
}

/* ==========================================================================
   SCROLL-REVEAL & HERO LOAD ANIMATIONS (PHASE 5)
   ========================================================================== */

/* Hero Soft Entrance Stagger */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-pill {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.hero-security-note {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  opacity: 0;
}

.hero-visual {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
  opacity: 0;
}

/* Scroll-Reveal Base Class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Child Reveal within grids */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* Demo Card Typing / Streaming Animations */
.live-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--color-primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 0.9s infinite;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0.2rem 0.5rem;
}

.thinking-dots span {
  width: 5px;
  height: 5px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: thinkingDot 1.2s infinite ease-in-out;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ROI Output Stat Card Recalculation Flash */
.stat-box.recalculating {
  animation: statFlash 0.35s ease;
}

@keyframes statFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); background: rgba(255, 255, 255, 0.18); }
  100% { transform: scale(1); }
}

/* Scribe Step Sequence Highlight */
.step-card.step-active-sequence {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
  transform: translateY(-4px);
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-pill,
  .hero-title,
  .hero-subtitle,
  .hero-ctas,
  .hero-security-note,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
