/* ─── RishiRich Design System — Pure Black/White, DM Sans ─── */

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-100: #f5f5f5;
  --grey-200: #e0e0e0;
  --grey-400: #888888;
  --grey-600: #444444;
  --grey-800: #1a1a1a;
  --font: 'DM Sans', sans-serif;
  --nav-h: 64px;
  --radius: 2px;
  --radius-lg: 6px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--white); }

/* ─── INSTALL BANNER ─── */
.install-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}
.install-banner.hidden { display: none; }
.btn-install {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  font-family: var(--font);
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.05em;
}
#install-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: auto;
  color: var(--black);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 32px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

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

.btn-nav {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 7px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition);
}
.btn-nav:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 5vw;
  flex-direction: column;
  gap: 16px;
  z-index: 800;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: none;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

.w-full { width: 100%; justify-content: center; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 5vw 80px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero-title {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-n {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-glyph-display {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 40vw);
  height: min(380px, 40vw);
  z-index: 1;
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 5vw;
}

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}
.section-header.centered {
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ─── SERIES GRID ─── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.series-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}
.series-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.3);
}

.series-glyph {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.series-info { flex: 1; }
.series-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  display: block;
}
.series-info h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.series-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.series-count {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.series-arrow {
  font-size: 22px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.series-card:hover .series-arrow {
  color: var(--white);
  transform: translateX(4px);
}

/* ─── HOW IT WORKS ─── */
.how-section { background: rgba(255,255,255,0.02); }

.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.1);
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.step-icon {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.step-connector {
  color: rgba(255,255,255,0.2);
  font-size: 18px;
  padding-top: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ─── DARJIE SECTION ─── */
.darjie-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.darjie-left {
  padding: 60px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.darjie-left h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.darjie-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.darjie-right {
  padding: 48px 40px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}
.darjie-chat-preview {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  border-radius: var(--radius);
}
.chat-msg.user {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  align-self: flex-end;
  max-width: 88%;
}
.chat-msg.ai {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  align-self: flex-start;
}
.ai-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.chat-glyph-preview {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

/* ─── GLYPH SHOWCASE ─── */
.glyph-section { text-align: center; }
.glyph-section .section-header { margin: 0 auto 50px; text-align: center; }

.glyph-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.glyph-item {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.glyph-item:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: scale(1.05);
}

.glyph-legend {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--white);
  color: var(--black);
  padding: 80px 5vw;
}
.cta-box {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--black);
}
.cta-box p {
  font-size: 15px;
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .btn-primary {
  background: var(--black);
  color: var(--white);
}
.cta-section .btn-outline {
  border-color: rgba(0,0,0,0.3);
  color: var(--black);
}
.cta-section .btn-outline:hover { background: rgba(0,0,0,0.05); border-color: var(--black); }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 5vw 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 14px 0 16px;
}
.footer-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px;
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ─── AUTH MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  color: var(--black);
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: rgba(0,0,0,0.4);
  transition: color var(--transition);
}
.modal-close:hover { color: var(--black); }
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
  color: var(--black);
}
.modal-header p { font-size: 13px; color: rgba(0,0,0,0.5); }

.modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: rgba(0,0,0,0.4);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.modal-tab.active { color: var(--black); border-bottom-color: var(--black); }

.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form.hidden { display: none; }

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.2);
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
}
.modal-input:focus { border-color: var(--black); }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.2);
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.btn-google:hover { background: var(--grey-100); border-color: rgba(0,0,0,0.35); }

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(0,0,0,0.35);
}
.modal-divider::before, .modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.modal-link {
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  text-align: center;
  text-decoration: none;
}
.modal-link:hover { color: var(--black); }

.auth-message {
  padding: 12px;
  border: 1px solid;
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
}
.auth-message.success { border-color: rgba(0,150,0,0.3); color: rgb(0,120,0); background: rgba(0,255,0,0.05); }
.auth-message.error { border-color: rgba(200,0,0,0.3); color: rgb(180,0,0); background: rgba(255,0,0,0.05); }
.auth-message.hidden { display: none; }

/* ─── ASSET CARDS (shared) ─── */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.asset-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 28px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
}
.asset-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.25); }
.asset-card.locked { opacity: 0.5; }

.asset-id {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.asset-glyph-container {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.asset-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.asset-series-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.asset-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 24px;
}
.asset-price {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.asset-locked-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 3px 8px;
  text-transform: uppercase;
}

/* ─── PERSONALIZER ─── */
.personalizer-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2px;
  min-height: calc(100vh - var(--nav-h));
}
.chat-panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.chat-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chat-header h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.chat-header p { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: rgba(255,255,255,0.4); }
.chat-input::placeholder { color: rgba(255,255,255,0.3); }
.chat-send {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 12px 20px;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: opacity var(--transition);
}
.chat-send:hover { opacity: 0.85; }

.config-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.config-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.config-glyph-display {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
}
.config-fields { display: flex; flex-direction: column; gap: 12px; }
.config-field { border: 1px solid rgba(255,255,255,0.1); padding: 16px; }
.config-field-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; display: block; }
.config-field-val { font-size: 15px; font-weight: 600; }
.config-cta { margin-top: auto; }

/* ─── WARDROBE ─── */
.wardrobe-empty {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  color: rgba(255,255,255,0.4);
}
.wardrobe-empty h3 { font-size: 24px; font-weight: 700; color: rgba(255,255,255,0.6); }

/* ─── ABOUT PAGE ─── */
.about-hero { padding: calc(var(--nav-h) + 80px) 5vw 80px; max-width: 800px; }
.about-hero h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 24px; line-height: 1.0; }
.about-hero p { font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ─── GLYPH SCAN PAGE ─── */
.scan-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5vw; }
.scan-card { text-align: center; max-width: 500px; }
.scan-card h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }

/* ─── UTILITIES ─── */
.hidden { display: none !important; }
.text-center { text-align: center; }

/* ─── PAGE TRANSITIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-3 { animation-delay: 0.35s; opacity: 0; animation-fill-mode: forwards; }

/* ─── LOADING ─── */
.loading-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.loading-dots span {
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: dotPulse 1.2s infinite ease-in-out;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-glyph-display { display: none; }
  .series-grid { grid-template-columns: 1fr; }
  .steps-flow { flex-direction: column; }
  .step-connector { display: none; }
  .darjie-card { grid-template-columns: 1fr; }
  .darjie-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .personalizer-layout { grid-template-columns: 1fr; }
  .config-panel { border-top: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 28px 22px; }
  .cta-actions { flex-direction: column; }
}
