/**
 * Landing Intelligence Styles
 *
 * Styles for Gemini-powered landing page features:
 * - Chat widget
 * - Time-aware themes (night mode, etc.)
 * - Section treatments
 * - Returning visitor badges
 *
 * Uses Ferni design system variables.
 */

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */

:root {
  /* Chat widget */
  --chat-widget-size: 60px;
  --chat-widget-offset: 24px;
  --chat-widget-z-index: 9999;
  --chat-greeting-max-width: 280px;

  /* Time-aware */
  --night-bg: var(--color-bg-dark);
  --night-text: var(--color-bg-primary);
  --night-accent: var(--color-ferni);
  --night-glow: rgba(74, 103, 65, 0.3);
}

/* ============================================================================
   CHAT WIDGET
   ============================================================================ */

.ferni-chat-widget {
  position: fixed;
  bottom: var(--chat-widget-offset);
  right: var(--chat-widget-offset);
  z-index: var(--chat-widget-z-index);
  font-family: var(--font-body, 'Inter', sans-serif);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.ferni-chat-widget.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Bubble */
.ferni-chat-bubble {
  position: relative;
  width: var(--chat-widget-size);
  height: var(--chat-widget-size);
  border-radius: 50%;
  background: var(--color-ferni, var(--color-ferni));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ferni-chat-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(74, 103, 65, 0.3);
}

.ferni-chat-bubble__avatar {
  color: white;
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

/* Greeting bubble */
.ferni-chat-bubble__greeting {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--color-background-elevated, var(--color-bg-elevated));
  color: var(--color-text-primary, var(--color-text-primary));
  padding: var(--space-3) var(--space-4);
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: var(--text-sm);
  line-height: 1.4;
  max-width: var(--chat-greeting-max-width);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  white-space: nowrap;
}

.ferni-chat-bubble__greeting.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Panel */
.ferni-chat-panel {
  position: absolute;
  bottom: calc(var(--chat-widget-size) + 16px);
  right: 0;
  width: 340px;
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  overflow: hidden;
}

.ferni-chat-widget.is-expanded .ferni-chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ferni-chat-panel__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
}

.ferni-chat-panel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-ferni, var(--color-ferni));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
}

.ferni-chat-panel__title {
  flex: 1;
}

.ferni-chat-panel__name {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary, var(--color-text-primary));
}

.ferni-chat-panel__status {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-ferni, var(--color-ferni));
}

.ferni-chat-panel__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ferni, var(--color-ferni));
}

