/* ============================================================
   DEMODOKOS FOUNDRY — Landing Page
   Theme: The Bard's Torchlit Hall
   Warm purples, amber gold, parchment tones
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body.landing-page {
  font-family: 'Inter', var(--font-family-base);
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', var(--font-family-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5em;
}

h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { max-width: 42em; }
em { color: var(--color-accent-primary); font-style: italic; }
strong { color: var(--color-text-primary); }

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--color-accent-primary-hover); }

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin: 0 auto 3rem;
  max-width: 38em;
}

/* ---------- NAVIGATION ---------- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s, top 0.3s;
}

/* Offset landing nav when admin bar is present */
body.has-admin-bar .landing-nav { top: 44px; }
body.has-admin-bar.admin-collapsed .landing-nav { top: 22px; }

.landing-nav.scrolled {
  background: rgba(12, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', var(--font-family-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-brand-icon {
  color: var(--color-accent-primary);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--color-text-primary); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-accent-contrast) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600 !important;
  transition: transform 0.25s, box-shadow 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 180, 76, 0.3);
}

.nav-signin {
  color: var(--color-text-primary) !important;
  font-weight: 500;
}
.nav-signin:hover { color: var(--color-accent-primary) !important; }
.nav-signin::after { display: none !important; }

.nav-cta-signup {
  background: transparent !important;
  border: 1px solid var(--color-accent-primary) !important;
  color: var(--color-accent-primary) !important;
}
.nav-cta-signup:hover {
  background: rgba(232, 180, 76, 0.1) !important;
  box-shadow: 0 4px 20px rgba(232, 180, 76, 0.2);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, #1a1030 0%, var(--color-bg-page) 70%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.hero-origin {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-accent-primary);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero-origin i { margin-right: 0.4em; }

.hero-title {
  font-family: 'Cormorant Garamond', var(--font-family-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-cta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-perks {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-perks span {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.hero-perks i {
  color: var(--color-accent-primary);
  font-size: 0.9em;
}

/* Hero promo ribbon — elegant single-line launch offer */
.hero-promo-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.2rem auto 1.6rem;
  padding: 0.55rem 1.6rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(232, 180, 76, 0.40);
  background: linear-gradient(135deg, rgba(232, 180, 76, 0.10) 0%, rgba(232, 145, 76, 0.05) 100%);
  backdrop-filter: blur(6px);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  overflow: visible;
}
.hero-promo-ribbon:hover {
  border-color: rgba(232, 180, 76, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 180, 76, 0.18);
}
.hero-promo-ribbon .hero-promo-glow {
  position: absolute;
  inset: -6px;
  border-radius: 3rem;
  background: radial-gradient(ellipse at 50% 50%, rgba(232, 180, 76, 0.14) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-ribbon-pulse 3s ease-in-out infinite;
}
@keyframes hero-ribbon-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero-promo-icon {
  font-size: 1rem;
  color: var(--color-accent-primary);
  filter: drop-shadow(0 0 4px rgba(232, 180, 76, 0.4));
}
.hero-promo-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-promo-sep {
  width: 1px;
  height: 1rem;
  background: rgba(232, 180, 76, 0.30);
  flex-shrink: 0;
}
.hero-promo-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-promo-countdown {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
#countdown-timer {
  font-family: inherit;
}

/* Hero promo responsive */
@media (max-width: 520px) {
  .hero-promo-ribbon {
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.9em;
  }
  .hero-promo-label { font-size: 1rem; }
  .hero-promo-sub { display: none; }
  .hero-promo-sep:first-of-type { display: none; }
}

/* Buttons */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9rem 2rem;
  border-radius: 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-accent-contrast);
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.3s;
  text-decoration: none;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 180, 76, 0.35);
  color: var(--color-accent-contrast);
}

.btn-glow.btn-large {
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9rem 2rem;
  border-radius: 2.5rem;
  font-weight: 500;
  font-size: 1rem;
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.06);
  transform: translateY(-1px);
  color: var(--color-text-primary);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.6;
  animation: gentleBounce 2.5s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- MUSIC SHOWCASE ---------- */
.section-showcase {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(232, 180, 76, 0.04) 0%, transparent 50%),
    var(--color-bg-page);
  padding-top: 3rem;
  text-align: center;
}

.showcase-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.showcase-strip:active { cursor: grabbing; }

.showcase-strip::-webkit-scrollbar { height: 10px; }
.showcase-strip::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 5px; margin: 0 1rem; }
.showcase-strip::-webkit-scrollbar-thumb { background: var(--color-accent-primary); border-radius: 5px; min-width: 60px; }
.showcase-strip::-webkit-scrollbar-thumb:hover { background: var(--color-accent-hover); }
.showcase-strip { scrollbar-width: auto; scrollbar-color: var(--color-accent-primary) rgba(255, 255, 255, 0.05); }

.showcase-card {
  flex: 0 0 188px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(232, 180, 76, 0.08);
}

.showcase-card.playing {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 24px rgba(232, 180, 76, 0.15);
}

.showcase-art {
  width: 100%;
  height: 155px;
  position: relative;
  overflow: hidden;
}

/* artwork backgrounds are set via inline style on each card */

.showcase-info {
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.showcase-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.15rem;
}

.showcase-genre {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.showcase-play {
  position: absolute;
  top: 50px; /* center of 155px art area */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-accent-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.showcase-play:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(-50%) scale(1.1);
}

.showcase-play { overflow: visible; } /* allow ring SVG to extend beyond button edge */

.showcase-card.playing .showcase-play {
  background: var(--color-accent-primary);
  color: var(--color-bg-page);
}

/* ---- Circular progress ring around play button ---- */
.showcase-ring {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -6px;
  left: -6px;
  pointer-events: none;
  overflow: visible;
}
.showcase-ring .ring-track {
  fill: none;
  stroke: rgba(232, 180, 76, 0.12);
  stroke-width: 1.5;
}
.showcase-ring .ring-arc {
  fill: none;
  stroke: var(--color-accent-primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  will-change: stroke-dashoffset;
}
.showcase-ring .ring-head {
  fill: #fff;
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--color-accent-primary)) drop-shadow(0 0 2px #fff);
  will-change: cx, cy;
}
/* ring visible only while playing */
.showcase-card.playing .showcase-ring .ring-arc,
.showcase-card.playing .showcase-ring .ring-head { opacity: 1; }
/* subtle glow on arc when playing */
.showcase-card.playing .showcase-ring .ring-arc {
  filter: drop-shadow(0 0 5px rgba(232, 180, 76, 0.9)) drop-shadow(0 0 2px rgba(232, 180, 76, 0.5));
}

.showcase-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-style: italic;
  max-width: 100%;
  width: 100%;
  display: block;
}

/* ---------- CREATION CARDS ---------- */
.section-create {
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(232, 145, 76, 0.03) 0%, transparent 50%),
    var(--color-bg-page);
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

