@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&family=Great+Vibes&family=Caveat:wght@500;600;700&display=swap");

:root {
  --bg: #040611;
  --bg-deep: #070c1b;
  --card: linear-gradient(180deg, rgba(15, 22, 43, 0.96), rgba(8, 12, 26, 0.985));
  --card-strong: linear-gradient(180deg, rgba(20, 30, 57, 0.96), rgba(10, 14, 31, 0.985));
  --card-soft: rgba(12, 18, 36, 0.72);
  --panel: rgba(11, 19, 38, 0.84);
  --panel-strong: rgba(15, 24, 47, 0.92);
  --text: #f3f6ff;
  --muted: #b6c4e7;
  --muted-strong: #dce7ff;
  --muted-faint: #7f94be;
  --line: rgba(164, 196, 255, 0.1);
  --line-strong: rgba(164, 196, 255, 0.18);
  --cyan: #7af6ff;
  --blue: #7ea9ff;
  --violet: #a186ff;
  --champagne: #f2d3a5;
  --champagne-soft: rgba(242, 211, 165, 0.16);
  --green: #77f0be;
  --warning: #ffc977;
  --danger: #ff7c99;
  --shadow: 0 38px 120px rgba(0, 0, 0, 0.52);
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.34);
  --surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --surface-outline: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 10% 8%, rgba(122, 246, 255, 0.09), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(126, 169, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 28%, rgba(161, 134, 255, 0.09), transparent 22%),
    radial-gradient(circle at 52% 14%, rgba(242, 211, 165, 0.03), transparent 22%),
    linear-gradient(180deg, #02040c 0%, #050815 35%, #03050f 100%);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color-scheme: dark;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-aurora,
.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-aurora {
  filter: blur(90px);
  opacity: 0.62;
}

.aurora-one {
  background: radial-gradient(circle at 18% 14%, rgba(122, 246, 255, 0.18), transparent 26%);
  animation: driftOne 18s ease-in-out infinite alternate;
}

.aurora-two {
  background: radial-gradient(circle at 82% 12%, rgba(126, 169, 255, 0.18), transparent 28%);
  animation: driftTwo 22s ease-in-out infinite alternate;
}

.aurora-three {
  background: radial-gradient(circle at 66% 48%, rgba(161, 134, 255, 0.12), transparent 24%);
  animation: driftThree 20s ease-in-out infinite alternate;
}

.noise-layer {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 85%);
  opacity: 0.22;
}

.hidden {
  display: none !important;
}

#generateStudio,
#pricingSection,
#historySection,
#workflowPulseSection,
#journeyPanel,
#bulkStudio,
#resultCommandPanel,
#decisionBar,
#dropZone {
  scroll-margin-top: 28px;
}

.is-guided-focus {
  animation: guidedFocusPulse 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.generate-card.is-guided-focus,
.workflow-pulse-card.is-guided-focus,
.pricing-section.is-guided-focus,
.result-command-panel.is-guided-focus,
.history-card.is-guided-focus,
.bulk-studio.is-guided-focus,
.drop-zone.is-guided-focus {
  border-color: rgba(122, 246, 255, 0.24) !important;
  box-shadow:
    0 0 0 1px rgba(122, 246, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(122, 246, 255, 0.16);
}

.generate-card.is-guided-focus .drop-zone,
.generate-card.is-guided-focus .workflow-progress-track,
.generate-card.is-guided-focus .studio-action-bar,
.workflow-pulse-card.is-guided-focus .workflow-pulse-btn,
.pricing-section.is-guided-focus .pricing-genie,
.pricing-section.is-guided-focus .plan-card.is-featured {
  border-color: rgba(122, 246, 255, 0.24);
  box-shadow:
    0 0 0 1px rgba(122, 246, 255, 0.1),
    0 0 28px rgba(122, 246, 255, 0.12);
}

@keyframes guidedFocusPulse {
  0% {
    transform: translateY(0) scale(0.995);
    filter: saturate(0.96);
  }

  22% {
    transform: translateY(-3px) scale(1);
    filter: saturate(1.04);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 24px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.landing-brand .brand-title {
  display: block;
}

.landing-brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted-faint);
  font-size: 13px;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav-link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.landing-nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.landing-nav-btn {
  padding: 12px 16px;
}

.landing-main {
  display: grid;
  gap: 28px;
}

.landing-hero,
.landing-story,
.landing-value,
.landing-cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow), var(--surface-highlight), var(--surface-outline);
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  padding: 34px;
  overflow: hidden;
}

.landing-kicker {
  margin-bottom: 12px;
  color: #9bc3ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section-head h2,
.landing-cta-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.landing-hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.landing-lead,
.landing-section-head p,
.landing-cta-card p,
.landing-value-copy,
.landing-hero-card-copy,
.story-card p {
  color: var(--muted);
  line-height: 1.75;
}

.landing-lead {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 18px;
}

.landing-badges,
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-badges {
  margin-top: 22px;
}

.landing-actions {
  margin-top: 24px;
}

.landing-primary-btn,
.landing-secondary-btn {
  min-height: 56px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.landing-hero-glow {
  position: absolute;
  inset: 14% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 246, 255, 0.16), rgba(126, 169, 255, 0.08), transparent 72%);
  filter: blur(14px);
}

.landing-hero-card {
  position: absolute;
  top: 22px;
  right: 10px;
  width: min(100%, 320px);
  padding: 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 31, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.landing-hero-card-kicker,
.story-language,
.landing-value-label {
  margin-bottom: 8px;
  color: #99d8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-hero-card-title,
.landing-value-title,
.story-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.landing-genie-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-genie-halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(140, 210, 255, 0.14);
}

.landing-genie-halo.halo-outer {
  width: 420px;
  height: 420px;
  animation: spin 18s linear infinite;
}

.landing-genie-halo.halo-inner {
  width: 320px;
  height: 320px;
  border-color: rgba(122, 246, 255, 0.24);
  animation: spinReverse 14s linear infinite;
}

.landing-genie-image {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  filter:
    drop-shadow(0 0 26px rgba(122, 246, 255, 0.34))
    drop-shadow(0 0 58px rgba(126, 169, 255, 0.22));
  animation:
    genieFloat 5.6s ease-in-out infinite,
    genieBreath 4.4s ease-in-out infinite;
}

.landing-story,
.landing-value,
.landing-cta-card {
  padding: 30px;
}

.landing-section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.landing-section-head h2,
.landing-cta-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.story-grid,
.landing-value-grid {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.story-card,
.landing-value-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15, 23, 44, 0.92), rgba(8, 12, 26, 0.96));
  box-shadow: var(--surface-highlight), var(--surface-outline), var(--shadow-soft);
}

.story-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(126, 169, 255, 0.08), transparent 26%);
  pointer-events: none;
}

.story-card > * {
  position: relative;
  z-index: 1;
}

.story-card.is-locale-preferred {
  border-color: rgba(122, 246, 255, 0.22);
  box-shadow:
    var(--surface-highlight),
    var(--surface-outline),
    0 26px 56px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(122, 246, 255, 0.08);
}

.story-card.is-locale-secondary {
  opacity: 0.72;
  transform: scale(0.985);
}

.story-card h3 {
  font-family: "Great Vibes", "Fraunces", serif;
  margin-top: 4px;
  padding-top: 6px;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  color: transparent;
  background:
    linear-gradient(135deg, #e8f8ff 0%, #9eeeff 28%, #7af6ff 52%, #8eb4ff 82%, #d9e6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 18px rgba(122, 246, 255, 0.12),
    0 0 28px rgba(126, 169, 255, 0.1);
}

.story-card p {
  font-family: "Caveat", "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.42;
  color: #e6eeff;
  letter-spacing: 0.01em;
}

.story-language {
  color: #9edcff;
  text-shadow: 0 0 14px rgba(122, 246, 255, 0.12);
}

.landing-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-value-card {
  min-height: 220px;
}

.landing-cta {
  padding-bottom: 10px;
}

.landing-cta-card {
  text-align: center;
}

.landing-cta-card p {
  max-width: 760px;
  margin: 16px auto 0;
}

.landing-cta-card .landing-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 24px 8px;
  border-top: 1px solid var(--line);
}

.site-footer-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer-copy {
  margin-top: 6px;
  color: var(--muted-faint);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.site-footer-support {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(122, 246, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(13, 22, 42, 0.88), rgba(9, 14, 29, 0.94)),
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.06), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.site-footer-support-copy {
  display: grid;
  gap: 4px;
}

.site-footer-support-kicker {
  color: #99d8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer-support-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer-support-lead {
  color: var(--muted-faint);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.98), rgba(126, 169, 255, 0.96));
  color: #06111d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 14px 26px rgba(122, 246, 255, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.site-footer-support-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 30px rgba(122, 246, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: brightness(1.03);
}

.site-footer-support-btn.is-disabled {
  opacity: 0.56;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.legal-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow-soft), var(--surface-highlight), var(--surface-outline);
  padding: 30px;
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-kicker {
  margin-bottom: 12px;
  color: #9bd9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-card h1,
.legal-card h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.legal-card h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.legal-card h2 {
  font-size: 26px;
}

.legal-lead,
.legal-card p,
.legal-list,
.legal-note,
.legal-value {
  color: var(--muted);
  line-height: 1.75;
}

.legal-lead {
  margin-top: 14px;
  max-width: 760px;
  font-size: 17px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.legal-block {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15, 23, 44, 0.92), rgba(8, 12, 26, 0.96));
}

.legal-label {
  margin-bottom: 8px;
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-value strong {
  color: var(--muted-strong);
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(242, 211, 165, 0.16);
  background:
    linear-gradient(180deg, rgba(21, 29, 49, 0.92), rgba(11, 16, 31, 0.96)),
    radial-gradient(circle at top right, rgba(242, 211, 165, 0.08), transparent 30%);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 12, 26, 0.9), rgba(4, 7, 17, 0.98)),
    radial-gradient(circle at top, rgba(122, 246, 255, 0.04), transparent 28%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.card-shell {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(13, 19, 37, 0.84), rgba(8, 12, 26, 0.9));
  box-shadow: var(--surface-highlight), var(--surface-outline);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.2), rgba(126, 169, 255, 0.16), rgba(161, 134, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(122, 246, 255, 0.08),
    0 14px 34px rgba(122, 246, 255, 0.08);
}

.brand-mark-core {
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(122, 246, 255, 0.78) 34%, rgba(126, 169, 255, 0.42) 74%, transparent 100%);
  filter: blur(0.4px);
}

.brand-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #f5f8ff;
  text-shadow:
    0 0 18px rgba(126, 169, 255, 0.06),
    0 0 30px rgba(122, 246, 255, 0.03);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-beta-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.22);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08));
  color: rgba(210, 236, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted-faint);
  font-size: 12px;
  line-height: 1.45;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 42%),
    rgba(9, 15, 31, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.locale-btn {
  min-width: 46px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.locale-btn:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.locale-btn.is-active {
  color: #ecfbff;
  border-color: rgba(122, 246, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.12));
  box-shadow:
    0 10px 22px rgba(122, 246, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
  display: grid;
  gap: 7px;
}

.nav-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.68), rgba(12, 19, 38, 0.74));
  color: var(--text);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 3px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.nav-btn:hover,
.nav-btn.active {
  background: linear-gradient(135deg, rgba(126, 169, 255, 0.22), rgba(122, 246, 255, 0.14));
  border-color: rgba(122, 246, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(122, 246, 255, 0.1);
}

.nav-btn-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-btn-meta {
  color: var(--muted-faint);
  font-size: 11px;
  line-height: 1.35;
}

.nav-btn:hover .nav-btn-meta,
.nav-btn.active .nav-btn-meta {
  color: #dbeaff;
}

.sidebar-story,
.sidebar-plan {
  margin-top: 16px;
  padding: 18px;
}

.sidebar-story-kicker,
.sidebar-plan-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-story-title {
  margin-top: 9px;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 800;
}

.sidebar-story-copy,
.sidebar-plan-usage,
.sidebar-plan-note {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.52;
  font-size: 13px;
}

.sidebar-credit-pressure {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.1));
  color: #eefaff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    0 12px 28px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-credit-pressure.is-warning {
  border-color: rgba(255, 201, 119, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(255, 201, 119, 0.16), rgba(126, 169, 255, 0.08));
  color: #fff1d2;
}

.sidebar-credit-pressure.is-danger {
  border-color: rgba(255, 124, 153, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(255, 124, 153, 0.18), rgba(126, 169, 255, 0.08));
  color: #ffe4ed;
}

.sidebar-credit-pressure.is-vip {
  border-color: rgba(250, 204, 21, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(122, 246, 255, 0.08));
  color: #fff1b8;
}

.sidebar-momentum-hint {
  margin-top: 10px;
  color: #dcecff;
  font-size: 12px;
  line-height: 1.55;
}

.sidebar-plan-name {
  margin-top: 6px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.founder-vip-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.45rem;
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(250, 204, 21, 0.34);
  border-radius: 8px;
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.founder-vip-hero-badge {
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
}

.usage-bar {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(22, 33, 63, 0.92);
  margin-top: 12px;
}

.usage-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 20px rgba(122, 246, 255, 0.18);
  transition: width 0.35s ease;
}

.upgrade-btn,
.generate-btn,
.inline-upgrade-btn,
.copy-btn,
.pricing-cta,
.ghost-btn {
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.upgrade-btn,
.generate-btn,
.inline-upgrade-btn,
.pricing-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, var(--cyan), var(--blue));
  color: #05121f;
  font-weight: 800;
  box-shadow:
    0 16px 36px rgba(122, 246, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.upgrade-btn::after,
.generate-btn::after,
.inline-upgrade-btn::after,
.pricing-cta::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -48%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(14deg);
  opacity: 0;
  pointer-events: none;
}

.hero-action-btn::after,
.workflow-pulse-btn::after,
.drop-zone-cta-btn::after,
.generate-btn::after {
  animation: ctaSweep 3.1s ease-in-out infinite;
  opacity: 0.72;
}

.upgrade-btn:hover,
.generate-btn:hover,
.inline-upgrade-btn:hover,
.pricing-cta:hover,
.copy-btn:hover,
.file-label:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(122, 246, 255, 0.18);
  filter: brightness(1.03);
}

.ghost-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 28%, rgba(0, 0, 0, 0) 52%),
    rgba(25, 40, 73, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ghost-btn:disabled {
  opacity: 0.9;
  cursor: default;
  transform: none;
  box-shadow: none;
  filter: none;
}

.upgrade-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px 15px;
}

.inline-upgrade-btn,
.pricing-cta {
  padding: 12px 15px;
}

.main {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 34px 34px 52px;
}

.workflow-pulse-section {
  margin-bottom: 18px;
}

.workflow-pulse-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(122, 246, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(126, 169, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(14, 22, 42, 0.95), rgba(8, 13, 29, 0.99));
}

.workflow-pulse-card[data-pulse-state="quota_low"],
.workflow-pulse-card[data-pulse-state="recovery"] {
  border-color: rgba(255, 173, 90, 0.22);
  box-shadow:
    0 22px 54px rgba(7, 13, 30, 0.42),
    0 0 0 1px rgba(255, 173, 90, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.workflow-pulse-card[data-pulse-state="result"],
.workflow-pulse-card[data-pulse-state="success"] {
  border-color: rgba(122, 246, 255, 0.18);
}

.workflow-pulse-card[data-pulse-state="premium_unlocked"] {
  border-color: rgba(126, 169, 255, 0.24);
}

.workflow-pulse-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 58%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.1), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.workflow-pulse-card > * {
  position: relative;
  z-index: 1;
}

.workflow-pulse-main {
  min-width: 0;
}

.workflow-pulse-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.workflow-pulse-step,
.workflow-pulse-credits {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-pulse-step {
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.1));
  color: #eefaff;
}

