/* ═══════════════════════════════════════════════════
   Relationship Lens — Style System
   Design language: Editorial dark-romance
   Palette: Obsidian · Rose quartz · Soft violet · Warm ivory
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Tokens ── */
:root {
  --bg:          #07060a;
  --bg2:         #0f0d14;
  --bg3:         #16131e;
  --surface:     rgba(255,255,255,0.04);
  --surface-b:   rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.07);
  --border-b:    rgba(255,255,255,0.13);

  --rose:        #f97fa8;
  --rose-dim:    rgba(249,127,168,0.15);
  --rose-glow:   rgba(249,127,168,0.25);
  --violet:      #a78bfa;
  --violet-dim:  rgba(167,139,250,0.15);
  --violet-glow: rgba(167,139,250,0.25);
  --amber:       #fbbf24;
  --emerald:     #34d399;
  --sky:         #38bdf8;

  --text-0:      #f8f4ff;
  --text-1:      #c4bdd6;
  --text-2:      #7b7291;
  --text-3:      #4a4460;

  --font-ui:     'Sora', sans-serif;
  --font-serif:  'DM Serif Display', serif;
  --font-body:   'DM Sans', sans-serif;

  --radius-sm:   10px;
  --radius:      18px;
  --radius-lg:   26px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --spring:      cubic-bezier(.34,1.56,.64,1);

  /* Spacing system tokens */
  --space-xs:    4px;
  --space-sm:    8px;
  --space-md:    16px;
  --space-lg:    24px;
  --space-xl:    32px;
  --space-2xl:   48px;

  --card-padding: var(--space-lg);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-0);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh;
}
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Page System ── */
.page { display: none; min-height: 100dvh; position: relative; }
.page.active { display: flex; flex-direction: column; }

/* ══════════════════════════════════════════
   LANDING
══════════════════════════════════════════ */
#page-landing { overflow: hidden; }

.landing-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .45;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #a855f7 0%, transparent 70%); top: -150px; left: -100px; animation-duration: 14s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #f97fa8 0%, transparent 70%); bottom: -100px; right: -80px; animation-duration: 10s; animation-delay: -4s; }
.orb-3 { width: 260px; height: 260px; background: radial-gradient(circle, #38bdf8 0%, transparent 70%); top: 45%; left: 55%; opacity: .2; animation-duration: 17s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }

.nav {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.4rem; color: var(--rose); filter: drop-shadow(0 0 8px var(--rose-glow)); }
.logo-text { font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; letter-spacing: -.5px; }
.nav-tagline { font-size: .8rem; color: var(--text-2); letter-spacing: .08em; }

.landing-main {
  position: relative; z-index: 5;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px 80px;
  gap: 48px;
}

.landing-hero { text-align: center; max-width: 700px; }
.hero-pill {
  display: inline-block; margin-bottom: 24px;
  padding: 6px 16px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border-b);
  font-size: .78rem; color: var(--text-1); letter-spacing: .04em;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, #c9b6e4 70%, var(--rose) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 1.05rem; color: var(--text-1); max-width: 540px;
  margin: 0 auto; line-height: 1.7;
}

.upload-zone-wrapper { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: 20px; }

.drop-zone {
  border: 1.5px dashed var(--border-b);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .2s var(--spring);
  cursor: pointer;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--rose);
  background: var(--rose-dim);
  transform: scale(1.01);
}
.drop-zone-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 44px 32px;
  color: var(--text-2);
}
.drop-icon { color: var(--rose); opacity: .8; }
.drop-title { font-weight: 500; font-size: 1rem; color: var(--text-1); }
.drop-sub { font-size: .8rem; }

.btn-upload {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 99px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff; font-weight: 600; font-size: .9rem;
  transition: opacity .2s, transform .2s var(--spring);
  box-shadow: 0 4px 20px rgba(249,127,168,.3);
}
.btn-upload:hover { opacity: .9; transform: scale(1.03); }