/* -- Flip card container -- */
.card-flip-wrap {
  perspective: 1200px;
  width: 100%;
  min-width: 0; // prevent grid blowout from long content
}

.creation-card {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
}

.creation-card.flipped {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
}

.card-front {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.card-front:hover {
  border-color: rgba(232, 180, 76, 0.3);
  box-shadow: 0 12px 40px rgba(232, 180, 76, 0.08);
}

.card-front > p {
  flex: 1;
}

.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Screenshot placeholder on back */
.card-back-screenshot {
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  overflow: hidden;
  margin-bottom: 1.2rem;
  min-height: 100px;
}

.card-back-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.card-back-placeholder i {
  font-size: 2rem;
  opacity: 0.35;
}

.card-back-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.card-back h3 {
  margin-bottom: 0.5rem;
  color: var(--color-accent-primary);
  font-size: 1.1rem;
}

.card-back p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* Flip trigger button */
.card-flip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: auto;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.08);
  border: 1px solid rgba(232, 180, 76, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  letter-spacing: 0.02em;
}

.card-flip-btn:hover {
  background: rgba(232, 180, 76, 0.16);
  border-color: rgba(232, 180, 76, 0.4);
  transform: translateY(-1px);
}

.card-flip-return {
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border-default);
}

.card-flip-return:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(232, 180, 76, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.card-front:hover .card-glow { opacity: 1; }

/* -- Card visuals (CSS-only mini illustrations) -- */
.card-visual {
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  padding: 1rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Generate: prompt bar + waveform */
.cv-generate .cv-prompt-bar {
  background: var(--color-bg-page);
  border: 1px solid var(--color-border-default);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
}
.cv-cursor {
  color: var(--color-accent-primary);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.cv-waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}
.cv-waveform span {
  flex: 1;
  background: linear-gradient(180deg, var(--color-accent-primary) 0%, var(--color-cta) 100%);
  border-radius: 2px;
  opacity: 0.6;
  animation: wave-bar 1.8s ease-in-out infinite;
}
.cv-waveform span:nth-child(1)  { height: 45%; animation-delay: 0.0s; }
.cv-waveform span:nth-child(2)  { height: 70%; animation-delay: 0.15s; }
.cv-waveform span:nth-child(3)  { height: 55%; animation-delay: 0.3s; }
.cv-waveform span:nth-child(4)  { height: 90%; animation-delay: 0.45s; }
.cv-waveform span:nth-child(5)  { height: 60%; animation-delay: 0.6s; }
.cv-waveform span:nth-child(6)  { height: 80%; animation-delay: 0.75s; }
.cv-waveform span:nth-child(7)  { height: 50%; animation-delay: 0.9s; }
.cv-waveform span:nth-child(8)  { height: 95%; animation-delay: 1.05s; }
.cv-waveform span:nth-child(9)  { height: 65%; animation-delay: 1.2s; }
.cv-waveform span:nth-child(10) { height: 85%; animation-delay: 1.35s; }
.cv-waveform span:nth-child(11) { height: 40%; animation-delay: 1.5s; }
.cv-waveform span:nth-child(12) { height: 72%; animation-delay: 1.65s; }
@keyframes wave-bar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* Timeline: 3 colored tracks */
.cv-timeline { gap: 5px; padding: 0.8rem 1rem; }
.cv-track {
  height: 18px;
  border-radius: 4px;
  position: relative;
  background: var(--color-bg-page);
}
.cv-clip {
  position: absolute;
  top: 3px;
  height: 12px;
  border-radius: 3px;
  opacity: 0.7;
}
.cv-track-vocal .cv-clip { background: var(--color-accent-primary); }
.cv-track-drums .cv-clip { background: var(--color-cta); }
.cv-track-bass .cv-clip { background: #7c6bb5; }

/* Chat: user + AI bubbles */
.cv-chat { gap: 6px; padding: 0.7rem; }
.cv-bubble {
  font-size: 0.68rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  max-width: 85%;
  line-height: 1.35;
}
.cv-user {
  background: var(--color-bg-soft);
  color: var(--color-text-secondary);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.cv-ai {
  background: rgba(232, 180, 76, 0.1);
  color: var(--color-accent-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

/* Repaint: waveform with selection */
.cv-repaint { gap: 6px; align-items: center; }
.cv-wave-bar {
  width: 100%;
  height: 28px;
  background: var(--color-bg-page);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.cv-wave-fill {
  position: absolute;
  inset: 4px;
  background: linear-gradient(90deg,
    rgba(232,180,76,0.15) 0%,
    rgba(232,180,76,0.25) 30%,
    rgba(232,180,76,0.15) 50%,
    rgba(232,180,76,0.25) 70%,
    rgba(232,180,76,0.15) 100%);
  border-radius: 2px;
}
.cv-wave-select {
  position: absolute;
  top: 0; bottom: 0;
  left: 35%; width: 25%;
  background: rgba(232, 145, 76, 0.25);
  border-left: 2px solid var(--color-cta);
  border-right: 2px solid var(--color-cta);
  animation: pulse-select 2s ease-in-out infinite;
}
@keyframes pulse-select { 50% { background: rgba(232, 145, 76, 0.4); } }
.cv-repaint-label {
  font-size: 0.65rem;
  color: var(--color-cta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Stems: layered bars */
.cv-stems { gap: 4px; padding: 0.6rem 0.8rem; }
.cv-stem-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cv-stem-label {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  width: 38px;
  text-align: right;
  flex-shrink: 0;
}
.cv-stem-bar {
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-accent-primary) 0%, var(--color-cta) 100%);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.creation-card:hover .cv-stem-bar { opacity: 0.8; }

/* Restyle: from -> to */
.cv-restyle {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 0.8rem;
}
.cv-style-from, .cv-style-to {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  text-align: center;
}
.cv-style-from {
  background: var(--color-bg-page);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-default);
}
.cv-style-to {
  background: rgba(232, 180, 76, 0.12);
  color: var(--color-accent-primary);
  border: 1px solid rgba(232, 180, 76, 0.3);
}
.cv-style-arrow {
  color: var(--color-cta);
  font-size: 1.1rem;
}

/* Extend: existing track + growing new segment */
.cv-extend { padding: 1rem; gap: 8px; }
.cv-extend-track {
  display: flex;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-page);
}
.cv-extend-existing {
  width: 45%;
  background: linear-gradient(90deg, var(--color-accent-primary) 0%, rgba(232,180,76,0.6) 100%);
  opacity: 0.55;
  border-radius: 4px 0 0 4px;
}
.cv-extend-growing {
  position: relative;
  background: linear-gradient(90deg, rgba(232,145,76,0.3) 0%, rgba(232,180,76,0.5) 100%);
  border-left: 2px dashed var(--color-cta);
  animation: extend-grow 3s ease-in-out infinite;
}
.cv-extend-pulse {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-cta);
  border-radius: 2px;
  animation: extend-blink 0.8s ease-in-out infinite;
}
@keyframes extend-grow {
  0%, 100% { width: 20%; }
  50% { width: 55%; }
}
@keyframes extend-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.cv-extend-label {
  font-size: 0.65rem;
  color: var(--color-cta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Agent: terminal-style command lines */
.cv-agent { padding: 0.7rem; gap: 4px; font-family: monospace; }
.cv-agent-line {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
}
.cv-agent-prompt {
  color: var(--color-accent-primary);
  font-weight: 700;
}
.cv-agent-cmd {
  color: var(--color-text-secondary);
}
.cv-agent-ok {
  color: #6ec87a;
}
.cv-agent-ok i {
  margin-right: 0.3em;
}

/* Music Writer: creative AI writing assistant */
.cv-writer { padding: 0.7rem; gap: 5px; }
.cv-writer-line {
  font-size: 0.65rem;
  line-height: 1.5;
  border-radius: 5px;
  padding: 0.35rem 0.6rem;
}
.cv-writer-label {
  color: var(--color-accent-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.58rem;
  padding-left: 0;
  background: none;
}
.cv-writer-input {
  background: var(--color-bg-page);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-default);
  font-style: italic;
}
.cv-writer-output {
  background: rgba(232, 180, 76, 0.08);
  color: var(--color-accent-primary);
  border: 1px solid rgba(232, 180, 76, 0.15);
}
.cv-writer-output i {
  margin-right: 0.3em;
}

.card-icon {
  font-size: 1.8rem;
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(232, 180, 76, 0.2));
}

.creation-card h3,
.card-front h3 {
  margin-bottom: 0.75rem;
}

.card-front > p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* (card-details removed - replaced by flip cards) */

/* ---------- DSP EFFECTS ---------- */
.section-dsp {
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 72px, rgba(232,180,76,0.015) 72px, rgba(232,180,76,0.015) 73px),
    radial-gradient(ellipse at 50% 60%, rgba(100, 60, 170, 0.05) 0%, transparent 60%),
    var(--color-bg-page);
}

.dsp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.dsp-card {
  position: relative;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  background: var(--color-bg-surface);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dsp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,180,76,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(232,180,76,0.06);
}
.dsp-card-mid { border-color: var(--color-border-strong); }
.dsp-card-pro { border-color: rgba(232,180,76,0.3); box-shadow: 0 0 20px rgba(232,180,76,0.04); }

/* -- Tier badge -- */
.dsp-tier-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  z-index: 10;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.65em;
  border-radius: 20px;
}
.dsp-tier-badge span { font-size: 0.8em; opacity: 0.8; }
.dsp-badge-free { background: rgba(255,255,255,0.05); color: var(--color-text-muted); border: 1px solid var(--color-border-default); }
.dsp-badge-creator { background: rgba(232,180,76,0.1); color: var(--color-accent-primary); border: 1px solid rgba(232,180,76,0.3); }
.dsp-badge-pro { background: rgba(232,180,76,0.16); color: var(--color-accent-primary); border: 1px solid rgba(232,180,76,0.5); box-shadow: 0 0 10px rgba(232,180,76,0.12); }

/* -- Visual areas -- */
.dsp-visual {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-default);
}

/* EQ visual */
.dsp-visual-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 16px 20px 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(232,180,76,0.1) 0%, transparent 60%), var(--color-bg-page);
}
.dsp-eq-bar {
  flex: 1;
  max-width: 20px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--color-accent-primary) 0%, rgba(232,180,76,0.25) 100%);
  animation: dspEqBounce var(--dur, 1.2s) ease-in-out infinite alternate;
}
.dsp-eq-bar:nth-child(1)  { height: 42%; --dur: 0.80s; }
.dsp-eq-bar:nth-child(2)  { height: 68%; --dur: 1.10s; animation-delay:-0.20s; }
.dsp-eq-bar:nth-child(3)  { height: 52%; --dur: 0.92s; animation-delay:-0.40s; }
.dsp-eq-bar:nth-child(4)  { height: 88%; --dur: 1.28s; animation-delay:-0.12s; }
.dsp-eq-bar:nth-child(5)  { height: 63%; --dur: 1.04s; animation-delay:-0.56s; }
.dsp-eq-bar:nth-child(6)  { height: 44%; --dur: 0.74s; animation-delay:-0.34s; }
.dsp-eq-bar:nth-child(7)  { height: 79%; --dur: 1.18s; animation-delay:-0.48s; }
.dsp-eq-bar:nth-child(8)  { height: 34%; --dur: 0.96s; animation-delay:-0.16s; }
.dsp-eq-bar:nth-child(9)  { height: 58%; --dur: 1.14s; animation-delay:-0.42s; }
.dsp-eq-bar:nth-child(10) { height: 73%; --dur: 0.86s; animation-delay:-0.26s; }
.dsp-eq-bar:nth-child(11) { height: 48%; --dur: 1.06s; animation-delay:-0.52s; }
.dsp-eq-bar:nth-child(12) { height: 28%; --dur: 0.78s; animation-delay:-0.36s; }
@keyframes dspEqBounce {
  0%   { transform: scaleY(0.25); opacity: 0.45; }
  100% { transform: scaleY(1);    opacity: 1; }
}