.workflow-pulse-credits {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dcecff;
}

.workflow-pulse-credits.is-warning {
  border-color: rgba(255, 201, 119, 0.24);
  color: #fff1d2;
}

.workflow-pulse-credits.is-danger {
  border-color: rgba(255, 124, 153, 0.28);
  color: #ffe4ed;
}

.workflow-pulse-card h2 {
  margin: 12px 0 0;
  max-width: 720px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.workflow-pulse-card p {
  margin: 10px 0 0;
  max-width: 740px;
  color: var(--muted);
  line-height: 1.66;
}

.workflow-pulse-side {
  display: grid;
  gap: 14px;
  justify-items: stretch;
  align-content: center;
}

.workflow-pulse-premium {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
  color: #e7f1ff;
  line-height: 1.6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.14);
}

.workflow-pulse-btn {
  width: 100%;
  margin-top: 0;
  min-height: 56px;
}

@media (max-width: 1380px) {
  .workflow-pulse-card {
    grid-template-columns: 1fr;
  }

  .workflow-pulse-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .workflow-pulse-card {
    padding: 18px;
  }

  .workflow-pulse-top {
    align-items: flex-start;
  }

  .workflow-pulse-card h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .workflow-pulse-side {
    gap: 12px;
  }

  .workflow-pulse-btn {
    width: 100%;
  }
}

.hero-card,
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card {
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--shadow-soft), var(--surface-highlight), var(--surface-outline);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.hero-card {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 30px;
  padding: 32px 32px 30px;
  margin-bottom: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 22, 43, 0.96), rgba(7, 11, 24, 0.99)),
    radial-gradient(circle at top left, rgba(122, 246, 255, 0.08), transparent 28%);
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(122, 246, 255, 0.1), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(126, 169, 255, 0.12), transparent 28%),
    radial-gradient(circle at 78% 84%, rgba(161, 134, 255, 0.1), transparent 24%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin-bottom: 14px;
  color: #bed6ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker-accent {
  color: var(--champagne);
}

.hero-card h1,
.section-head h2,
.pricing-head h2,
.pricing-subhead h2 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.hero-card h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.15rem, 3.05vw, 3.35rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.055em;
  color: transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #e8f0ff 48%, #b5cbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
}

.hero-zazzle-line {
  display: block;
  margin-top: 6px;
}

.hero-zazzle-word {
  color: transparent;
  background:
    linear-gradient(135deg, #dff8ff 0%, #7af6ff 34%, #7ea9ff 72%, #6a8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 18px rgba(122, 246, 255, 0.18),
    0 0 28px rgba(126, 169, 255, 0.14);
}

.hero-text {
  margin: 16px 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

.studio-action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.1));
  color: #eef9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 12px 30px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-proof-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-proof-pill {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 13px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(14, 21, 41, 0.88), rgba(8, 13, 29, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.16);
}

.hero-proof-pill-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-proof-pill-copy {
  color: #eef5ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-action-btn {
  width: auto;
  min-width: 194px;
  margin-top: 0;
}

.badge,
.metric-pill,
.premium-lock-badge,
.pricing-badge,
.status-badge,
.genie-orbit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ebf2ff;
  font-size: 12px;
  font-weight: 700;
}

.badge {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 45%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-badge,
.premium-lock-badge {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(161, 134, 255, 0.18), rgba(242, 211, 165, 0.14));
  border-color: rgba(161, 134, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.proof-label,
.insight-label,
.pricing-tier,
.analysis-label,
.validation-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-trust-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: rgba(223, 236, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.hero-trust-inline-item {
  display: inline-flex;
  align-items: center;
}

.hero-trust-inline-sep {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(122, 246, 255, 0.5);
  box-shadow: 0 0 12px rgba(122, 246, 255, 0.22);
}

.hero-visual {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-backdrop,
.hero-floor-glow,
.magic-column,
.hero-glow,
.genie-vessel,
.genie-prism,
.genie-lattice,
.genie-halo,
.genie-ring,
.activation-wave,
.magic-particles {
  position: absolute;
  pointer-events: none;
}

.hero-backdrop {
  inset: 11% 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 246, 255, 0.09), transparent 54%),
    radial-gradient(circle at 52% 58%, rgba(126, 169, 255, 0.12), transparent 42%);
  filter: blur(28px);
}

.hero-floor-glow {
  bottom: 44px;
  width: 340px;
  height: 94px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.16) 38%, transparent 76%);
  filter: blur(18px);
  opacity: 0.72;
}

.magic-column {
  bottom: 92px;
  width: 180px;
  height: 250px;
  background: linear-gradient(180deg, rgba(122, 246, 255, 0), rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.09), rgba(126, 169, 255, 0));
  filter: blur(18px);
  opacity: 0.48;
  animation: pulseColumn 4.8s ease-in-out infinite;
}

.hero-glow {
  width: 388px;
  height: 388px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.13), rgba(126, 169, 255, 0.1) 42%, transparent 76%);
  filter: blur(14px);
  animation: pulseGlow 5.2s ease-in-out infinite;
}

.hero-visual.is-drag-active {
  transform: translateY(-2px);
}

.hero-visual.is-drag-active .hero-glow {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.14) 42%, transparent 76%);
  box-shadow: 0 0 46px rgba(122, 246, 255, 0.12);
}

.hero-visual.is-drag-active .genie-ring,
.hero-visual.is-drag-active .genie-halo {
  border-color: rgba(122, 246, 255, 0.18);
  box-shadow: 0 0 30px rgba(122, 246, 255, 0.08);
}

.hero-visual.is-drag-active .genie-speech,
.hero-visual.is-drag-active .genie-status-panel {
  border-color: rgba(122, 246, 255, 0.18);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-visual.is-drag-active .genie-orbit {
  border-color: rgba(122, 246, 255, 0.18);
  color: #f2fbff;
}

.genie-vessel {
  display: none;
}

.genie-prism {
  display: none;
}

.genie-lattice {
  display: none;
}

.genie-halo {
  border-radius: 50%;
  border: 1px solid rgba(173, 212, 255, 0.1);
  box-shadow: 0 0 30px rgba(122, 246, 255, 0.04);
}

.halo-outer {
  width: 320px;
  height: 320px;
  animation: spin 24s linear infinite;
}

.halo-inner {
  width: 258px;
  height: 258px;
  border-color: rgba(122, 246, 255, 0.12);
  animation: spinReverse 18s linear infinite;
}

.genie-ring {
  border-radius: 50%;
  border: 1px solid rgba(160, 189, 240, 0.07);
}

.genie-ring-1 {
  width: 360px;
  height: 360px;
  animation: spin 34s linear infinite;
}

.genie-ring-2 {
  width: 294px;
  height: 294px;
  animation: spinReverse 26s linear infinite;
}

.genie-ring-3 {
  width: 220px;
  height: 220px;
  border-color: rgba(122, 246, 255, 0.1);
  animation: spin 22s linear infinite;
}

.activation-wave {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(122, 246, 255, 0.16);
  opacity: 0;
}

.magic-particles {
  inset: 0;
}

.magic-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.98), rgba(122, 246, 255, 0.84) 36%, rgba(126, 169, 255, 0.2) 76%, transparent 100%);
  box-shadow:
    0 0 16px rgba(122, 246, 255, 0.24),
    0 0 32px rgba(126, 169, 255, 0.14);
  opacity: var(--opacity);
  filter: blur(var(--blur));
  transform: translate3d(0, 0, 0) scale(var(--scale, 1));
  animation:
    particleFloat var(--duration) ease-in-out infinite,
    twinkle calc(var(--duration) * 0.75) ease-in-out infinite;
  animation-delay: var(--delay);
}

.magic-particles-front .magic-particle {
  opacity: calc(var(--opacity) + 0.1);
}

.genie-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(100%, 420px);
}

.genie-stage::before {
  content: "";
  position: absolute;
  inset: 92px 38px 108px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(10, 17, 34, 0.44), rgba(8, 13, 28, 0.06) 42%, rgba(8, 13, 28, 0) 100%);
  border: 1px solid rgba(122, 246, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 26px 44px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.genie-speech {
  position: relative;
  width: min(100%, 392px);
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(16, 22, 40, 0.9), rgba(8, 13, 28, 0.94));
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.genie-speech::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 52px;
  background: linear-gradient(90deg, rgba(122, 246, 255, 0.1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.genie-speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(9, 15, 31, 0.94);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.genie-speech-label {
  margin-bottom: 7px;
  color: #d8ecff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.genie-speech-text {
  color: #edf4ff;
  line-height: 1.64;
  font-size: 15px;
  text-wrap: pretty;
}

.genie-core {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 304px;
  height: 304px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.24));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.genie-core.is-drag-active {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.28));
}

.genie-core::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(122, 246, 255, 0.16), rgba(126, 169, 255, 0.1) 48%, transparent 78%);
  box-shadow: 0 0 42px rgba(122, 246, 255, 0.1);
}

.genie-core::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(122, 246, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  opacity: 0.9;
}

.genie-core.is-drag-active::after {
  border-color: rgba(122, 246, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    0 0 28px rgba(122, 246, 255, 0.12);
}

.genie-core-shell,
.genie-core-rim,
.genie-core-grid,
.genie-core-aura,
.genie-core-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.genie-core-shell {
  display: none;
}

.genie-core-rim {
  display: none;
}

.genie-core-grid {
  display: none;
}

.genie-core-aura {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.14), rgba(126, 169, 255, 0.1), transparent 74%);
  filter: blur(18px);
  animation: auraPulse 4.1s ease-in-out infinite;
}

.genie-core-shine {
  inset: 16%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  opacity: 0.34;
  transform: rotate(-18deg);
}

.hero-genie {
  position: relative;
  z-index: 2;
  width: 308px;
  max-width: 100%;
  object-fit: contain;
  filter:
    saturate(0.94)
    contrast(1.05)
    brightness(1.02)
    drop-shadow(0 0 14px rgba(122, 246, 255, 0.16))
    drop-shadow(0 0 32px rgba(126, 169, 255, 0.16))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
  animation:
    genieFloat 5.6s ease-in-out infinite,
    genieTilt 7.8s ease-in-out infinite,
    genieBreath 4.2s ease-in-out infinite;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.hero-visual:hover .hero-genie,
.genie-core:hover .hero-genie {
  transform: scale(1.03);
  filter:
    saturate(0.98)
    contrast(1.08)
    brightness(1.04)
    drop-shadow(0 0 18px rgba(122, 246, 255, 0.2))
    drop-shadow(0 0 40px rgba(126, 169, 255, 0.18))
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.2));
}

.hero-visual.is-drag-active .hero-genie,
.genie-core.is-drag-active .hero-genie {
  transform: scale(1.04);
  filter:
    saturate(1)
    contrast(1.08)
    brightness(1.06)
    drop-shadow(0 0 20px rgba(122, 246, 255, 0.22))
    drop-shadow(0 0 44px rgba(126, 169, 255, 0.2))
    drop-shadow(0 22px 34px rgba(0, 0, 0, 0.22));
}

.hero-visual:hover .genie-core,
.genie-core:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.28));
}

.genie-status-panel {
  width: min(100%, 390px);
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(13, 21, 40, 0.86), rgba(8, 13, 28, 0.92));
  backdrop-filter: blur(20px) saturate(145%);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.genie-status-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 46px;
  background: linear-gradient(90deg, rgba(126, 169, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.status-badge {
  width: fit-content;
  background: rgba(122, 246, 255, 0.12);
  border-color: rgba(122, 246, 255, 0.18);
  color: #e7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-title {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.status-copy {
  margin-top: 8px;
  color: #a9bfdc;
  line-height: 1.58;
  font-size: 14px;
}

.genie-orbit {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    rgba(8, 15, 31, 0.76);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #eaf6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.genie-orbit::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.94), rgba(126, 169, 255, 0.6));
  box-shadow: 0 0 12px rgba(122, 246, 255, 0.22);
}

.orbit-left-top {
  left: 4%;
  top: 14%;
}

.orbit-right-top {
  right: 5%;
  top: 12%;
}

.orbit-bottom {
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
}

.hero-visual[data-genie-state="analyzing"] .hero-glow,
.hero-visual[data-genie-state="analyzing"] .magic-column {
  animation: chargeGlow 0.9s ease-in-out infinite;
}

.hero-visual[data-genie-state="analyzing"] .genie-ring,
.hero-visual[data-genie-state="analyzing"] .genie-halo {
  border-color: rgba(122, 246, 255, 0.16);
  box-shadow: 0 0 34px rgba(122, 246, 255, 0.08);
}

.hero-visual[data-genie-state="analyzing"] .genie-lattice {
  display: none;
}

.hero-visual[data-genie-state="welcoming"] .hero-glow,
.hero-visual[data-genie-state="upload_ready"] .hero-glow,
.hero-visual[data-genie-state="file_received"] .hero-glow {
  opacity: 0.96;
  transform: scale(1.06);
}

.hero-visual[data-genie-state="welcoming"] .genie-vessel,
.hero-visual[data-genie-state="upload_ready"] .genie-vessel,
.hero-visual[data-genie-state="file_received"] .genie-vessel {
  display: none;
}

.hero-visual[data-genie-state="welcoming"] .genie-ring-3,
.hero-visual[data-genie-state="upload_ready"] .genie-ring-3,
.hero-visual[data-genie-state="file_received"] .genie-ring-3 {
  border-color: rgba(122, 246, 255, 0.16);
}

.hero-visual[data-genie-state="welcoming"] .status-badge,
.hero-visual[data-genie-state="upload_ready"] .status-badge,
.hero-visual[data-genie-state="file_received"] .status-badge {
  background: rgba(122, 246, 255, 0.14);
  border-color: rgba(122, 246, 255, 0.24);
  color: #e2fbff;
}

.hero-visual[data-genie-state="analyzing"] .hero-genie {
  animation:
    genieCharge 0.7s ease-in-out infinite alternate,
    genieTilt 2.4s ease-in-out infinite;
}

.hero-visual[data-genie-state="insight_ready"] .genie-core-aura,
.hero-visual[data-genie-state="result"] .genie-core-aura {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.12), transparent 72%);
}

.hero-visual[data-genie-state="insight_ready"] .status-badge,
.hero-visual[data-genie-state="result"] .status-badge {
  background: rgba(122, 246, 255, 0.12);
  border-color: rgba(122, 246, 255, 0.22);
}

.hero-visual[data-genie-state="analyzing"] .activation-wave,
.hero-visual[data-genie-state="upsell"] .activation-wave,
.hero-visual[data-genie-state="quota_low"] .activation-wave {
  animation: wavePulse 1.45s ease-out infinite;
}

.hero-visual[data-genie-state="analyzing"] .activation-wave-2,
.hero-visual[data-genie-state="upsell"] .activation-wave-2,
.hero-visual[data-genie-state="quota_low"] .activation-wave-2,
.hero-visual.is-bursting .activation-wave-2 {
  animation-delay: 0.18s;
}

.hero-visual.is-bursting .activation-wave {
  animation: wavePulse 1.18s ease-out;
}

.hero-visual.is-bursting .hero-glow {
  animation: chargeGlow 0.9s ease-in-out 2;
}

.hero-visual[data-genie-state="upsell"] .genie-core-aura,
.hero-visual[data-genie-state="quota_low"] .genie-core-aura {
  background: radial-gradient(circle, rgba(161, 134, 255, 0.2), rgba(122, 246, 255, 0.08), transparent 72%);
}

.hero-visual[data-genie-state="upsell"] .genie-vessel,
.hero-visual[data-genie-state="quota_low"] .genie-vessel {
  display: none;
}