.ferni-chat-panel__close {
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  color: var(--color-text-muted, #70605a);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.ferni-chat-panel__close:hover {
  background: var(--color-background-hover, rgba(0, 0, 0, 0.05));
}

.ferni-chat-panel__body {
  padding: var(--space-5) var(--space-4);
}

.ferni-chat-panel__message {
  background: var(--color-background-subtle, var(--color-bg-primary));
  padding: var(--space-3) var(--space-4);
  border-radius: 12px 12px 12px 4px;
  margin-bottom: var(--space-4);
}

.ferni-chat-panel__message p {
  margin: 0;
  color: var(--color-text-primary, var(--color-text-primary));
  font-size: var(--text-sm);
  line-height: 1.5;
}

.ferni-chat-panel__message p + p {
  margin-top: var(--space-2);
}

.ferni-chat-panel__actions {
  display: flex;
  gap: var(--space-2);
}

.ferni-chat-panel__action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.ferni-chat-panel__action--call {
  background: var(--color-ferni, var(--color-ferni));
  color: white;
}

.ferni-chat-panel__action--call:hover {
  background: var(--color-ferni-dark, var(--color-ferni-secondary));
}

.ferni-chat-panel__action--app {
  background: var(--color-background-subtle, var(--color-bg-primary));
  color: var(--color-text-primary, var(--color-text-primary));
}

.ferni-chat-panel__action--app:hover {
  background: var(--color-background-hover, #ebe7df);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .ferni-chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
  }

  .ferni-chat-widget {
    bottom: 16px;
    right: 16px;
  }
}

/* ============================================================================
   TIME-AWARE THEMES
   ============================================================================ */

/* Late Night Mode */
.time-mode--late-night,
.theme--dark {
  --color-background: var(--night-bg);
  --color-background-elevated: var(--color-bg-dark);
  --color-text-primary: var(--night-text);
  --color-text-secondary: var(--color-text-muted);
  --color-text-muted: var(--color-text-muted);
}

.time-mode--late-night body,
.theme--dark body {
  background: var(--night-bg);
  color: var(--night-text);
}

.time-mode--late-night .hero,
.theme--dark .hero {
  background: linear-gradient(180deg, var(--night-bg) 0%, var(--color-bg-dark) 100%);
}

.time-mode--late-night .hero__bg-gradient,
.theme--dark .hero__bg-gradient {
  background: radial-gradient(ellipse at 50% 0%, var(--night-glow) 0%, transparent 70%);
}

.time-mode--late-night .hero__bg-orb,
.theme--dark .hero__bg-orb {
  opacity: 0.3;
}

.time-mode--late-night .nav,
.theme--dark .nav {
  background: rgba(26, 22, 18, 0.95);
}

.time-mode--late-night .section,
.theme--dark .section {
  background: var(--night-bg);
}

.time-mode--late-night .section:nth-child(even),
.theme--dark .section:nth-child(even) {
  background: var(--color-bg-dark);
}

/* Background treatments */
.bg-treatment--dim {
  filter: brightness(0.9);
}

.bg-treatment--warm .hero__bg-gradient {
  background: radial-gradient(ellipse at 50% 0%, rgba(166, 122, 106, 0.2) 0%, transparent 70%);
}

.bg-treatment--calming .hero__bg-gradient {
  background: radial-gradient(ellipse at 50% 0%, rgba(58, 107, 115, 0.15) 0%, transparent 70%);
}

/* ============================================================================
   SECTION TREATMENTS
   ============================================================================ */

.section--highlighted {
  position: relative;
}

.section--highlighted::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(74, 103, 65, 0.03) 0%,
    transparent 10%,
    transparent 90%,
    rgba(74, 103, 65, 0.03) 100%
  );
  pointer-events: none;
}

.section--expanded {
  padding-top: calc(var(--section-padding, 80px) * 1.5);
  padding-bottom: calc(var(--section-padding, 80px) * 1.5);
}

.section--minimal {
  padding-top: calc(var(--section-padding, 80px) * 0.5);
  padding-bottom: calc(var(--section-padding, 80px) * 0.5);
}

/* ============================================================================
   RETURNING VISITOR BADGE
   ============================================================================ */

.returning-visitor-badge {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-background-elevated, var(--color-bg-elevated));
  color: var(--color-text-primary, var(--color-text-primary));
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: badge-enter 0.3s ease;
}

@keyframes badge-enter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================================================
   SPECIAL OFFER BANNER
   ============================================================================ */

.special-offer-banner {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ferni, var(--color-ferni));
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(74, 103, 65, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  animation: offer-enter 0.4s ease;
}

@keyframes offer-enter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.special-offer-banner__message {
  font-size: var(--text-sm);
  font-weight: 500;
}

.special-offer-banner__cta {
  background: white;
  color: var(--color-ferni, var(--color-ferni));
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease;
}

.special-offer-banner__cta:hover {
  transform: scale(1.02);
}

.special-offer-banner__close {
  background: none;
  border: none;
  color: white;
  opacity: 0.7;
  cursor: pointer;
  padding: var(--space-1);
}

.special-offer-banner__close:hover {
  opacity: 1;
}

/* ============================================================================
   SUPERPOWERS SECTION
   ============================================================================ */

.superpowers {
  background: var(--color-background-subtle, var(--color-bg-primary));
}

.superpowers__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
}

.superpowers__tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary, #70605a);
  cursor: pointer;
  transition: all 0.2s ease;
}

.superpowers__tab:hover {
  border-color: var(--color-ferni, var(--color-ferni));
  color: var(--color-text-primary, var(--color-text-primary));
}