/* Space/reverb visual — dimensional orb with reverb reflections */
.dsp-visual-space {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(120,65,210,0.10) 0%, rgba(80,40,160,0.05) 35%, transparent 65%),
    radial-gradient(ellipse at 35% 45%, rgba(232,180,76,0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 65% 55%, rgba(180,100,220,0.03) 0%, transparent 40%),
    var(--color-bg-page);
}
.dsp-visual-space::after { /* ambient atmospheric haze */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  width: 180px; height: 180px;
  margin: auto;
  background: radial-gradient(circle, rgba(232,180,76,0.06) 0%, rgba(140,80,200,0.04) 40%, transparent 70%);
  animation: dspSpaceHaze 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes dspSpaceHaze {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}
/* Central glowing core — source of sound */
.dsp-space-core {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(232,180,76,0.9);
  box-shadow: 0 0 8px 3px rgba(232,180,76,0.5), 0 0 24px 8px rgba(232,180,76,0.2), 0 0 48px 16px rgba(180,120,60,0.08);
  z-index: 3;
  animation: dspCorePulse 3s ease-in-out infinite;
}
@keyframes dspCorePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px 3px rgba(232,180,76,0.5), 0 0 24px 8px rgba(232,180,76,0.2), 0 0 48px 16px rgba(180,120,60,0.08); }
  50%      { transform: scale(1.3); box-shadow: 0 0 12px 5px rgba(232,180,76,0.6), 0 0 32px 12px rgba(232,180,76,0.25), 0 0 60px 20px rgba(180,120,60,0.12); }
}
/* Reverb rings — layered spatial reflections */
.dsp-ring {
  position: absolute;
  border-radius: 50%;
}
/* Inner static rings — room presence (breathing pulse) */
.dsp-ring:nth-child(2) { width: 32px;  height: 32px;  border: 1.5px solid rgba(232,180,76,0.35); animation: dspRingBreathe 3.2s ease-in-out infinite; }
.dsp-ring:nth-child(3) { width: 60px;  height: 60px;  border: 1px solid rgba(180,120,220,0.20); animation: dspRingBreathe 3.8s ease-in-out infinite; animation-delay: -1.2s; }
/* Middle rings — expanding reflections */
.dsp-ring:nth-child(4) { width: 90px;  height: 90px;  border: 1px solid rgba(232,180,76,0.28); animation: dspRingWave 4s ease-out infinite; }
.dsp-ring:nth-child(5) { width: 90px;  height: 90px;  border: 1px solid rgba(160,100,220,0.18); animation: dspRingWave 4s ease-out infinite; animation-delay: -1.6s; }
/* Outer rings — distant room reflections */
.dsp-ring:nth-child(6) { width: 130px; height: 130px; border: 1px solid rgba(232,180,76,0.12); animation: dspRingWave 5s ease-out infinite; animation-delay: -0.8s; }
.dsp-ring:nth-child(7) { width: 130px; height: 130px; border: 1px solid rgba(140,80,200,0.08); animation: dspRingWave 5s ease-out infinite; animation-delay: -2.8s; }
@keyframes dspRingBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50%      { transform: scale(1.08); opacity: 0.85; }
}
@keyframes dspRingWave {
  0%   { transform: scale(0.5); opacity: 0.7; }
  60%  { opacity: 0.25; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Transform/glitch visual */
.dsp-visual-transform {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 22px;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(200,60,60,0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 75% 50%, rgba(60,120,210,0.04) 0%, transparent 45%),
    var(--color-bg-page);
}
.dsp-wave-row {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,180,76,0.18) 8%, rgba(232,180,76,0.85) var(--hl, 35%), rgba(232,180,76,0.3) 55%, rgba(232,180,76,0.75) var(--hl2, 72%), rgba(232,180,76,0.15) 92%, transparent 100%);
  animation: dspWaveGlitch var(--dur, 2s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}
.dsp-wave-row:nth-child(1) { width: 88%; margin-left: 4%;  --dur:2.1s; --dl:0.0s; --hl:30%; --hl2:68%; }
.dsp-wave-row:nth-child(2) { width: 58%; margin-left: 16%; --dur:1.8s; --dl:0.3s; --hl:40%; --hl2:75%; opacity:0.78; }
.dsp-wave-row:nth-child(3) { width: 92%; margin-left: 2%;  --dur:2.4s; --dl:0.1s; --hl:25%; --hl2:62%; }
.dsp-wave-row:nth-child(4) { width: 44%; margin-left: 26%; --dur:1.6s; --dl:0.5s; --hl:45%; --hl2:80%; opacity:0.62; }
.dsp-wave-row:nth-child(5) { width: 76%; margin-left: 8%;  --dur:2.0s; --dl:0.7s; --hl:35%; --hl2:70%; }
.dsp-wave-row:nth-child(6) { width: 54%; margin-left: 20%; --dur:1.9s; --dl:0.2s; --hl:42%; --hl2:78%; opacity:0.7; }
.dsp-wave-row:nth-child(7) { width: 82%; margin-left: 7%;  --dur:2.2s; --dl:0.4s; --hl:28%; --hl2:65%; }
.dsp-wave-row:nth-child(8) { width: 40%; margin-left: 30%; --dur:1.7s; --dl:0.6s; --hl:50%; --hl2:82%; opacity:0.55; }
@keyframes dspWaveGlitch {
  0%, 76%  { transform: none; }
  79%  { transform: translateX(3px)  scaleX(0.97); filter: brightness(1.4); }
  82%  { transform: translateX(-2px) scaleX(1.03); filter: brightness(0.8); }
  85%  { transform: none; filter: none; }
}

/* -- Card body content -- */
.dsp-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 1rem 1.3rem 0;
}
.dsp-groups span {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.18em 0.55em;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dsp-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  padding: 0.6rem 1.3rem 0.25rem;
  color: var(--color-text-primary);
}
.dsp-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  padding: 0 1.3rem;
  color: var(--color-text-secondary);
  max-width: none;
}
.dsp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.85rem 1.3rem 1.3rem;
}
.dsp-presets span {
  font-size: 0.7rem;
  padding: 0.18em 0.55em;
  border-radius: 4px;
  background: rgba(232,180,76,0.06);
  border: 1px solid rgba(232,180,76,0.18);
  color: var(--color-accent-primary);
  white-space: nowrap;
}
.dsp-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
  max-width: none;
}
.dsp-note i { margin-right: 0.4em; color: var(--color-accent-primary); }
@media (max-width: 900px) {
  .dsp-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- PRICING ---------- */
.section-pricing {
  text-align: center;
  background:
    linear-gradient(180deg, var(--color-bg-page) 0%, var(--color-bg-surface) 50%, var(--color-bg-page) 100%);
}

.section-pricing .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* Bottom notes */
.section-pricing .pricing-note {
  text-align: center !important;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0.4rem auto 0;
  display: block;
  width: 100%;
  max-width: 600px;
}
.section-pricing .pricing-note:first-of-type { margin-top: 2.5rem; }

.pricing-note i {
  color: var(--color-accent-primary);
  margin-right: 0.3em;
}

/* ---------- LAUNCH PROMO ---------- */
.launch-banner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}
.launch-banner-glow {
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: radial-gradient(ellipse at 50% 50%, rgba(92, 184, 92, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: launch-pulse 3s ease-in-out infinite;
}
@keyframes launch-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.launch-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(92, 184, 92, 0.35);
  background:
    linear-gradient(135deg, rgba(92, 184, 92, 0.08) 0%, rgba(72, 164, 72, 0.03) 100%);
  backdrop-filter: blur(4px);
  flex-wrap: wrap;
  justify-content: center;
}
.launch-banner-icon {
  font-size: 1.4rem;
  color: var(--color-success);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(92, 184, 92, 0.5));
}
.launch-banner-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.launch-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.02em;
}
.launch-banner-text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}
.launch-banner-code code {
  display: inline-block;
  background: rgba(92, 184, 92, 0.12);
  border: 1px solid rgba(92, 184, 92, 0.30);
  color: var(--color-success);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
}