.or-divider {
  display: flex; align-items: center; gap: 16px;
  color: var(--text-3); font-size: .8rem;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.demo-cards { display: flex; flex-direction: column; gap: 10px; }
.demo-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: background .2s, border-color .2s, transform .2s var(--spring);
  text-align: left;
}
.demo-card:hover { background: var(--surface-b); border-color: var(--border-b); transform: translateX(4px); }
.demo-card-icon { font-size: 1.5rem; }
.demo-card-info { flex: 1; }
.demo-card-title { font-weight: 600; font-size: .95rem; }
.demo-card-sub { font-size: .78rem; color: var(--text-2); }
.demo-card-arrow { color: var(--text-3); font-size: 1rem; transition: transform .2s; }
.demo-card:hover .demo-card-arrow { transform: translateX(4px); color: var(--rose); }

.trust-bar {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--text-2);
  flex-wrap: wrap; justify-content: center;
}

/* How-to export guide */
.how-to {
  width: 100%; max-width: 620px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.how-to summary {
  padding: 14px 20px; font-size: .82rem; color: var(--text-2);
  cursor: pointer; list-style: none; user-select: none;
  transition: color .2s;
}
.how-to summary:hover { color: var(--text-1); }
.how-to-body { padding: 0 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.how-to-item { display: flex; flex-direction: column; gap: 4px; }
.how-to-title { font-size: .82rem; font-weight: 600; color: var(--text-0); }
.how-to-steps { font-size: .78rem; color: var(--text-2); line-height: 1.5; }

/* Section block wrapper (right column) */
.section-block { display: flex; flex-direction: column; }

/* ══════════════════════════════════════════
   LOADING
══════════════════════════════════════════ */
#page-loading { align-items: center; justify-content: center; background: var(--bg); }
.loading-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.loading-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 32px; }

.loading-anim { position: relative; width: 80px; height: 80px; }
.loading-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--rose);
  animation: spin 1.4s linear infinite;
}
.loading-ring.r2 { inset: 10px; border-top-color: var(--violet); animation-duration: 1.8s; animation-direction: reverse; }
.loading-ring.r3 { inset: 20px; border-top-color: var(--sky); animation-duration: 2.2s; }
@keyframes spin { to { transform: rotate(360deg); } }

.loading-label { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-1); }
.loading-steps { display: flex; flex-direction: column; gap: 8px; }
.loading-step { font-size: .82rem; color: var(--text-3); transition: color .4s; padding: 4px 12px; border-radius: 6px; }
.loading-step.active { color: var(--rose); }
.loading-step.done { color: var(--emerald); }

/* ══════════════════════════════════════════
   RESULTS HEADER
══════════════════════════════════════════ */
#page-results { display: none; flex-direction: column; background: var(--bg); }
#page-results.active { display: flex; }

.results-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,6,10,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.results-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.btn-back {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--text-2);
  transition: color .2s;
}
.btn-back:hover { color: var(--rose); }
.chat-badge {
  font-size: .78rem; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 99px;
}

.results-tabs {
  display: flex; gap: 0; padding: 0 32px;
  border-top: 1px solid var(--border);
}
.tab {
  padding: 14px 22px;
  font-size: .85rem; font-weight: 500; color: var(--text-2);
  position: relative; transition: color .2s;
  white-space: nowrap;
}
.tab:hover { color: var(--text-1); }
.tab.active { color: var(--rose); }
.tab.active::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0; right: 0; height: 2px;
  background: var(--rose);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px var(--rose-glow);
}

/* ══════════════════════════════════════════
   TAB PANELS
══════════════════════════════════════════ */
.tab-panel { display: none; padding: 40px 32px; animation: fadeUp .35s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Shared: Glass Card */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-padding);
  backdrop-filter: blur(8px);
  transition: border-color .25s;
}
.glass-card:hover { border-color: var(--border-b); }
.card-label { font-size: .7rem; letter-spacing: .1em; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; }
.card-title-small { font-weight: 600; font-size: 1rem; color: var(--text-0); margin-bottom: 24px; }

/* ── VERDICT / OVERVIEW TAB ── */
.verdict-layout {
  display: grid;
  grid-template-columns: minmax(320px, 360px) 1fr;
  gap: var(--space-lg);
  align-items: start;
  max-width: 1120px;
}
@media(max-width:960px){ .verdict-layout { grid-template-columns: 1fr; } }

