/* ================================================
   Being AGI — Style Sheet
   Aesthetic: Warm Cosmic Minimalism
   Dark backgrounds + warm gold accents + elegant serif
   ================================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-deep: #08080e;
  --bg-base: #0c0c14;
  --bg-surface: #12121e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --gold: #c8a44e;
  --gold-light: #dbb86a;
  --gold-dim: #8b7335;
  --gold-glow: rgba(200, 164, 78, 0.15);
  --gold-glow-strong: rgba(200, 164, 78, 0.3);

  --text-primary: #e8e4dd;
  --text-secondary: #8a8695;
  --text-dim: #5a5668;
  --text-inverse: #08080e;

  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(200, 164, 78, 0.25);

  --success: #5a9e78;
  --danger: #c45c5c;

  --font-display: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, 'Noto Serif SC', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(200, 164, 78, 0.08);

  --nav-height: 60px;
  --max-width: 1100px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

strong { color: var(--gold-light); font-weight: 600; }
em { font-style: italic; color: var(--gold); }

::selection {
  background: var(--gold-glow-strong);
  color: var(--text-primary);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ---- Navigation ---- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(8, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.logo-symbol {
  color: var(--gold);
  font-size: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8, 8, 14, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease-out);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* ---- Pages ---- */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.page.active {
  display: block;
  animation: pageIn 0.5s var(--ease-out);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Sections ---- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 15px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.btn-primary:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 164, 78, 0.25);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-glow {
  box-shadow: 0 0 24px rgba(200, 164, 78, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-body);
}

.btn-secondary:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  font-family: var(--font-body);
}

.btn-text:hover { color: var(--text-primary); }
.btn-text.danger:hover { color: var(--danger); }

.btn-arrow {
  transition: transform 0.2s;
}

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

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 24px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.15), transparent);
  top: 10%; left: 15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(90, 70, 140, 0.12), transparent);
  bottom: 20%; right: 10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.1), transparent);
  top: 50%; left: 60%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero .btn-primary {
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

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

/* ================================================
   PAIN POINTS
   ================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.35s var(--ease-out);
  animation: fadeUp 0.6s var(--ease-out) calc(var(--delay) * 0.1s) both;
}

.pain-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.pain-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ================================================
   PYRAMID MODEL
   ================================================ */
.model-pyramid {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pyramid-layer {
  padding: 20px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pyramid-layer::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.pyramid-layer:hover::before,
.pyramid-layer.expanded::before {
  opacity: 1;
}

.pyramid-layer:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.layer-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.layer-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-dim);
  min-width: 24px;
}

.layer-name {
  font-size: 16px;
  font-weight: 500;
}

.layer-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 40px;
  transition: all 0.35s var(--ease-out);
}

.pyramid-layer.expanded .layer-detail {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}

.layer-5 { margin-left: 15%; margin-right: 15%; }
.layer-4 { margin-left: 10%; margin-right: 10%; }
.layer-3 { margin-left: 6%; margin-right: 6%; }
.layer-2 { margin-left: 3%; margin-right: 3%; }
.layer-1 { margin-left: 0; margin-right: 0; }

@media (max-width: 600px) {
  .layer-5, .layer-4, .layer-3, .layer-2, .layer-1 {
    margin-left: 0; margin-right: 0;
  }
}

/* ================================================
   PROCESS FLOW
   ================================================ */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.process-flow::-webkit-scrollbar { display: none; }

.process-step {
  flex: 0 0 200px;
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-dim);
  margin-bottom: 12px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-connector {
  flex: 0 0 40px;
  height: 1px;
  background: var(--border);
  align-self: center;
  margin-top: -20px;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -2px; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid var(--gold-dim);
  border-top: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .process-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .process-step { flex: none; text-align: left; padding: 16px 0; }
  .process-connector {
    width: 1px; height: 24px;
    flex: 0 0 24px;
    margin: 0 0 0 30px;
  }
  .process-connector::after {
    right: auto; top: auto;
    bottom: -2px; left: -3px;
    border-right: 1px solid var(--gold-dim);
    border-top: none;
    border-bottom: 1px solid var(--gold-dim);
    transform: rotate(45deg);
  }
}

/* ================================================
   MARKETING SECTIONS
   ================================================ */
.marketing-block {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 24px;
}

.anchor-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.anchor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.anchor-item.highlight {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.anchor-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.anchor-item.highlight .anchor-label {
  color: var(--gold-light);
  font-weight: 600;
}

.anchor-price {
  font-family: var(--font-display);
  font-size: 18px;
}

.anchor-price small {
  font-size: 12px;
  color: var(--text-secondary);
}

.anchor-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  font-style: italic;
}

.founder-block {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid var(--border);
}

.founder-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.founder-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin: 32px 0;
}