/* Promo price row — "was $X/mo" + "-30%" pill */
.price-promo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.price-was {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(212, 87, 78, 0.5);
}
.launch-save-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-success);
  background: rgba(92, 184, 92, 0.12);
  border: 1px solid rgba(92, 184, 92, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  white-space: nowrap;
}

.price-amount-promo {
  color: var(--color-accent-primary) !important;
}

/* CTA promo link */
.cta-promo-link {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-promo-link:hover { color: var(--color-accent-primary-hover); }

/* ---------- FREEDOM / WHY LOCAL ---------- */
.section-freedom {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 180, 76, 0.04) 0%, transparent 50%),
    var(--color-bg-page);
}

.freedom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  text-align: left;
}

.freedom-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.freedom-card:hover {
  border-color: rgba(232, 180, 76, 0.2);
  transform: translateY(-2px);
}

.freedom-icon {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
}

.freedom-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.freedom-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

/* ---------- DEMOS ---------- */
.section-demos {
  background: var(--color-bg-page);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.demo-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.demo-card:hover {
  border-color: rgba(232, 180, 76, 0.25);
  transform: translateY(-2px);
}

.demo-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-soft) 100%);
  font-size: 2.5rem;
  color: var(--color-accent-primary);
  opacity: 0.6;
}

.demo-card h4 {
  padding: 1rem 1.25rem 0.25rem;
  font-size: 1.05rem;
}