.superpowers__tab.is-active {
  background: var(--color-ferni, var(--color-ferni));
  color: white;
  border-color: var(--color-ferni, var(--color-ferni));
}

.superpowers__tab-icon {
  font-size: var(--text-lg);
}

.superpowers__demos {
  position: relative;
}

.superpowers__demo {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  animation: demo-enter 0.4s ease;
}

.superpowers__demo.is-active {
  display: grid;
}

@keyframes demo-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.superpowers__demo-content {
  padding: var(--space-8);
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.superpowers__demo-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary, var(--color-text-primary));
  margin-bottom: var(--space-4);
}

.superpowers__demo-description {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-secondary, #70605a);
  margin-bottom: var(--space-6);
}

.superpowers__demo-why {
  padding: var(--space-4);
  background: rgba(74, 103, 65, 0.08);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text-primary, var(--color-text-primary));
}

.superpowers__demo-why strong {
  color: var(--color-ferni, var(--color-ferni));
  display: block;
  margin-bottom: var(--space-1);
}

/* Demo Chat */
.superpowers__demo-chat {
  padding: var(--space-6);
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.demo-chat__message {
  max-width: 90%;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  font-size: var(--text-base);
  line-height: 1.5;
  position: relative;
}

.demo-chat__message--user {
  align-self: flex-end;
  background: var(--color-ferni, var(--color-ferni));
  color: white;
  border-radius: 20px 20px 4px 20px;
}

.demo-chat__message--ai {
  align-self: flex-start;
  background: var(--color-background-subtle, var(--color-bg-primary));
  color: var(--color-text-primary, var(--color-text-primary));
  border-radius: 20px 20px 20px 4px;
}

.demo-chat__insight {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ferni, var(--color-ferni));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 103, 65, 0.2);
}

.demo-chat__message--presence {
  font-style: italic;
  background: rgba(58, 107, 115, 0.1);
}

.demo-chat__message--silence {
  background: transparent;
  color: var(--color-text-muted, var(--color-text-muted));
  font-style: italic;
  text-align: center;
  align-self: center;
  padding: var(--space-2) var(--space-4);
}

.demo-chat__timestamp {
  display: block;
  font-size: var(--text-xs);
  opacity: 0.7;
  margin-bottom: var(--space-1);
}

.demo-chat__message em {
  font-style: italic;
  color: var(--color-ferni, var(--color-ferni));
  font-weight: 500;
}

/* Mobile */
@media (max-width: 1024px) {
  .superpowers__demo {
    grid-template-columns: 1fr;
  }

  .superpowers__tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .superpowers__tab {
    flex-shrink: 0;
  }

  .superpowers__tab-label {
    white-space: nowrap;
  }
}

/* ============================================================================
   HARDEST MOMENTS SECTION
   ============================================================================ */

.hardest-moments {
  background: var(--color-background, var(--color-bg-elevated));
}

.hardest-moments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.moment-card {
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.moment-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.moment-card__icon svg {
  width: 28px;
  height: 28px;
}

/* Card colors */
.moment-card--second-chances .moment-card__icon {
  background: rgba(74, 103, 65, 0.1);
  color: var(--color-ferni, var(--color-ferni));
}

.moment-card--connection .moment-card__icon {
  background: rgba(166, 122, 106, 0.15);
  color: var(--color-maya);
}

.moment-card--conversations .moment-card__icon {
  background: rgba(90, 107, 138, 0.15);
  color: var(--color-alex);
}

.moment-card--transitions .moment-card__icon {
  background: rgba(58, 107, 115, 0.15);
  color: var(--color-peter);
}

.moment-card--growth .moment-card__icon {
  background: rgba(184, 149, 106, 0.15);
  color: var(--color-nayan);
}

.moment-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary, var(--color-text-primary));
  margin-bottom: var(--space-2);
}

.moment-card__superpower {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-ferni, var(--color-ferni));
  margin-bottom: var(--space-4);
}

.moment-card__description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-secondary, #70605a);
  margin-bottom: var(--space-5);
}

.moment-card__voice {
  padding: var(--space-4);
  background: var(--color-background-subtle, var(--color-bg-primary));
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text-primary, var(--color-text-primary));
  border-left: 3px solid var(--color-ferni, var(--color-ferni));
  margin: 0;
}

