/* ============================================================
   HappyWan Video — Landing page design system
   Dark cinematic theme · lime-green brand accent (#c0f56b)
   ============================================================ */

:root {
  --bg: #0b0d0c;
  --bg-band: #0e110f;
  --surface: #121614;
  --surface-2: #171c19;
  --surface-3: #0d100e;
  --border: rgba(190, 215, 190, 0.10);
  --border-strong: rgba(190, 215, 190, 0.16);
  --gold: #c0f56b;
  --gold-soft: rgba(192, 245, 107, 0.10);
  --gold-line: rgba(192, 245, 107, 0.32);
  --gold-glow: rgba(192, 245, 107, 0.22);
  --text-1: #f1f3ed;
  --text-2: #b9c2b4;
  --text-3: #8b968c;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --radius-card: 18px;
  --radius-panel: 20px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
ul, ol { list-style: none; }

section { scroll-margin-top: calc(var(--header-h) + 46px); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--text-1); font-weight: 600; line-height: 1.25; }

.text-gradient {
  background: linear-gradient(120deg, #e4f9b4 10%, var(--gold) 45%, #7fb32e 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gold { color: var(--gold); }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: #14180f;
  border-bottom: 1px solid var(--gold-line);
  position: relative;
  z-index: 60;
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  position: relative;
}
.promo-text {
  font-size: 13.5px;
  color: var(--text-2);
  text-align: center;
}
.promo-text strong { color: var(--gold); font-weight: 600; }
.promo-tag {
  display: inline-block;
  background: linear-gradient(135deg, #d3f78e, #a2d84f);
  color: #1a220c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 99px;
  margin-right: 8px;
  vertical-align: 1px;
}
.promo-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
}
.promo-close:hover { color: var(--text-1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.85) 0%, rgba(6, 6, 7, 0.45) 60%, transparent 100%);
  pointer-events: none;
}
.site-header.scrolled {
  background: rgba(9, 9, 10, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  position: relative;
  z-index: 2;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.brand-accent { color: var(--gold); }

.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-1);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px 20px;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-link {
  padding: 12px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}
.mobile-actions { display: flex; gap: 10px; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 12px;
  padding: 11px 20px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, #d9f79a 0%, #b1e256 60%, #96c945 100%);
  color: #1a220c;
  box-shadow: 0 4px 18px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  filter: grayscale(0.6) brightness(0.75);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.25); }

.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.link-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  padding: 2px 0;
  border-bottom: 1px dashed transparent;
}
.link-btn:hover { border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 70% 20%, #232b1d 0%, #12160f 45%, #0b0d0c 100%); }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.1) translateX(-1.5%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.72) 0%, rgba(8, 8, 9, 0.25) 38%, rgba(10, 10, 11, 0.88) 78%, var(--bg) 100%),
    radial-gradient(90% 70% at 50% 30%, transparent 40%, rgba(5, 5, 6, 0.55) 100%);
}