.demo-card p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.demo-coming-soon {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ---------- SPECS ---------- */
.section-specs {
  text-align: center;
  background:
    linear-gradient(180deg, var(--color-bg-page) 0%, var(--color-bg-surface) 100%);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

.spec-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.3s;
}

.spec-card:hover { border-color: rgba(232, 180, 76, 0.2); }

.spec-icon {
  font-size: 1.8rem;
  color: var(--color-accent-primary);
  display: block;
  margin-bottom: 0.75rem;
}

.spec-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.spec-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin: 0 auto;
}

.spec-card small {
  color: var(--color-text-muted);
}

/* ---------- CTA ---------- */
.section-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 180, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.section-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.section-cta p {
  position: relative;
  z-index: 1;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0 auto 1rem;
  max-width: 32em;
}

.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-footnote {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
  white-space: nowrap;
}

/* Download box within CTA */
.download-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.download-btn { position: relative; }
.download-version {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.download-version i { margin-right: 0.15em; }
.download-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-default);
  padding: 0.3rem 0.7rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: border-color 0.3s;
}
.trust-badge:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.trust-badge-defender {
  background: rgba(0, 120, 215, 0.08);
  border-color: rgba(0, 120, 215, 0.25);
  color: #4fc3f7;
  font-weight: 500;
}
.trust-badge-defender:hover {
  border-color: rgba(0, 120, 215, 0.4);
}
.defender-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: #4fc3f7;
}
.download-trust .fa-shield-check { color: var(--color-success); }

/* Hash display */
.download-hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  user-select: text;
}
.hash-label {
  white-space: nowrap;
  font-weight: 500;
}
.hash-value {
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: 0.04em;
  word-break: break-all;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.hash-copy {
  background: none;
  border: 1px solid var(--color-border-default);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.72rem;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.hash-copy:hover { color: var(--color-accent-primary); border-color: var(--color-accent-primary); }

/* ---------- FOOTER ---------- */
.landing-footer {
  border-top: 1px solid var(--color-border-default);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', var(--font-family-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--color-text-secondary); }

.footer-social {
  display: flex;
  gap: 2.5rem;
}

.footer-social a {
  font-size: 2.2rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer-social a:hover { color: #5865F2; }
.footer-social a[href*="x.com"]:hover { color: #f0e6d3; }
.footer-social a[href*="youtube.com"]:hover { color: #FF0000; }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ---------- THREE-TIER PRICING LAYOUT ---------- */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto 2rem;
  align-items: stretch;
}

.pricing-tier {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: border-color 0.4s, transform 0.3s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.pricing-tier.tier-free { background: var(--color-bg-elevated); }

.pricing-tier.tier-creator {
  border-color: rgba(232, 180, 76, 0.4);
  background: radial-gradient(ellipse at 50% 0%, rgba(232,180,76,0.06) 0%, transparent 60%), var(--color-bg-surface);
}

.pricing-tier.tier-creator:hover {
  border-color: rgba(232, 180, 76, 0.6);
  box-shadow: 0 20px 60px rgba(232, 180, 76, 0.12);
}

.pricing-tier.tier-professional {
  background: var(--color-bg-surface);
}

.pricing-tier.tier-professional:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.tier-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-bg-page);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 12px;
  white-space: nowrap;
}

.tier-header {
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.2rem;
  line-height: 1.1;
}

.tier-creator .tier-name { color: var(--color-accent-primary); }

.tier-tagline {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Free tier single price */
.tier-price-main {
  padding: 1rem 1.25rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--color-border-default);
}

.tier-price-main .price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.tier-price-main .price-amount .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.1em;
}

.tier-price-main .price-amount .cents {
  font-size: 1.5rem;
}

.tier-price-main .price-period {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.tier-actions-single {
  padding: 0 1.25rem 0.75rem;
}

.tier-billing-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.25rem;
}

.tier-alt-options {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 0 1.25rem 0.75rem;
  margin: 0;
}
.tier-alt-options a {
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-border-default);
  transition: color 0.2s;
}
.tier-alt-options a:hover { color: var(--color-accent-primary); }
.tier-alt-options .alt-sep {
  margin: 0 0.3em;
  color: var(--color-text-muted);
}

/* Paid tier price options */
.tier-price-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border-default);
}

.price-option {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.price-option:hover {
  border-color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.04);
  transform: translateX(3px);
}

.price-option-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.save-badge {
  display: inline-block;
  background: rgba(110, 200, 122, 0.15);
  color: #6ec87a;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4em;
  vertical-align: middle;
}

.price-option-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.1;
}

.price-option-amount .currency { font-size: 0.9rem; vertical-align: top; }
.price-option-amount .cents { font-size: 0.85rem; }
.price-option-amount .per { font-size: 0.7rem; font-weight: 400; color: var(--color-text-muted); margin-left: 0.15em; }

.price-option-subtext {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0.75rem;
}

/* Buttons */
.tier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}

.tier-btn-free {
  background: var(--color-bg-soft);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
}

.tier-btn-free:hover {
  background: var(--color-bg-elevated);
  transform: translateY(-2px);
}

.tier-btn-subscribe {
  background: var(--color-bg-soft);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
}

.tier-btn-subscribe:hover {
  background: var(--color-accent-primary);
  color: var(--color-bg-page);
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 180, 76, 0.25);
}

.tier-btn-pro {
  background: rgba(232, 180, 76, 0.1);
  color: var(--color-accent-primary);
  border: 1px solid rgba(232, 180, 76, 0.3);
}

.tier-btn-pro:hover {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-bg-page);
  border-color: var(--color-accent-primary);
}

/* Lifetime option */
.tier-lifetime {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.tier-lifetime span { white-space: nowrap; }

.tier-btn-lifetime {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: transparent;
  border: 1px dashed var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tier-btn-lifetime:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.04);
}

.tier-btn-lifetime-pro:hover {
  background: rgba(232, 180, 76, 0.1);
}

/* Cancel note */
.tier-cancel-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 0 1.25rem 0.75rem;
  margin: 0;
}

.tier-cancel-note i {
  margin-right: 0.3em;
}

/* Features list */
.tier-features {
  padding: 0.75rem 1.25rem 1.5rem;
  list-style: none;
  margin: 0;
  border-top: 1px solid var(--color-border-default);
  flex: 1;
}