.hero-visual[data-genie-state="upsell"] .genie-ring-1,
.hero-visual[data-genie-state="quota_low"] .genie-ring-1 {
  border-color: rgba(161, 134, 255, 0.16);
}

.hero-visual[data-genie-state="upsell"] .status-badge,
.hero-visual[data-genie-state="quota_low"] .status-badge {
  background: rgba(161, 134, 255, 0.16);
  border-color: rgba(161, 134, 255, 0.22);
}

.hero-visual[data-genie-state="success"] .genie-core-aura {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.22), rgba(126, 169, 255, 0.1), transparent 72%);
}

.hero-visual[data-genie-state="success"] .hero-glow {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.12), transparent 74%);
}

.hero-visual[data-genie-state="success"] .genie-vessel {
  display: none;
}

.hero-visual[data-genie-state="success"] .genie-ring-2 {
  border-color: rgba(122, 246, 255, 0.16);
}

.hero-visual[data-genie-state="success"] .status-badge {
  background: rgba(122, 246, 255, 0.16);
  border-color: rgba(122, 246, 255, 0.24);
  color: #e8fbff;
}

.hero-visual[data-genie-state="success"] .activation-wave {
  animation: wavePulse 1.28s ease-out 2;
}

.hero-visual[data-genie-state="error"] .genie-core-aura {
  background: radial-gradient(circle, rgba(255, 124, 153, 0.22), rgba(161, 134, 255, 0.1), transparent 72%);
}

.hero-visual[data-genie-state="error"] .hero-glow {
  background: radial-gradient(circle, rgba(255, 124, 153, 0.14), rgba(126, 169, 255, 0.08), transparent 74%);
}

.hero-visual[data-genie-state="error"] .genie-vessel {
  display: none;
}

.hero-visual[data-genie-state="error"] .genie-ring-2 {
  border-color: rgba(255, 124, 153, 0.16);
}

.hero-visual[data-genie-state="error"] .status-badge {
  background: rgba(255, 124, 153, 0.16);
  border-color: rgba(255, 124, 153, 0.24);
  color: #ffe2ea;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}

.stack-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.strategist-card {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-color: rgba(122, 246, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(14, 22, 42, 0.96), rgba(8, 13, 29, 0.99)),
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.09), transparent 30%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.strategist-card::before {
  content: "";
  position: absolute;
  inset: -35% 35% auto -20%;
  height: 220px;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.14), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.strategist-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -35% 35%;
  height: 220px;
  background: radial-gradient(circle, rgba(161, 134, 255, 0.1), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.strategist-head,
.strategist-action-row {
  position: relative;
  z-index: 1;
}

.strategist-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.strategist-head-copy h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.strategist-kicker {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strategist-avatar {
  position: relative;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.14), rgba(242, 211, 165, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.strategist-avatar-aura {
  position: absolute;
  inset: 8px;
  border-radius: 24px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), rgba(122, 246, 255, 0.32) 34%, rgba(126, 169, 255, 0.18) 70%, transparent 100%);
  filter: blur(6px);
  animation: auraPulse 4.2s ease-in-out infinite;
}

.strategist-avatar-image {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  filter:
    saturate(0.94)
    contrast(1.05)
    brightness(1.02)
    drop-shadow(0 0 12px rgba(122, 246, 255, 0.14))
    drop-shadow(0 0 24px rgba(126, 169, 255, 0.14));
  animation: genieFloat 5.8s ease-in-out infinite;
}

.strategist-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #edf4ff;
  line-height: 1.58;
}

.strategist-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.strategist-grid-condensed {
  gap: 10px;
}

.strategist-cell {
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 28px rgba(0, 0, 0, 0.16);
}

.strategist-value {
  margin-top: 10px;
  color: #edf5ff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.48;
}

.strategist-subvalue {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.strategist-action-row {
  margin-top: 14px;
}

.strategist-action-row.is-guidance-only {
  margin-top: 10px;
}

.strategist-action-btn {
  width: 100%;
  margin-top: 0;
}

.strategist-action-btn[data-mode="upgrade"] {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #09101f;
}

.strategist-action-btn[data-mode="review"],
.strategist-action-btn[data-mode="next"] {
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.92), rgba(126, 169, 255, 0.92));
}

.strategist-action-btn[data-mode="wait"] {
  background: rgba(25, 41, 73, 0.94);
  color: #deebff;
  box-shadow: none;
}

.strategist-action-btn:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
  filter: none;
}

.strategist-hint {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.strategist-card[data-genie-state="analyzing"] {
  border-color: rgba(122, 246, 255, 0.26);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(122, 246, 255, 0.1),
    0 0 44px rgba(122, 246, 255, 0.12);
}

.strategist-card[data-genie-state="upsell"],
.strategist-card[data-genie-state="quota_low"] {
  border-color: rgba(161, 134, 255, 0.28);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(161, 134, 255, 0.12),
    0 0 44px rgba(161, 134, 255, 0.14);
}

.strategist-card[data-genie-state="success"] {
  border-color: rgba(122, 246, 255, 0.28);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(122, 246, 255, 0.12),
    0 0 44px rgba(126, 169, 255, 0.14);
}

.strategist-card[data-genie-state="error"] {
  border-color: rgba(255, 124, 153, 0.24);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 124, 153, 0.12),
    0 0 40px rgba(255, 124, 153, 0.12);
}

.card {
  padding: 24px;
}

.generate-card {
  position: relative;
  overflow: hidden;
}

.generate-card > * {
  position: relative;
  z-index: 1;
}

.studio-genie-runner {
  position: absolute;
  inset: 92px 22px 22px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.studio-genie-trail,
.studio-genie-glow,
.studio-genie-runner-image {
  position: absolute;
  top: 50%;
  left: -28%;
  transform: translateY(-50%);
}

.studio-genie-trail {
  width: 320px;
  height: 120px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(122, 246, 255, 0.08) 30%, rgba(126, 169, 255, 0.14) 58%, transparent 100%);
  filter: blur(18px);
  opacity: 0;
}

.studio-genie-glow {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08) 48%, transparent 74%);
  filter: blur(22px);
  opacity: 0;
}

.studio-genie-runner-image {
  width: 124px;
  opacity: 0;
  filter:
    saturate(0.95)
    brightness(1.04)
    contrast(1.05)
    drop-shadow(0 0 18px rgba(122, 246, 255, 0.16))
    drop-shadow(0 0 34px rgba(126, 169, 255, 0.12));
}

.generate-card.is-generating .studio-genie-runner {
  opacity: 1;
}

.generate-card.is-generating .studio-genie-trail {
  animation: studioGenieTraverseTrail 2.8s linear infinite;
}

.generate-card.is-generating .studio-genie-glow {
  animation: studioGenieTraverseGlow 2.8s linear infinite;
}

.generate-card.is-generating .studio-genie-runner-image {
  animation: studioGenieTraverse 2.8s cubic-bezier(0.24, 0.76, 0.24, 1) infinite;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.04;
}

.section-head p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
  max-width: 62ch;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.workflow-progress {
  margin: 0 0 18px;
}

.studio-action-bar {
  position: relative;
  margin: 0 0 18px;
  padding: 16px 18px 17px;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 21, 42, 0.84), rgba(8, 13, 28, 0.94)),
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.08), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.studio-action-bar::before {
  content: "";
  position: absolute;
  inset: auto auto -68px -28px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 169, 255, 0.12), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.studio-action-bar > * {
  position: relative;
  z-index: 1;
}

.studio-action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-action-signal {
  color: rgba(223, 238, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-action-title {
  margin-top: 10px;
  color: #f3f8ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.32;
  text-wrap: balance;
}

.studio-action-meta {
  margin-top: 8px;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.studio-action-bar[data-action-state="file_received"],
.studio-action-bar[data-action-state="uploading"] {
  border-color: rgba(122, 246, 255, 0.22);
}

.studio-action-bar[data-action-state="result"],
.studio-action-bar[data-action-state="success"] {
  border-color: rgba(126, 169, 255, 0.22);
}

.studio-action-bar[data-action-state="upsell"],
.studio-action-bar[data-action-state="quota_low"],
.studio-action-bar[data-action-state="recovery"] {
  border-color: rgba(161, 134, 255, 0.24);
}

.workflow-progress-label {
  margin-bottom: 10px;
  color: #dff4ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.workflow-progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 15, 31, 0.92), rgba(13, 21, 42, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(122, 246, 255, 0.04);
}

.workflow-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(122, 246, 255, 0.86), rgba(126, 169, 255, 0.9), rgba(161, 134, 255, 0.72));
  box-shadow:
    0 0 24px rgba(122, 246, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: width 0.45s ease;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(12, 20, 39, 0.78), rgba(8, 13, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.workflow-step.is-active {
  border-color: rgba(122, 246, 255, 0.2);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08));
  color: #eff8ff;
}

.workflow-step.is-complete {
  border-color: rgba(122, 246, 255, 0.2);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08));
  color: #eaf8ff;
}

.workflow-step.is-complete .workflow-index {
  background: rgba(122, 246, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(122, 246, 255, 0.08);
}

.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.workflow-label {
  font-size: 13px;
  font-weight: 700;
}

.drop-zone {
  position: relative;
  overflow: hidden;
  border: 1.5px dashed rgba(145, 184, 255, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(11, 20, 39, 0.9), rgba(7, 12, 27, 0.97)),
    radial-gradient(circle at 78% 44%, rgba(122, 246, 255, 0.075), transparent 28%),
    radial-gradient(circle at 16% 14%, rgba(126, 169, 255, 0.05), transparent 26%);
  padding: 28px 24px 24px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 22px 48px rgba(0, 0, 0, 0.18);
}

.drop-zone-scanline {
  position: absolute;
  inset: -18% -12%;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.04) 42%, rgba(122, 246, 255, 0.22) 50%, rgba(255, 255, 255, 0.04) 58%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-48%) rotate(6deg);
}

.drop-zone-cosmic,
.drop-zone-backdrop,
.drop-zone-floor-glow,
.drop-zone-column,
.drop-zone-glow,
.drop-zone-halo,
.drop-zone-ring {
  position: absolute;
  pointer-events: none;
}

.drop-zone-cosmic {
  top: 16px;
  right: 10px;
  width: 330px;
  height: calc(100% - 32px);
  z-index: 0;
  opacity: 0.96;
}

.drop-zone-cosmic::before,
.drop-zone-cosmic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.drop-zone-cosmic::before {
  top: 10px;
  right: 4px;
  width: 212px;
  height: 212px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 50% 50%, rgba(122, 246, 255, 0.08), rgba(126, 169, 255, 0.04) 48%, rgba(7, 14, 31, 0.02) 72%, transparent 100%);
  border: 1px solid rgba(160, 210, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 28px rgba(122, 246, 255, 0.04),
    0 0 24px rgba(122, 246, 255, 0.04);
  opacity: 0.92;
}

.drop-zone-cosmic::after {
  top: 32px;
  right: 40px;
  width: 136px;
  height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(122, 246, 255, 0.06), rgba(126, 169, 255, 0.02), transparent 88%);
  filter: blur(18px);
  transform: rotate(10deg);
  opacity: 0.66;
}

.drop-zone-keywords {
  position: absolute;
  inset: 18px 18px 18px 56%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 44%, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9) 56%, transparent 100%);
}

.drop-zone-keywords::after {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 8%;
  background:
    radial-gradient(circle at 68% 42%, rgba(122, 246, 255, 0.045), transparent 30%),
    radial-gradient(circle at 56% 66%, rgba(126, 169, 255, 0.04), transparent 30%);
  filter: blur(18px);
  opacity: 0.46;
}

.drop-zone-keyword {
  position: absolute;
  font-family: "Fraunces", "Manrope", serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: rgba(190, 224, 255, 0.08);
  text-shadow:
    0 0 12px rgba(122, 246, 255, 0.03),
    0 0 30px rgba(126, 169, 255, 0.025);
  opacity: 0.82;
  transform: translate3d(0, 0, 0) rotate(var(--keyword-rotate, 0deg));
  will-change: transform, opacity;
}

.drop-zone-keyword.keyword-brand {
  top: 28px;
  right: 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(198, 230, 255, 0.045);
  --keyword-rotate: -4deg;
  animation: dropZoneKeywordTraverse 18s ease-in-out infinite;
}

.drop-zone-keyword.keyword-genie {
  display: none;
}

.drop-zone-floating-genie {
  display: none;
}

.drop-zone-backdrop {
  inset: 8% 4% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 246, 255, 0.08), transparent 54%),
    radial-gradient(circle at 52% 58%, rgba(126, 169, 255, 0.11), transparent 40%);
  filter: blur(28px);
}

.drop-zone-floor-glow {
  bottom: 24px;
  left: 50%;
  width: 210px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.13) 38%, transparent 78%);
  filter: blur(16px);
  opacity: 0.74;
}

.drop-zone-column {
  left: 50%;
  bottom: 68px;
  width: 112px;
  height: 186px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(122, 246, 255, 0), rgba(122, 246, 255, 0.08), rgba(126, 169, 255, 0.07), rgba(126, 169, 255, 0));
  filter: blur(18px);
  opacity: 0.54;
  animation: pulseColumn 4.8s ease-in-out infinite;
}

.drop-zone-glow {
  left: 50%;
  top: 34px;
  width: 250px;
  height: 250px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.13), rgba(126, 169, 255, 0.09) 42%, transparent 76%);
  filter: blur(14px);
  animation: pulseGlow 5.2s ease-in-out infinite;
}

.drop-zone-halo,
.drop-zone-ring {
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
}

.drop-zone-halo {
  border: 1px solid rgba(173, 212, 255, 0.08);
  box-shadow: 0 0 24px rgba(122, 246, 255, 0.04);
}

.drop-zone-halo.halo-outer {
  width: 206px;
  height: 206px;
  animation: spin 24s linear infinite;
}

.drop-zone-halo.halo-inner {
  width: 162px;
  height: 162px;
  border-color: rgba(122, 246, 255, 0.1);
  animation: spinReverse 18s linear infinite;
}

.drop-zone-ring {
  border: 1px solid rgba(160, 189, 240, 0.06);
}

.drop-zone-ring.ring-1 {
  width: 232px;
  height: 232px;
  opacity: 0.7;
  animation: spin 34s linear infinite;
}

.drop-zone-ring.ring-2 {
  width: 190px;
  height: 190px;
  opacity: 0.74;
  animation: spinReverse 26s linear infinite;
}

.drop-zone-ring.ring-3 {
  width: 138px;
  height: 138px;
  border-color: rgba(122, 246, 255, 0.08);
  opacity: 0.78;
  animation: spin 22s linear infinite;
}

.drop-zone-particles-back,
.drop-zone-particles-front {
  inset: 0;
}

.drop-zone-particles-back .magic-particle {
  opacity: calc(var(--opacity) * 0.86);
}

.drop-zone-particles-front .magic-particle {
  opacity: calc(var(--opacity) + 0.04);
}

.drop-zone-atmosphere {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 290px;
  height: calc(100% - 40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}

.drop-zone-atmosphere-core,
.drop-zone-atmosphere-beam,
.drop-zone-atmosphere-ring,
.drop-zone-star {
  position: absolute;
}

.drop-zone-atmosphere-core {
  right: 24px;
  top: 36px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 246, 255, 0.16), rgba(126, 169, 255, 0.11) 42%, transparent 74%);
  filter: blur(20px);
  opacity: 0.78;
  animation: dropZoneAuraFloat 7.4s ease-in-out infinite;
}

.drop-zone-atmosphere-beam {
  right: 60px;
  top: 12px;
  width: 140px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(122, 246, 255, 0.03) 10%, rgba(122, 246, 255, 0.14) 48%, rgba(126, 169, 255, 0.08) 72%, transparent 100%);
  filter: blur(12px);
  opacity: 0.72;
  transform: rotate(7deg);
}