.hero-copy {
  text-align: center;
  padding-top: 150px;
  padding-bottom: 64px;
  max-width: 880px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(12, 12, 13, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 7px 16px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(192, 245, 107, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 245, 107, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(192, 245, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 245, 107, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 76px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--text-2);
  max-width: 660px;
  margin: 22px auto 34px;
  text-wrap: balance;
}
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.avatar-stack { display: flex; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #0d100e;
  background: var(--a, #555);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -9px;
}
.avatar:first-child { margin-left: 0; }
.avatar-more { background: #20261e; color: var(--gold); }
.trust-text { font-size: 13.5px; color: var(--text-3); }
.trust-text strong { color: var(--text-1); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; margin-right: 7px; }

.hero-stats {
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-1);
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-3); letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-band {
  background: var(--bg-band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-heading p { margin-top: 16px; color: var(--text-3); font-size: 16px; text-wrap: balance; }

.center-actions { text-align: center; margin-top: 44px; }

/* ---------- Studio / Generator ---------- */
.studio {
  background: linear-gradient(180deg, #151a16 0%, #0d100e 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card), 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 26px;
  background: rgba(192, 245, 107, 0.07);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
}
.demo-banner strong { color: var(--text-1); }
.demo-banner a {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
.demo-banner a:hover { text-decoration: underline; }
.footer-update {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 12.5px;
}
.footer-update a { color: var(--gold); }
.footer-update a:hover { text-decoration: underline; }
.studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.studio-model-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 7px;
}
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 7px 14px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.model-chip:hover { color: var(--text-1); border-color: rgba(190, 215, 190, 0.32); }
.model-chip.active {
  color: var(--gold);
  background: #1e2616;
  border-color: var(--gold-line);
}
.model-live {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 99px;
  padding: 1.5px 7px;
}
.model-chip.active .model-live { background: transparent; border-color: transparent; }
.model-chip.model-soon { opacity: 0.55; cursor: not-allowed; }
.model-chip.model-soon:hover { color: var(--text-2); border-color: var(--border-strong); }
.model-soon-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: #1a1f1a;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 1.5px 7px;
}
.model-meta { font-size: 12.5px; color: var(--text-3); margin-top: 9px; }
.model-meta strong { color: var(--gold); font-weight: 600; }

.studio-tabs {
  display: inline-flex;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}
.mode-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  padding: 8px 16px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.mode-tab:hover { color: var(--text-1); }
.mode-tab.active {
  color: var(--gold);
  background: #1e2616;
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

.studio-body {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
}

/* --- form column --- */
.studio-form { padding: 26px; display: flex; flex-direction: column; gap: 22px; }

.field-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 9px;
}
.field-hint { font-size: 12.5px; color: var(--text-3); margin-top: 8px; line-height: 1.5; }

textarea {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text-1);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 13px 15px;
  resize: vertical;
  min-height: 108px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea::placeholder { color: #5f6b5e; }
textarea:focus {
  outline: none;
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px rgba(192, 245, 107, 0.12);
}
.field-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--text-3); }

/* reference tiles */
.ref-tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.ref-tile {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: var(--surface-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text-3);
  font-size: 11px;
  transition: border-color 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.add-tile:hover, .add-tile:focus-visible { border-color: var(--gold-line); color: var(--gold); }
.ref-tile.filled {
  border-style: solid;
  padding: 0;
}
.ref-tile.filled img { width: 100%; height: 100%; object-fit: cover; }
.ref-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-remove:hover { background: rgba(200, 60, 60, 0.85); }

/* segmented controls */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
}
.seg-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.seg-btn:hover { color: var(--text-1); }
.seg-btn.active {
  color: var(--gold);
  background: #1e2616;
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* cost extras */
.cost-value-wrap { text-align: right; }
.cost-usd { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* cost row */
.cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  margin-top: auto;
}
.cost-row .field-label { color: var(--gold); margin-bottom: 3px; }
.cost-balance { font-size: 12.5px; color: var(--text-3); }
.cost-balance strong { color: var(--text-2); }
.cost-value { font-size: 22px; color: var(--text-1); }
.cost-value strong {
  font-family: var(--font-display);
  font-size: 27px;
  color: var(--gold);
  font-weight: 600;
}

/* --- output column --- */
.studio-output {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.output-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 22px 0;
  border-bottom: 1px solid var(--border);
}
.out-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  padding: 10px 14px 13px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, border-color 0.2s;
}
.out-tab:hover { color: var(--text-1); }
.out-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-count {
  font-size: 11px;
  font-weight: 700;
  background: #20261e;
  color: var(--text-2);
  padding: 1px 7px;
  border-radius: 99px;
}

.output-stage {
  margin: 20px 22px 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(100% 100% at 50% 0%, #161a16 0%, #0c0f0d 100%);
  position: relative;
  overflow: hidden;
}
.stage-empty, .stage-progress, .stage-result { display: none; position: absolute; inset: 0; }

.output-stage[data-state="empty"] .stage-empty { display: flex; }
.output-stage[data-state="loading"] .stage-progress { display: flex; }
.output-stage[data-state="result"] .stage-result { display: block; }

.stage-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.stage-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 6px;
}
.stage-empty h3 { font-size: 16.5px; font-weight: 600; }
.stage-empty p { font-size: 13.5px; color: var(--text-3); max-width: 300px; }

.stage-progress {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 32px;
}
.progress-head { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--text-1); }
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(192, 245, 107, 0.25);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track {
  height: 7px;
  border-radius: 99px;
  background: #1a1f1a;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #96c945, #d9f79a);
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.45s var(--ease);
}
.progress-sub { font-size: 12.5px; color: var(--text-3); }

.stage-result { background: #000; }
.stage-result video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(100% 100% at 50% 40%, #171a16, #0b0d0c);
}
.result-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.result-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-1);
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  padding: 4px 11px;
}
.result-actions {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 8px;
}
.result-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.result-btn:hover { background: rgba(192, 245, 107, 0.9); border-color: transparent; color: #1a220c; }

.output-panel { flex: 1; padding: 18px 22px; overflow-y: auto; min-height: 90px; }
.panel-view { display: none; }
.panel-view.active { display: block; }
.tips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tip-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 13px;
}
.panel-empty {
  font-size: 13.5px;
  color: var(--text-3);
  text-align: center;
  padding: 18px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
}
.creation-list { display: flex; flex-direction: column; gap: 9px; }
.creation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px 9px 9px;
  width: 100%;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.creation-item:hover { border-color: var(--gold-line); background: #131a10; }
.creation-thumb {
  width: 74px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1f1a;
  position: relative;
}
.creation-thumb video, .creation-thumb img { width: 100%; height: 100%; object-fit: cover; }
.creation-info { min-width: 0; }
.creation-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.creation-sub { font-size: 12px; color: var(--text-3); }

.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.example-item {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1a1f1a;
  border: 1px solid var(--border);
  padding: 0;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.example-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.example-item:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.example-item:hover img { transform: scale(1.06); }
.example-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-1);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  padding: 3px 9px;
}

.output-note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  padding: 12px 22px 18px;
  letter-spacing: 0.02em;
}

/* ---------- Media blocks & fallbacks ---------- */
.media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(192, 245, 107, 0.08), transparent 55%),
    radial-gradient(120% 120% at 30% 20%, #171a16 0%, #0e110f 60%, #0b0d0c 100%);
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.img-broken img { display: none; }
.img-broken::after {
  content: "HappyWan";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(192, 245, 107, 0.4);
  letter-spacing: 0.06em;
  z-index: 0;
}
.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.25s;
}
.play-overlay svg {
  width: 52px;
  height: 52px;
  padding: 15px;
  border-radius: 50%;
  color: #1a220c;
  background: rgba(192, 245, 107, 0.95);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}
