:root {
  --bg: #06140f;
  --text: rgba(255,255,255,0.95);
  --text-muted: rgba(255,255,255,0.68);
  --text-faint: rgba(255,255,255,0.48);

  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.14);
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);

  --brand: #0f5a3c;
  --accent: #22c55e;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px rgba(0,0,0,0.38);
  --shadow-soft: 0 10px 26px rgba(0,0,0,0.28);

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 820px at 20% 10%, rgba(34,197,94,0.08), transparent),
    radial-gradient(980px 760px at 86% 86%, rgba(15,90,60,0.14), transparent),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

:focus-visible {
  outline: 2px solid rgba(34,197,94,0.75);
  outline-offset: 3px;
  border-radius: 10px;
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.w-full { width: 100%; }

/* =========================================
   Topbar
========================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(6,20,15,0.82);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.22s ease, filter 0.22s ease;
  filter: brightness(1);
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.03);
  filter: brightness(1.12);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-actions .link {
  color: var(--text-muted);
  font-weight: 550;
  font-size: 15px;
  transition: color 0.18s ease;
}

.topbar-actions .link:hover {
  color: var(--text);
}

/* =========================================
   Hero
========================================= */
.hero {
  padding: 82px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.hero-content { max-width: 620px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.20);
  color: var(--accent);
  font-weight: 650;
  font-size: 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 18px;
  font-weight: 780;
}

.lead {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
/* =========================================
   Hero Visual (main process flow)
========================================= */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.process-flow-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Process Cards */
.process-card-hero {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s ease;
  animation: cardFadeIn 0.6s ease-out backwards;
}

.process-card-hero[data-step="1"] { animation-delay: 0.2s; }
.process-card-hero[data-step="2"] { animation-delay: 0.4s; }
.process-card-hero[data-step="3"] { animation-delay: 0.6s; }

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-card-hero:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.3);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.process-card-hero.featured {
  background: linear-gradient(135deg, rgba(15,90,60,0.15), rgba(34,197,94,0.08));
  border-color: rgba(34,197,94,0.25);
  grid-column: 1 / -1; /* ADD THIS - makes it span full width */
}
.process-card-hero.featured .process-preview-hero {
  min-height: 180px;
}

.process-card-hero.featured .hero-chart {
  max-width: 500px;
  margin: 0 auto;
}
.process-card-hero.featured:hover {
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 12px 32px rgba(34,197,94,0.15);
}

/* Header */
.process-header-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.process-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: rgba(255,255,255,0.95);
}

.process-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}

.process-badge.glow {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.35);
  color: #22c55e;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50% { box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
}

/* Preview Area */
.process-preview-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 12px;
  background: rgba(0,0,0,0.15);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.process-preview-hero.large {
  min-height: 160px;
}

/* Raw Data Lines */
.raw-data-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.raw-line {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  animation: lineFade 1.8s ease-in-out infinite;
}

.raw-line:nth-child(1) { width: 88%; animation-delay: 0s; }
.raw-line:nth-child(2) { width: 95%; animation-delay: 0.2s; }
.raw-line:nth-child(3) { width: 76%; animation-delay: 0.4s; }
.raw-line:nth-child(4) { width: 92%; animation-delay: 0.6s; }
.raw-line:nth-child(5) { width: 68%; animation-delay: 0.8s; }
.raw-line:nth-child(6) { width: 84%; animation-delay: 1s; }
.raw-line:nth-child(7) { width: 79%; animation-delay: 1.2s; }

@keyframes lineFade {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.7; }
}

/* Categorized Groups */
.categorized-groups {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 8px;
}

.cat-group-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}

.cat-item {
  height: 14px;
  background: var(--color);
  border-radius: 4px;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--color) 20%, transparent);
}

.process-card-hero:hover .cat-item {
  opacity: 0.95;
  transform: scaleY(1.08);
}

/* Hero Chart (final step) */
.hero-chart {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-chart-bars {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 100px;
  padding: 0 4px;
}

.hero-bar {
  flex: 1;
  height: var(--height);
  background: linear-gradient(180deg, var(--color), color-mix(in srgb, var(--color) 60%, transparent));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color) 25%, transparent);
  position: relative;
  overflow: hidden;
}

.hero-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-card-hero:hover .hero-bar {
  transform: scaleY(1.05);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color) 40%, transparent);
}

.process-card-hero:hover .hero-bar::before {
  opacity: 1;
}

.hero-bar-value {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-bar-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 1;
}

.hero-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 15%, transparent);
}

/* Footer */
.process-footer-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-footer-hero h3 {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
}

