/* ==========================================================================
   JetBrains-Style Hero Landing Page
   Exact recreation of the reference design
   ========================================================================== */

:root {
  --bg-black: #000000;
  --text-white: #ffffff;
  --text-gray: #d1d5db;
  --text-muted: #9ca3af;
  
  /* Reference Teal Button */
  --btn-teal: #00837b;
  --btn-teal-hover: #009688;
  --btn-teal-active: #00736c;

  /* Brand accent. #05f483 is bright (luminance .66), so white text on it
     fails contrast — anything sitting on a solid brand fill uses this ink. */
  --brand: #05f483;
  --brand-ink: #00150c;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
  overflow: hidden;
  background-color: var(--bg-black);
}

/* Atmospheric Soft Gradient Behind the Vortex */
.ambient-vortex-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 80vw;
  height: 80vw;
  max-width: 1100px;
  max-height: 1100px;
  background: radial-gradient(
    circle at 75% 35%,
    rgba(99, 102, 241, 0.32) 0%,
    rgba(6, 182, 212, 0.2) 35%,
    rgba(0, 131, 123, 0.12) 55%,
    rgba(0, 0, 0, 0) 75%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 82vh;
  gap: 2rem;
}

/* ==========================================================================
   Left Column: Content
   ========================================================================== */
.hero-content {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}

/* Eyebrow: Matches "PyCharm" Brand Position */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2.25rem;
  line-height: 1.2;
}

.eyebrow-highlight {
  color: #ffffff;
}

.eyebrow-sep {
  color: #4b5563;
  font-weight: 300;
}

.eyebrow-sub {
  color: #9ca3af;
  font-weight: 500;
}

/* Headline: Bold, crisp typography */
.hero-title {
  font-size: clamp(2.8rem, 4.8vw, 4.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

/* n8n Highlight with #05f483 color & logo icon */
.n8n-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  vertical-align: middle;
}

.n8n-gradient {
  color: #4ff7a6;
  font-weight: 800;
  display: inline-block;
}

.n8n-icon {
  height: 0.82em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.n8n-highlight:hover .n8n-icon {
  transform: rotate(15deg) scale(1.1);
}

/* Description paragraph */
.hero-description {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: #d1d5db;
  font-weight: 400;
  max-width: 580px;
  margin-bottom: 2.75rem;
}

/* CTA Group: Button + Secondary Subtext */
.hero-cta-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

/* CTA Pill Button in #05f483 (Zero backshadow) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #05f483;
  color: var(--brand-ink);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95rem 2.4rem;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #4ff7a6;
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-cta:active {
  background-color: #00c96d;
  transform: translateY(0);
  box-shadow: none;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-price-old {
  color: rgba(0, 21, 12, 0.62);
  font-size: 0.95em;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.btn-price-new {
  color: var(--brand-ink);
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta-arrow {
  transition: transform 0.25s ease;
}

.btn-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Highlighted Schedule Badge */
.schedule-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(5, 244, 131, 0.08);
  border: 1px solid rgba(5, 244, 131, 0.35);
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  user-select: none;
}

.schedule-highlight:hover {
  border-color: rgba(5, 244, 131, 0.6);
  background: rgba(5, 244, 131, 0.15);
  transform: translateY(-1px);
}

.schedule-icon {
  color: #4ff7a6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.schedule-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Right Column: Rotating Vortex Visual
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-height: 600px;
  pointer-events: none;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* Vortex Container & Image */
.vortex-container {
  position: absolute;
  width: 145%;
  height: 145%;
  top: -24%;
  right: -24%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vortex-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 65px rgba(99, 102, 241, 0.35));
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 66.25% 57.125%;
  animation: rotate-vortex 70s linear infinite;
  will-change: transform;
}

@keyframes rotate-vortex {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Hero Preview Video
   Sits in front of the vortex artwork in the right-hand column. Until the
   viewer presses play this is only a thumbnail and a button, so no YouTube
   script runs and nothing starts on its own; main.js swaps in the iframe.
   ========================================================================== */
.hero-video {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #04060c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(5, 244, 131, 0.08);
  pointer-events: auto;
}

.hero-video-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* `cover` leaves the 1280x720 thumbnail untouched, and crops the letterbox
   bars off the 480x360 fallback instead of showing them. */
.hero-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hero-video-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 5, 0.1) 0%, rgba(3, 3, 5, 0.55) 100%);
  transition: opacity 0.3s ease;
}