.gallery-item .media:hover .play-overlay,
.example-item:hover + .play-overlay { opacity: 1; }
.media:hover .play-overlay { opacity: 1; }

/* ---------- Feature cards (why choose) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-card);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-3); }

/* wide media card */
.media-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-top: 24px;
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.media-card .media-video { aspect-ratio: 16 / 10.5; border-radius: 0; height: 100%; min-height: 340px; }
.media-card-copy { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.media-card-copy .eyebrow { margin-bottom: 0; }
.media-card-copy h3 { font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.media-card-copy p { color: var(--text-3); font-size: 15px; max-width: 420px; }
.media-card-copy .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- Gallery ---------- */
.filter-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 8px 18px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--text-1); border-color: rgba(255, 255, 255, 0.3); }
.chip.active {
  color: #1a220c;
  background: linear-gradient(135deg, #d3f78e, #a2d84f);
  border-color: transparent;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item { display: flex; flex-direction: column; gap: 13px; }
.gallery-item .media { aspect-ratio: 16 / 10; border: 1px solid var(--border); }
.gallery-item .media img { transition: transform 0.5s var(--ease); }
.gallery-item .media:hover img { transform: scale(1.06); }
.gallery-item.hidden { display: none; }
.gallery-item figcaption { padding: 0 4px; }
.item-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 99px;
  padding: 2.5px 10px;
  margin-bottom: 7px;
}
.gallery-item figcaption p {
  font-size: 13.5px;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Prompt cards ---------- */
.prompt-list { display: flex; flex-direction: column; gap: 22px; }
.prompt-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 30px;
  transition: border-color 0.3s;
}
.prompt-card:hover { border-color: var(--border-strong); }
.prompt-copy h3 { font-size: 20px; margin-bottom: 18px; }
.prompt-copy h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 16px 0 6px;
}
.prompt-desc { font-size: 14.5px; color: var(--text-2); }
.prompt-details {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-3);
  margin-top: 6px;
}
.prompt-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
}
.prompt-details summary::-webkit-details-marker { display: none; }
.prompt-details summary svg { color: var(--gold); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.prompt-details[open] summary svg { transform: rotate(45deg); }
.prompt-details[open] summary { border-bottom: 1px solid var(--border); }
.prompt-details p {
  padding: 14px 16px 6px;
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.65;
}
.prompt-details .copy-btn { margin: 4px 16px 14px; }
.prompt-card .media { aspect-ratio: 16 / 10.5; align-self: stretch; max-height: 340px; }

/* ---------- Tutorial ---------- */
.tutorial-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tutorial-step {
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tutorial-step:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.tutorial-marker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tutorial-marker span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.9;
}
.tutorial-marker svg { color: var(--text-3); }
.tutorial-copy h3 { font-size: 17.5px; margin-bottom: 10px; }
.tutorial-copy p { font-size: 14px; color: var(--text-3); }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience-card {
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.audience-card:hover { transform: translateY(-5px); border-color: var(--gold-line); box-shadow: var(--shadow-card); }
.audience-card .media { aspect-ratio: 16 / 10.5; border-radius: 0; }
.audience-copy { padding: 24px 24px 28px; }
.audience-copy h3 { font-size: 17.5px; margin-bottom: 10px; }
.audience-copy p { font-size: 14px; color: var(--text-3); }

/* ---------- Capabilities ---------- */
.capability-list { border-top: 1px solid var(--border); }
.capability-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 26px 18px;
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 0 0;
  transition: background 0.25s, padding 0.25s;
}
.capability-row:hover { background: rgba(255, 255, 255, 0.025); }
.capability-row h3 { font-size: 18.5px; margin-bottom: 8px; }
.capability-row p { font-size: 14.5px; color: var(--text-3); max-width: 720px; }
.cap-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.capability-row:hover .cap-arrow {
  background: linear-gradient(135deg, #d3f78e, #a2d84f);
  color: #1a220c;
  border-color: transparent;
  transform: translateX(4px);
}

/* ---------- Brands ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brand-item {
  position: relative;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.brand-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(192, 245, 107, 0.4);
  position: absolute;
  top: 12px;
  right: 22px;
  line-height: 1;
}
.brand-item h3 { font-size: 19px; margin-bottom: 10px; max-width: 78%; }
.brand-item p { font-size: 14.5px; color: var(--text-3); max-width: 90%; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: linear-gradient(180deg, var(--surface) 0%, #0d100e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card h3 { font-family: var(--font-display); font-size: 23px; margin-bottom: 14px; }
.price-tag { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--text-1);
}
.price-origin {
  font-size: 17px;
  color: var(--text-3);
  text-decoration: line-through;
}
.price-period { font-size: 14px; color: var(--text-3); }
.price-desc { font-size: 13.5px; color: var(--text-3); margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}
.price-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="%23c0f56b" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="m4 12 6 6L20 6"/></svg>') center no-repeat;
  border: 1px solid var(--gold-line);
}
.price-featured {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, #171f12 0%, #0d100e 60%);
  box-shadow: 0 20px 60px rgba(192, 245, 107, 0.10);
}
.price-featured:hover { border-color: rgba(192, 245, 107, 0.55); }
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a220c;
  background: linear-gradient(135deg, #d3f78e, #a2d84f);
  border-radius: 99px;
  padding: 5px 14px;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.pricing-note { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { color: var(--text-3); flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer-inner { padding: 0 6px 24px; }
.faq-answer-inner p { font-size: 15px; color: var(--text-3); max-width: 720px; }

/* ---------- Final CTA ---------- */
.final-cta { padding-bottom: 120px; }
.cta-card {
  position: relative;
  text-align: center;
  padding: 74px 40px 64px;
  border-radius: 26px;
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(192, 245, 107, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #141a12 0%, #0d100d 100%);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(192, 245, 107, 0.20), transparent);
  pointer-events: none;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 600;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta-card > p { max-width: 560px; margin: 0 auto; color: var(--text-3); font-size: 16px; }
.cta-actions { margin: 34px 0 38px; }
.cta-trust {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.cta-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 9px 18px;
}
.cta-badge svg { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c0f0d;
  border-top: 1px solid var(--border);
  padding: 64px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-desc { font-size: 14px; color: var(--text-3); margin: 16px 0 14px; }
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-mail:hover { color: var(--gold); }
.footer-mail svg { color: var(--gold); }

.newsletter { margin-top: 26px; max-width: 300px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 13.5px;
  color: var(--text-1);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter input::placeholder { color: #5f6b5e; }
.newsletter input:focus {
  outline: none;
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px rgba(192, 245, 107, 0.12);
}
.newsletter .btn { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.newsletter .field-hint { margin-top: 8px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-3);
  padding: 5.5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.soon-note {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 1px 6px;
  margin-left: 5px;
  vertical-align: 1px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--text-3);
}
.footer-disclaimer { max-width: 560px; text-align: right; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 16px);
  background: #121614;
  border: 1px solid var(--gold-line);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  padding: 12px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 100;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed { transition-delay: var(--reveal-delay, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid, .gallery-grid, .audience-grid, .tutorial-steps { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-disclaimer { text-align: left; }
}

@media (max-width: 920px) {
  .studio-body { grid-template-columns: 1fr; }
  .studio-output { border-left: none; border-top: 1px solid var(--border); }
  .media-card { grid-template-columns: 1fr; }
  .media-card .media-video { min-height: 260px; aspect-ratio: 16/9; }
  .prompt-card { grid-template-columns: 1fr; }
  .prompt-card .media { max-height: 260px; }
  .desktop-nav, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-copy { padding-top: 120px; padding-bottom: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .feature-grid, .gallery-grid, .audience-grid, .tutorial-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .studio-head { flex-direction: column; align-items: stretch; }
  .studio-tabs { display: flex; }
  .mode-tab { flex: 1; padding: 9px 6px; text-align: center; }
  .example-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 54px 24px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .promo-close { right: 8px; }
  .hero-cta .btn { width: 100%; }
  .result-actions { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