.tier-features li {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.tier-features li i { color: var(--color-accent-primary); font-size: 0.85em; width: 14px; text-align: center; flex-shrink: 0; }
.tier-features li.excluded { opacity: 0.5; }
.tier-features li.excluded i { color: var(--color-text-muted); }
.tier-features li.highlight { font-weight: 600; color: var(--color-accent-primary); padding-top: 0; }

/* ---------- NAV ACCOUNT DROPDOWN ---------- */
.nav-account-dropdown {
  position: relative;
}

.nav-account-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  padding: 0.4rem 0.75rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: border-color 0.3s, background 0.3s;
}

.nav-account-btn:hover {
  border-color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.06);
}

.nav-account-btn i:last-child {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  transition: transform 0.3s;
}

.nav-account-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 100;
}

.nav-account-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-account-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-default);
  transition: background 0.2s, color 0.2s;
}

.nav-account-menu a:last-child { border-bottom: none; }
.nav-account-menu a:hover {
  background: rgba(232, 180, 76, 0.06);
  color: var(--color-text-primary);
}

.nav-account-menu a i { width: 16px; text-align: center; color: var(--color-accent-primary); }

/* ---------- USE CASES DROPDOWN ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 0.35rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 500; color: var(--color-text-secondary);
  padding: 0; transition: color 0.3s;
}
.nav-dropdown-trigger:hover { color: var(--color-text-primary); }
.nav-dd-chevron { font-size: 0.6rem; color: var(--color-text-muted); transition: transform 0.3s; }
.nav-dropdown.open .nav-dd-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(-8px);
  min-width: 230px; background: var(--color-bg-surface); border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md); box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s, transform 0.25s; z-index: 100;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (hover: hover) { /* hover on desktop */
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-dropdown:hover .nav-dd-chevron { transform: rotate(180deg); }
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-default); transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(232,180,76,0.06); color: var(--color-text-primary); }
.nav-dropdown-menu a i { width: 20px; font-size: 1rem; text-align: center; color: var(--color-accent-primary); flex-shrink: 0; }
.nav-dropdown-menu a span { display: flex; flex-direction: column; line-height: 1.3; }
.nav-dropdown-menu a strong { font-size: 0.85rem; font-weight: 600; color: var(--color-text-primary); }
.nav-dropdown-menu a small { font-size: 0.72rem; color: var(--color-text-muted); }

/* ---------- CHECKOUT MODALS ---------- */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.checkout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.checkout-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  padding: 2rem;
}

.checkout-container-small { max-width: 400px; }

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s;
  z-index: 10;
}

.checkout-close:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-text-primary);
}

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-default);
}

.checkout-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.checkout-steps .step.active,
.checkout-steps .step.completed { opacity: 1; }

.checkout-steps .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.checkout-steps .step.active .step-num {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: var(--color-bg-page);
}

.checkout-steps .step.completed .step-num {
  background: rgba(110, 200, 122, 0.2);
  border-color: #6ec87a;
  color: #6ec87a;
}

.checkout-steps .step-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

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

.checkout-step-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.checkout-step-header h3 i {
  color: var(--color-accent-primary);
  margin-right: 0.4em;
}

.checkout-step-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 auto;
}

.checkout-auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.auth-tab:hover {
  background: var(--color-bg-soft);
  color: var(--color-text-primary);
}

.auth-tab.active {
  background: rgba(232, 180, 76, 0.1);
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.checkout-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-group label .required { color: #e87e4c; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  background: var(--color-bg-page);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(232, 180, 76, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-family-base);
}

.pw-toggle-wrap {
  position: relative;
  display: flex;
}
.pw-toggle-wrap input {
  flex: 1;
  padding-right: 2.5rem !important;
}
.pw-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.pw-toggle:hover { color: var(--color-text-primary); }

.form-group small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-group.small { max-width: 120px; }

.checkout-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.checkout-form .checkout-btn-primary { margin-top: 0.5rem; }

.checkout-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-bg-page);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 180, 76, 0.3);
}

.checkout-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: border-color 0.2s, color 0.2s;
}

.checkout-btn-secondary:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-text-primary);
}

.checkout-btn-danger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7rem 1.2rem;
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.checkout-btn-danger:hover { background: rgba(231, 76, 60, 0.2); }

/* Plan Selector */
.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plan-option {
  position: relative;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.plan-option:hover {
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 180, 76, 0.12);
}

.plan-option-recommended {
  border-color: var(--color-accent-primary);
  background: linear-gradient(180deg, rgba(232, 180, 76, 0.06) 0%, var(--color-bg-elevated) 100%);
}

.plan-option-selected {
  border-color: var(--color-accent-primary);
  background: linear-gradient(180deg, rgba(232, 180, 76, 0.12) 0%, var(--color-bg-elevated) 100%);
  box-shadow: 0 0 0 3px rgba(232, 180, 76, 0.22), 0 8px 24px rgba(232, 180, 76, 0.14);
}

.plan-option-selected:hover {
  transform: none;
  box-shadow: 0 0 0 4px rgba(232, 180, 76, 0.3), 0 8px 24px rgba(232, 180, 76, 0.18);
}

.plan-option-badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-bg-page);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
  white-space: nowrap;
}

.plan-option-period {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.plan-option-period i { margin-right: 0.3em; color: var(--color-accent-primary); }

.plan-option-price { margin-bottom: 0.3rem; }

.plan-price-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.plan-price-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.plan-option-detail {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.plan-option-billed {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 0.15rem;
}

.plan-option-savings {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6ec87a;
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  background: rgba(110, 200, 122, 0.1);
  border-radius: 8px;
  display: inline-block;
}

.plan-option-cancel {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.plan-option-lifetime {
  text-align: center;
  padding: 0.4rem 0 0.25rem;
}

.plan-option-lifetime a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.plan-option-lifetime a:hover { color: var(--color-accent-primary); }
.plan-option-lifetime a i { margin-right: 0.3em; }

/* Order Summary */
.order-summary {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-default);
  margin-bottom: 0.75rem;
}

.order-plan-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-primary);
  display: block;
}

.order-plan-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.order-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}

.order-vat-line,
.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.order-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border-default);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.order-billing-info {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-default);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.order-billing-info strong { display: block; color: var(--color-text-secondary); margin-bottom: 0.25rem; }
.order-billing-info span { display: block; }