.process-footer-hero p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* Connector */
/* Connector - horizontal between cards 1 & 2 */
/* Connector - horizontal between cards 1 & 2 */
.flow-connector-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  /* REMOVED: grid-column: 1 / -1; */
}

.flow-connector-hero.vertical {
  grid-column: 1 / -1; /* Only vertical connector spans full width */
  flex-direction: column;
  margin: -10px 0;
}

.flow-connector-hero.vertical .connector-arrow {
  transform: rotate(90deg);
}

.connector-arrow {
  font-size: 24px;
  font-weight: 700;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* Fix animation for vertical arrow */
.flow-connector-hero.vertical .connector-arrow {
  animation: arrowPulseVertical 2s ease-in-out infinite;
}

@keyframes arrowPulseVertical {
  0%, 100% { opacity: 0.3; transform: rotate(90deg) translateX(0); }
  50% { opacity: 1; transform: rotate(90deg) translateX(4px); }
}
/* =========================================
   Sections
========================================= */
.section {
  padding: 76px 0;
}

.section h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 780;
  margin-bottom: 28px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.section-dark {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* =========================================
   Steps (How it works) - Visual Data States
========================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.28);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Visual Area */
.step-visual {
  height: 120px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.step-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(34,197,94,0.03), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover .step-visual::before {
  opacity: 1;
}

/* Step 1: Import - Raw transaction lines */
.visual-import {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.transaction-line {
  height: 5px;
  width: var(--width);
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  opacity: 0.4;
  animation: linePulse 2s ease-in-out infinite;
  animation-delay: var(--delay);
  position: relative;
}

.transaction-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
  border-radius: 3px;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.step:hover .transaction-line {
  opacity: 0.8;
}

/* Step 2: Categorize - Colored stacks */
.visual-categorize {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  height: 80px;
}

.category-stack {
  flex: 1;
  max-width: 18px;
  background: linear-gradient(180deg, var(--color), color-mix(in srgb, var(--color) 50%, transparent));
  border-radius: 4px;
  height: calc(var(--items) * 18px);
  position: relative;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color) 20%, transparent);
  transition: all 0.3s ease;
}

.category-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 16px,
    rgba(0,0,0,0.15) 16px,
    rgba(0,0,0,0.15) 18px
  );
  border-radius: 4px;
}

.step:hover .category-stack {
  transform: scaleY(1.08);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color) 35%, transparent);
}

/* Step 3: Validate - Grid with checkmarks */
.visual-validate {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 90px;
}

.grid-cell {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  position: relative;
  animation: cellCheck 0.8s ease-out forwards;
  animation-delay: var(--delay);
  opacity: 0;
}

@keyframes cellCheck {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.grid-cell.checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: rgba(34,197,94,0.8);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(34,197,94,0.4);
}

.step:hover .grid-cell.checked::after {
  background: rgba(34,197,94,1);
  box-shadow: 0 0 12px rgba(34,197,94,0.6);
}

/* Step 4: Next Steps - Action bars/roadmap */
.visual-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.action-bar {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
  animation: barFillIn 0.8s ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes barFillIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.action-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress);
  background: linear-gradient(90deg, rgba(34,197,94,0.5), rgba(34,197,94,0.8));
  border-radius: 6px;
  transition: width 0.6s ease;
}

.action-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.step:hover .action-bar::before {
  width: 100%;
  background: linear-gradient(90deg, rgba(34,197,94,0.6), rgba(34,197,94,1));
}

/* Content Area */
.step-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.22);
  color: rgba(255,255,255,0.92);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  background: rgba(34,197,94,0.18);
  border-color: rgba(34,197,94,0.35);
  transform: scale(1.08);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 760;
  margin: 0;
  line-height: 1.3;
  color: rgba(255,255,255,0.95);
}

.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
/* =========================================
   Testimonials
========================================= */
.section-testimonials h2 {
  text-align: center;
  margin-bottom: 34px;
}

.testimonials-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 64px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.04);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.testimonials-track {
  position: relative;
  min-height: 240px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.testimonial-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.26);
}

.author-info strong {
  display: block;
  font-weight: 780;
}

.author-info span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.dot:hover { transform: scale(1.15); }
.dot.active {
  background: rgba(34,197,94,0.95);
  border-color: rgba(34,197,94,0.95);
}
/* =========================================
   Deliverables - Hero + Supporting Grid
========================================= */
.section-deliverables {
  padding: 76px 0;
}

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

.deliverables-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Scroll reveal animation */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Featured Card */
.deliverable-hero {
  background: linear-gradient(135deg, rgba(15,90,60,0.20), rgba(34,197,94,0.12));
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%; /* ADD THIS */
  display: flex; /* ADD THIS */
  flex-direction: column; /* ADD THIS */
}