.verdict-left { display: flex; flex-direction: column; gap: var(--space-md); }
.verdict-right { display: flex; flex-direction: column; gap: var(--space-md); }

/* Archetype card */
.archetype-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--card-padding);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.archetype-top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.verdict-avatars { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 1.2rem;
}
.av-1 { background: linear-gradient(135deg, #f97fa8, #e879f9); box-shadow: 0 0 18px rgba(249,127,168,.3); }
.av-2 { background: linear-gradient(135deg, #818cf8, #38bdf8); box-shadow: 0 0 18px rgba(129,140,248,.3); }
.avatar-link { font-size: 1.4rem; color: var(--text-3); }
.verdict-names { font-size: .85rem; color: var(--text-2); font-weight: 500; }

.archetype-label-row { display: flex; align-items: flex-start; gap: 14px; }
.archetype-emoji { font-size: 2.2rem; line-height: 1; }
.archetype-name { font-weight: 800; font-size: 1.1rem; color: var(--text-0); font-family: var(--font-ui); margin-bottom: 4px; }
.archetype-headline { font-size: .82rem; color: var(--text-1); }

.arch-bullets { display: flex; flex-direction: column; gap: 7px; }
.arch-bullet {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .84rem; color: var(--text-1);
  padding: 8px 12px; background: var(--surface);
  border-radius: 8px; border-left: 2px solid var(--violet);
  line-height: 1.4;
}
.arch-bullet::before { content: '—'; color: var(--text-3); font-size: .75rem; flex-shrink: 0; margin-top: 1px; }

.trajectory-strip {
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; text-align: center;
}

/* Metric chips grid */
.chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric-chip {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 10px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  gap: 4px; text-align: center; transition: border-color .2s;
}
.metric-chip:hover { border-color: var(--border-b); }
.chip-value { font-family: var(--font-ui); font-size: 1.3rem; font-weight: 800; }
.chip-label { font-size: .65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }
.chip-sub   { font-size: .72rem; font-weight: 600; }
.chip-green .chip-value, .chip-green .chip-sub { color: var(--emerald); }
.chip-amber .chip-value, .chip-amber .chip-sub { color: var(--amber); }
.chip-red   .chip-value, .chip-red   .chip-sub { color: var(--rose); }

/* Attachment */
.attachment-card {
  background: linear-gradient(135deg, rgba(167,139,250,.07), rgba(249,127,168,.05));
  border: 1px solid rgba(167,139,250,.2);
  border-radius: var(--radius); padding: 18px 20px;
}
.attachment-label { font-size: .78rem; font-weight: 700; margin-bottom: 10px; }
.attach-bullets { display: flex; flex-direction: column; gap: 6px; }
.attach-bullet { font-size: .82rem; color: var(--text-1); padding: 6px 10px; background: rgba(255,255,255,.03); border-radius: 6px; }

/* Moments */
.section-header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.section-label { font-size: .68rem; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; }
.section-sub { font-size: .78rem; color: var(--text-2); }

.moments-list { display: flex; flex-direction: column; gap: 12px; }
.moment-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
  border-left: 3px solid var(--violet);
}
.moment-text { font-size: .88rem; color: var(--text-0); line-height: 1.5; font-style: italic; margin-bottom: 8px; }
.moment-meta { font-size: .75rem; color: var(--text-2); }
.moment-tag {
  display: inline-block; padding: 2px 8px; border-radius: 99px;
  font-size: .68rem; font-weight: 600; margin-right: 6px;
  background: var(--violet-dim); color: var(--violet);
}
.moment-tag.warm { background: var(--rose-dim); color: var(--rose); }
.moment-tag.cool { background: rgba(148,163,184,.12); color: #94a3b8; }

/* Flags */
.flags-section { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flags-col { display: flex; flex-direction: column; gap: 10px; }
.flags-header {
  font-size: .8rem; font-weight: 700; padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.green-header { background: rgba(52,211,153,.08); color: var(--emerald); border: 1px solid rgba(52,211,153,.15); }
.red-header { background: rgba(249,127,168,.08); color: var(--rose); border: 1px solid rgba(249,127,168,.15); }
.flags-list { display: flex; flex-direction: column; gap: 6px; }
.flag-item {
  font-size: .81rem; color: var(--text-1); padding: 8px 10px;
  background: var(--surface); border-radius: 8px; border: 1px solid var(--border);
  line-height: 1.4; display: flex; gap: 8px; align-items: flex-start;
}
.flag-icon { flex-shrink: 0; font-size: .9rem; }

/* ── PERSONAS TAB ── */
.personas-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: start;
  max-width: 960px; margin-bottom: var(--space-xl);
}
@media(max-width:960px){ 
  .personas-grid { 
    grid-template-columns: 1fr; 
    gap: var(--space-lg);
  } 
  .vs-divider { display: none; } 
}

.persona-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--card-padding);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.persona-header { display: flex; align-items: center; gap: 14px; }
.persona-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.persona-name { font-weight: 700; font-size: 1rem; }
.persona-archetype { font-size: .8rem; color: var(--rose); font-weight: 600; }
.persona-insight { font-size: .8rem; color: var(--text-2); line-height: 1.5; padding: 10px 12px; background: var(--surface); border-radius: 8px; border-left: 2px solid var(--violet); }

.vs-divider {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 22px; gap: 8px;
}
.vs-line { flex: 1; width: 1px; background: var(--border); min-height: 60px; }
.vs-label { font-size: .7rem; color: var(--text-3); font-weight: 700; letter-spacing: .1em; }

.persona-meters { display: flex; flex-direction: column; gap: 12px; }
.meter-row { display: flex; align-items: center; gap: 10px; }
.meter-label { font-size: .75rem; color: var(--text-2); width: 90px; flex-shrink: 0; }
.meter-track { flex: 1; height: 5px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; }
.meter-fill { height: 100%; border-radius: 99px; transition: width 1s var(--spring); }
.fill-rose { background: linear-gradient(90deg, #e879f9, var(--rose)); }
.fill-violet { background: linear-gradient(90deg, #818cf8, var(--violet)); }
.fill-amber { background: linear-gradient(90deg, #f59e0b, var(--amber)); }
.fill-emerald { background: linear-gradient(90deg, #10b981, var(--emerald)); }
.fill-sky { background: linear-gradient(90deg, #0ea5e9, var(--sky)); }
.meter-val { font-size: .72rem; color: var(--text-2); width: 36px; text-align: right; flex-shrink: 0; }

/* Stat chips inside persona */
.persona-stat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pstat {
  padding: 4px 10px; border-radius: 99px;
  font-size: .7rem; font-weight: 600; font-family: var(--font-ui);
  background: var(--surface); border: 1px solid var(--border); color: var(--text-1);
}
.pstat.hi { background: var(--rose-dim); border-color: rgba(249,127,168,.2); color: var(--rose); }

.persona-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
  padding: 4px 10px; border-radius: 99px;
  font-size: .72rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-1);
}
.ptag.rose   { background: var(--rose-dim);   border-color: rgba(249,127,168,.2); color: var(--rose); }
.ptag.violet { background: var(--violet-dim);  border-color: rgba(167,139,250,.2); color: var(--violet); }
.ptag.red    { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.2); color: #f87171; }

/* ── PERSPECTIVE NAV SELECTOR ── */
.perspective-nav-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  margin-right: 12px;
}
/* Mobile layout handled by media query at bottom of style.css */
.p-nav-label {
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 600;
  padding-left: 6px;
}
.p-nav-pills {
  display: flex;
  gap: 4px;
}
.p-pill-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  color: var(--text-2);
}
.p-pill-btn:hover {
  color: var(--text-0);
  background: rgba(255,255,255,0.03);
}
.p-pill-btn.active {
  color: var(--text-0);
  background: var(--rose-dim);
  border: 1px solid rgba(249,127,168,0.25);
  box-shadow: 0 0 12px rgba(249,127,168,0.1);
}

/* ── PERSPECTIVE CARD ── */
.perspective-top-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  align-items: stretch;
}
@media (max-width: 960px) {
  .perspective-top-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.perspective-card {
  background: linear-gradient(135deg, rgba(22, 19, 30, 0.7), rgba(15, 13, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--card-padding);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.perspective-top-row .perspective-card {
  margin-bottom: 0;
}
.perspective-card:hover {
  border-color: rgba(249, 127, 168, 0.3);
  box-shadow: 0 16px 48px rgba(249, 127, 168, 0.15);
  transform: translateY(-2px);
}
.perspective-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.perspective-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.p-card-icon {
  font-size: 1.25rem;
  color: var(--rose);
}
.p-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
}
.p-card-sub {
  font-size: 0.72rem;
  color: var(--text-2);
}
.p-card-body {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  z-index: 1;
}
@media(max-width: 500px) {
  .p-card-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* Gauge styling */
.p-gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.p-gauge-ring-container {
  position: relative;
  width: 100px;
  height: 100px;
}
#p-gauge-canvas {
  width: 100px;
  height: 100px;
  display: block;
}
.p-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-gauge-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--rose);
  font-family: var(--font-ui);
  text-shadow: 0 0 10px var(--rose-glow);
}
.p-gauge-label {
  font-size: 0.62rem;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

/* Rizz rating styling */
.p-rizz-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-rizz-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media(max-width: 500px) {
  .p-rizz-header { justify-content: center; }
}
.p-rizz-rating {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-0);
  font-family: var(--font-ui);
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.p-rizz-rating.rizz-emerald {
  color: var(--emerald);
  text-shadow: 0 0 15px rgba(52,211,153,0.4);
}
.p-rizz-rating.rizz-sky {
  color: var(--sky);
  text-shadow: 0 0 15px rgba(56,189,248,0.4);
}
.p-rizz-rating.rizz-amber {
  color: var(--amber);
  text-shadow: 0 0 15px rgba(251,191,36,0.4);
}
.p-rizz-rating.rizz-rose {
  color: var(--rose);
  text-shadow: 0 0 15px rgba(249,127,168,0.4);
}
.p-rizz-grade-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.p-delusion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.p-metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-metric-val-large {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.p-metric-val-large.delusion-low {
  color: var(--emerald);
  text-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}
.p-metric-val-large.delusion-mid {
  color: var(--amber);
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}
.p-metric-val-large.delusion-high {
  color: var(--rose);
  text-shadow: 0 0 15px rgba(249, 127, 168, 0.4);
}

.p-metric-label-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.p-rizz-desc {
  font-size: 0.8rem;
  color: var(--text-1);
  line-height: 1.45;
  margin-bottom: 12px;
}

.p-delusion-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-delusion-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--text-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.p-delusion-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.p-delusion-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--amber) 50%, var(--rose) 100%);
  transition: width 0.8s var(--spring);
}

/* Next Move block */
.p-next-move-box {
  background: rgba(167, 139, 250, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-left: 4px solid var(--rose);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s, border-left-color 0.3s;
  margin-top: auto;
}
.perspective-card:hover .p-next-move-box {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.25);
  border-left-color: var(--rose);
}
.p-next-move-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
}
.p-next-move-content {
  font-size: 0.82rem;
  color: var(--text-0);
  line-height: 1.4;
}

/* Rizz text card styling & Texting traits */
.p-card-body-rizz {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
#rizz-readout-card .p-rizz-grade-row {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.p-rizz-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
/* New badge colors for traits */
.ptag.emerald { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.2); color: var(--emerald); }
.ptag.sky     { background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.2); color: var(--sky); }
.ptag.amber   { background: rgba(251,191,36,0.1);  border-color: rgba(251,191,36,0.2);  color: var(--amber); }

/* Closeness score card inner grid & progress breakdown styling */
.closeness-inner-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  flex: 1;
}
.closeness-gauge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.closeness-breakdown-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cb-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 600;
}
.cb-label {
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cb-value {
  color: var(--text-1);
  font-family: var(--font-ui);
}
.cb-value.penalty {
  color: var(--rose);
}
.cb-value.bonus {
  color: var(--emerald);
}
.cb-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}
.cb-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--violet);
  transition: width 0.8s var(--spring);
}
.cb-fill.rose { background: var(--rose); }
.cb-fill.violet { background: var(--violet); }
.cb-fill.sky { background: var(--sky); }
.cb-fill.amber { background: var(--amber); }
.cb-fill.emerald { background: var(--emerald); }
.cb-fill.red { background: #ef4444; }

/* Media queries grouped in responsive section at the bottom of style.css */

/* Delusion Card Specifics */
.delusion-card {
  background: linear-gradient(135deg, rgba(22, 19, 30, 0.7), rgba(15, 13, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.delusion-card:hover {
  border-color: rgba(249, 127, 168, 0.3);
  box-shadow: 0 16px 48px rgba(249, 127, 168, 0.15);
  transform: translateY(-2px);
}
.delusion-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.delusion-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.d-card-icon {
  font-size: 1.25rem;
}
.d-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
}
.d-card-sub {
  font-size: 0.72rem;
  color: var(--text-2);
}
.d-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}
.d-value-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.d-badge-box {
  z-index: 1;
}

/* Delusion badge styling */
.delusion-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid transparent;
}
.delusion-badge.warning {
  background: rgba(249, 127, 168, 0.05);
  border-color: rgba(249, 127, 168, 0.15);
  border-left: 4px solid var(--rose);
}
.delusion-badge.caution {
  background: rgba(251, 191, 36, 0.05);
  border-color: rgba(251, 191, 36, 0.15);
  border-left: 4px solid var(--amber);
}
.delusion-badge.safe {
  background: rgba(52, 211, 153, 0.05);
  border-color: rgba(52, 211, 153, 0.15);
  border-left: 4px solid var(--emerald);
}
.db-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.db-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-0);
}
.db-desc {
  font-size: 0.75rem;
  color: var(--text-1);
  line-height: 1.4;
}

/* DBL / Vibe Check Section */
.dbl-section { max-width: 960px; margin-top: 8px; }
.dbl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
@media(max-width:600px) {
  .dbl-grid { grid-template-columns: 1fr; }
}
.dbl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: var(--card-padding);
  display: flex; flex-direction: column; gap: var(--space-md);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.dbl-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-b);
}
.dbl-card-header { display: flex; align-items: center; gap: 12px; }
.dbl-icon { font-size: 1.3rem; }
.dbl-meta { display: flex; flex-direction: column; }
.dbl-title { font-size: .88rem; font-weight: 700; color: var(--text-0); }
.dbl-sub { font-size: .72rem; color: var(--text-2); }