/* Coupon */
.coupon-section { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--color-border-default); }
.coupon-input-row { display: flex; gap: 0.5rem; align-items: center; }
.coupon-input-row input {
  flex: 1; padding: 0.45rem 0.7rem; border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong);
  background: var(--color-bg-soft); color: var(--color-text-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.coupon-input-row input::placeholder { color: var(--color-text-muted); text-transform: none; letter-spacing: normal; }
.coupon-apply-btn {
  padding: 0.45rem 0.9rem; border: 1px solid var(--color-accent-primary); border-radius: var(--radius-sm);
  background: transparent; color: var(--color-accent-primary); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.coupon-apply-btn:hover { background: var(--color-accent-primary); color: var(--color-accent-contrast); }
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.4rem 0.7rem; border-radius: var(--radius-sm); background: rgba(92, 184, 92, 0.1); border: 1px solid rgba(92, 184, 92, 0.3);
}
.coupon-applied span { color: var(--color-success); font-size: 0.85rem; font-weight: 600; }
.coupon-remove-btn {
  background: none; border: none; color: var(--color-text-muted); cursor: pointer; font-size: 0.9rem; padding: 0.1rem 0.3rem; line-height: 1;
  transition: color 0.2s;
}
.coupon-remove-btn:hover { color: var(--color-danger); }
.coupon-error { color: var(--color-danger); font-size: 0.8rem; margin-top: 0.35rem; }
.order-discount-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.3rem 0; color: var(--color-success); }
.order-item-price s { color: var(--color-text-muted); font-weight: 400; font-size: 0.85rem; margin-right: 0.4rem; }

.checkout-terms {
  margin-bottom: 1rem;
}

.checkout-terms label {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkout-terms input[type="checkbox"] {
  margin-top: 0.15em;
  accent-color: var(--color-accent-primary);
}

.checkout-terms a { color: var(--color-accent-primary); text-decoration: underline; }

/* Payment Processing */
.payment-processing {
  text-align: center;
  padding: 2rem 0;
}

.payment-spinner {
  font-size: 3rem;
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
}

.payment-processing p { color: var(--color-text-secondary); }

/* Success State */
.checkout-success {
  text-align: center;
  padding: 1.5rem 0;
}

.checkout-success > i {
  font-size: 4rem;
  color: #6ec87a;
  margin-bottom: 1rem;
  display: block;
}

.checkout-success h3 {
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.checkout-success > p { color: var(--color-text-secondary); margin-bottom: 1.5rem; }

/* License Info Modal */
.license-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.license-tier-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.tier-free { background: var(--color-bg-soft); color: var(--color-text-muted); }
.tier-creator { background: rgba(124, 107, 181, 0.2); color: #a99cd6; }
.tier-professional { background: rgba(232, 180, 76, 0.15); color: var(--color-accent-primary); }
.tier-customer { background: rgba(232, 180, 76, 0.15); color: var(--color-accent-primary); }
.tier-admin { background: rgba(232, 76, 76, 0.15); color: #e87070; }

.license-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.license-row strong { color: var(--color-text-primary); }

.license-free { text-align: center; }
.license-free p { margin: 0.5rem 0; }

/* Subscription Modal */
.subscription-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscription-card .sub-row {
  align-self: stretch;
}

.sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  padding: 0.4rem 0;
}

.sub-row strong { color: var(--color-text-primary); }

.status-active { color: #6ec87a; }

.subscription-card small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.subscription-card .checkout-btn-primary,
.subscription-card .checkout-btn-danger {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  align-self: center;
}

.subscription-none { text-align: center; }
.subscription-none p { margin: 0.5rem 0; color: var(--color-text-muted); }
.subscription-none .checkout-btn-primary {
  display: inline-flex;
  margin: 0.5rem auto 0;
}

/* ---------- VIDEO DEMO LIGHTBOX ---------- */
.demo-video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(232, 180, 76, 0.08);
  padding: 1.5rem;
  z-index: 1;
}

.demo-video-title {
  color: var(--color-accent-primary);
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.demo-video-frame {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.demo-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 75vh;
  object-fit: contain;
  background: #000;
}

/* ---------- ANIMATIONS (Scroll-based reveal) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open { right: 0; }

  .nav-links a::after { display: none; }

  /* Use Cases dropdown: inline expand on mobile */
  .nav-dropdown-menu {
    position: static; transform: none; min-width: 0; box-shadow: none;
    border: none; border-radius: 0; background: transparent;
    opacity: 1; visibility: visible; display: none; padding-left: 0.5rem;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 0.5rem 0.75rem; border-bottom: none; font-size: 0.85rem; }
  .nav-dropdown-menu a i { font-size: 0.85rem; }
  .nav-dropdown-menu a strong { font-size: 0.8rem; }
  .nav-dropdown-menu a small { font-size: 0.68rem; }

  .showcase-card { flex: 0 0 220px; }
  .showcase-art { height: 180px; }
  .showcase-play { top: 65px; }

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

  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 26rem;
    gap: 1.25rem;
  }
  .pricing-tier:hover { transform: translateY(-2px); }
  .tier-badge { font-size: 0.62rem; }
  .price-option:hover { transform: none; }

  .checkout-container { padding: 1.5rem; }
  .checkout-steps { gap: 0.5rem; }
  .checkout-steps .step-label { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .demo-video-container { max-width: 95vw; padding: 1rem; }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.4rem;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-glow, .btn-ghost {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

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

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

  .footer-links {
    justify-content: center;
  }

  .checkout-container { padding: 1.25rem; max-width: 100%; }
  .checkout-step-header h3 { font-size: 1.2rem; }
  .nav-account-dropdown { display: none; }
  .nav-signin-mobile { display: inline-flex !important; }
  .demo-video-container { padding: 0.75rem; }
  .demo-video-title { font-size: 1.05rem; }
  .download-trust { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .download-req { flex-direction: column; text-align: center; }
  .download-hash { flex-wrap: wrap; justify-content: center; }
  .cta-footnote { white-space: normal; }
}


/* ============================================================
   TARGETED LANDING PAGES
   Shared styles for /for_creators, /for_gamedevs, /for_power_users
   ============================================================ */

/* ---------- HERO BADGE ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  background: rgba(232, 180, 76, 0.08);
  border: 1px solid rgba(232, 180, 76, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 2.5rem;
  margin-bottom: 1.5rem;
  animation: badgeFadeIn 0.8s ease-out;
}
.hero-badge i { font-size: 0.85em; }

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- HERO VARIANTS ---------- */
.hero-targeted {
  background: radial-gradient(ellipse at 50% 80%, #1a1030 0%, var(--color-bg-page) 70%);
}

.hero-creators {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(200, 120, 200, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, #1a1030 0%, var(--color-bg-page) 70%);
}

.hero-gamedevs {
  background:
    radial-gradient(ellipse at 70% 60%, rgba(100, 180, 120, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, #1a1030 0%, var(--color-bg-page) 70%);
}

.hero-power-users {
  background:
    radial-gradient(ellipse at 60% 50%, rgba(80, 150, 220, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, #1a1030 0%, var(--color-bg-page) 70%);
}

/* ---------- PAIN POINTS SECTION ---------- */
.section-pain {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(212, 87, 78, 0.04) 0%, transparent 50%),
    var(--color-bg-page);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(212, 87, 78, 0.5), rgba(212, 87, 78, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.pain-card:hover {
  border-color: rgba(212, 87, 78, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 87, 78, 0.08);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 87, 78, 0.08);
  font-size: 1.2rem;
  color: rgba(212, 87, 78, 0.7);
  margin-bottom: 1.2rem;
}

.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

/* ---------- DEMO VIDEO CARDS SECTION ---------- */
.section-demos-targeted {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(232, 180, 76, 0.03) 0%, transparent 60%),
    var(--color-bg-page);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-demos-targeted .section-intro {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.demo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.demo-feature-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: left;
  position: relative;
}

.demo-feature-card:hover {
  border-color: rgba(232, 180, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 180, 76, 0.1);
}

.demo-feature-visual {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, rgba(232, 180, 76, 0.06) 0%, rgba(120, 80, 200, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-video-inline {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.demo-feature-card:hover .demo-video-inline {
  opacity: 0.9;
}

.demo-visual-bg {
  font-size: 3.5rem;
  color: var(--color-accent-primary);
  opacity: 0.12;
  transition: opacity 0.3s, transform 0.3s;
}

.demo-feature-card:hover .demo-visual-bg {
  opacity: 0.2;
  transform: scale(1.1);
}

.demo-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.demo-play-overlay i {
  font-size: 3rem;
  color: var(--color-accent-primary);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  filter: drop-shadow(0 0 12px rgba(232, 180, 76, 0.3));
}

.demo-feature-card:hover .demo-play-overlay i {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(232, 180, 76, 0.5));
}

.demo-feature-body {
  padding: 1.4rem 1.6rem 1.6rem;
}

.demo-feature-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
}

.demo-feature-body p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ---------- WORKFLOW SECTION ---------- */
.section-workflow {
  text-align: center;
  background: var(--color-bg-page);
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.workflow-step {
  flex: 0 1 210px;
  text-align: center;
  padding: 1.5rem 0.75rem;
  border-radius: var(--radius-lg);
  transition: background 0.3s;
}

.workflow-step:hover {
  background: rgba(232, 180, 76, 0.03);
}

.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-cta));
  color: var(--color-bg-page);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(232, 180, 76, 0.25);
}

.workflow-icon {
  font-size: 1.8rem;
  color: var(--color-accent-primary);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.workflow-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  max-width: 18em;
  margin: 0 auto;
}

.workflow-connector {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  color: var(--color-accent-primary);
  font-size: 1.2rem;
  opacity: 0.3;
}

/* ---------- FEATURES TARGETED SECTION ---------- */
.section-features-targeted {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 180, 76, 0.04) 0%, transparent 50%),
    var(--color-bg-page);
}

.features-targeted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-top: 2.5rem;
}

.feature-targeted-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-targeted-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 180, 76, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-targeted-card:hover {
  border-color: rgba(232, 180, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232, 180, 76, 0.06);
}

.feature-targeted-card:hover::after {
  opacity: 1;
}

.feature-targeted-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 180, 76, 0.08);
  font-size: 1.2rem;
  color: var(--color-accent-primary);
  margin-bottom: 1.2rem;
}

.feature-targeted-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-targeted-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}

/* ---------- QUOTE SECTION ---------- */
.section-quote {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(232, 180, 76, 0.03) 0%, transparent 60%),
    var(--color-bg-page);
}

.targeted-quote {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.5;
  position: relative;
  border: none;
  background: rgba(232, 180, 76, 0.02);
  border-radius: var(--radius-lg);
  border-left: 3px solid rgba(232, 180, 76, 0.3);
}

.targeted-quote .quote-icon {
  font-size: 2.5rem;
  color: var(--color-accent-primary);
  opacity: 0.3;
  margin-bottom: 0.75rem;
}

.targeted-quote p {
  font-size: inherit;
  color: inherit;
  margin-bottom: 1rem;
  max-width: none;
}

.targeted-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-family: 'Inter', var(--font-family-base);
}

/* ---------- SHOWCASE NOTE ---------- */
.showcase-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.testimonial-carousel {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  min-height: 14rem;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
  opacity: 0.3;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.testimonial-dot:hover {
  opacity: 0.6;
  transform: scale(1.2);
}

.testimonial-dot.active {
  opacity: 1;
  background: var(--color-accent-primary);
  transform: scale(1.2);
}

/* ---------- ARCHITECTURE SECTION (Power Users) ---------- */
.section-architecture {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(80, 150, 220, 0.04) 0%, transparent 50%),
    var(--color-bg-page);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-top: 2.5rem;
}

.arch-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.arch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(232, 180, 76, 0.4), rgba(80, 150, 220, 0.3));
  opacity: 0;
  transition: opacity 0.3s;
}