.deliverable-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease 0.3s;
}

.deliverable-hero.revealed::before {
  transform: scaleX(1);
}

.deliverable-hero:hover {
  border-color: rgba(34,197,94,0.45);
  box-shadow: 0 16px 48px rgba(34,197,94,0.15);
  transform: translateY(-2px);
}

.hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.deliverable-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 850;
  font-size: 18px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.35);
  color: rgba(255,255,255,0.98);
  box-shadow: 0 4px 12px rgba(34,197,94,0.15);
  transition: all 0.3s ease;
}

.deliverable-hero:hover .deliverable-number {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(34,197,94,0.25);
}

.availability-badge {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid;
}

.availability-badge.immediate {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.35);
  color: rgba(34,197,94,1);
}

.availability-badge.ongoing {
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.28);
  color: rgba(59,130,246,1);
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  flex: 1; /* ADD THIS - makes it fill available space */
}

.hero-text h3 {
  font-size: 26px;
  font-weight: 820;
  margin-bottom: 14px;
  line-height: 1.2;
  color: rgba(255,255,255,0.98);
}

.hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Feature checklist */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
}

.feature-item svg {
  flex-shrink: 0;
  color: rgba(34,197,94,0.9);
  stroke-width: 2.5;
}

/* Diagnosis Preview Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagnosis-preview {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.preview-title {
  font-size: 13px;
  font-weight: 750;
  color: rgba(255,255,255,0.9);
}

.preview-period {
  font-size: 11px;
  color: var(--text-muted);
}

.preview-chart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 100px;
  margin-bottom: 16px;
}

.preview-bar {
  flex: 1;
  height: var(--height);
  background: linear-gradient(180deg, var(--color), color-mix(in srgb, var(--color) 50%, transparent));
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color) 25%, transparent);
  transition: all 0.3s ease;
  animation: barGrow 0.8s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.deliverable-hero:hover .preview-bar {
  transform: scaleY(1.05);
}

.preview-bar span {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.preview-categories {
  display: flex;
  gap: 8px;
}

.preview-cat {
  height: 6px;
  flex: 1;
  background: var(--color);
  border-radius: 3px;
  opacity: 0.7;
}

/* Supporting Cards Grid */
.deliverables-supporting {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deliverable-card-compact {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all 0.3s ease;
}

.deliverable-card-compact:hover {
  transform: translateX(4px);
  border-color: rgba(34,197,94,0.25);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.deliverable-card-compact .deliverable-number {
  width: 32px;
  height: 32px;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
}

.deliverable-card-compact:hover .deliverable-number {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.25);
}

.deliverable-card-compact h4 {
  font-size: 16px;
  font-weight: 780;
  margin-bottom: 8px;
  line-height: 1.3;
  color: rgba(255,255,255,0.95);
}

.deliverable-card-compact p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
/* =========================================
   Dates - Featured + Alternatives
========================================= */
.dates-head {
  text-align: center;
  margin-bottom: 44px;
}

.dates-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Featured Date Card */
.date-card-featured {
  background: linear-gradient(135deg, rgba(15,90,60,0.18), rgba(34,197,94,0.10));
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.date-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.date-card-featured:hover {
  transform: translateY(-3px);
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 16px 48px rgba(34,197,94,0.15);
}
.dates-section .btn {
  margin-top: 16px;
}


.featured-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.35);
  color: rgba(34,197,94,1);
  margin-bottom: 24px;
}

.featured-date-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.featured-calendar {
  width: 90px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.calendar-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.calendar-day {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.98);
  margin-bottom: 4px;
}

.calendar-weekday {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: capitalize;
}

.featured-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.98);
}

.featured-time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  color: rgba(255,255,255,0.85);
}
.featured-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.featured-location svg {
  color: rgba(34,197,94,0.7);
}

.compact-location {
  font-size: 13px;
  color: var(--text-muted);
}


.featured-time svg {
  color: rgba(34,197,94,0.8);
}

/* Alternative Dates Grid */
.dates-alternatives {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.date-card-compact {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-card-compact:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,0.22);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.compact-date-header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.compact-calendar {
  width: 54px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  flex-shrink: 0;
}

.compact-day {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2px;
}

.compact-month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compact-info strong {
  font-size: 15px;
  font-weight: 780;
  color: rgba(255,255,255,0.95);
}

.compact-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Demand meter (shared) */
.demand {
  margin-top: 0;
}

.demand-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.demand-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
}