.founder-feat {
  font-size: 14px;
  color: var(--text-secondary);
}

.founder-note {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.loss-block {
  text-align: center;
  padding-top: 40px;
}

.cta-section {
  text-align: center;
  padding-bottom: 100px;
}

/* ================================================
   ONBOARDING / QUESTIONNAIRE
   ================================================ */
.onboarding-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}

.onboarding-header {
  margin-bottom: 40px;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.5s var(--ease-out);
  width: 0%;
}

.progress-text {
  text-align: right;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
  font-family: var(--font-mono);
}

.onboarding-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.onboarding-welcome h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
}

.onboarding-welcome p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 8px;
}

.onboarding-welcome .subtle {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}

.question-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 0.4s var(--ease-out);
}

.question-guide {
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-style: italic;
}

.question-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 32px;
}

.question-input textarea {
  width: 100%;
  min-height: 120px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 0.3s;
}

.question-input textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.question-input textarea::placeholder {
  color: var(--text-dim);
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-option {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  font-family: var(--font-body);
}

.question-option:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
}

.question-option.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold-light);
}

.question-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 16px;
}

#btn-prev { visibility: hidden; }
#btn-prev.visible { visibility: visible; }

/* Loading animation */
.onboarding-complete {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-soul {
  text-align: center;
}

.soul-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 32px;
  background: radial-gradient(circle at 40% 40%, var(--gold), var(--gold-dim), transparent);
  animation: soulPulse 2s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(200, 164, 78, 0.3);
}

@keyframes soulPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.loading-text {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.loading-sub {
  color: var(--text-dim);
  font-size: 14px;
}

/* ================================================
   RESULT PAGES (Desire Map, Profile, Roadmap)
   ================================================ */
.result-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.result-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
}

.result-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 48px;
}

.result-cta {
  text-align: center;
  margin-top: 60px;
}

/* Lock screen */
.need-questionnaire {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lock-icon {
  font-size: 48px;
  color: var(--gold-dim);
  margin-bottom: 24px;
  opacity: 0.4;
}

.need-questionnaire h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.need-questionnaire p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ---- Desire Map ---- */
.desire-primary {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.desire-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--gold-glow), transparent 50%);
  pointer-events: none;
}

.desire-primary h2 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}

.desire-primary .primary-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  color: var(--gold-light);
  margin-bottom: 12px;
  position: relative;
}

.desire-primary .primary-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.desire-bars {
  margin-bottom: 40px;
}

.desire-bar-item {
  margin-bottom: 20px;
}

.desire-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.desire-bar-name {
  color: var(--text-primary);
}

.desire-bar-score {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
}

.desire-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.desire-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 1s var(--ease-out);
  width: 0;
}

.desire-bar-fill.animated {
  /* width set by JS */
}

.desire-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.detail-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 12px;
}

.detail-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Profile ---- */
.profile-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-primary);
  font-family: var(--font-display);
  text-align: center;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.profile-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 12px;
}

.profile-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  font-size: 13px;
  color: var(--gold-light);
}

/* ---- Roadmap ---- */
.mission-statement {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gold-light);
  position: relative;
}

.mission-statement::before {
  content: '"';
  font-size: 60px;
  color: var(--gold-dim);
  position: absolute;
  top: 10px; left: 24px;
  line-height: 1;
  opacity: 0.4;
}

.roadmap-timeline {
  position: relative;
  padding-left: 32px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.roadmap-week {
  position: relative;
  margin-bottom: 40px;
}

.roadmap-week::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 12px var(--gold-glow-strong);
}

.week-header {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}

.week-theme {
  font-size: 13px;
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.week-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.week-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.week-task:hover {
  background: var(--bg-card-hover);
}

.task-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 11px;
  color: transparent;
}

.week-task.done .task-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-inverse);
}

.week-task.done {
  opacity: 0.5;
}