/* ============================================================================
   MEMORY DEMO - Apple-Bold Cinematic Experience
   Full-bleed immersive dark section with dramatic typography
   ============================================================================ */

/* Section Container - FULL BLEED DARK */
.memory-demo {
  position: relative;
  padding: clamp(120px, 20vh, 200px) 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-dark) 0%,
    var(--color-bg-dark) 40%,
    var(--color-bg-dark) 100%
  );
  overflow: hidden;
}

/* Cinematic ambient glow */
.memory-demo::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 140%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(74, 103, 65, 0.08) 0%,
    rgba(74, 103, 65, 0.03) 30%,
    transparent 70%
  );
  pointer-events: none;
}

/* Header - MASSIVE APPLE-STYLE TYPOGRAPHY */
.memory-demo .section__header {
  margin-bottom: clamp(80px, 12vh, 140px);
  position: relative;
  z-index: 1;
}

/* EYEBROW - Accent color for pop, high visibility */
.memory-demo .section__eyebrow {
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-ferni); /* Ferni green accent - pops against dark */
  margin-bottom: var(--space-6);
  text-shadow: 0 0 30px rgba(140, 184, 124, 0.4);
}

/* TITLE - Pure white, maximum contrast */
.memory-demo .section__title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--color-text-inverse);
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

/* SUBTITLE - High contrast cream, not muted */
.memory-demo .section__subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: var(--space-8) auto 0;
  color: var(--color-bg-secondary); /* Warm cream - 7:1+ contrast ratio */
}

/* Timeline Layout - Centered, dramatic spacing */
.memory-demo__timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.memory-demo__thread {
  position: relative;
  padding-left: 40px;
}

/* Animated Timeline Line - Glowing */
.memory-demo__line {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(74, 103, 65, 0.4) 50%,
    rgba(74, 103, 65, 0.8) 100%
  );
  border-radius: var(--radius-xs);
}

/* Subtle glow on the line */
.memory-demo__line::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 6px;
  left: -2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(74, 103, 65, 0.3) 100%
  );
  filter: blur(4px);
}