.demand-pct {
  font-size: 13px;
  font-weight: 850;
  color: rgba(255,255,255,0.92);
}

.demand-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}

.demand-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(34,197,94,0.55), rgba(34,197,94,0.95));
  transition: width 0.8s ease 0.3s;
  position: relative;
}

/* Animate fill on reveal */
[data-scroll-reveal].revealed .demand-fill {
  animation: fillBar 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes fillBar {
  from { width: 0%; }
  to { width: var(--fill-width, 0%); }
}

/* Urgency states */
.demand.critical .demand-fill {
  background: linear-gradient(90deg, rgba(239,68,68,0.6), rgba(239,68,68,1));
}

.demand.critical .demand-label {
  color: rgba(239,68,68,0.9);
}

.demand.high .demand-fill {
  background: linear-gradient(90deg, rgba(245,158,11,0.6), rgba(245,158,11,1));
}

.demand.high .demand-label {
  color: rgba(245,158,11,0.9);
}

.demand-footnote {
  margin-top: 8px;
  color: var(--text-faint);
  font-size: 12px;
}

/* Button spacing */
.date-card-featured .btn,
.date-card-compact .btn {
  margin-top: auto;
}
/* =========================================
   FAQ + Final CTA + Sticky CTA
========================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto 52px;
  display: grid;
  gap: 14px;
}

.faq {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.faq:hover {
  border-color: rgba(34,197,94,0.20);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 750;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15px;
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15,90,60,0.22), rgba(34,197,94,0.10));
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-soft);
}

.final-cta-content h3 {
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 820;
}

.final-cta-content p {
  color: var(--text-muted);
  font-size: 16px;
}

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: rgba(6,20,15,0.94);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  z-index: 80;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverable-card.featured { grid-column: span 2; }
  .dates-grid { grid-template-columns: repeat(2, 1fr); }
    .deliverables-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-visual {
    order: -1;
  }
    .deliverable-hero {
    padding: 24px 20px;
  }
  
  .hero-text h3 {
    font-size: 22px;
  }
  
  .hero-text p {
    font-size: 15px;
  }
  
  .hero-badge-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .preview-chart {
    height: 80px;
  }
  
  .deliverable-card-compact {
    padding: 18px;
  }
}


@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }

  /* Mobile order: text first, visual second */
  .hero-content { order: 0; }
  .hero-visual { order: 1; }
  .testimonials-carousel { padding: 0 54px; }
    .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .critical-step-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .critical-step-visual {
    order: -1; /* Move visual above content on mobile */
  }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Existing styles... */
  
  .critical-step-card {
    padding: 24px 20px;
  }
  
  .critical-step-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .critical-step-content h3 {
    font-size: 18px;
  }
  
  .critical-step-content p {
    font-size: 14px;
  }
  
  .email-preview {
    max-width: 100%;
  }
    .steps { 
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .step-visual {
    height: 100px;
    padding: 16px;
  }
  
  .step-content {
    padding: 18px;
  }

    .featured-date-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .featured-calendar {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
  }
  
  .featured-info h3 {
    font-size: 18px;
    text-align: center;
  }
  
  .featured-time {
    justify-content: center;
  }
  
  .dates-alternatives {
    grid-template-columns: 1fr;
  }
  
  .date-card-featured {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { padding: 14px 0; }
  .topbar-actions .link { display: none; }

  .hero { padding: 58px 0 78px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 16px; }

  .section { padding: 58px 0; }
  .section h2 { font-size: 28px; }

.process-flow { 
    flex-direction: column; 
    gap: 14px; 
    padding: 16px;
  }
  
  .flow-connector { 
    transform: rotate(90deg); 
    margin: -8px 0;
  }
  
  .process-preview {
    height: 54px;
  }

  .steps, .deliverables-grid { grid-template-columns: 1fr; }
  .deliverable-card.featured { grid-column: 1; }

  .testimonials-carousel { padding: 0 44px; }
  .testimonial-content { padding: 22px; }
  .testimonial-content p { font-size: 16px; }

  .dates-grid { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* =========================================
   Delayed highlight (hero emphasis)
========================================= */
.highlight-delay {
  position: relative;
  display: inline-block;
  font-weight: 800;
  color: #ffffff;
  isolation: isolate;
}

/* underline sweep */
.highlight-delay::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 0.35em;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,0.15),
    rgba(34,197,94,0.45)
  );
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  animation: highlightSweep 0.7s ease-out forwards;
  animation-delay: 1.2s; /* 👈 delay */
}

/* subtle glow */
.highlight-delay {
  animation: highlightGlow 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes highlightSweep {
  to {
    transform: scaleX(1);
  }
}

@keyframes highlightGlow {
  0% {
    text-shadow: none;
  }
  60% {
    text-shadow: 0 0 12px rgba(34,197,94,0.55);
  }
  100% {
    text-shadow: none;
  }
}
/* =========================================
   How to Join (split emphasis)
========================================= */
.section-how-to-join {
  padding-top: 62px;
  padding-bottom: 62px;
}

.how-to-join-head {
  text-align: center;
  margin-bottom: 44px;
}

/* Quick Actions Grid (Steps 1 & 2) */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.quick-action-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s ease;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,0.22);
  background: rgba(255,255,255,0.04);
}