.dbl-value-large {
  font-size: 1.8rem; font-weight: 800; color: var(--rose);
  font-family: var(--font-ui); margin-top: 4px;
}
.dbl-value-compare {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 1.25rem; font-weight: 800; color: var(--text-0);
  font-family: var(--font-ui); margin-top: 4px;
}
.dbl-vs { font-size: .75rem; color: var(--text-3); font-weight: 400; }

.dbl-bar-container { height: 6px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; }
.dbl-bar-fill { height: 100%; border-radius: 99px; transition: width .8s var(--spring); }

.dbl-split-bar { height: 6px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; display: flex; }
.dbl-split-p1 { height: 100%; transition: width .8s var(--spring); }
.dbl-split-p2 { height: 100%; transition: width .8s var(--spring); }

.dbl-card-footer { font-size: .75rem; color: var(--text-2); line-height: 1.4; }

/* Vibe Profile Breakdown Card */
.vibe-profile-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vibe-bars-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.vibe-row {
  display: grid;
  grid-template-columns: 180px 1fr 50px;
  align-items: center;
  gap: 16px;
}
@media(max-width: 600px) {
  .vibe-profile-card { grid-column: span 1; }
  .vibe-row {
    grid-template-columns: 110px 1fr 40px;
    gap: 8px;
    font-size: 0.8rem;
  }
}
.vibe-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
}
.vibe-bar-wrapper {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}
.vibe-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s var(--spring);
}
.vibe-percentage {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
  text-align: right;
}