/* Timeline Moments */
.memory-demo__moment {
  position: relative;
  margin-bottom: clamp(48px, 8vw, 72px);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.memory-demo__moment.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.memory-demo__moment:last-child {
  margin-bottom: 0;
}

/* Timeline Dots - Floating orbs */
.memory-demo__moment::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.memory-demo__moment.is-visible::before {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Today's dot - HERO TREATMENT with Ferni green */
.memory-demo__moment--today::before {
  background: var(--color-ferni);
  width: 18px;
  height: 18px;
  left: -42px;
  top: 6px;
  border: 2px solid var(--color-ferni);
  box-shadow:
    0 0 0 6px rgba(74, 103, 65, 0.2),
    0 0 30px rgba(74, 103, 65, 0.5),
    0 0 60px rgba(74, 103, 65, 0.3);
}

/* Date Labels - HIGH CONTRAST with accent undertone */
.memory-demo__date {
  display: inline-block;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-bg-secondary); /* Brighter warm white - improved contrast */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* User Message Cards - Glass morphism with better contrast */
.memory-demo__card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.memory-demo__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Speaker Label - Bold, clear */
.memory-demo__speaker {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-inverse); /* Pure white for maximum contrast */
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Message Text - High contrast, readable */
.memory-demo__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-text-inverse); /* Pure white for readability on glass cards */
  margin: 0;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Remembered indicator - Accent color for visibility */
.memory-demo__indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-4);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ferni-light); /* Brighter sage green - improved contrast */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.memory-demo__indicator svg {
  opacity: 1;
  color: var(--color-ferni-light); /* Brighter Ferni green */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Emotion Tags - More visible */
.memory-demo__emotion {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted); /* Warm light - 5:1+ contrast */
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-style: normal;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FERNI'S CARD - HERO MOMENT with Dramatic Glow
   ═══════════════════════════════════════════════════════════════════════════ */

.memory-demo__card--ferni {
  background: linear-gradient(
    145deg,
    rgba(74, 103, 65, 0.95) 0%,
    rgba(61, 90, 53, 0.98) 100%
  );
  border: 1px solid rgba(122, 154, 106, 0.3);
  padding: clamp(28px, 5vw, 40px);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(74, 103, 65, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 8px 40px rgba(74, 103, 65, 0.25),
    0 20px 80px rgba(74, 103, 65, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.memory-demo__card--ferni:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(74, 103, 65, 0.4),
    0 8px 30px rgba(0, 0, 0, 0.35),
    0 16px 60px rgba(74, 103, 65, 0.35),
    0 30px 100px rgba(74, 103, 65, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Cinematic light sweep */
.memory-demo__card--ferni::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(74, 103, 65, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Outer glow ring */
.memory-demo__card--ferni::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(
    145deg,
    rgba(122, 154, 106, 0.4) 0%,
    transparent 50%,
    rgba(74, 103, 65, 0.2) 100%
  );
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
}

.memory-demo__speaker--ferni {
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.memory-demo__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.memory-demo__card--ferni .memory-demo__text {
  color: var(--color-text-inverse);
  font-size: clamp(1.1875rem, 2.2vw, 1.375rem);
  font-style: italic;
  line-height: 1.75;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSIGHTS PANEL - Clean & Spacious
   ═══════════════════════════════════════════════════════════════════════════ */

/* Insights Panel - HIGH CONTRAST on dark background */
.memory-demo__insights {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 120px;
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.memory-demo__insights.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.memory-demo__insights-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.625rem);
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  padding-left: 4px;
}

.memory-demo__insights-list {
  list-style: none;
  padding: 0 0 0 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.memory-demo__insights-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 8px clamp(20px, 3vw, 24px) 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.memory-demo__insights-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.memory-demo__insights-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.memory-demo__insight-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ferni); /* Ferni green accent */
  margin-top: 1px;
}

.memory-demo__insight-icon svg {
  width: 22px;
  height: 22px;
}

.memory-demo__insights-list strong {
  display: block;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse); /* High contrast cream */
  margin-bottom: 6px;
}

.memory-demo__insights-list p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--text-base);
  color: var(--color-text-muted); /* Warm light gray - 5:1+ contrast */
  margin: 0;
  line-height: 1.6;
}

/* Magic Footer - The Punchline */
/* Magic Footer - THE PUNCHLINE - Must POP */
.memory-demo__magic {
  margin-top: clamp(32px, 6vw, 48px);
  padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 32px);
  background: linear-gradient(
    135deg,
    rgba(140, 184, 124, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(140, 184, 124, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--color-text-inverse); /* High contrast cream */
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.memory-demo__magic svg {
  flex-shrink: 0;
  color: var(--color-highlight); /* Warm gold - high visibility */
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 12px rgba(230, 200, 154, 0.5));
}

.memory-demo__magic em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-ferni-light); /* Bright sage green */
  text-shadow: 0 0 20px rgba(168, 212, 152, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - Mobile First
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .memory-demo .section__title {
    font-size: clamp(2.75rem, 8vw, 5rem);
  }

  .memory-demo__showcase {
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 60px);
  }

  .memory-demo__insights {
    position: static;
    transform: none;
  }

  .memory-demo__insights.is-visible {
    transform: none;
  }
}

@media (max-width: 640px) {
  .memory-demo {
    padding: clamp(80px, 15vh, 120px) 0;
  }

  .memory-demo .section__header {
    margin-bottom: clamp(60px, 10vh, 100px);
  }

  .memory-demo .section__title {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    letter-spacing: -0.03em;
  }

  .memory-demo .section__subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-top: var(--space-6);
  }

  .memory-demo__timeline {
    max-width: 100%;
  }

  .memory-demo__thread {
    padding-left: 28px;
  }

  .memory-demo__card {
    padding: clamp(20px, 5vw, 28px);
    border-radius: var(--radius-lg);
  }

  .memory-demo__card--ferni {
    padding: clamp(24px, 6vw, 32px);
    border-radius: var(--radius-xl);
  }

  .memory-demo__moment::before {
    left: -28px;
    width: 12px;
    height: 12px;
  }

  .memory-demo__moment--today::before {
    left: -30px;
    width: 16px;
    height: 16px;
  }

  .memory-demo__magic {
    padding: clamp(16px, 4vw, 24px);
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
}

/* ============================================================================
   JOURNEY DEPTH VISUALIZATION
   ============================================================================ */

.journey__depth-viz {
  margin-bottom: 64px;
  padding: var(--space-8);
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.journey__depth-scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted, var(--color-text-muted));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.journey__depth-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.journey__depth-bar {
  position: relative;
}

.journey__depth-bar-fill {
  height: 120px;
  background: linear-gradient(180deg, var(--color-ferni, var(--color-ferni)) 0%, rgba(74, 103, 65, 0.3) 100%);
  border-radius: 8px 8px 0 0;
  transform-origin: bottom;
  transform: scaleY(var(--depth, 0.5));
  transition: transform 0.6s ease;
}

.journey__depth-bar-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary, var(--color-text-primary));
  text-align: center;
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
}