.drop-zone-atmosphere-ring {
  border-radius: 50%;
  border: 1px solid rgba(122, 246, 255, 0.12);
  opacity: 0.4;
}

.drop-zone-atmosphere-ring.ring-one {
  right: 52px;
  top: 52px;
  width: 168px;
  height: 168px;
  animation: dropZoneRingPulse 6.6s ease-in-out infinite;
}

.drop-zone-atmosphere-ring.ring-two {
  right: 26px;
  top: 28px;
  width: 214px;
  height: 214px;
  border-color: rgba(126, 169, 255, 0.1);
  animation: dropZoneRingPulse 7.8s ease-in-out infinite 0.4s;
}

.drop-zone-atmosphere-ring.ring-three {
  right: 78px;
  top: 78px;
  width: 114px;
  height: 114px;
  border-color: rgba(122, 246, 255, 0.15);
  animation: dropZoneRingPulse 5.8s ease-in-out infinite 0.2s;
}

.drop-zone-star {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(228, 251, 255, 0.96), rgba(122, 246, 255, 0.88));
  box-shadow: 0 0 14px rgba(122, 246, 255, 0.28);
  opacity: 0.5;
  animation: dropZoneStarTwinkle 4.8s ease-in-out infinite;
}

.drop-zone-star.star-1 { right: 198px; top: 42px; animation-delay: -0.8s; }
.drop-zone-star.star-2 { right: 102px; top: 58px; width: 5px; height: 5px; animation-delay: -1.6s; }
.drop-zone-star.star-3 { right: 54px; top: 122px; width: 4px; height: 4px; animation-delay: -2.2s; }
.drop-zone-star.star-4 { right: 228px; top: 166px; width: 4px; height: 4px; animation-delay: -0.3s; }
.drop-zone-star.star-5 { right: 132px; top: 214px; animation-delay: -2.8s; }
.drop-zone-star.star-6 { right: 70px; top: 246px; width: 5px; height: 5px; animation-delay: -1.1s; }

.drop-zone-ghost-genie {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: var(--ghost-opacity, 0.12);
  filter: saturate(0.9);
  transform: translate3d(0, 0, 0);
}

.drop-zone-ghost-genie.is-primary {
  --ghost-opacity: 0.1;
  --ghost-hover-opacity: 0.14;
  --ghost-drag-opacity: 0.2;
  --ghost-ready-opacity: 0.16;
  --ghost-success-opacity: 0.24;
  right: 28px;
  top: 34px;
  width: 158px;
  height: 158px;
}

.drop-zone-ghost-genie.is-secondary {
  display: none;
}

.drop-zone-ghost-genie.is-tertiary {
  display: none;
}

.drop-zone-ghost-glow,
.drop-zone-ghost-image {
  position: absolute;
}

.drop-zone-ghost-glow {
  inset: 14% 14% 16% 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.2), rgba(126, 169, 255, 0.15) 42%, transparent 74%);
  filter: blur(26px);
  opacity: 0.78;
}

.drop-zone-ghost-image {
  left: 14%;
  bottom: 0;
  width: 72%;
  opacity: 0.54;
  transform: translate3d(0, 0, 0);
  mix-blend-mode: screen;
  filter:
    saturate(0.84)
    brightness(0.98)
    contrast(1.03)
    drop-shadow(0 0 34px rgba(122, 246, 255, 0.12));
}

.drop-zone-capture-badge {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background: linear-gradient(180deg, rgba(11, 31, 44, 0.94), rgba(8, 18, 29, 0.96));
  color: #ebfbff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(122, 246, 255, 0.08);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
}

.drop-zone[data-drop-state="drag"] .drop-zone-capture-badge {
  border-color: rgba(122, 246, 255, 0.22);
  background: linear-gradient(180deg, rgba(12, 31, 44, 0.96), rgba(8, 18, 29, 0.98));
  color: #ecfbff;
}

.drop-zone[data-drop-state="ready"] .drop-zone-capture-badge,
.drop-zone[data-drop-state="captured"] .drop-zone-capture-badge {
  border-color: rgba(122, 246, 255, 0.22);
  background: linear-gradient(180deg, rgba(11, 31, 44, 0.96), rgba(8, 18, 29, 0.98));
  color: #ebfbff;
}

.drop-zone::before,
.drop-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.drop-zone::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(122, 246, 255, 0.16), transparent 24%),
    radial-gradient(circle at 78% 76%, rgba(126, 169, 255, 0.16), transparent 26%);
  transform: scale(0.96);
}

.drop-zone::after {
  inset: -30%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.08) 34%, rgba(122, 246, 255, 0.16) 50%, rgba(255, 255, 255, 0.08) 66%, transparent 80%);
  transform: translateX(-36%) rotate(8deg);
}

.drop-zone:hover {
  border-color: rgba(122, 246, 255, 0.52);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 46px rgba(122, 246, 255, 0.09);
}

.drop-zone:hover .drop-zone-ghost-genie {
  opacity: var(--ghost-hover-opacity, 0.16);
}

.drop-zone:hover .drop-zone-ghost-image {
  opacity: 0.64;
}

.drop-zone.is-drag-active {
  border-color: rgba(122, 246, 255, 0.8);
  transform: translateY(-2px) scale(1.008);
  background:
    linear-gradient(180deg, rgba(12, 22, 43, 0.92), rgba(8, 13, 29, 0.97)),
    radial-gradient(circle at top, rgba(122, 246, 255, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 52px rgba(122, 246, 255, 0.14),
    0 0 0 1px rgba(122, 246, 255, 0.12);
}

.drop-zone.is-drag-active::before {
  opacity: 1;
  transform: scale(1);
}

.drop-zone.is-drag-active::after {
  opacity: 0.7;
  animation: uploadSweep 1.4s linear infinite;
}

.drop-zone.is-drag-active .drop-zone-scanline {
  opacity: 0.92;
  animation: dropZoneScanLine 1s linear infinite;
}

.drop-zone.is-drag-active .drop-zone-ghost-genie {
  opacity: var(--ghost-drag-opacity, 0.24);
  animation: dropZoneGhostTraverseAcross 1.8s ease-in-out infinite;
}

.drop-zone.is-drag-active .drop-zone-ghost-glow {
  animation: dropZoneGhostGlow 1.2s ease-in-out infinite;
}

.drop-zone.is-drag-active .drop-zone-ghost-image {
  opacity: 0.82;
  animation: dropZoneGhostTraverse 1.8s ease-in-out infinite;
}

.drop-zone.has-file .drop-zone-scanline {
  opacity: 0.34;
  animation: dropZoneScanLine 2.6s linear infinite;
}

.drop-zone.has-file .drop-zone-ghost-genie {
  opacity: var(--ghost-ready-opacity, 0.18);
}

.drop-zone.has-file .drop-zone-ghost-image {
  opacity: 0.7;
  animation: dropZoneGhostIdle 4.8s ease-in-out infinite;
}

.drop-zone.is-drag-active .drop-top-pill {
  border-color: rgba(122, 246, 255, 0.2);
  background: rgba(14, 28, 56, 0.84);
  color: #effaff;
}

.drop-zone.has-file .drop-top-pill {
  border-color: rgba(122, 246, 255, 0.12);
  background: rgba(11, 28, 43, 0.76);
  color: #e9f8ff;
}

.drop-zone:hover .drop-zone-glow {
  opacity: 0.96;
}

.drop-zone:hover .drop-zone-floor-glow {
  opacity: 0.84;
}

.drop-zone:hover .drop-zone-keyword {
  color: rgba(198, 230, 255, 0.06);
}

.drop-zone.is-drag-active .drop-zone-glow {
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), rgba(126, 169, 255, 0.13) 42%, transparent 76%);
  box-shadow: 0 0 40px rgba(122, 246, 255, 0.1);
}

.drop-zone.is-drag-active .drop-zone-column {
  opacity: 0.72;
}

.drop-zone.is-drag-active .drop-zone-ring,
.drop-zone.is-drag-active .drop-zone-halo {
  border-color: rgba(122, 246, 255, 0.16);
  box-shadow: 0 0 24px rgba(122, 246, 255, 0.06);
}

.drop-zone.is-drag-active .drop-zone-particles-back .magic-particle,
.drop-zone.is-drag-active .drop-zone-particles-front .magic-particle {
  opacity: calc(var(--opacity) + 0.18);
}

.drop-zone.is-drag-active .drop-zone-keyword {
  color: rgba(208, 238, 255, 0.075);
  text-shadow:
    0 0 10px rgba(122, 246, 255, 0.03),
    0 0 26px rgba(126, 169, 255, 0.02);
}

.drop-zone.has-file .drop-zone-floor-glow {
  opacity: 0.9;
}

.drop-zone.has-file .drop-zone-ring,
.drop-zone.has-file .drop-zone-halo {
  border-color: rgba(122, 246, 255, 0.12);
}

.drop-zone.has-file .drop-zone-keyword {
  color: rgba(204, 235, 255, 0.055);
}

.drop-zone-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.drop-zone-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 620px;
  padding-right: 180px;
  position: relative;
}

.drop-zone-copy::after {
  content: "";
  position: absolute;
  top: -12px;
  right: 140px;
  width: 1px;
  height: calc(100% + 24px);
  background: linear-gradient(180deg, transparent, rgba(122, 246, 255, 0.08), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.drop-zone-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drop-zone-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.drop-top-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background: rgba(12, 23, 45, 0.74);
  color: #d9eeff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drop-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.32s ease, text-shadow 0.32s ease, color 0.32s ease;
}

.drop-sub,
.file-name,
.compliance-sub,
.insight-sub,
.locked-sub,
.opportunity-item,
.quota-warning-text,
.pack-copy,
.pricing-copy,
.pricing-status,
.analysis-memo,
.snapshot-narrative {
  color: var(--muted);
}

.file-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(140, 191, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(38, 58, 107, 0.98), rgba(27, 43, 80, 0.94)),
    radial-gradient(circle at top, rgba(122, 246, 255, 0.1), transparent 42%);
  color: #eef5ff;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.file-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.96), rgba(126, 169, 255, 0.96));
  box-shadow: 0 0 14px rgba(122, 246, 255, 0.22);
  flex: 0 0 auto;
}

.file-name {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.32s ease, color 0.32s ease, opacity 0.32s ease;
}

.drop-zone.has-file .file-name {
  display: block;
  width: 100%;
  max-width: min(100%, 520px);
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background: rgba(11, 24, 41, 0.72);
  color: #eaf8ff;
  box-shadow: 0 10px 20px rgba(122, 246, 255, 0.05);
}

.drop-zone-cta-row {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  max-width: min(100%, 520px);
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 26, 48, 0.86), rgba(8, 13, 29, 0.95)),
    radial-gradient(circle at top left, rgba(122, 246, 255, 0.04), transparent 40%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 30px rgba(0, 0, 0, 0.16);
}

.drop-zone-cta-row.is-visible {
  animation: uploadReceiptReveal 0.52s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.drop-zone-cta-note {
  color: #dbeaff;
  font-size: 13px;
  line-height: 1.55;
}

.drop-zone-cta-btn {
  width: fit-content;
  min-width: 220px;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.98), rgba(126, 169, 255, 0.96));
  color: #06111d;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  box-shadow:
    0 16px 30px rgba(122, 246, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.drop-zone-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(122, 246, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: brightness(1.03);
}

.drop-zone-cta-btn:disabled {
  opacity: 0.74;
  cursor: wait;
  transform: none;
}

.drop-zone.is-drop-success {
  border-color: rgba(122, 246, 255, 0.42);
  transform: translateY(-2px) scale(1.01);
  background:
    linear-gradient(180deg, rgba(12, 24, 42, 0.92), rgba(8, 13, 29, 0.97)),
    radial-gradient(circle at top, rgba(122, 246, 255, 0.12), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 60px rgba(122, 246, 255, 0.12),
    0 0 0 1px rgba(122, 246, 255, 0.12);
}

.drop-zone.is-drop-success::before {
  opacity: 1;
  transform: scale(1.02);
  animation: uploadHaloPulse 1.2s ease-out 1;
}

.drop-zone.is-drop-success::after {
  opacity: 0.9;
  animation: uploadSuccessSweep 1s ease-out 1;
}

.drop-zone.is-drop-success .drop-zone-scanline {
  opacity: 1;
  animation: dropZoneScanSuccess 0.85s ease-out 1;
}

.drop-zone.is-drop-success .drop-zone-ghost-genie {
  opacity: var(--ghost-success-opacity, 0.26);
  animation: dropZoneGhostTraverseAcross 1.2s cubic-bezier(0.2, 0.84, 0.22, 1) 1;
}

.drop-zone.is-drop-success .drop-zone-ghost-glow {
  animation: dropZoneGhostSuccessGlow 0.9s ease-out 1;
}

.drop-zone.is-drop-success .drop-zone-ghost-image {
  opacity: 0.88;
  animation: dropZoneGhostSuccess 1s cubic-bezier(0.2, 0.84, 0.22, 1) 1;
}

.drop-zone.is-drop-success .drop-zone-glow {
  opacity: 1;
  transform: translateX(-50%) scale(1.06);
}

.drop-zone.is-drop-success .drop-zone-floor-glow {
  opacity: 1;
}

.drop-zone.is-drop-success .drop-zone-column {
  opacity: 0.82;
}

.drop-zone.is-drop-success .drop-zone-ring,
.drop-zone.is-drop-success .drop-zone-halo {
  border-color: rgba(122, 246, 255, 0.16);
  box-shadow: 0 0 24px rgba(122, 246, 255, 0.08);
}

.drop-zone.is-drop-success .drop-zone-particles-back .magic-particle,
.drop-zone.is-drop-success .drop-zone-particles-front .magic-particle {
  opacity: calc(var(--opacity) + 0.2);
}

.drop-zone.is-drop-success .drop-zone-keyword {
  color: rgba(214, 242, 255, 0.08);
  text-shadow:
    0 0 10px rgba(122, 246, 255, 0.04),
    0 0 32px rgba(126, 169, 255, 0.03);
}

.drop-zone-capture-badge.is-visible,
.drop-zone.is-drop-success .drop-zone-capture-badge {
  animation: dropZoneBadgeIn 0.6s cubic-bezier(0.2, 0.84, 0.22, 1) both;
}

.drop-zone.is-drop-success .drop-title {
  color: #f2fbff;
  transform: translateY(-3px);
  text-shadow: 0 0 28px rgba(122, 246, 255, 0.22);
}

.drop-zone.is-drop-success .drop-top-pill {
  border-color: rgba(122, 246, 255, 0.18);
  background: rgba(11, 31, 44, 0.84);
  color: #ebf9ff;
}

.drop-zone.is-drop-success .drop-zone-copy {
  animation: uploadCopyLift 0.72s cubic-bezier(0.2, 0.84, 0.22, 1) 1;
}

.drop-zone.is-drop-success .file-label {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 14px 28px rgba(122, 246, 255, 0.14),
    0 0 0 1px rgba(122, 246, 255, 0.12);
  filter: brightness(1.05);
}

.drop-zone.is-drop-success .file-name {
  color: #e8f8ff;
  transform: translateY(2px);
}

.drop-zone.has-file .drop-zone-cta-row {
  border-color: rgba(122, 246, 255, 0.16);
}

.drop-zone.has-file .drop-zone-cta-btn {
  animation: uploadCtaPulse 2.2s ease-in-out infinite;
}

#imageInput {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.upload-receipt {
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(11, 24, 45, 0.82), rgba(8, 17, 33, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.16);
}

.upload-receipt.is-revealed {
  animation: uploadReceiptReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.upload-receipt-kicker {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.upload-receipt-title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
}

.upload-receipt-copy {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.field {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 18, 37, 0.94), rgba(8, 13, 28, 0.96));
  color: var(--text);
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.field:focus {
  border-color: rgba(122, 246, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(122, 246, 255, 0.08);
  transform: translateY(-1px);
}

.preview-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 24px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 13, 27, 0.94), rgba(5, 9, 19, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px rgba(0, 0, 0, 0.22);
}

.preview-image.is-revealed {
  animation: previewLiftIn 0.72s cubic-bezier(0.18, 0.84, 0.24, 1) both;
}

.generate-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: center;
}

.generate-btn {
  padding: 17px 18px;
}

.generate-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.status-box,
.notes-box,
.quota-warning,
.pricing-status {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 15px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.status-box {
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.88), rgba(8, 13, 28, 0.94));
  color: #e3edff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.loader-ring {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  color: var(--muted);
}