/* Theme Colors for Vibe Bars */
.vibe-bar-fill.fill-romantic {
  background: linear-gradient(90deg, var(--rose-glow), var(--rose));
  box-shadow: 0 0 10px rgba(249, 127, 168, 0.3);
}
.vibe-bar-fill.fill-emotional {
  background: linear-gradient(90deg, var(--violet-glow), var(--violet));
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}
.vibe-bar-fill.fill-casual {
  background: linear-gradient(90deg, #fbbf24, var(--amber));
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.vibe-bar-fill.fill-academic {
  background: linear-gradient(90deg, #38bdf8, var(--sky));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
.vibe-bar-fill.fill-professional {
  background: linear-gradient(90deg, #94a3b8, #64748b);
  box-shadow: 0 0 10px rgba(100, 116, 139, 0.3);
}

.dbl-summary {
  background: linear-gradient(135deg, var(--rose-dim), var(--violet-dim));
  border: 1px solid rgba(249,127,168,.15);
  border-radius: var(--radius); padding: 20px 24px;
  font-size: .88rem; color: var(--text-1); line-height: 1.65; margin-top: 20px;
}

/* ── PATTERNS TAB ── */
.patterns-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-bottom: var(--space-lg); }
@media(max-width:960px){ .patterns-top { grid-template-columns: 1fr; } }

#clock-canvas { display: block; margin: 0 auto; }
.clock-legend { display: flex; justify-content: center; gap: 20px; margin-top: 12px; font-size: .8rem; color: var(--text-2); align-items: center; }
.cl-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.cl-dot.rose { background: var(--rose); }
.cl-dot.indigo { background: var(--violet); }

.speed-faceoff { display: flex; align-items: center; justify-content: space-around; gap: 16px; }
.speed-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.speed-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.speed-name { font-size: .78rem; color: var(--text-2); }
.speed-val { font-size: 1.4rem; font-weight: 800; color: var(--text-0); font-family: var(--font-ui); }
.speed-label { font-size: .72rem; color: var(--text-3); }
.speed-vs { font-size: 1.4rem; color: var(--amber); }
.gap-note { margin-top: 16px; font-size: .8rem; color: var(--text-2); text-align: center; padding: 8px 12px; background: var(--surface); border-radius: 8px; }

.init-ring-container { position: relative; width: 160px; height: 160px; margin: 0 auto 16px; }
#init-donut { position: relative; z-index: 1; }
.init-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.init-total { font-size: 1.5rem; font-weight: 800; color: var(--text-0); }
.init-total-label { font-size: .68rem; color: var(--text-3); }
.init-legend { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.il-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-2); }
.il-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.il-dot.rose { background: var(--rose); }
.il-dot.indigo { background: var(--violet); }
.il-pct { font-weight: 600; color: var(--text-0); margin-left: 2px; }

.timeline-card { }
.timeline-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.timeline-trend-pill { padding: 4px 12px; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.trend-warming { background: rgba(52,211,153,.1); color: var(--emerald); border: 1px solid rgba(52,211,153,.2); }
.trend-cooling { background: rgba(249,127,168,.1); color: var(--rose); border: 1px solid rgba(249,127,168,.2); }
.trend-steady  { background: rgba(251,191,36,.1); color: var(--amber); border: 1px solid rgba(251,191,36,.2); }
#timeline-canvas { width: 100%; border-radius: 8px; }
.timeline-legend { display: flex; justify-content: flex-end; gap: 20px; margin-top: 12px; font-size: .78rem; color: var(--text-2); align-items: center; }

/* ── SCIENCE TAB — removed ── */

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg3); border: 1px solid var(--border-b);
  padding: 12px 24px; border-radius: 99px;
  font-size: .85rem; color: var(--text-0); font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--spring);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 999;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 99px; }

/* ── RESPONSIVE ── */
@media(max-width:680px){
  :root {
    --card-padding: var(--space-md);
  }
  .nav { padding: var(--space-md) var(--space-lg); }
  .landing-main { padding: var(--space-md) var(--space-md) var(--space-xl); gap: var(--space-xl); }
  .tab-panel { padding: var(--space-lg) var(--space-md); }
  
  .results-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 
      "back logo badge"
      "persp persp persp";
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    align-items: center;
  }
  .btn-back { grid-area: back; justify-self: start; }
  .nav-logo { grid-area: logo; justify-self: center; }
  .chat-badge { grid-area: badge; justify-self: end; }
  .perspective-nav-box {
    display: flex;
    grid-area: persp;
    justify-self: center;
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }
  
  .results-tabs { padding: 0 var(--space-md); overflow-x: auto; }
  .flags-section { grid-template-columns: 1fr; }
}