.quick-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.quick-step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.9);
}

.quick-step-time {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
}

.quick-step-body h3 {
  font-size: 16px;
  font-weight: 780;
  margin-bottom: 8px;
  line-height: 1.3;
  color: rgba(255,255,255,0.95);
}

.quick-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.quick-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ADD THIS */
.step-title-with-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-title-with-logo h3 {
  margin-bottom: 0;
}

.teams-logo {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.quick-action-card:hover .teams-logo {
  opacity: 1;
}

/* Critical Step Card (Step 3) */
.critical-step-card {
  background: linear-gradient(135deg, rgba(15,90,60,0.18), rgba(34,197,94,0.10));
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.critical-step-card:hover {
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 12px 32px rgba(34,197,94,0.12);
}

.critical-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.critical-step-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.critical-step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 850;
  font-size: 18px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.35);
  color: rgba(255,255,255,0.98);
  box-shadow: 0 4px 12px rgba(34,197,94,0.15);
}

.critical-step-label {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(34,197,94,1);
  padding: 6px 12px;
  background: rgba(34,197,94,0.15);
  border-radius: 8px;
  border: 1px solid rgba(34,197,94,0.3);
}

.critical-timing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

.critical-timing svg {
  color: rgba(34,197,94,0.9);
}

.critical-step-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.critical-step-content h3 {
  font-size: 20px;
  font-weight: 820;
  margin-bottom: 12px;
  line-height: 1.3;
  color: rgba(255,255,255,0.98);
}

.critical-step-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Action Items Checklist */
.critical-step-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
}

.action-item:hover {
  background: rgba(0,0,0,0.25);
  border-color: rgba(34,197,94,0.25);
}

.action-item svg {
  flex-shrink: 0;
  color: rgba(34,197,94,0.8);
}

/* Email Preview Visual */
.critical-step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-preview {
  width: 100%;
  max-width: 280px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.email-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.email-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.3);
}

.email-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 8px;
}

.email-line.short {
  width: 60%;
}

.email-line.medium {
  width: 45%;
}

.email-body {
  margin-top: 12px;
}

.email-cta {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(15,90,60,0.6), rgba(34,197,94,0.6));
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 10px;
  text-align: center;
  font-weight: 750;
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(34,197,94,0.2);
}

/* Footnote */
.how-to-join-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.how-to-join-footnote svg {
  flex-shrink: 0;
  color: rgba(34,197,94,0.7);
}

/* Keep the kbd style */
.kbd {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700;
  font-size: 0.92em;
}

/* Responsive */
@media (max-width: 1100px) {
  .how-to-join-grid {
    grid-template-columns: 1fr;
  }
}

/* Workshop registration modal */
.modal-overlay[hidden] { display: none !important; }

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 18px;
}

.modal-card{
  width: min(520px, 100%);
  background: var(--bg);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  position: relative;
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-subtitle{
  margin: 6px 0 14px;
  opacity: .85;
}

.form-label{
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.form-input{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 16px;
}

.modal-status{
  margin-top: 10px;
  font-size: 14px;
  opacity: .9;
}
.modal-status.ok{ color: #0a7a3f; }
.modal-status.err{ color: #b42318; }
/* --- Modal form fixes --- */

.modal-card {
  background: #ffffff;
  color: #1a1a1a;
}

.modal-card h3 {
  margin-bottom: 6px;
}

.modal-card .modal-subtitle {
  color: #4b5563; /* neutral gray */
}

/* Inputs */
.modal-card .form-input {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 16px;
  line-height: 1.2;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Placeholder */
.modal-card .form-input::placeholder {
  color: #9ca3af;
}

/* Focus */
.modal-card .form-input:focus {
  outline: none;
  border-color: #22c55e; /* Finception green */
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Labels */
.modal-card .form-label {
  color: #111827;
  font-weight: 600;
}

/* Submit button spacing */
.modal-card .btn {
  margin-top: 16px;
}