.daily-reflection {
  margin-top: 60px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.daily-reflection h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.reflection-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.reflection-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reflection-q {
  padding: 16px 20px;
  background: rgba(200, 164, 78, 0.04);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ================================================
   CHAT
   ================================================ */
.chat-container {
  max-width: 700px;
  margin: 0 auto;
  height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
}

.chat-header h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.chat-status {
  font-size: 12px;
  color: var(--text-dim);
}

.chat-header .btn-text {
  margin-left: auto;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-msg {
  max-width: 85%;
  animation: msgIn 0.3s var(--ease-out);
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.ai {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.7;
}

.chat-msg.ai .msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.chat-msg.user .msg-bubble {
  background: var(--gold);
  color: var(--text-inverse);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
}

.msg-time {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  padding: 0 4px;
}

.chat-msg.user .msg-time {
  text-align: right;
}

.chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}

.chat-input-area textarea {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  max-height: 120px;
  transition: border-color 0.3s;
}

.chat-input-area textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.chat-input-area textarea::placeholder {
  color: var(--text-dim);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--text-inverse);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ================================================
   PRICING
   ================================================ */
.pricing-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(200, 164, 78, 0.06), var(--bg-card));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gold);
  color: var(--text-inverse);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li.included::before {
  content: '◉';
  color: var(--gold);
  font-size: 10px;
}

.pricing-features li.excluded {
  color: var(--text-dim);
}

.pricing-features li.excluded::before {
  content: '○';
  color: var(--text-dim);
  font-size: 10px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.pricing-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-disclaimer {
  text-align: center;
}

.pricing-disclaimer p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

/* ================================================
   FOOTER
   ================================================ */
#main-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.footer-actions {
  margin-bottom: 24px;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 480px) {
  .section { padding: 60px 16px; }
  .hero { padding: 40px 16px; }
  .result-container { padding: 40px 16px 80px; }

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

  .anchor-compare {
    grid-template-columns: 1fr;
  }

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

  .desire-details {
    grid-template-columns: 1fr;
  }

  .chat-messages { padding: 16px; }
  .chat-input-area { padding: 12px 16px 16px; }
}

/* ================================================
   UTILITY
   ================================================ */
.fade-in {
  animation: fadeUp 0.5s var(--ease-out) both;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ================================================
   AGENT STATUS CARD (Chat page top)
   ================================================ */
.agent-status-card {
  margin: 12px 24px 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(200, 164, 78, 0.08), rgba(200, 164, 78, 0.02));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  animation: fadeUp 0.4s var(--ease-out);
}

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

.agent-level-tag {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.agent-level-tag::before {
  content: '◆';
  font-size: 10px;
  color: var(--gold);
}

.agent-quick-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
}

.agent-quick-stats .stat-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.agent-quick-stats .stat-item .stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  display: inline-block;
}

.agent-quick-stats .stat-item.active .stat-dot {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow-strong);
}

.level-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.level-progress-hint {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.level-progress-track {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.level-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}

/* ================================================
   MEMORY PANEL (Chat page)
   ================================================ */
.memory-panel {
  margin: 12px 24px 0;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  animation: fadeUp 0.5s var(--ease-out) 0.1s both;
}

.memory-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.memory-panel-title {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-panel-toggle {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

.memory-panel-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.memory-panel-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), opacity 0.3s;
}

.memory-panel.collapsed .memory-panel-content {
  max-height: 0;
  opacity: 0;
}

.memory-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
}

.memory-item-label {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-dim);
  min-width: 92px;
}

.memory-item-value {
  color: var(--text-primary);
  flex: 1;
  word-break: break-word;
}

.memory-emotions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.memory-emotion-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(200, 164, 78, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  font-size: 11px;
  color: var(--gold-light);
}

.memory-empty {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding: 12px 8px;
  font-style: italic;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .agent-status-card,
  .memory-panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 12px 14px;
  }
  .memory-item-label {
    min-width: 78px;
    font-size: 11px;
  }
  .agent-quick-stats {
    font-size: 11px;
    gap: 10px;
  }
}

/* ================================================
   REFLECTION PAGE (Daily Reflection)
   ================================================ */
.reflection-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.reflection-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.reflection-date {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.reflection-date::before {
  content: '◉ ';
  color: var(--gold);
  font-size: 12px;
  margin-right: 4px;
}

.reflection-done-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--gold-glow);
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.reflection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 24px 20px;
  margin-bottom: 20px;
  transition: border-color 0.25s;
}

.reflection-card:focus-within {
  border-color: var(--border-gold);
}

.reflection-q-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 6px;
  cursor: pointer;
  line-height: 1.5;
}

.reflection-q-num {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.reflection-q-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
  margin-left: 28px;
  line-height: 1.6;
  font-style: italic;
}

.reflection-textarea {
  width: 100%;
  min-height: 90px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 0.25s;
}

.reflection-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.reflection-textarea::placeholder {
  color: var(--text-dim);
}

.reflection-cta {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 48px;
}

.reflection-save-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.reflection-save-hint.success {
  color: var(--gold-light);
}

/* ---- Recent reflections summary ---- */
.recent-reflections {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.recent-reflections-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.recent-reflections-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.recent-reflection-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.recent-reflection-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.recent-reflection-row {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.6;
  align-items: flex-start;
}

.recent-reflection-row:last-child {
  margin-bottom: 0;
}

.recent-reflection-row .r-label {
  color: var(--text-dim);
  font-size: 12px;
  flex: 0 0 auto;
  min-width: 48px;
}

.recent-reflection-row .r-value {
  color: var(--text-secondary);
  flex: 1;
  word-break: break-word;
}

.recent-reflections-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
}