@media(max-width:480px) {
  .closeness-inner-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--space-md);
  }
  .cb-header {
    font-size: 0.62rem;
  }
}

/* ── TEXTING BADGES ── */
.persona-badges-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, border-color 0.2s;
}
.badge-item:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.12);
}
.badge-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.badge-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
}
.badge-desc {
  font-size: 0.68rem;
  color: var(--text-2);
  line-height: 1.3;
}
.badge-delusional { border-left: 3px solid var(--rose); background: rgba(249,127,168,0.03); }
.badge-yapper { border-left: 3px solid var(--violet); background: rgba(167,139,250,0.03); }
.badge-cactus { border-left: 3px solid #ef4444; background: rgba(239,68,68,0.03); }
.badge-speedrunner { border-left: 3px solid var(--amber); background: rgba(251,191,36,0.03); }
.badge-ghost { border-left: 3px solid #38bdf8; background: rgba(56,189,248,0.03); }
.badge-night { border-left: 3px solid #818cf8; background: rgba(129,140,248,0.03); }
.badge-emoji { border-left: 3px solid #ec4899; background: rgba(236,72,153,0.03); }
.badge-anchor { border-left: 3px solid var(--emerald); background: rgba(52,211,153,0.03); }

/* SEO Copy Sections */
.seo-copy-container {
  width: 100%;
  max-width: 1200px;
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}
.seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-padding);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.seo-section:hover {
  border-color: var(--border-b);
}
.seo-section h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--text-0), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.seo-intro {
  font-size: 0.85rem;
  color: var(--text-1);
  margin-bottom: var(--space-md);
  line-height: 1.55;
}
.seo-grid, .faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: auto;
}
@media (max-width: 960px) {
  .seo-copy-container {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: var(--space-lg);
  }
}
.seo-item, .faq-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.seo-item h3, .faq-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
}
.seo-item p, .faq-item p {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Dating Wrapped Share Card Styling */
.share-wrapped-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.share-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.share-icon {
  font-size: 1.25rem;
  color: var(--rose);
}
.share-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-0);
  font-family: var(--font-ui);
}
.share-sub {
  font-size: 0.72rem;
  color: var(--text-2);
}