.journey__depth-bar-content {
  font-size: var(--text-sm);
  color: var(--color-text-secondary, #70605a);
  text-align: center;
}

.journey__depth-bar-content strong {
  display: block;
  color: var(--color-text-primary, var(--color-text-primary));
  margin-bottom: var(--space-1);
}

.journey__depth-bar-content p {
  margin: 0;
  line-height: 1.4;
}

/* What happens callouts */
.journey__stage-what-happens {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(74, 103, 65, 0.06);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary, #70605a);
}

.journey__stage-what-happens strong {
  color: var(--color-ferni, var(--color-ferni));
}

/* Mobile */
@media (max-width: 768px) {
  .journey__depth-bars {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey__depth-bar-fill {
    height: 80px;
  }
}

/* ============================================================================
   VOICE SAMPLES
   ============================================================================ */

.voice-samples-showcase {
  padding: var(--space-12) 0;
}

.voice-samples-showcase__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.voice-samples-showcase__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary, var(--color-text-primary));
  margin: 0 0 8px;
}

.voice-samples-showcase__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted, #756a5e);
  margin: 0;
}

.voice-samples-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}

.voice-sample {
  background: var(--color-background-elevated, var(--color-bg-elevated));
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.voice-sample:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.voice-sample__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.voice-sample__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    var(--persona-color, var(--color-ferni)),
    color-mix(in srgb, var(--persona-color, var(--color-ferni)) 80%, black)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
}

.voice-sample__info {
  flex: 1;
}

.voice-sample__persona {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary, var(--color-text-primary));
  font-size: var(--text-base);
}

.voice-sample__topic {
  font-size: var(--text-xs);
  color: var(--color-text-muted, #756a5e);
}

.voice-sample__play {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--persona-color, var(--color-ferni)),
    color-mix(in srgb, var(--persona-color, var(--color-ferni)) 80%, black)
  );
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.voice-sample__play:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(74, 103, 65, 0.3);
}

.voice-sample__icon-play,
.voice-sample__icon-pause {
  width: 20px;
  height: 20px;
}

.voice-sample__icon-pause {
  display: none;
}

.voice-sample.is-playing .voice-sample__icon-play {
  display: none;
}

.voice-sample.is-playing .voice-sample__icon-pause {
  display: block;
}

.voice-sample__question {
  margin-top: var(--space-4);
  padding-top: 16px;
  border-top: 1px solid rgba(44, 37, 32, 0.08);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-primary, var(--color-text-primary));
}

.voice-sample__q-label,
.voice-sample__a-label {
  font-weight: 600;
  font-style: normal;
  color: var(--color-text-muted, #756a5e);
  margin-right: 4px;
}

.voice-sample__waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin: 16px 0;
  opacity: 0.3;
}

.voice-sample.is-playing .voice-sample__waveform {
  opacity: 1;
}

.voice-sample__bar {
  width: 3px;
  height: 8px;
  background: var(--persona-color, var(--color-ferni));
  border-radius: var(--radius-xs);
  transition: height 0.1s ease;
}