.analysis-progress {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(11, 22, 43, 0.84), rgba(8, 13, 29, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.16);
}

.analysis-progress-head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.analysis-progress-kicker,
.pricing-primer-label,
.result-command-kicker,
.trust-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.analysis-progress-lead {
  color: #edf5ff;
  font-size: 14px;
  line-height: 1.62;
}

.analysis-progress-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.analysis-progress-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 39, 0.78), rgba(8, 13, 28, 0.9));
  color: var(--muted);
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.analysis-progress-step.is-active {
  border-color: rgba(122, 246, 255, 0.2);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08));
  color: #eef8ff;
}

.analysis-progress-step.is-complete {
  border-color: rgba(122, 246, 255, 0.22);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.12), rgba(126, 169, 255, 0.08));
  color: #e8f8ff;
}

.analysis-progress-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.analysis-progress-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.bulk-studio {
  position: relative;
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(11, 19, 37, 0.92), rgba(7, 12, 27, 0.98));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 46px rgba(0, 0, 0, 0.18);
}

.bulk-studio::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.14), rgba(126, 169, 255, 0.06), transparent 74%);
  filter: blur(12px);
  pointer-events: none;
}

.bulk-studio.is-locked .bulk-studio-body {
  filter: blur(3px);
  opacity: 0.42;
  pointer-events: none;
}

.bulk-studio-head,
.bulk-actions,
.bulk-upload-row {
  position: relative;
  z-index: 1;
}

.bulk-studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bulk-studio-kicker,
.bulk-item-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bulk-studio-head h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  line-height: 1.14;
}

.bulk-studio-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.bulk-studio-badge {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background: rgba(122, 246, 255, 0.08);
  color: #e8fbff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bulk-studio.is-unlocked .bulk-studio-badge {
  border-color: rgba(122, 246, 255, 0.22);
  box-shadow: 0 0 24px rgba(122, 246, 255, 0.12);
}

.bulk-studio-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.bulk-drop-surface {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 18px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(122, 246, 255, 0.22);
  background:
    radial-gradient(circle at right center, rgba(122, 246, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(12, 21, 41, 0.92), rgba(8, 14, 31, 0.96));
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.bulk-drop-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(122, 246, 255, 0.2), transparent 0 28%),
    radial-gradient(circle at 82% 60%, rgba(126, 169, 255, 0.12), transparent 0 18%);
  opacity: 0.85;
  pointer-events: none;
}

.bulk-studio.is-drag-active .bulk-drop-surface,
.bulk-studio.has-files .bulk-drop-surface {
  border-color: rgba(122, 246, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(122, 246, 255, 0.08), 0 18px 36px rgba(7, 24, 51, 0.34);
}

.bulk-studio.is-drag-active .bulk-drop-surface {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at right center, rgba(122, 246, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(14, 26, 50, 0.96), rgba(8, 14, 31, 0.98));
}

.bulk-studio.is-running .bulk-drop-surface {
  border-color: rgba(122, 246, 255, 0.28);
}

.bulk-drop-copy,
.bulk-drop-pills {
  position: relative;
  z-index: 1;
}

.bulk-drop-title {
  color: var(--muted-strong);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.bulk-drop-text {
  margin-top: 6px;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.62;
}

.bulk-drop-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bulk-drop-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background: rgba(122, 246, 255, 0.08);
  color: #ebfcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulk-drop-pill-secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.bulk-upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#bulkInput,
#bulkFolderInput {
  display: none;
}

.bulk-count {
  color: var(--muted-strong);
  line-height: 1.5;
  font-weight: 700;
}

.bulk-upload-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bulk-estimate {
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.bulk-clear-btn {
  margin-left: auto;
}

.bulk-clear-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.bulk-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bulk-summary-card {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(11, 19, 37, 0.94), rgba(8, 14, 31, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bulk-summary-card::after {
  content: "";
  position: absolute;
  inset: auto -16px -22px auto;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.14), transparent 72%);
  pointer-events: none;
}

.bulk-summary-value {
  position: relative;
  z-index: 1;
  color: var(--muted-strong);
  font-size: clamp(1.4rem, 1.8vw, 1.95rem);
  font-weight: 800;
  line-height: 1;
}

.bulk-summary-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.bulk-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bulk-queue-title {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulk-queue-state {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulk-queue {
  display: grid;
  gap: 10px;
}

.bulk-empty-state {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(122, 246, 255, 0.18);
  background: rgba(8, 14, 31, 0.78);
  color: var(--muted);
  line-height: 1.68;
}

.bulk-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 14, 31, 0.9);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.bulk-item.is-running {
  border-color: rgba(122, 246, 255, 0.18);
  background: linear-gradient(180deg, rgba(18, 31, 57, 0.92), rgba(8, 14, 31, 0.94));
}

.bulk-item.is-success {
  border-color: rgba(122, 246, 255, 0.14);
}

.bulk-item.is-error {
  border-color: rgba(255, 124, 153, 0.16);
}

.bulk-item-copy {
  min-width: 0;
}

.bulk-item-media {
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 31, 57, 0.96), rgba(8, 14, 31, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bulk-item-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bulk-item-index {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(6, 11, 23, 0.74);
  border: 1px solid rgba(122, 246, 255, 0.18);
  color: #f3fcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bulk-item-name {
  margin-top: 6px;
  color: var(--muted-strong);
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.bulk-item-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.bulk-item-status {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulk-item-status.is-running {
  border-color: rgba(122, 246, 255, 0.22);
  background: rgba(122, 246, 255, 0.08);
}

.bulk-item-status.is-success {
  border-color: rgba(122, 246, 255, 0.18);
  background: rgba(122, 246, 255, 0.06);
}

.bulk-item-status.is-error {
  border-color: rgba(255, 124, 153, 0.22);
  background: rgba(255, 124, 153, 0.08);
}

.bulk-progress-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.bulk-progress-label {
  color: var(--muted);
  line-height: 1.6;
}

.bulk-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7af6ff, #7ea9ff);
  transition: width 0.28s ease;
}

.bulk-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.bulk-meta {
  color: var(--muted);
  line-height: 1.68;
}

.bulk-run-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.bulk-locked-overlay {
  position: absolute;
  inset: 18px;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(6, 11, 23, 0.64);
  border: 1px solid rgba(122, 246, 255, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.bulk-studio.is-locked .bulk-locked-overlay {
  opacity: 1;
  pointer-events: auto;
}

.bulk-studio.is-running::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(122, 246, 255, 0.08) 34%, transparent 56%);
  transform: translateX(-100%);
  animation: bulkSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

.bulk-locked-title {
  color: var(--muted-strong);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
}

.bulk-locked-text {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.7;
}

.snapshot-card,
.opportunity-card {
  min-height: fit-content;
}

.snapshot-head {
  margin-bottom: 12px;
}

.snapshot-narrative {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 24, 45, 0.78), rgba(8, 17, 33, 0.9));
  line-height: 1.58;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(0, 0, 0, 0.14);
}

.compliance-list {
  display: grid;
  gap: 10px;
}

.compliance-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.compliance-item.is-ok {
  border-color: rgba(122, 246, 255, 0.24);
  background: rgba(9, 24, 36, 0.76);
}

.compliance-item.is-warning {
  border-color: rgba(255, 201, 119, 0.28);
  background: rgba(40, 29, 12, 0.76);
}

.compliance-name {
  font-size: 15px;
  font-weight: 800;
}

.metric-pill.is-danger {
  color: #240d13;
  background: var(--danger);
  border-color: transparent;
}

.metric-pill.is-warning {
  color: #291700;
  background: var(--warning);
  border-color: transparent;
}

.metric-pill.is-success {
  color: #081a12;
  background: var(--green);
  border-color: transparent;
}

.quota-warning {
  margin-top: 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(255, 201, 119, 0.24);
  background: linear-gradient(180deg, rgba(48, 33, 12, 0.82), rgba(38, 27, 10, 0.9));
}

.quota-warning-title,
.locked-title {
  color: #fff2d3;
  font-weight: 800;
}

.quota-warning-text {
  color: #ffe8bc;
}

.notes-box {
  margin-top: 14px;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background: rgba(9, 24, 35, 0.76);
  color: #d8fbff;
}

.notes-box strong {
  display: block;
  margin-bottom: 8px;
  color: #aef7ff;
}

.validation-group + .validation-group {
  margin-top: 12px;
}

.validation-line + .validation-line {
  margin-top: 6px;
}

.opportunity-card {
  overflow: hidden;
}

.opportunity-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.opportunity-item {
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
}

.opportunity-item.is-unlocked {
  color: #e6f8ff;
  border-color: rgba(122, 246, 255, 0.2);
  background: rgba(10, 24, 38, 0.74);
}

.opportunity-item.is-locked {
  color: #e9f0ff;
}

.opportunity-btn {
  margin-top: 16px;
}

.opportunity-card.is-focused {
  border-color: rgba(161, 134, 255, 0.34);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(161, 134, 255, 0.18),
    0 0 36px rgba(161, 134, 255, 0.15);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.result-command-panel {
  margin-bottom: 18px;
}

.decision-bar {
  margin-bottom: 18px;
}

.decision-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at top left, rgba(122, 246, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(13, 20, 39, 0.94), rgba(8, 13, 29, 0.985));
}

.decision-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.decision-kicker,
.decision-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.decision-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.decision-card p,
.decision-action-copy {
  color: var(--muted);
  line-height: 1.66;
}

.decision-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.decision-metric {
  min-height: 132px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.decision-value {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
  color: #eef5ff;
}

.decision-metric-action {
  grid-column: span 2;
}

.decision-action-copy {
  margin-top: 10px;
  font-size: 15px;
}

.result-command-card {
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(161, 134, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 22, 42, 0.94), rgba(8, 13, 29, 0.99));
}

.result-command-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.result-command-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 46%),
    rgba(122, 246, 255, 0.12);
  color: #ebfbff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.result-command-cell {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.84), rgba(8, 13, 29, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.result-command-value {
  margin-top: 10px;
  color: #edf5ff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.result-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.result-command-action {
  width: auto;
  min-width: 220px;
  margin-top: 0;
}

.insight-card {
  min-height: 212px;
  background:
    linear-gradient(180deg, rgba(14, 22, 42, 0.92), rgba(8, 13, 28, 0.98));
}

.insight-value {
  margin-top: 12px;
  margin-bottom: 12px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
}

.insight-copy {
  color: #e7efff;
  line-height: 1.7;
}

.potential-strong {
  color: #8ef7cb;
}

.potential-promising {
  color: #ffe1a0;
}

.potential-low {
  color: #ffb2c2;
}

.potential-neutral {
  color: #d6e4ff;
}

.analysis-panel {
  margin-bottom: 18px;
}

.product-fit-panel {
  margin-bottom: 18px;
}

.product-fit-card {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.12), transparent 30%),
    radial-gradient(circle at top left, rgba(159, 132, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 22, 42, 0.95), rgba(8, 13, 29, 0.99));
}

.product-fit-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.product-fit-head {
  margin-bottom: 16px;
}

.product-fit-kicker {
  margin-bottom: 10px;
  color: #b8dbff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-fit-hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(12, 21, 42, 0.92), rgba(8, 13, 29, 0.98));
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    0 0 36px rgba(122, 246, 255, 0.12);
}

.product-fit-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% 35%;
  height: 200px;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.product-fit-hero-badge {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(122, 246, 255, 0.12);
  border: 1px solid rgba(122, 246, 255, 0.16);
  color: #e4fdff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-fit-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-top: 16px;
}

.product-fit-hero-name {
  font-family: "Fraunces", "Sora", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.product-fit-hero-reason {
  margin-top: 10px;
  color: #d8ecff;
  line-height: 1.65;
  max-width: 32ch;
}

.product-fit-hero-score-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.product-fit-hero-score,
.product-fit-hero-score-suffix {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1;
}

.product-fit-hero-score {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.product-fit-hero-score-suffix {
  font-size: 1.3rem;
  color: #d7efff;
}

.product-fit-hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-fit-hero-meta-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 46%),
    rgba(10, 17, 35, 0.66);
}

.product-fit-meta-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-fit-meta-value {
  margin-top: 10px;
  color: #eef5ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.product-fit-genie-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(11, 21, 40, 0.88), rgba(8, 13, 29, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.product-fit-genie-label {
  color: #b8dbff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-fit-genie-commentary {
  margin-top: 10px;
  color: #eef5ff;
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

.product-fit-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(90deg, rgba(255, 127, 159, 0.08), rgba(255, 213, 122, 0.08), rgba(122, 246, 255, 0.08));
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-fit-legend-mid {
  text-align: center;
}

.product-fit-legend-high {
  text-align: right;
}

.product-fit-list {
  display: grid;
  gap: 12px;
}

.product-fit-row {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(12, 20, 39, 0.88), rgba(8, 13, 29, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.product-fit-row.is-top {
  border-color: rgba(122, 246, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 36px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(122, 246, 255, 0.1);
}

.product-fit-row.is-best {
  transform: translateY(-2px) scale(1.01);
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(13, 24, 46, 0.94), rgba(8, 13, 29, 0.99));
}

.product-fit-row.is-best::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.42), rgba(126, 169, 255, 0.1), rgba(255, 191, 110, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-fit-row.is-best .product-fit-badge {
  background: rgba(122, 246, 255, 0.16);
  border-color: rgba(122, 246, 255, 0.26);
  color: #f0fdff;
}

.product-fit-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.product-fit-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-fit-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.product-fit-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(122, 246, 255, 0.1);
  border: 1px solid rgba(122, 246, 255, 0.16);
  color: #ddfbff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-fit-score {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.product-fit-track {
  position: relative;
  overflow: hidden;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 124, 155, 0.18) 0%, rgba(255, 191, 110, 0.16) 28%, rgba(255, 226, 135, 0.16) 48%, rgba(147, 245, 188, 0.16) 72%, rgba(122, 246, 255, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-fit-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(255, 255, 255, 0.1) calc(20% - 1px), rgba(255, 255, 255, 0.1) 20%, transparent 20%, transparent calc(40% - 1px), rgba(255, 255, 255, 0.1) calc(40% - 1px), rgba(255, 255, 255, 0.1) 40%, transparent 40%, transparent calc(60% - 1px), rgba(255, 255, 255, 0.1) calc(60% - 1px), rgba(255, 255, 255, 0.1) 60%, transparent 60%, transparent calc(80% - 1px), rgba(255, 255, 255, 0.1) calc(80% - 1px), rgba(255, 255, 255, 0.1) 80%, transparent 80%);
  pointer-events: none;
}

.product-fit-fill {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7d9e 0%, #ffb16d 24%, #ffe087 48%, #9df3be 72%, #7af6ff 100%);
  box-shadow:
    0 0 16px color-mix(in srgb, var(--fit-color-end, #7ea9ff) 40%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-fit-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 52%);
  mix-blend-mode: screen;
}

.product-fit-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.product-fit-reason {
  color: #e7efff;
  line-height: 1.62;
  flex: 1;
}

.product-fit-note {
  color: var(--muted-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.analysis-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(14, 22, 42, 0.94), rgba(8, 13, 29, 0.985));
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.analysis-cell {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 39, 0.86), rgba(8, 13, 29, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.analysis-value {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.analysis-memo {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 25, 46, 0.8), rgba(8, 18, 34, 0.9));
  line-height: 1.72;
}

.analysis-colors {
  margin-bottom: 14px;
  padding: 15px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(12, 20, 39, 0.84), rgba(8, 13, 29, 0.92));
  color: var(--muted);
  line-height: 1.65;
}

.results-grid {
  display: grid;
  gap: 20px;
}

.results-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.results-column {
  display: grid;
  gap: 16px;
}

.result-card {
  position: relative;
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.result-head h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.copy-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 44%),
    rgba(26, 41, 77, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 13px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 22px rgba(0, 0, 0, 0.16);
}

.result-box {
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(12, 20, 40, 0.9), rgba(8, 13, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #e7efff;
  line-height: 1.78;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.16);
}

.title-box {
  min-height: 108px;
  font-family: "Fraunces", "Sora", serif;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.description-box {
  min-height: 180px;
}

.tags-box {
  min-height: 150px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 44%),
    rgba(122, 246, 255, 0.09);
  border: 1px solid rgba(122, 246, 255, 0.18);
  color: #dffcff;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-card {
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 48%, rgba(242, 211, 165, 0.05) 60%, transparent 76%);
  animation: premiumSweep 7.5s linear infinite;
  pointer-events: none;
}

.premium-blur-wrap {
  position: relative;
}

.blurred-content {
  filter: blur(4px);
  opacity: 0.68;
  user-select: none;
}

.locked-overlay {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 21, 40, 0.82), rgba(8, 13, 29, 0.9));
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.22);
}