.share-wrapped-preview {
  background: linear-gradient(135deg, rgba(22, 19, 30, 0.9), rgba(15, 13, 20, 0.95));
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.share-wrapped-preview::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(249, 127, 168, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.share-wrapped-preview::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wrapped-card-brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rose);
  text-transform: uppercase;
  font-family: var(--font-ui);
  z-index: 1;
}
.wrapped-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-0);
  text-align: center;
  margin: var(--space-sm) 0;
  line-height: 1.3;
  font-style: italic;
  z-index: 1;
}
.wrapped-card-stat {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  z-index: 1;
}
.wc-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wc-stat-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--rose);
  font-family: var(--font-ui);
}
.wrapped-card-footer {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-top: var(--space-sm);
  z-index: 1;
}

.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-1);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-share:hover {
  background: var(--rose-dim);
  border-color: rgba(249, 127, 168, 0.25);
  color: var(--rose);
  transform: scale(1.02);
}

/* Landing Page Footer Disclaimer */
.landing-footer {
  margin-top: 80px;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  width: 100%;
}
.disclaimer-text {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 800px;
  margin: 0 auto;
}
.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
}
.footer-links a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--rose);
}
.footer-dot {
  color: var(--text-3);
}
.footer-copyright {
  font-size: 0.65rem;
  color: var(--text-3);
  margin-top: 12px;
}
.logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  align-self: center;
}