.arch-card:hover {
  border-color: rgba(80, 150, 220, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(80, 150, 220, 0.06);
}

.arch-card:hover::before {
  opacity: 1;
}

.arch-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 180, 76, 0.08);
  font-size: 1.2rem;
  color: var(--color-accent-primary);
  margin-bottom: 1.2rem;
}

.arch-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.arch-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ---------- CLI DEMO BLOCK ---------- */
.section-cli-demo {
  text-align: center;
  background: var(--color-bg-page);
}

.cli-demo-block {
  max-width: 52rem;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cli-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border-default);
}

.cli-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
  opacity: 0.3;
}

.cli-dot:nth-child(1) { background: #ff5f57; opacity: 0.6; }
.cli-dot:nth-child(2) { background: #febc2e; opacity: 0.6; }
.cli-dot:nth-child(3) { background: #28c840; opacity: 0.6; }

.cli-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.cli-code {
  padding: 1.5rem;
  background: #0c0a14;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
  margin: 0;
}

.cli-code code {
  color: var(--color-text-secondary);
}

.cli-comment {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.cli-prompt {
  color: var(--color-accent-primary);
  user-select: none;
  margin-right: 0.4em;
}

.cli-cmd {
  color: var(--color-text-primary);
  font-weight: 600;
}

.cli-ok {
  color: #6ec87a;
}

.cli-ok i {
  margin-right: 0.3em;
  font-size: 0.9em;
}

.cli-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
}

.cli-note i {
  color: var(--color-accent-primary);
  margin-right: 0.3em;
}

/* ---------- COMPACT SPECS (for targeted pages) ---------- */
.section-specs-compact {
  text-align: center;
  background: var(--color-bg-page);
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.specs-compact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.specs-compact span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.specs-compact i {
  color: var(--color-accent-primary);
  font-size: 0.95em;
}

/* ---------- TARGETED PAGES — RESPONSIVE ---------- */
@media (max-width: 900px) {
  .demo-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps {
    gap: 0.5rem;
  }

  .workflow-connector {
    display: none;
  }

  .workflow-step {
    flex: 0 0 calc(50% - 0.5rem);
  }

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

  .cli-code {
    font-size: 0.72rem;
    padding: 1rem;
  }

  .targeted-quote {
    padding: 2rem;
  }
}

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

  .demo-cards-grid {
    grid-template-columns: 1fr;
  }

  .features-targeted-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    flex: 0 0 100%;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.8rem;
  }

  .specs-compact {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .demo-feature-visual {
    height: 120px;
  }

  .testimonial-carousel {
    min-height: 16rem;
  }

  .targeted-quote {
    padding: 1.5rem;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }
}