.locked-overlay .inline-upgrade-btn {
  width: fit-content;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
    rgba(30, 46, 84, 0.94);
  color: #ebf4ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.reveal-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-section {
  display: grid;
  gap: 22px;
  margin-top: 36px;
  padding-bottom: 32px;
}

.pricing-head,
.pricing-subhead {
  max-width: none;
}

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.pricing-head-copy {
  max-width: 780px;
}

.pricing-head-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-self: start;
}

.pricing-head-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 44%),
    rgba(10, 17, 34, 0.82);
  color: #e8f2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-head-pill-premium {
  border-color: rgba(122, 246, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.14), rgba(126, 169, 255, 0.12));
  box-shadow:
    0 18px 36px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-primer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-primer-card,
.trust-item {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(13, 20, 39, 0.88), rgba(8, 13, 28, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.16);
}

.pricing-primer-value,
.trust-value {
  margin-top: 8px;
  color: #edf5ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.pricing-primer-copy,
.trust-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-genie-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  margin: -4px 0 2px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    radial-gradient(circle at 85% 18%, rgba(122, 246, 255, 0.12), transparent 24%),
    radial-gradient(circle at 10% 0%, rgba(161, 134, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(15, 24, 47, 0.96), rgba(8, 13, 29, 0.99));
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(122, 246, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-genie-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-genie-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.5rem, 1.9vw, 2.2rem);
  line-height: 1.08;
}

.pricing-genie-card p {
  margin: 0;
  color: #d8e8ff;
  line-height: 1.7;
}

.pricing-genie-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-genie-meta-card {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 31, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-genie-meta-label {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-genie-meta-value {
  margin-top: 10px;
  color: #f2f7ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
}

.pricing-card,
.pack-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 22, 42, 0.94), rgba(8, 13, 29, 0.985));
}

.pricing-card::after,
.pack-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(122, 246, 255, 0.04), rgba(126, 169, 255, 0.24), rgba(161, 134, 255, 0.24));
}

.pricing-card.is-featured {
  border-color: rgba(122, 246, 255, 0.28);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(122, 246, 255, 0.12),
    0 0 40px rgba(122, 246, 255, 0.12);
}

.pricing-card.is-value {
  border-color: rgba(242, 211, 165, 0.28);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(242, 211, 165, 0.12),
    0 0 42px rgba(242, 211, 165, 0.12);
}

.pricing-card.is-current {
  border-color: rgba(122, 246, 255, 0.24);
}

.pricing-card:not(.is-featured):not(.is-value):not(.is-current) {
  opacity: 0.9;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 22px 20px;
  gap: 0;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

.pricing-card-free {
  opacity: 0.84;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.92), rgba(7, 12, 24, 0.98));
}

.pricing-card-starter {
  border-color: rgba(126, 169, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(126, 169, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card-pro {
  z-index: 1;
  transform: scale(1.042);
  background:
    radial-gradient(circle at 82% 14%, rgba(122, 246, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(18, 29, 58, 0.98), rgba(8, 13, 29, 0.995));
}

.pricing-card-pro-max {
  background:
    radial-gradient(circle at 86% 12%, rgba(242, 211, 165, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(18, 25, 49, 0.98), rgba(8, 13, 29, 0.995));
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card-pro:hover {
  transform: scale(1.042) translateY(-4px);
}

.pricing-tier-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.pricing-price,
.pack-price {
  margin-top: 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-faint);
}

.accent-badge {
  background: rgba(122, 246, 255, 0.14);
  border-color: rgba(122, 246, 255, 0.24);
}

.pricing-badge-soft {
  background: rgba(126, 169, 255, 0.12);
  border-color: rgba(126, 169, 255, 0.2);
  color: #e5eeff;
}

.value-badge {
  background: var(--champagne-soft);
  border-color: rgba(242, 211, 165, 0.26);
  color: #fff0d3;
}

.pricing-credit-line,
.pack-name {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 9px;
  color: #f4f8ff;
}

.pricing-role {
  margin-top: 8px;
  color: #d9e9ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-outcome {
  margin-bottom: 10px;
  color: #f0f6ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-card .pricing-copy {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.58;
  font-size: 13px;
}

.pack-offer-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 15px;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(12, 24, 46, 0.84), rgba(8, 14, 30, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

.pack-genie-visual {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), rgba(122, 246, 255, 0.08) 32%, rgba(126, 169, 255, 0.06) 56%, rgba(7, 12, 25, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 24, 46, 0.9), rgba(10, 15, 31, 0.96));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pack-genie-aura {
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.2), rgba(126, 169, 255, 0.1), transparent 72%);
  filter: blur(6px);
  animation: auraPulse 4s ease-in-out infinite;
}

.pack-genie-image {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter:
    saturate(0.94)
    contrast(1.05)
    brightness(1.02)
    drop-shadow(0 0 8px rgba(122, 246, 255, 0.12))
    drop-shadow(0 0 16px rgba(126, 169, 255, 0.12));
  animation: packGenieFloat 4.8s ease-in-out infinite;
}

.pack-offer-copy {
  display: grid;
  gap: 4px;
}

.pack-offer-label {
  color: #9ad9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-offer-value {
  color: #f1fbff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.pack-offer-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pack-total-line {
  margin-bottom: 12px;
  color: #dff6ff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pack-genie-copy {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 24, 45, 0.74), rgba(8, 17, 33, 0.86));
  color: #ddf7ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.14);
}

.pricing-copy,
.pack-copy {
  line-height: 1.65;
  margin-bottom: 16px;
  font-size: 14px;
}

.pack-card {
  border-color: rgba(122, 246, 255, 0.12);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pack-card.is-pack-subtle {
  opacity: 0.9;
}

.pack-card.is-pack-value {
  border-color: rgba(242, 211, 165, 0.18);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(242, 211, 165, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pack-card.is-recommended {
  z-index: 1;
  transform: scale(1.035);
  border-color: rgba(122, 246, 255, 0.28);
  background:
    radial-gradient(circle at 82% 14%, rgba(122, 246, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(18, 29, 58, 0.98), rgba(8, 13, 29, 0.995));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(122, 246, 255, 0.14),
    0 0 52px rgba(122, 246, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pack-card.is-recommended::after {
  height: 5px;
  background: linear-gradient(90deg, rgba(122, 246, 255, 0.24), rgba(126, 169, 255, 0.9), rgba(161, 134, 255, 0.66));
}

.pack-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at top right, rgba(122, 246, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.pricing-features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: #eaf2ff;
}

.pricing-features li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
  font-size: 13px;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(122, 246, 255, 0.28);
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.checkout-consent-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid rgba(122, 246, 255, 0.14);
  background:
    radial-gradient(circle at 82% 16%, rgba(122, 246, 255, 0.12), transparent 24%),
    radial-gradient(circle at 10% 0%, rgba(161, 134, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(14, 22, 43, 0.98), rgba(8, 13, 28, 0.995));
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(122, 246, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.checkout-consent-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -55% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.checkout-consent-card.is-required {
  border-color: rgba(126, 169, 255, 0.18);
}

.checkout-consent-card.is-ready {
  border-color: rgba(122, 246, 255, 0.28);
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(122, 246, 255, 0.12),
    0 0 38px rgba(122, 246, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.checkout-consent-head {
  position: relative;
  z-index: 1;
}

.checkout-consent-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checkout-consent-head h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.5rem, 1.8vw, 2.15rem);
  line-height: 1.08;
}

.checkout-consent-head p {
  margin: 0;
  max-width: 74ch;
  color: #dcecff;
  line-height: 1.72;
}

.checkout-consent-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.checkout-consent-item {
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.checkout-consent-item:hover {
  transform: translateY(-2px);
}

.checkout-consent-item.is-checked {
  border-color: rgba(122, 246, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(14, 28, 54, 0.86), rgba(8, 15, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(122, 246, 255, 0.06);
}

.checkout-consent-checkbox {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  accent-color: #7af6ff;
  flex: 0 0 18px;
}

.checkout-consent-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.checkout-consent-title {
  color: #f2f7ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-consent-text {
  color: #bcd2ef;
  font-size: 13px;
  line-height: 1.65;
}

.checkout-consent-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-top: 18px;
}

.checkout-consent-status {
  min-width: 0;
  flex: 1 1 320px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(126, 169, 255, 0.16);
  background: rgba(10, 20, 38, 0.78);
  color: #d9e8ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-consent-status.is-ready {
  border-color: rgba(122, 246, 255, 0.2);
  background: rgba(8, 25, 35, 0.84);
  color: #e6fdff;
}

.checkout-consent-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.checkout-consent-links a {
  color: #9cc8ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-consent-links a:hover {
  color: #d7f7ff;
}

.checkout-btn.is-armed {
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    0 0 28px rgba(122, 246, 255, 0.14);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pack-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.pack-card .pricing-cta {
  margin-top: auto;
}

.pack-momentum-section {
  margin: 0 0 18px;
}

.pack-momentum-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    radial-gradient(circle at 82% 18%, rgba(122, 246, 255, 0.14), transparent 26%),
    radial-gradient(circle at 12% 0%, rgba(161, 134, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(17, 27, 52, 0.98), rgba(8, 13, 28, 0.995));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(122, 246, 255, 0.08),
    0 0 42px rgba(122, 246, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pack-momentum-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -55% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.18), transparent 66%);
  pointer-events: none;
}

.pack-momentum-head {
  position: relative;
  z-index: 1;
}

.pack-momentum-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pack-momentum-head h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 2vw, 2.45rem);
  line-height: 1.02;
}

.pack-momentum-head p {
  margin: 0;
  max-width: 68ch;
  color: #dcecff;
  line-height: 1.72;
}

.pack-momentum-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.pack-momentum-stat {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pack-momentum-stat-label {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-momentum-stat-value {
  margin-top: 10px;
  color: #f2f7ff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
}

.pack-momentum-recommendation {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 23, 45, 0.9), rgba(8, 14, 30, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.pack-momentum-recommendation-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pack-momentum-recommendation-copy {
  margin-top: 10px;
  color: #eff7ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.pack-momentum-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pack-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pack-eyebrow,
.pack-choice-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background: rgba(122, 246, 255, 0.07);
  color: #e8fbff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pack-choice-badge {
  border-color: rgba(161, 134, 255, 0.24);
  background: rgba(161, 134, 255, 0.12);
  color: #f3ebff;
}

.pack-choice-badge-value {
  border-color: rgba(242, 211, 165, 0.24);
  background: rgba(242, 211, 165, 0.1);
  color: #fff2d6;
}

.pricing-status {
  border: 1px solid rgba(122, 246, 255, 0.16);
  background: rgba(9, 24, 35, 0.76);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 6px 0 30px;
}

.story-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.story-toggle-btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 16px;
}

.founder-story-panel.is-collapsed .story-card p:nth-of-type(n + 3) {
  display: none;
}

.founder-story-panel.is-collapsed .story-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(6, 10, 21, 0), rgba(6, 10, 21, 0.92));
  pointer-events: none;
}

.post-payment-banner,
.journey-panel,
.history-section,
.anti-churn-section,
.recovery-section {
  margin-top: 18px;
}

.post-payment-card,
.journey-card,
.progression-card,
.history-card,
.anti-churn-card,
.recovery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft), var(--surface-highlight), var(--surface-outline);
}

.post-payment-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.13), transparent 24%),
    linear-gradient(180deg, rgba(20, 31, 57, 0.96), rgba(8, 13, 28, 0.985));
}

.post-payment-kicker,
.journey-step-kicker,
.history-item-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-payment-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.04;
}

.post-payment-card p,
.journey-tip,
.progression-narrative,
.history-meta,
.recovery-recommendation,
.history-empty {
  color: var(--muted);
  line-height: 1.7;
}

.post-payment-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.post-payment-badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.24);
  background: rgba(122, 246, 255, 0.08);
  color: #dffcff;
  font-weight: 700;
}

.journey-card,
.progression-card,
.history-card,
.anti-churn-card,
.recovery-card {
  padding: 22px;
}

.anti-churn-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.12), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(116, 148, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(16, 25, 50, 0.98), rgba(7, 11, 24, 0.99));
}

.anti-churn-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -52% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.16), rgba(122, 246, 255, 0));
  pointer-events: none;
}

.anti-churn-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.anti-churn-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anti-churn-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.anti-churn-head p,
.anti-churn-recommendation {
  color: var(--muted);
  line-height: 1.7;
}

.anti-churn-badge {
  align-self: start;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background: rgba(122, 246, 255, 0.08);
  color: #e9fdff;
  font-weight: 800;
}

.anti-churn-badge.is-medium {
  border-color: rgba(130, 152, 255, 0.24);
  background: rgba(130, 152, 255, 0.12);
}

.anti-churn-badge.is-high {
  border-color: rgba(255, 181, 97, 0.28);
  background: rgba(255, 181, 97, 0.14);
  color: #fff2df;
}

.anti-churn-badge.is-critical {
  border-color: rgba(255, 118, 162, 0.32);
  background: rgba(255, 118, 162, 0.14);
  color: #ffe6ee;
}

.anti-churn-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.anti-churn-meter-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.anti-churn-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6cf0ff 0%, #74a4ff 48%, #a280ff 100%);
  box-shadow: 0 0 18px rgba(122, 246, 255, 0.26);
  transition: width 0.45s ease, filter 0.3s ease;
}