@media (max-width: 600px) {
  .reflection-container {
    padding: 40px 16px 80px;
  }
  .reflection-card {
    padding: 20px 18px 18px;
  }
  .reflection-q-hint {
    margin-left: 0;
  }
  .reflection-q-label {
    font-size: 15px;
    gap: 10px;
  }
  .reflection-date {
    font-size: 16px;
  }
}

/* ================================================
   TRUST NOTES (Hero / Onboarding / Chat)
   ================================================ */
.trust-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.trust-note-hero {
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(200, 164, 78, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  animation: fadeUp 0.8s var(--ease-out) 0.6s both;
}

.trust-note-hero .trust-note-icon {
  color: var(--gold);
  font-size: 9px;
}

.trust-note-warning {
  display: block;
  max-width: 420px;
  margin: 20px auto 0;
  padding: 10px 16px;
  background: rgba(200, 164, 78, 0.04);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

.trust-note-chat {
  display: block;
  text-align: center;
  padding: 6px 24px 12px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ================================================
   EXPORT PROFILE BUTTON
   ================================================ */
.export-profile-area {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.export-profile-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
}

.export-profile-button:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 164, 78, 0.15);
}

.export-profile-button .export-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.export-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ================================================
   LEGAL PAGES (Disclaimer / Privacy)
   ================================================ */
.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.legal-card:hover {
  border-color: var(--border-gold);
}

.legal-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--gold-light);
  font-weight: 500;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.legal-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.legal-list li::before {
  content: '◉';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--gold-dim);
  font-size: 8px;
}

.legal-card-warning {
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(200, 164, 78, 0.04), var(--bg-card) 40%);
}

.legal-card-warning h3 {
  color: var(--gold-light);
}

.legal-emphasis {
  margin-top: 12px !important;
  padding: 12px 16px;
  background: rgba(200, 164, 78, 0.06);
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  color: var(--gold-light) !important;
  line-height: 1.7 !important;
  font-style: italic;
}

@media (max-width: 600px) {
  .legal-container {
    padding: 40px 16px 80px;
  }
  .legal-card {
    padding: 22px 20px;
  }
  .legal-card h3 {
    font-size: 16px;
  }
}

/* ================================================
   WAITLIST PAGE
   ================================================ */
.waitlist-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-field > label {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.waitlist-field input[type="text"],
.waitlist-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  transition: border-color 0.25s;
}

.waitlist-field input[type="text"]:focus,
.waitlist-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.waitlist-field input[type="text"]::placeholder,
.waitlist-field textarea::placeholder {
  color: var(--text-dim);
}

.waitlist-field textarea {
  resize: vertical;
  min-height: 90px;
}

.waitlist-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.waitlist-radio:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.waitlist-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-dim);
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}

.waitlist-radio input[type="radio"]:checked {
  border-color: var(--gold);
  background: transparent;
}

.waitlist-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-glow-strong);
}

.waitlist-radio input[type="radio"]:checked ~ .waitlist-radio-label strong {
  color: var(--gold-light);
}

.waitlist-radio:has(input:checked) {
  border-color: var(--gold);
  background: rgba(200, 164, 78, 0.05);
}

.waitlist-radio-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.waitlist-radio-label strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}

.waitlist-radio-price {
  font-size: 12px;
  color: var(--text-dim);
}

.waitlist-submit-area {
  text-align: center;
  margin-top: 12px;
}

.waitlist-submit-area .btn-primary {
  min-width: 180px;
}

.waitlist-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: 60px 24px;
  animation: fadeUp 0.5s var(--ease-out);
}

.waitlist-success-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 30px var(--gold-glow-strong);
  animation: soulPulse 2s ease-in-out infinite;
}

.waitlist-success h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.waitlist-success p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.waitlist-success-hint {
  font-size: 13px !important;
  color: var(--text-dim) !important;
  margin: 16px auto 28px !important;
  font-style: italic;
  max-width: 420px;
}

/* Waitlist records */
.waitlist-records {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.waitlist-records-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.waitlist-records-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.waitlist-record-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.waitlist-record-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist-record-plan {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
}

.waitlist-record-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.waitlist-record-row {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.waitlist-record-row .r-label {
  color: var(--text-dim);
  flex: 0 0 auto;
  min-width: 56px;
  font-size: 12px;
}

.waitlist-record-row .r-value {
  flex: 1;
  word-break: break-word;
}

.waitlist-records-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
}

@media (max-width: 600px) {
  .waitlist-container {
    padding: 40px 16px 80px;
  }
  .waitlist-radio {
    padding: 12px 14px;
  }
  .waitlist-success h2 {
    font-size: 22px;
  }
}