.hero-video-play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  background-color: #05f483;
  color: var(--brand-ink);
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.hero-video-label {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-video-trigger:hover .hero-video-thumb {
  transform: scale(1.04);
  opacity: 0.9;
}

.hero-video-trigger:hover .hero-video-play {
  transform: scale(1.08);
  background-color: #4ff7a6;
}

.hero-video-trigger:focus-visible {
  outline: 2px solid #4ff7a6;
  outline-offset: -4px;
}

/* Injected on play, replacing the facade entirely. */
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Workflow Section: 3-Step Interactive Pipeline
   ========================================================================== */
.workflow-section {
  position: relative;
  background-color: #030305;
  padding: 6.5rem 2rem 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.workflow-container {
  max-width: 1260px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.75rem;
  padding: 0 1.25rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  background: rgba(5, 244, 131, 0.08);
  border: 1px solid rgba(5, 244, 131, 0.35);
  border-radius: 9999px;
  color: #4ff7a6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #05f483;
  box-shadow: 0 0 8px #05f483;
  animation: pulse-dot 2s infinite ease-in-out;
}

.section-title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.gradient-workflow-text {
  background: linear-gradient(135deg, #05f483 0%, #4ff7a6 45%, #a5fcd0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.12rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  position: relative;
}

/* Step Card */
.step-card {
  background: rgba(14, 16, 24, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  outline: none;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 244, 131, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(5, 244, 131, 0.15);
}

.step-card:focus-visible {
  border-color: #05f483;
  box-shadow: 0 0 0 2px rgba(5, 244, 131, 0.4);
}

.step-card.active {
  border-color: #05f483;
  background: rgba(14, 18, 34, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 28px rgba(5, 244, 131, 0.22);
}

/* Card Header */
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.step-card.active .step-badge {
  background: rgba(5, 244, 131, 0.18);
  border-color: rgba(5, 244, 131, 0.4);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
}

.step-card.active .step-number {
  color: #4ff7a6;
}

.step-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.25s ease;
}

.step-card.active .step-icon-wrap,
.step-card:hover .step-icon-wrap {
  color: #4ff7a6;
  border-color: rgba(5, 244, 131, 0.3);
  background: rgba(5, 244, 131, 0.08);
}

/* Step Card Titles */
.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.step-desc {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 2.8rem;
}

/* Step Mockup Containers */
.step-mockup {
  border-radius: 12px;
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: border-color 0.25s ease;
}

.step-card.active .step-mockup {
  border-color: rgba(5, 244, 131, 0.35);
}

/* Step 1 Code Window */
.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-filename {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
}

.mockup-status-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #3ef59b;
  background: rgba(62, 245, 155, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.code-body {
  padding: 1rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.code-keyword {
  color: #4ff7a6;
  font-weight: 700;
}

/* Step 2 n8n Node */
.mockup-node {
  position: relative;
  padding: 1.15rem 1rem;
}

.node-connector-in,
.node-connector-out {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ff7a6;
  border: 2px solid #090a10;
  transform: translateY(-50%);
}

.node-connector-in {
  left: -5px;
}

.node-connector-out {
  right: -5px;
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(79, 247, 166, 0.15);
  border: 1px solid rgba(79, 247, 166, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.n8n-node-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.node-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.node-model {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
}

.node-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.dot-active {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite ease-in-out;
}

.node-visual-pulse {
  margin-top: 0.85rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pulse-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, transparent, #05f483, #3ef59b, transparent);
  animation: beam-flow 2s infinite linear;
}

@keyframes beam-flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Step 3 Test Case Mockup */
.mockup-tc {
  padding: 0.95rem 1rem;
}

.tc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.tc-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.tc-id-title {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  flex-grow: 1;
}

.tc-type-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.tc-body {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  padding-left: 0.25rem;
}

.tc-bullet {
  display: flex;
  gap: 0.4rem;
}

.tc-bullet-dot {
  color: #4ff7a6;
}

.tc-expect-label {
  font-weight: 700;
  color: #f1f5f9;
}

/* Card Action Footer */
.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.825rem;
  color: #64748b;
  font-weight: 600;
  transition: color 0.2s ease;
}

.step-card:hover .card-footer-action,
.step-card.active .card-footer-action {
  color: #4ff7a6;
}

.inspect-arrow {
  transition: transform 0.2s ease;
}

.step-card:hover .inspect-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Interactive Execution Inspector Panel
   ========================================================================== */
.inspector-panel {
  background: #06070a;
  border: 1px solid rgba(5, 244, 131, 0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(5, 244, 131, 0.1);
  margin-bottom: 2.25rem;
  transition: border-color 0.3s ease;
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.inspector-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inspector-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #05f483;
  box-shadow: 0 0 8px #05f483;
}

.inspector-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
}

.inspector-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.inspector-content {
  padding: 1.25rem;
  background: #020204;
}

.inspector-json {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Section Footer Note */
.section-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #94a3b8;
  text-align: center;
}

.note-icon {
  color: #4ff7a6;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-section {
    padding: 3rem 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Single column: the copy leads and the video follows it, so the headline
     and CTA keep the top of the screen. */
  .hero-visual {
    order: 1;
    min-height: 0;
    justify-content: center;
  }

  .vortex-container {
    width: 105%;
    height: 105%;
    top: -5%;
    right: -5%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 2.5rem 1.25rem;
  }

  .hero-eyebrow {
    font-size: 1.15rem;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .workflow-section {
    padding: 4.5rem 1.25rem 3.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .inspector-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   News Ticker / Social Proof Marquee Section Styles
   ========================================================================== */
.glow-brand {
  background: radial-gradient(circle, rgba(5, 244, 131, 0.45) 0%, rgba(0, 201, 109, 0.3) 45%, transparent 70%);
}

.container-narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.text-brand {
  color: #4ff7a6;
}

.text-gradient-heading {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 65%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-text-secondary {
  color: #94a3b8;
}

.text-text-muted {
  color: #64748b;
}

.bg-bg-card {
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bg-bg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 244, 131, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(5, 244, 131, 0.15);
}

.border-line {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Gradient Fade Masks */
.bg-gradient-to-r {
  background: linear-gradient(to right, #030305 0%, rgba(3, 3, 5, 0.7) 60%, transparent 100%);
}

.bg-gradient-to-l {
  background: linear-gradient(to left, #030305 0%, rgba(3, 3, 5, 0.7) 60%, transparent 100%);
}

/* Marquee Tracks & Animations */
.marquee-track-left {
  display: flex;
  width: max-content;
  animation: marquee-left-scroll 42s linear infinite;
  will-change: transform;
}

.marquee-track-right {
  display: flex;
  width: max-content;
  animation: marquee-right-scroll 42s linear infinite;
  will-change: transform;
}

.marquee-track-left:hover,
.marquee-track-right:hover {
  animation-play-state: paused;
}

@keyframes marquee-left-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right-scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Utility Helpers for User Snippet */
.relative { position: relative; }
.absolute { position: absolute; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.left-1\/2 { left: 50%; }
.top-0 { top: 0; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.rounded-full { border-radius: 9999px; }
.blur-\[100px\] { filter: blur(100px); }
.opacity-40 { opacity: 0.4; }
.z-10 { z-index: 10; }
.h-\[200px\] { height: 200px; }
.w-\[600px\] { width: 600px; }
.w-full { width: 100%; }
.max-w-\[960px\] { max-width: 960px; }
.max-w-\[600px\] { max-width: 600px; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2\.5 { margin-left: 0.625rem; margin-right: 0.625rem; }
.p-4 { padding: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.w-\[265px\] { width: 265px; }
.shrink-0 { flex-shrink: 0; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; border-style: solid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.gap-2 { gap: 0.5rem; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.w-\[70px\] { width: 70px; }
.text-\[11px\] { font-size: 11px; }
.text-\[10px\] { font-size: 10px; }
.text-\[13px\] { font-size: 13px; }
.text-\[11\.5px\] { font-size: 11.5px; }
.text-\[10\.5px\] { font-size: 10.5px; }
.text-\[14px\] { font-size: 14px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.75\] { line-height: 1.75; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-white { color: #ffffff; }

@media (min-width: 640px) {
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:mb-10 { margin-bottom: 2.5rem; }
  .sm\:w-\[110px\] { width: 110px; }
  .sm\:w-\[340px\] { width: 340px; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
}

/* ==========================================================================
   Agent Output Preview (#preview) Section Styles
   ========================================================================== */
.preview-section {
  position: relative;
  padding: 5rem 0 6rem;
  background-color: #030305;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(5, 244, 131, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  overflow: hidden;
}

.ambient-preview-glow {
  position: absolute;
  left: 5%;
  bottom: 10%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 245, 155, 0.3) 0%, rgba(16, 235, 160, 0.12) 50%, transparent 70%);
  filter: blur(100px);
  opacity: 0.65;
  pointer-events: none;
  animation: float-ambient 9s ease-in-out infinite;
}

@keyframes float-ambient {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.preview-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Glass Card Container */
.preview-glass-card {
  background: rgba(12, 14, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Top Requirement Selector Bar */
.preview-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.75rem;
  background: rgba(18, 21, 33, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.selector-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #e2e8f0;
}

.pulse-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #05f483;
  box-shadow: 0 0 8px #05f483;
  animation: pulse-soft 1.8s infinite ease-in-out;
}

.selector-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-req-btn {
  cursor: pointer;
  outline: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sample-req-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.sample-req-btn.active {
  background-color: #05f483 !important;
  color: var(--brand-ink) !important;
  border-color: #05f483 !important;
  box-shadow: none !important;
}

/* 2-Column Workspace Grid */
.preview-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 480px;
}

@media (max-width: 920px) {
  .preview-workspace-grid {
    grid-template-columns: 1fr;
  }
}

/* LEFT COLUMN: Input & Logic */
.agent-input-col {
  padding: 1.75rem;
  background: rgba(10, 12, 20, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 920px) {
  .agent-input-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

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

.col-header-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0;
}

.col-header-label svg {
  color: #4ff7a6;
  flex-shrink: 0;
}

.agent-logic-title {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.category-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(5, 244, 131, 0.14);
  color: #3ef59b;
  border: 1px solid rgba(5, 244, 131, 0.32);
  letter-spacing: 0.02em;
}

.agent-input-editor {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.65;
  color: #e2e8f0;
  min-height: 105px;
  transition: opacity 0.15s ease;
}

.agent-process-logic {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  transition: opacity 0.15s ease;
}

/* Generate Test Cases Action Button */
.agent-input-bottom {
  padding-top: 0.5rem;
}

.btn-generate-action {
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  background: #05f483;
  color: var(--brand-ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-generate-action:hover:not(:disabled) {
  background: #4ff7a6;
  transform: translateY(-1px);
}

.btn-generate-action:active:not(:disabled) {
  transform: translateY(0);
}

.btn-generate-action:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-play-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  display: inline-block;
}

.btn-n8n-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  color: #d6ffe9;
  margin-left: 4px;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.75s linear infinite;
}

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

/* RIGHT COLUMN: Output */
.agent-output-col {
  padding: 1.75rem;
  background: rgba(14, 16, 26, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.output-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.output-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.output-status-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.output-status-pill.status-ready {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.output-status-pill.status-running {
  background: rgba(5, 244, 131, 0.18);
  color: #3ef59b;
  border: 1px solid rgba(5, 244, 131, 0.4);
  animation: pulse-soft 1.2s infinite ease-in-out;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.copy-output-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-output-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Quick Filter Pills */
.filter-bar-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  margin-bottom: 1rem;
}

.filter-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-right: 2px;
}

.tc-filter-pill {
  cursor: pointer;
  outline: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  transition: all 0.2s;
}

.tc-filter-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tc-filter-pill.active {
  background: rgba(5, 244, 131, 0.18);
  border-color: #05f483;
  color: #3ef59b;
}

/* Live Agent Executing Animation */
.agent-loading-state {
  padding: 1.5rem 0.5rem;
}

.exec-steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.exec-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.4;
  transform: translateX(-4px);
  transition: all 0.35s ease;
}

.exec-step.active {
  opacity: 1;
  transform: translateX(0);
  background: rgba(14, 19, 36, 0.85);
  border-color: rgba(5, 244, 131, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(5, 244, 131, 0.12);
}

.exec-step.done {
  opacity: 0.85;
  transform: translateX(0);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(14, 24, 20, 0.6);
}

.exec-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  flex-shrink: 0;
  position: relative;
}

.exec-step.active .exec-step-icon {
  background: rgba(5, 244, 131, 0.2);
  color: #4ff7a6;
}

.exec-step.done .exec-step-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.exec-step-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin: 0;
}

.exec-step-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
  margin: 2px 0 0 0;
}

/* Test Cases Scrollable List */
.test-cases-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}

.test-cases-scroll::-webkit-scrollbar {
  width: 5px;
}
.test-cases-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.test-cases-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.test-cases-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 244, 131, 0.5);
}

.tc-card {
  background: rgba(16, 18, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-card:hover {
  background: rgba(22, 25, 38, 0.88);
  border-color: rgba(5, 244, 131, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.tc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tc-id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.tc-type-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-positive {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-negative {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.tag-boundary {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-edge {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tc-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.tc-expected {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid #05f483;
  padding: 5px 9px;
  border-radius: 0 5px 5px 0;
}

.tc-expected strong {
  color: #e2e8f0;
}

.agent-output-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.agent-footer-meta {
  font-size: 11px;
  color: #64748b;
}

/* ==========================================================================
   1. Workshop Outcome Section Styles
   ========================================================================== */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.outcome-card {
  background: rgba(14, 16, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.outcome-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 244, 131, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7), 0 0 24px rgba(5, 244, 131, 0.15);
}

.outcome-card.featured-outcome {
  border-color: rgba(5, 244, 131, 0.35);
  background: rgba(13, 17, 33, 0.85);
}

.outcome-num-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.outcome-num {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(5, 244, 131, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.outcome-icon-tag {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(5, 244, 131, 0.12);
  border: 1px solid rgba(5, 244, 131, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ff7a6;
}

.outcome-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.outcome-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.outcome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.outcome-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* ==========================================================================
   2. Curriculum Overview Section Styles
   ========================================================================== */
/* Single-box variant: one full-width agenda card */
.curriculum-single-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.curriculum-single-card {
  padding: 2.5rem;
}

.learn-list.learn-list-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem 2rem;
}

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

.curriculum-day-card {
  background: rgba(14, 16, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.curriculum-day-card:hover {
  border-color: rgba(5, 244, 131, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 20px rgba(5, 244, 131, 0.12);
}

.curriculum-day-card.featured-day {
  border-color: rgba(5, 244, 131, 0.35);
  background: rgba(12, 17, 34, 0.85);
}

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

.day-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-pill-accent {
  background: #05f483;
  border-color: #05f483;
  color: var(--brand-ink);
  box-shadow: 0 0 14px rgba(5, 244, 131, 0.4);
}

.day-time-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.day-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.day-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.day-learn-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: auto;
}

.learn-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ff7a6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.learn-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   3. Your Mentor Section Styles
   ========================================================================== */
.mentor-profile-card {
  background: rgba(14, 16, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 2.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(62, 245, 155, 0.08);
}

.mentor-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.mentor-avatar-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(5, 244, 131, 0.2);
}

.mentor-avatar-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mentor-avatar-frame:hover .mentor-avatar-img {
  transform: scale(1.03);
}

.mentor-status-tag {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.mentor-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.mentor-role {
  font-size: 1rem;
  font-weight: 600;
  color: #4ff7a6;
  margin-bottom: 1.5rem;
}

.mentor-bio {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.mentor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.credential-chip:hover {
  background: rgba(5, 244, 131, 0.12);
  border-color: rgba(5, 244, 131, 0.35);
  color: #ffffff;
}

.credential-chip svg {
  color: #4ff7a6;
}

/* ==========================================================================
   4. Target Audience Section Styles
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.audience-card {
  background: rgba(14, 16, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 244, 131, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(5, 244, 131, 0.12);
}

.audience-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(5, 244, 131, 0.1);
  border: 1px solid rgba(5, 244, 131, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ff7a6;
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}

.audience-card:hover .audience-icon-wrap {
  transform: scale(1.08);
  background: rgba(5, 244, 131, 0.2);
}

.audience-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.audience-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   5. Workshop Pricing Section Styles
   ========================================================================== */
.pricing-showcase-card {
  background: rgba(14, 16, 24, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), 0 0 35px rgba(5, 244, 131, 0.12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.features-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 500;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-checkout-side {
  background: rgba(12, 17, 34, 0.9);
  border: 1.5px solid rgba(5, 244, 131, 0.35);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(5, 244, 131, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.launch-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(5, 244, 131, 0.15);
  border: 1px solid rgba(5, 244, 131, 0.4);
  color: #3ef59b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.price-display-wrap {
  margin-bottom: 1.25rem;
}

.price-strikethrough {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #64748b;
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.25rem;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
}

.price-main {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-tag-only {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4ff7a6;
}

.price-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.workshop-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.workshop-date-pill svg {
  color: #4ff7a6;
}

.btn-pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
  background-color: #05f483 !important;
  color: var(--brand-ink) !important;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.22s ease;
  box-shadow: 0 10px 24px rgba(5, 244, 131, 0.4);
}

.btn-pricing-cta:hover {
  background-color: #4ff7a6 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 244, 131, 0.55);
}

.pricing-bottom-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 1.25rem;
  text-align: center;
}

.pricing-bottom-note strong {
  color: #94a3b8;
}

/* ==========================================================================
   Footer Section Styles
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #000000;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
}

.footer-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  background: rgba(5, 244, 131, 0.15);
  border-color: rgba(5, 244, 131, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   6. FAQ Section Styles
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background: rgba(14, 16, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item[open] {
  background: rgba(18, 20, 30, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.faq-item-featured {
  border: 1.5px solid rgba(5, 244, 131, 0.4);
  background: rgba(5, 244, 131, 0.06);
}

.faq-item-featured:hover,
.faq-item-featured[open] {
  border-color: rgba(5, 244, 131, 0.6);
  background: rgba(5, 244, 131, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(5, 244, 131, 0.6);
  outline-offset: 4px;
  border-radius: 8px;
}

.faq-question-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  text-align: left;
}

.faq-new-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #05f483;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.faq-toggle-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, background 0.2s ease;
}

.faq-item:hover .faq-toggle-icon {
  color: #ffffff;
  background: rgba(5, 244, 131, 0.18);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 650px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
}

.faq-item[open] .faq-answer {
  animation: faq-reveal 0.25s ease-out;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #05f483;
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(5, 244, 131, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-download-btn:hover {
  transform: scale(1.02);
  background: #3ef59b;
  box-shadow: 0 10px 26px rgba(5, 244, 131, 0.32);
}

.faq-download-btn:active {
  transform: scale(0.99);
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .outcomes-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-list.learn-list-split {
    grid-template-columns: 1fr;
  }

  .curriculum-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .mentor-info-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mentor-credentials {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .outcomes-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .mentor-profile-card,
  .pricing-showcase-card {
    padding: 1.75rem 1.25rem;
  }

  .price-main {
    font-size: 2.35rem;
  }

  .faq-item {
    padding: 1.1rem 1.15rem;
  }

  .faq-question {
    font-size: 0.9rem;
    align-items: flex-start;
  }

  .faq-toggle-icon {
    margin-top: 0.1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}



/* ==========================================================================
   Section Separation
   Alternating background planes + a hairline seam so adjoining sections
   read as distinct bands instead of one continuous dark field.
   ========================================================================== */
body > section,
body > footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Soft accent glint centred on each seam (sits inside the border so the
   sections that clip their overflow still show it) */
body > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 244, 131, 0.5), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Raised plane: the lighter of the two alternating bands */
.bg-bg-2 {
  background-color: #080a12;
}

/* Recessed plane: pure black with a faint technical grid */
.bg-canvas-grid {
  background-color: #000000;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* The two sections carrying their own background keep it, just nudged apart */
.workflow-section {
  background-color: #000000;
}

.preview-section {
  background-color: #080a12;
}

/* ==========================================================================
   Responsive Layer
   Loaded last so it settles ties with the per-section rules above.
   ========================================================================== */

/* --- Global safety nets -------------------------------------------------- */
img,
svg,
video {
  max-width: 100%;
}

h1, h2, h3, h4,
p, li, span, a {
  overflow-wrap: break-word;
}

/* `py-16` had no definition, so every section using `py-16 sm:py-24` sat with
   zero vertical padding below the 640px breakpoint. */
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* `.container` carried no inline padding, so section content ran to the
   screen edge on narrow viewports. The hero and workflow sections use their
   own padded wrappers and are left alone. */
body > section > .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --- Hero headline: smaller across the board ---------------------------- */
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.hero-description {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

/* --- Tablet ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .preview-section {
    padding: 4rem 0 4.5rem;
  }

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

/* --- Hero on small screens ---------------------------------------------
   Below this width the column stacks under the copy and the rotating
   artwork drops back to a dim wash behind the video, so the headline and
   CTA still own the top of the screen. */
@media (max-width: 860px) {
  .hero-section {
    min-height: auto;
    padding: 4.5rem 1.5rem 3.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.25rem;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
  }

  .hero-visual {
    position: relative;
    order: 1;
    min-height: 0;
    height: auto;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .visual-wrapper {
    max-width: none;
    transform: none !important;
  }

  .vortex-container {
    width: 150%;
    height: auto;
    top: 50%;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.32;
  }

  .hero-video {
    max-width: 100%;
  }

  /* Larger, softer wash so the background still reads as designed rather
     than as a cropped corner of the desktop gradient. */
  .ambient-vortex-glow {
    top: -20%;
    right: -40%;
    width: 160vw;
    height: 160vw;
    max-width: none;
    max-height: none;
    filter: blur(55px);
  }
}

/* --- Phone -------------------------------------------------------------- */
@media (max-width: 640px) {
  .section-title {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem !important;
  }

  .py-16 {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .preview-section {
    padding: 3.25rem 0 3.5rem;
  }

  .preview-container {
    padding: 0 1.25rem;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
  }

  .curriculum-single-card,
  .outcome-card,
  .audience-card,
  .curriculum-day-card {
    padding: 1.6rem 1.25rem;
  }

  .day-learn-box {
    padding: 1.15rem;
  }

  .day-badge-wrap {
    gap: 0.5rem;
  }

  .day-title {
    font-size: 1.2rem;
  }

  .features-title {
    font-size: 1.2rem;
  }

  .mentor-name {
    font-size: 1.45rem;
  }

  .faq-question-text {
    font-size: 0.88rem;
  }
}

/* --- Narrow phones ------------------------------------------------------ */
@media (max-width: 400px) {
  .hero-section {
    padding: 3.75rem 1rem 3rem;
  }

  body > section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn-cta {
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
  }

  .btn-pricing {
    gap: 0.35rem;
  }

  .faq-download-btn,
  .schedule-highlight {
    width: 100%;
    justify-content: center;
  }
}

/* --- Respect reduced-motion preferences --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vortex-svg,
  .badge-pulse,
  .pulse-indicator,
  .marquee-track-left,
  .marquee-track-right,
  .ambient-preview-glow {
    animation: none !important;
  }

  .faq-item[open] .faq-answer {
    animation: none !important;
  }
}

/* --- Hero schedule badge -------------------------------------------------
   Sits above the CTA, so it needs to read clearly at every width: solid
   backing rather than a translucent tint, and it wraps instead of
   overflowing once the date string gets long. */
.schedule-highlight {
  background: rgba(5, 244, 131, 0.14);
  border: 1px solid rgba(79, 247, 166, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 18px rgba(5, 244, 131, 0.18);
  flex-wrap: wrap;
  max-width: 100%;
}

.schedule-icon {
  color: #7efcbb;
  flex-shrink: 0;
}

.schedule-text {
  font-size: clamp(0.88rem, 2.6vw, 0.98rem);
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 640px) {
  .schedule-highlight {
    padding: 0.55rem 1rem;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --- Sticky mobile CTA bar -----------------------------------------------
   Mobile-only register strip pinned to the bottom of the viewport. It is
   display:none on tablet and up, since the hero CTA stays reachable there.
   Visibility is toggled by .is-visible from js/main.js once the hero CTA
   scrolls away; it animates in rather than popping. */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 640px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    /* Start parked below the fold; .is-visible slides it up. */
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    /* Keeps the strip clear of the iOS home-bar inset. */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(10, 10, 12, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
  }

  .mobile-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
  }

  .mobile-cta-price {
    min-width: 0;
  }

  .mobile-cta-price-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .mobile-cta-price-old {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
  }

  .mobile-cta-price-new {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-white);
  }

  .mobile-cta-deadline {
    margin-top: 0.15rem;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7efcbb;
  }

  .mobile-cta-btn {
    flex-shrink: 0;
    display: inline-block;
    background-color: #05f483;
    color: var(--brand-ink);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.7rem 1.3rem;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
  }

  .mobile-cta-btn:active {
    background-color: #00c96d;
  }

  /* Room at the end of the page so the bar never sits over the footer. */
  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta-bar {
    transition: none;
  }
}