.anti-churn-meter-fill.is-high {
  background: linear-gradient(90deg, #77cfff 0%, #8a9dff 45%, #ffb370 100%);
}

.anti-churn-meter-fill.is-critical {
  background: linear-gradient(90deg, #7fdfff 0%, #80a0ff 38%, #ff7aa0 100%);
}

.anti-churn-meter-value {
  color: var(--muted-strong);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.anti-churn-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.anti-churn-stat {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 17, 35, 0.74);
}

.anti-churn-stat-label {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.anti-churn-stat-value {
  margin-top: 10px;
  color: var(--muted-strong);
  font-weight: 800;
  line-height: 1.35;
}

.anti-churn-factors {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.anti-churn-factor {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 30, 0.84);
}

.anti-churn-factor-kicker {
  color: #9cc8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.anti-churn-factor-title {
  margin-top: 10px;
  color: var(--muted-strong);
  font-weight: 800;
  line-height: 1.35;
}

.anti-churn-factor-copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.anti-churn-factor.is-high {
  border-color: rgba(255, 181, 97, 0.24);
  background: rgba(33, 23, 10, 0.66);
}

.anti-churn-factor.is-critical {
  border-color: rgba(255, 118, 162, 0.24);
  background: rgba(39, 12, 22, 0.72);
}

.anti-churn-recommendation {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 246, 255, 0.14);
  background: rgba(10, 19, 37, 0.72);
}

.anti-churn-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey-card-compact {
  padding: 18px 20px;
}

.journey-compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.journey-kicker {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-proof-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.journey-proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dceaff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.journey-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 18, 37, 0.84);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.journey-step-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(122, 246, 255, 0.24);
  background: linear-gradient(180deg, rgba(19, 34, 61, 0.94), rgba(11, 19, 37, 0.94));
  box-shadow: 0 14px 36px rgba(6, 12, 27, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.journey-step-card.is-complete {
  border-color: rgba(122, 246, 255, 0.24);
}

.journey-step-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf7ff;
  font-size: 12px;
  font-weight: 800;
}

.journey-step-title,
.history-title {
  margin-top: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.journey-step-copy,
.history-copy {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.journey-tip {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: #eef5ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
}

.journey-steps-compact .journey-step-copy {
  display: none;
}

.journey-steps-compact {
  gap: 10px;
}

.journey-steps-compact .journey-step-card {
  min-height: 66px;
}

.journey-step-card.is-active .journey-step-kicker {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(122, 246, 255, 0.24), rgba(126, 169, 255, 0.22));
}

.journey-step-card.is-complete .journey-step-kicker {
  border: 1px solid rgba(122, 246, 255, 0.18);
}

.journey-step-card.is-complete .journey-step-kicker::after {
  content: "•";
  margin-left: 2px;
  opacity: 0.72;
}

.journey-tip {
  border-radius: var(--radius-md);
  text-wrap: balance;
}

.history-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.history-grid-top {
  margin-bottom: 18px;
}

.progression-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.progression-metric {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 14, 31, 0.9);
}

.progression-label {
  color: var(--muted-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progression-value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--muted-strong);
}

.progression-narrative {
  margin-top: 16px;
}

.drafts-genie-card,
.drafts-workspace-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft), var(--surface-highlight), var(--surface-outline);
}

.drafts-genie-card {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(15, 25, 48, 0.96), rgba(8, 13, 28, 0.985));
}

.drafts-genie-kicker,
.draft-item-kicker,
.draft-card-hint-label {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drafts-genie-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.drafts-genie-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.06;
}

.drafts-genie-badge {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.22);
  background: rgba(122, 246, 255, 0.08);
  color: #dffcff;
  font-weight: 700;
}

.drafts-genie-card p,
.drafts-genie-hint {
  color: var(--muted);
  line-height: 1.7;
}

.drafts-genie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 14px;
}

.drafts-genie-pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.drafts-genie-hint {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 246, 255, 0.14);
  background: rgba(8, 14, 31, 0.88);
}

.drafts-genie-btn {
  margin-top: 16px;
}

.drafts-workspace-card {
  padding: 22px;
}

.drafts-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.drafts-workspace-controls {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.drafts-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.draft-filter-btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 15, 31, 0.92);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.draft-filter-btn.is-active,
.draft-filter-btn:hover {
  color: #ecf5ff;
  border-color: rgba(122, 246, 255, 0.22);
  background: linear-gradient(180deg, rgba(23, 39, 71, 0.96), rgba(10, 17, 35, 0.96));
  box-shadow: 0 16px 26px rgba(4, 11, 27, 0.24);
}

.drafts-sort-wrap {
  display: grid;
  gap: 6px;
  color: var(--muted-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drafts-sort-select {
  min-width: 168px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 15, 31, 0.92);
  color: var(--muted-strong);
  outline: none;
}

.drafts-sort-select:focus {
  border-color: rgba(122, 246, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(122, 246, 255, 0.06);
}

.drafts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.draft-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  min-height: 264px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(10, 17, 34, 0.96), rgba(8, 13, 28, 0.98));
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  animation: draftCardReveal 0.44s ease forwards;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.draft-card:focus-visible {
  outline: none;
  border-color: rgba(122, 246, 255, 0.26);
  box-shadow:
    0 0 0 4px rgba(122, 246, 255, 0.08),
    0 24px 48px rgba(4, 11, 27, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.draft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(122, 246, 255, 0.08), transparent 28%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.draft-card:hover,
.draft-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(122, 246, 255, 0.16);
  box-shadow:
    0 24px 48px rgba(4, 11, 27, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.draft-card.is-highlighted {
  border-color: rgba(122, 246, 255, 0.22);
  box-shadow:
    0 26px 56px rgba(4, 11, 27, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.draft-card.is-highlighted::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(122, 246, 255, 0.08), transparent 28%, transparent 70%, rgba(126, 169, 255, 0.08));
  pointer-events: none;
}

.draft-card:hover::after,
.draft-card:focus-within::after {
  opacity: 1;
}

.draft-card-preview {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(19, 31, 60, 0.96), rgba(10, 16, 33, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.draft-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.draft-card-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.draft-preview-overlay {
  position: absolute;
  inset: 12px 12px auto 12px;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 6px;
  pointer-events: none;
}

.draft-preview-badge,
.draft-preview-tone {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #eff7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.draft-preview-badge {
  background: rgba(6, 13, 28, 0.52);
}

.draft-preview-tone {
  background: rgba(12, 24, 49, 0.48);
  color: #cfe8ff;
}

.draft-preview-tone.is-highlighted {
  border-color: rgba(122, 246, 255, 0.26);
  background: rgba(122, 246, 255, 0.12);
  color: #ecfdff;
  box-shadow: 0 0 24px rgba(122, 246, 255, 0.16);
}

.draft-card-preview-fallback.is-strong {
  background:
    radial-gradient(circle at top, rgba(122, 246, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(16, 31, 60, 0.96), rgba(10, 16, 33, 0.98));
}

.draft-card-preview-fallback.is-promising {
  background:
    radial-gradient(circle at top, rgba(126, 169, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(18, 28, 55, 0.96), rgba(10, 16, 33, 0.98));
}

.draft-card-preview-fallback.is-low,
.draft-card-preview-fallback.is-locked {
  background:
    radial-gradient(circle at top, rgba(122, 246, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(13, 22, 44, 0.96), rgba(8, 13, 28, 0.98));
}

.draft-preview-mark {
  position: relative;
  z-index: 1;
  color: rgba(236, 245, 255, 0.92);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.draft-preview-glow {
  position: absolute;
  inset: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 246, 255, 0.34), rgba(122, 246, 255, 0.08), transparent 74%);
  filter: blur(10px);
}

.draft-card-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.draft-card-spotlight {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.2);
  background: rgba(122, 246, 255, 0.08);
  color: #e9fcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(122, 246, 255, 0.14);
}

.draft-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.draft-card-title {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
}

.draft-score-badge {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 72px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(122, 246, 255, 0.16);
  background: rgba(122, 246, 255, 0.08);
}

.draft-score-badge.is-promising {
  border-color: rgba(126, 169, 255, 0.16);
  background: rgba(126, 169, 255, 0.08);
}

.draft-score-badge.is-low {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.draft-score-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.draft-score-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.draft-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.draft-card-summary {
  color: var(--muted-strong);
  line-height: 1.62;
}

.draft-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.draft-pill-status.is-ready {
  background: rgba(122, 246, 255, 0.1);
  color: #dffcff;
}

.draft-pill-status.is-improve {
  background: rgba(126, 169, 255, 0.1);
  color: #d8e8ff;
}

.draft-pill-status.is-archived {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.draft-fit-mini {
  display: grid;
  gap: 8px;
}

.draft-fit-bar {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: center;
}

.draft-fit-bar-label {
  color: var(--muted-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-fit-bar-track {
  position: relative;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.draft-fit-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7f7f, #f5bf62, #78eab8, #7af6ff);
}

.draft-fit-bar.is-best .draft-fit-bar-fill {
  box-shadow: 0 0 18px rgba(122, 246, 255, 0.26);
}

.draft-card-hint {
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background: rgba(8, 14, 31, 0.88);
  color: var(--muted);
  line-height: 1.65;
}

.draft-card-hint-label {
  display: inline-flex;
  margin-bottom: 8px;
}

.draft-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.draft-card:hover .draft-card-actions,
.draft-card:focus-within .draft-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.draft-action-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.draft-action-btn:hover {
  border-color: rgba(122, 246, 255, 0.2);
  background: rgba(122, 246, 255, 0.08);
  color: #eff7ff;
}

.draft-action-btn.is-danger:hover {
  border-color: rgba(255, 134, 164, 0.24);
  background: rgba(255, 134, 164, 0.08);
}

.draft-card.is-archived {
  opacity: 0.86;
}

.draft-card-locked {
  pointer-events: auto;
}

.draft-card-locked .draft-card-preview,
.draft-card-locked .draft-card-body {
  filter: blur(3px);
  opacity: 0.5;
}

.draft-card-locked-overlay {
  position: absolute;
  inset: 16px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(6, 11, 23, 0.72);
  border: 1px solid rgba(122, 246, 255, 0.16);
  backdrop-filter: blur(10px);
}

.draft-card-locked-badge {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.18);
  background: rgba(122, 246, 255, 0.08);
  color: #dffcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.draft-card-locked-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
}

.draft-card-locked-text {
  color: var(--muted);
  line-height: 1.6;
}

.draft-card-locked-btn {
  width: fit-content;
}

.drafts-empty-state {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(122, 246, 255, 0.18);
  background:
    radial-gradient(circle at top, rgba(122, 246, 255, 0.08), transparent 26%),
    rgba(8, 14, 31, 0.9);
}

.drafts-empty-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drafts-empty-state h3 {
  margin: 10px 0 8px;
  font-size: 28px;
  line-height: 1.08;
}

.drafts-empty-state p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
}

.drafts-empty-btn {
  margin-top: 16px;
}

.history-storage-banner + .drafts-grid,
.history-storage-banner + .history-list {
  margin-top: 14px;
}

.history-storage-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 246, 255, 0.18);
  background:
    radial-gradient(circle at top left, rgba(122, 246, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(15, 25, 48, 0.96), rgba(9, 14, 29, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(2, 8, 20, 0.28);
}

.history-storage-badge {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.2);
  background: rgba(122, 246, 255, 0.08);
  color: #dffcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-storage-copy {
  display: grid;
  gap: 4px;
}

.history-storage-title {
  color: var(--muted-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.history-storage-text {
  color: var(--muted);
  line-height: 1.6;
}

.history-storage-banner .ghost-btn {
  min-height: 46px;
  padding-inline: 16px;
  white-space: nowrap;
}

.recovery-card {
  background:
    radial-gradient(circle at top left, rgba(126, 169, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(20, 27, 52, 0.96), rgba(10, 15, 30, 0.985));
}

.recovery-recommendation {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 169, 255, 0.16);
  background: rgba(8, 14, 31, 0.88);
}

.recovery-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.proof-card:hover,
.analysis-cell:hover,
.strategist-cell:hover,
.compliance-item:hover,
.opportunity-item:hover,
.pricing-primer-card:hover,
.trust-item:hover,
.pricing-card:hover,
.pack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 246, 255, 0.18);
}

.proof-card,
.analysis-cell,
.strategist-cell,
.compliance-item,
.opportunity-item,
.pricing-primer-card,
.trust-item,
.pricing-card,
.pack-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.proof-card:hover,
.analysis-cell:hover,
.strategist-cell:hover,
.compliance-item:hover,
.opportunity-item:hover,
.pricing-primer-card:hover,
.trust-item:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 40px rgba(0, 0, 0, 0.18);
}

.pricing-card:hover,
.pack-card:hover {
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-pro:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 40px 108px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(122, 246, 255, 0.14),
    0 0 54px rgba(122, 246, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-pro-max:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 108px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(242, 211, 165, 0.12),
    0 0 52px rgba(242, 211, 165, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pack-card.is-recommended:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(122, 246, 255, 0.16),
    0 0 58px rgba(122, 246, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.support-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(122, 246, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(12, 18, 37, 0.92), rgba(8, 13, 28, 0.96));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0.9;
}

.support-section.is-support-pending {
  background:
    radial-gradient(circle at top right, rgba(122, 246, 255, 0.04), transparent 26%),
    linear-gradient(180deg, rgba(11, 17, 34, 0.92), rgba(8, 13, 29, 0.965));
}

.support-section-copy {
  display: grid;
  gap: 8px;
}

.support-section-kicker {
  color: #9cc8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-section h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  line-height: 1.12;
}

.support-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.support-section-tag {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background: rgba(122, 246, 255, 0.05);
  color: #dbefff;
  font-size: 12px;
  font-weight: 700;
}

.support-section-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.support-section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(122, 246, 255, 0.12);
  background: linear-gradient(135deg, rgba(122, 246, 255, 0.08), rgba(126, 169, 255, 0.08));
  color: #dce8f8;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 26px rgba(4, 12, 29, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.support-section-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 246, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 30px rgba(4, 12, 29, 0.2);
}

.support-section-btn.is-disabled {
  opacity: 0.92;
  pointer-events: none;
  border-color: rgba(126, 169, 255, 0.14);
  background: linear-gradient(180deg, rgba(24, 43, 67, 0.92), rgba(15, 28, 48, 0.96));
  color: #cfe1f8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 32px rgba(0, 0, 0, 0.14);
}

.support-section-meta {
  color: var(--muted-faint);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.reveal-card.is-visible:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

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

@keyframes genieFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes genieTilt {
  0%, 100% { rotate: -2deg; }
  50% { rotate: 2deg; }
}

@keyframes genieBreath {
  0%, 100% { scale: 0.985; }
  50% { scale: 1.02; }
}

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

@keyframes genieCharge {
  0% { transform: translateY(-4px) scale(1); }
  100% { transform: translateY(-18px) scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.72; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 0.94; transform: scale(1.05); }
}

@keyframes pulseColumn {
  0%, 100% { opacity: 0.42; transform: scaleY(0.94); }
  50% { opacity: 0.9; transform: scaleY(1.1); }
}

@keyframes chargeGlow {
  0%, 100% { opacity: 0.84; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.16); }
}

@keyframes wavePulse {
  0% { opacity: 0.45; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.4); }
}

@keyframes particleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(var(--scale, 1)); }
  50% { transform: translate3d(var(--drift-x), calc(var(--drift-y) * -1), 0) scale(calc(var(--scale, 1) * 1.08)); }
}

@keyframes twinkle {
  0%, 100% { opacity: calc(var(--opacity) * 0.64); }
  50% { opacity: var(--opacity); }
}

@keyframes premiumSweep {
  from { transform: translateX(-42%) translateY(-10%) rotate(0deg); }
  to { transform: translateX(42%) translateY(10%) rotate(0deg); }
}

@keyframes ctaSweep {
  0% {
    transform: translateX(0) rotate(14deg);
    opacity: 0;
  }

  14% {
    opacity: 0.72;
  }

  42% {
    transform: translateX(260%) rotate(14deg);
    opacity: 0.16;
  }

  100% {
    transform: translateX(260%) rotate(14deg);
    opacity: 0;
  }
}

@keyframes driftOne {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

@keyframes driftTwo {
  from { transform: translate3d(2%, -2%, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.07); }
}

@keyframes driftThree {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

@keyframes uploadSweep {
  from { transform: translateX(-42%) rotate(8deg); }
  to { transform: translateX(42%) rotate(8deg); }
}

@keyframes uploadSuccessSweep {
  0% { transform: translateX(-42%) rotate(8deg); opacity: 0; }
  16% { opacity: 0.9; }
  100% { transform: translateX(42%) rotate(8deg); opacity: 0; }
}

@keyframes uploadHaloPulse {
  0% {
    opacity: 0.2;
    transform: scale(0.96);
  }
  45% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 0.78;
    transform: scale(1.01);
  }
}

@keyframes uploadReceiptReveal {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    box-shadow: 0 0 0 rgba(122, 246, 255, 0);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 0 28px rgba(122, 246, 255, 0.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  }
}

@keyframes dropZoneKeywordDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--keyword-rotate, 0deg));
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(calc(var(--keyword-rotate, 0deg) + 1.5deg));
  }
}

@keyframes dropZoneKeywordTraverse {
  0% {
    transform: translate3d(10px, 4px, 0) rotate(-4deg);
  }

  34% {
    transform: translate3d(-8px, 10px, 0) rotate(-3deg);
  }

  60% {
    transform: translate3d(-36px, 18px, 0) rotate(-5deg);
  }

  84% {
    transform: translate3d(-12px, 34px, 0) rotate(-4deg);
  }

  100% {
    transform: translate3d(10px, 4px, 0) rotate(-4deg);
  }
}

@keyframes dropZoneKeywordOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  28% {
    transform: translate3d(-18px, 10px, 0) rotate(-2deg);
  }

  52% {
    transform: translate3d(-56px, 24px, 0) rotate(-5deg);
  }

  75% {
    transform: translate3d(-10px, 42px, 0) rotate(-3deg);
  }
}

@keyframes dropZoneGenieTraverse {
  0% {
    transform: translate3d(24px, 6px, 0) scale(0.96);
  }

  26% {
    transform: translate3d(-10px, 18px, 0) scale(1);
  }

  56% {
    transform: translate3d(-72px, 44px, 0) scale(1.01);
  }

  82% {
    transform: translate3d(-18px, 84px, 0) scale(0.98);
  }

  100% {
    transform: translate3d(24px, 6px, 0) scale(0.96);
  }
}

@keyframes dropZoneKeywordTraverseMobile {
  0% {
    transform: translate3d(6px, 2px, 0) rotate(-4deg);
  }

  26% {
    transform: translate3d(-6px, 8px, 0) rotate(-3deg);
  }

  56% {
    transform: translate3d(-20px, 14px, 0) rotate(-5deg);
  }

  100% {
    transform: translate3d(6px, 2px, 0) rotate(-4deg);
  }
}

@keyframes dropZoneKeywordOrbitMobile {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  50% {
    transform: translate3d(-24px, 18px, 0) rotate(-3deg);
  }
}

@keyframes dropZoneGenieTraverseMobile {
  0% {
    transform: translate3d(10px, 4px, 0) scale(0.96);
  }

  38% {
    transform: translate3d(-26px, 18px, 0) scale(1);
  }

  100% {
    transform: translate3d(10px, 4px, 0) scale(0.96);
  }
}

@keyframes previewLiftIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: saturate(0.9);
  }
  55% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
    filter: saturate(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes uploadValueLift {
  0%, 100% {
    transform: translateY(-3px) scale(1.02);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
  }
}

@keyframes uploadValueSuccess {
  0% {
    transform: translateY(-1px) scale(0.98);
    opacity: 0.84;
  }
  55% {
    transform: translateY(-8px) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translateY(-3px) scale(1.02);
    opacity: 1;
  }
}

@keyframes dropZoneScanLine {
  from {
    transform: translateX(-48%) rotate(6deg);
  }
  to {
    transform: translateX(42%) rotate(6deg);
  }
}

@keyframes dropZoneScanSuccess {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(6deg);
  }
  24% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(46%) rotate(6deg);
  }
}

@keyframes dropZoneAuraFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-8px, -10px, 0) scale(1.05);
  }
}