.voice-sample.is-playing .voice-sample__bar {
  animation: waveform-bounce 1s ease-in-out infinite;
}

.voice-sample.is-playing .voice-sample__bar:nth-child(1) {
  animation-delay: 0s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(2) {
  animation-delay: 0.1s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(3) {
  animation-delay: 0.2s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(4) {
  animation-delay: 0.3s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(5) {
  animation-delay: 0.4s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(6) {
  animation-delay: 0.5s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(7) {
  animation-delay: 0.6s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(8) {
  animation-delay: 0.7s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(9) {
  animation-delay: 0.8s;
}
.voice-sample.is-playing .voice-sample__bar:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes waveform-bounce {
  0%,
  100% {
    height: 8px;
  }
  50% {
    height: 24px;
  }
}

.voice-sample__transcript {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary, #5c544a);
  line-height: 1.5;
  display: none;
}

.voice-sample.is-playing .voice-sample__transcript,
.voice-sample.is-complete .voice-sample__transcript {
  display: block;
}

/* Inline voice sample button */
.voice-sample-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(74, 103, 65, 0.1);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-ferni, var(--color-ferni));
  transition: background 0.2s ease;
}

.voice-sample-inline:hover {
  background: rgba(74, 103, 65, 0.15);
}

.voice-sample-inline__icon {
  width: 16px;
  height: 16px;
}

/* ============================================================================
   ANIMATION REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .ferni-chat-widget,
  .ferni-chat-bubble,
  .ferni-chat-bubble__greeting,
  .ferni-chat-panel,
  .returning-visitor-badge,
  .special-offer-banner,
  .superpowers__demo,
  .journey__depth-bar-fill,
  .moment-card,
  .voice-sample,
  .voice-sample__bar,
  /* Memory demo elements */
  .memory-demo__moment,
  .memory-demo__card--ferni,
  .memory-demo__insights,
  .memory-demo__insights-list li,
  .memory-demo__line {
    transition: none !important;
    animation: none !important;
  }

  /* Ensure visibility without animation */
  .memory-demo__moment,
  .memory-demo__insights,
  .memory-demo__insights-list li {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================================
   DARK MODE - High Contrast for System Dark Theme
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  /* Moment Cards - "Second Chances", "Connection", etc. */
  .moment-card {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .moment-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  }
  
  .moment-card__title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .moment-card__superpower {
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .moment-card__description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  .moment-card__voice {
    background: var(--color-ferni-cinematic-deep, var(--color-bg-dark-elevated));
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
    border-left-color: var(--color-highlight, var(--color-nayan));
  }
  
  /* Moment card icon backgrounds - brighten for dark mode */
  .moment-card--second-chances .moment-card__icon {
    background: rgba(74, 103, 65, 0.25);
  }
  
  .moment-card--connection .moment-card__icon {
    background: rgba(166, 122, 106, 0.25);
  }
  
  .moment-card--conversations .moment-card__icon {
    background: rgba(90, 107, 138, 0.25);
  }
  
  .moment-card--transitions .moment-card__icon {
    background: rgba(58, 107, 115, 0.25);
  }
  
  .moment-card--growth .moment-card__icon {
    background: rgba(184, 149, 106, 0.25);
  }
  
  /* Voice Sample inline */
  .voice-sample-inline {
    background: rgba(74, 103, 65, 0.2);
    color: var(--color-highlight, var(--color-nayan));
  }
  
  .voice-sample-inline:hover {
    background: rgba(74, 103, 65, 0.35);
  }
  
  /* Superpowers section */
  .superpowers__demo {
    background: var(--color-ferni-cinematic-surface, var(--color-bg-dark-surface));
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .superpowers__demo-title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .superpowers__demo-description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Journey section */
  .journey__milestone-title {
    color: var(--color-ferni-cinematic-text, var(--color-text-inverse));
  }
  
  .journey__milestone-description {
    color: var(--color-ferni-cinematic-text-secondary, var(--color-bg-secondary));
  }
  
  /* Memory demo - Already dark by default, no overrides needed */
}