@keyframes dropZoneRingPulse {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.58;
  }
}

@keyframes dropZoneStarTwinkle {
  0%, 100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.15);
  }
}

@keyframes dropZoneBeamSweep {
  0%, 100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(10deg) translateY(-12px);
  }
}

@keyframes dropZoneRingBurst {
  0% {
    transform: scale(0.94);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.92;
  }
  100% {
    transform: scale(1);
    opacity: 0.52;
  }
}

@keyframes dropZoneBadgeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
  }
  60% {
    opacity: 1;
    transform: translateY(2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dropZoneGhostIdle {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(-8px, -6px, 0) scale(1.02);
    opacity: 0.62;
  }
}

@keyframes dropZoneGhostTraverseAcross {
  0% {
    transform: translate3d(-30px, 14px, 0) scale(0.94);
  }
  50% {
    transform: translate3d(24px, -12px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(-6px, 4px, 0) scale(0.98);
  }
}

@keyframes dropZoneGhostTraverse {
  0% {
    transform: translate3d(22px, 4px, 0) scale(0.96);
    opacity: 0.42;
  }
  50% {
    transform: translate3d(-10px, -8px, 0) scale(1.02);
    opacity: 0.68;
  }
  100% {
    transform: translate3d(14px, 2px, 0) scale(0.98);
    opacity: 0.44;
  }
}

@keyframes dropZoneGhostGlow {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.06);
  }
}

@keyframes dropZoneGhostSuccess {
  0% {
    transform: translate3d(18px, 8px, 0) scale(0.94);
    opacity: 0.38;
  }
  55% {
    transform: translate3d(-12px, -10px, 0) scale(1.06);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.62;
  }
}

@keyframes dropZoneGhostSuccessGlow {
  0% {
    opacity: 0.34;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.14);
  }
  100% {
    opacity: 0.56;
    transform: scale(1);
  }
}

@keyframes uploadCopyLift {
  0% {
    opacity: 0.76;
    transform: translateY(10px);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes uploadCtaPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 16px 30px rgba(122, 246, 255, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: translateY(-2px);
    box-shadow:
      0 20px 36px rgba(122, 246, 255, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }
}

@keyframes studioGenieTraverse {
  0% {
    left: -18%;
    opacity: 0;
    transform: translateY(-50%) translateX(0) scale(0.92);
  }
  10% {
    opacity: 0.18;
  }
  48% {
    opacity: 0.14;
    transform: translateY(-54%) translateX(0) scale(1);
  }
  82% {
    opacity: 0.08;
  }
  100% {
    left: 92%;
    opacity: 0;
    transform: translateY(-48%) translateX(0) scale(0.9);
  }
}

@keyframes studioGenieTraverseTrail {
  0% {
    left: -30%;
    opacity: 0;
    transform: translateY(-50%) scaleX(0.9);
  }
  14% {
    opacity: 0.5;
  }
  52% {
    opacity: 0.32;
  }
  100% {
    left: 88%;
    opacity: 0;
    transform: translateY(-50%) scaleX(1.08);
  }
}

@keyframes studioGenieTraverseGlow {
  0% {
    left: -10%;
    opacity: 0;
    transform: translateY(-50%) scale(0.84);
  }
  14% {
    opacity: 0.42;
  }
  52% {
    opacity: 0.26;
  }
  100% {
    left: 96%;
    opacity: 0;
    transform: translateY(-50%) scale(1.06);
  }
}

@keyframes bulkSweep {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 0.55;
  }
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@media (max-width: 1380px) {
  .landing-hero,
  .story-grid,
  .landing-value-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-visual {
    min-height: 360px;
  }

  .hero-card,
  .content-grid,
  .analysis-progress-rail,
  .result-command-grid,
  .journey-steps,
  .history-grid,
  .drafts-grid,
  .progression-metrics,
  .pricing-primer,
  .pricing-genie-card,
  .pricing-genie-meta,
  .trust-strip,
  .analysis-grid,
  .insights-grid,
  .results-columns,
  .pricing-grid,
  .packs-grid,
  .checkout-consent-grid,
  .pack-momentum-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .product-fit-top {
    grid-template-columns: 1fr;
  }

  .result-command-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-payment-card {
    grid-template-columns: 1fr;
  }

  .support-section {
    grid-template-columns: 1fr;
  }

  .checkout-consent-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-consent-links {
    justify-content: flex-start;
  }

  .pack-momentum-actions {
    flex-direction: column;
  }

  .pricing-card-pro,
  .pricing-card-pro:hover {
    transform: none;
  }

  .pack-card.is-recommended,
  .pack-card.is-recommended:hover {
    transform: none;
  }

  .pack-momentum-actions .upgrade-btn,
  .pack-momentum-actions .ghost-btn {
    width: 100%;
  }

  .bulk-studio-head,
  .bulk-actions {
    grid-template-columns: 1fr;
  }

  .bulk-studio-badge {
    justify-self: start;
  }

  .bulk-actions {
    align-items: stretch;
  }

  .bulk-run-btn {
    width: 100%;
  }

  .support-section-actions {
    justify-items: start;
  }

  .support-section-meta {
    text-align: left;
  }

  .post-payment-actions {
    justify-items: start;
  }

  .generate-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .strategist-card {
    position: static;
  }

  .orbit-left-top,
  .orbit-right-top {
    top: auto;
    bottom: 21%;
  }

  .orbit-left-top {
    left: 10%;
  }

  .orbit-right-top {
    right: 10%;
  }

  .product-fit-meta,
  .product-fit-foot {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-fit-hero-meta {
    grid-template-columns: 1fr;
  }

  .recovery-actions {
    flex-direction: column;
  }

  .anti-churn-head,
  .anti-churn-meter,
  .anti-churn-grid,
  .anti-churn-factors {
    grid-template-columns: 1fr;
  }

  .anti-churn-actions {
    flex-direction: column;
  }

  .history-storage-banner {
    grid-template-columns: 1fr;
  }

  .history-storage-banner .ghost-btn {
    width: 100%;
  }

  .drafts-workspace-head {
    flex-direction: column;
  }

  .drafts-workspace-controls {
    justify-items: start;
    width: 100%;
  }

  .drafts-filter-group {
    justify-content: flex-start;
  }

  .drafts-genie-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pricing-head-pills {
    justify-content: flex-start;
  }

  .decision-card,
  .decision-metrics {
    grid-template-columns: 1fr;
  }

  .decision-metric-action {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .landing-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 18px;
  }

  .landing-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .landing-hero,
  .landing-story,
  .landing-value,
  .landing-cta-card {
    padding: 22px;
  }

  .landing-hero-card {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 18px;
  }

  .landing-genie-halo.halo-outer {
    width: 300px;
    height: 300px;
  }

  .landing-genie-halo.halo-inner {
    width: 230px;
    height: 230px;
  }

  .landing-genie-image {
    width: min(100%, 230px);
  }

  .site-footer,
  .legal-topbar,
  .legal-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-support {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer-support-btn {
    width: 100%;
  }

  .legal-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 20px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .main {
    padding: 16px;
  }

  .hero-card,
  .card {
    border-radius: 28px;
  }

  .draft-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .draft-card-preview {
    min-height: 172px;
  }

  .draft-card-actions {
    opacity: 1;
    transform: none;
  }

  .drafts-sort-wrap,
  .drafts-workspace-controls,
  .drafts-sort-select {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-proof-rail {
    grid-template-columns: 1fr;
  }

  .hero-trust-inline {
    display: grid;
    justify-items: start;
    gap: 8px;
  }

  .hero-trust-inline-sep {
    display: none;
  }

  .studio-action-top {
    align-items: flex-start;
  }

  .studio-action-title {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .genie-stage::before {
    inset: 88px 26px 102px;
    border-radius: 30px;
  }

  .genie-core {
    width: 256px;
    height: 256px;
  }

  .hero-genie {
    width: 236px;
  }

  .genie-speech,
  .genie-status-panel {
    width: min(100%, 100%);
  }

  .drop-zone-inner {
    grid-template-columns: 1fr;
  }

  .drop-zone-value-stack {
    max-width: none;
    justify-self: stretch;
  }

  .drop-zone-side-rail {
    display: none;
  }

  .drop-zone-cta-btn {
    width: 100%;
  }

  .drop-zone-cosmic {
    top: 18px;
    right: -6px;
    width: 178px;
    height: 212px;
  }

  .drop-zone-backdrop {
    inset: 10% 8% 14%;
  }

  .drop-zone-floor-glow {
    width: 128px;
    height: 36px;
    bottom: 24px;
  }

  .drop-zone-column {
    width: 74px;
    height: 130px;
    bottom: 54px;
  }

  .drop-zone-glow {
    width: 150px;
    height: 150px;
    top: 28px;
  }

  .drop-zone-halo.halo-outer {
    width: 126px;
    height: 126px;
    top: 34px;
  }

  .drop-zone-halo.halo-inner {
    width: 98px;
    height: 98px;
    top: 48px;
  }

  .drop-zone-ring.ring-1 {
    width: 144px;
    height: 144px;
    top: 26px;
  }

  .drop-zone-ring.ring-2 {
    width: 118px;
    height: 118px;
    top: 40px;
  }

  .drop-zone-ring.ring-3 {
    width: 86px;
    height: 86px;
    top: 56px;
  }

  .drop-zone-copy {
    max-width: none;
    padding-right: 104px;
  }

  .bulk-studio {
    padding: 20px;
  }

  .bulk-upload-row,
  .bulk-actions,
  .bulk-item,
  .bulk-drop-surface,
  .bulk-summary-grid {
    grid-template-columns: 1fr;
  }

  .bulk-item-status {
    justify-self: start;
  }

  .bulk-drop-pills {
    justify-content: flex-start;
  }

  .bulk-queue-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .bulk-clear-btn {
    margin-left: 0;
  }

  .bulk-locked-overlay {
    position: static;
    margin-bottom: 16px;
  }

  .bulk-studio.is-locked .bulk-studio-body {
    filter: none;
    opacity: 1;
    pointer-events: none;
  }

  .journey-compact-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .journey-proof-pills {
    justify-content: flex-start;
    max-width: none;
  }

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

  .journey-tip {
    font-size: 16px;
  }

  .drop-zone-keywords {
    inset: 18px 16px 18px 60%;
    mask-image: radial-gradient(circle at 64% 40%, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.84) 46%, transparent 92%);
  }

  .drop-zone-keyword.keyword-brand {
    top: 28px;
    right: 4px;
    left: auto;
    font-size: 14px;
    animation: dropZoneKeywordTraverseMobile 20s ease-in-out infinite;
  }

  .drop-zone-cosmic::before {
    width: 138px;
    height: 138px;
    top: 18px;
    right: 0;
  }

  .drop-zone-cosmic::after {
    width: 82px;
    height: 144px;
    top: 28px;
    right: 18px;
  }

  .drop-zone-keyword.keyword-genie {
    display: none;
  }

  .drop-zone-floating-genie {
    display: none;
  }

  .studio-genie-runner {
    inset: 86px 14px 18px;
  }

  .studio-genie-trail {
    width: 240px;
    height: 96px;
  }

  .studio-genie-glow {
    width: 132px;
    height: 132px;
  }

  .studio-genie-runner-image {
    width: 92px;
  }

  .product-fit-legend {
    grid-template-columns: 1fr;
  }

  .product-fit-legend-mid,
  .product-fit-legend-high {
    text-align: left;
  }

  .product-fit-hero-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .strategist-head {
    align-items: flex-start;
  }

  .strategist-avatar {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .orbit-left-top,
  .orbit-right-top {
    display: none;
  }

  .story-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
