/* ═══════════════════════════════════════════════════════════════════════════
   AngelNumberTool.com — Elite Design System
   Brand: Warm Gold + Deep Ink + Calm Sage
   Mobile-first. Never purple. Premium clarity aesthetic.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  /* ══ Brand Palette — Elite Teal-Jade System ════════════════════════
     #1E293B Deep Slate    #10B981 Vibrant Jade    #0F766E Rich Teal
     #E6F6F3 Luminous Mint  #F8FAFC Crisp White    #64748B Structural Gray
     ═════════════════════════════════════════════════════════════════ */

  /* Canvas & Structure */
  --bg:           #F8FAFC;     /* Crisp White — primary canvas */
  --surface:      #E6F6F3;     /* Luminous Mint — depth/separation */
  --surface-hover:#C9EBE5;     /* Mint hover state */

  /* Typography */
  --ink:          #1E293B;     /* Deep Slate — H1/H2, primary body */
  --ink-light:    #334155;     /* Secondary body text */
  --muted:        #64748B;     /* Structural Gray — metadata, fine print */
  --muted-light:  #94A3B8;     /* Lightest text, placeholders */

  /* Primary Action — Vibrant Jade (#10B981) */
  --gold:         #10B981;     /* Primary CTA accent — Vibrant Jade */
  --gold-dark:    #0F766E;     /* Rich Teal — hover / trust / authority */
  --gold-light:   #6EE7B7;     /* Light jade */
  --gold-bg:      #F0FDF9;     /* Ultra-light jade background */

  /* Trust Layer — Rich Teal (#0F766E) */
  --sage:         #10B981;     /* Primary button / action — Vibrant Jade */
  --sage-dark:    #0F766E;     /* Button hover / trust anchor — Rich Teal */
  --sage-light:   #5EEAD4;     /* Light teal */
  --sage-bg:      #CCFBF1;     /* Teal background tint */

  /* Borders */
  --border:       #CBD5E1;     /* Slate border */
  --border-dark:  #94A3B8;     /* Darker slate border */

  /* Semantic */
  --success:      #10B981;
  --success-bg:   #F0FDF9;
  --warning:      #D97706;
  --warning-bg:   #FEF3C7;
  --error:        #DC2626;
  --error-bg:     #FEF2F2;
  --white:        #FFFFFF;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   'Georgia', 'Times New Roman', serif;

  /* Font Sizes */
  --text-xs:      12px;
  --text-sm:      14px;
  --text-base:    16px;
  --text-lg:      18px;
  --text-xl:      20px;
  --text-2xl:     24px;
  --text-3xl:     30px;
  --text-4xl:     38px;
  --text-5xl:     48px;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  /* Radii */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 999px;

  /* Shadows — teal-tinted for brand coherence */
  --shadow-sm:  0 1px 3px rgba(15,118,110,0.07);
  --shadow:     0 4px 16px rgba(15,118,110,0.10);
  --shadow-lg:  0 8px 32px rgba(15,118,110,0.13);
  --shadow-xl:  0 16px 48px rgba(30,41,59,0.15);

  /* Layout */
  --max-content: 760px;
  --max-wide:    1100px;
  --max-admin:   1280px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration:      200ms;
  --duration-slow: 350ms;

  /* Admin specific */
  --admin-sidebar-width: 240px;
  --color-teal:       #0F766E;
  --color-navy:       #1E293B;
  --color-green:      #10B981;
  --color-mint:       #E6F6F3;
  --color-white:      #FFFFFF;
  --color-border:     #CBD5E1;
  --color-light-gray: #E6F6F3;
  --color-gray-cool:  #64748B;
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, video, canvas, audio, iframe, embed, object { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--sage-dark); text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { color: var(--sage); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin-bottom: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ────────────────────────────────────────────────────────── */
.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }

.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-extrabold{ font-weight: 800; }

.text-muted   { color: var(--muted); }
.text-gold    { color: var(--gold); }
.text-sage    { color: var(--sage); }
.text-ink     { color: var(--ink); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }

.uppercase    { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.06em; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container--content {
  max-width: var(--max-content);
}

.container--wide {
  max-width: 1200px;
}

.section { padding: var(--space-12) 0; }
.section--sm { padding: var(--space-8) 0; }
.section--lg { padding: var(--space-20) 0; }

/* Grid */
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-4); }

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* Spacing utilities */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Primary — Sage Green (CTA) */
.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* Gold — Brand accent */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-dark);
}

/* Danger */
.btn-danger {
  background: var(--error);
  color: var(--white);
  border-color: var(--error);
}
.btn-danger:hover { filter: brightness(1.1); }

/* Sizes */
.btn-sm { padding: 8px 16px; font-size: var(--text-sm); min-height: 36px; }
.btn-lg { padding: 16px 32px; font-size: var(--text-lg); min-height: 56px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 36px; font-size: var(--text-xl); min-height: 64px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* Loading state */
.btn.is-loading { pointer-events: none; opacity: 0.75; position: relative; }
.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: var(--space-2);
}

/* ── Badges / Chips ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-gold    { background: var(--gold-bg);   color: var(--gold-dark); }
.badge-sage    { background: var(--sage-bg);   color: var(--sage-dark); }
.badge-muted   { background: var(--surface);   color: var(--muted); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: #92400E; }
.badge-error   { background: var(--error-bg);   color: var(--error); }
.badge-info    { background: #DBEAFE;           color: #1E40AF; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.card-gold {
  background: var(--gold-bg);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.card-sage {
  background: var(--sage-bg);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.card-dark {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

/* Hover card */
.card-hover {
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.card-hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.form-label .required { color: var(--gold); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.form-control::placeholder { color: var(--muted-light); }
.form-control:disabled { opacity: 0.6; cursor: not-allowed; background: var(--surface); }
.form-control.is-error { border-color: var(--error); }
.form-control.is-success { border-color: var(--success); }

.form-help { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-1); }
.form-error { font-size: var(--text-sm); color: var(--error); margin-top: var(--space-1); }

textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Number search input (hero) */
.number-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 440px;
  width: 100%;
}

.number-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
  letter-spacing: 2px;
  min-height: 60px;
}

.number-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18), var(--shadow);
  outline: none;
}

.number-input::placeholder { font-size: var(--text-base); color: var(--muted-light); letter-spacing: 0; }

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  border: 1px solid transparent;
}

.alert--success { background: var(--success-bg); color: var(--success); border-color: #B7E4C7; }
.alert--error   { background: var(--error-bg);   color: var(--error);   border-color: #F5C6CB; }
.alert--warning { background: var(--warning-bg); color: #92400E;        border-color: #FFD77A; }
.alert--info    { background: #EFF6FF;            color: #1E40AF;        border-color: #BFDBFE; }

/* ── Navigation / Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
  max-width: var(--max-wide);
  margin: 0 auto;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.logo-text span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
  background: var(--surface);
}

.header-cta { margin-left: var(--space-2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--surface); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link { padding: 10px 14px; }

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--gold-bg);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: var(--space-5);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 500px;
  margin: 0 auto;
}

.hero-trust {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-dark);
  display: inline-block;
}

/* ── Number Display Block ───────────────────────────────────────────────── */
.number-hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.number-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--sage) 100%);
}

.number-display {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.number-type-label {
  font-size: var(--text-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.direct-answer {
  font-size: var(--text-lg);
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto var(--space-6);
}

/* ── Quick Meaning Cards ────────────────────────────────────────────────── */
.meaning-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.meaning-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.meaning-card:hover {
  background: var(--gold-bg);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.meaning-card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: var(--space-2);
}

.meaning-card-content {
  font-size: var(--text-sm);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Context Tabs ──────────────────────────────────────────────────────── */
.context-tabs {
  margin: var(--space-8) 0;
}

.tabs-nav {
  display: flex;
  gap: var(--space-1);
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
  min-height: 44px;
  flex-shrink: 0;
}

.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  font-size: var(--text-base);
  color: var(--ink-light);
  line-height: 1.75;
}

/* ── Share Card ────────────────────────────────────────────────────────── */
.share-card {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--space-8) 0;
}

.share-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
}

.share-card-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.share-card-message {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  max-width: 440px;
  margin: 0 auto var(--space-6);
  line-height: 1.65;
}

.share-card-brand {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.share-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

/* ── Personal CTA Block ─────────────────────────────────────────────────── */
.personal-cta-block {
  background: linear-gradient(135deg, var(--surface) 0%, var(--gold-bg) 100%);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  margin: var(--space-10) 0;
}

.personal-cta-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-3);
  display: block;
}

.personal-cta-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.personal-cta-copy {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}

.personal-cta-trust {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ── FAQ Accordion ──────────────────────────────────────────────────────── */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  transition: background var(--duration-fast) var(--ease);
  min-height: 56px;
}

.faq-question:hover { background: var(--surface); }
.faq-question.active { color: var(--gold-dark); background: var(--gold-bg); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease), background var(--duration-fast) var(--ease);
  color: var(--muted);
  font-size: 14px;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-bg);
  color: var(--gold-dark);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--ink-light);
  line-height: 1.75;
}

.faq-answer.active { display: block; }

/* ── Related Numbers Grid ───────────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.related-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  background: var(--gold-bg);
}

.related-card-number {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  min-width: 52px;
  letter-spacing: -1px;
}

.related-card-reason {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* ── Final Action Block ─────────────────────────────────────────────────── */
.final-action {
  background: var(--surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  color: var(--ink);
  font-style: italic;
  line-height: 1.7;
  margin: var(--space-8) 0;
}

/* ── Paid Result Card ───────────────────────────────────────────────────── */
.result-hero {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  max-width: 640px;
  margin: 0 auto;
}

.result-number-badge {
  display: inline-block;
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.result-section {
  margin-bottom: var(--space-6);
}

.result-section-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.result-section-title::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.result-text {
  font-size: var(--text-lg);
  color: var(--ink-light);
  line-height: 1.75;
}

.result-action-box {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-5) 0;
}

.result-action-box .result-section-title { color: rgba(255,255,255,0.7); }
.result-action-box .result-section-title::before { background: rgba(255,255,255,0.5); }
.result-action-box .result-text { color: var(--white); }

.result-question-box {
  background: var(--gold-bg);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  font-size: var(--text-lg);
  color: var(--ink);
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

/* ── Popular Numbers Section ────────────────────────────────────────────── */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-3);
  max-width: 700px;
  margin: 0 auto;
}

.number-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.number-chip:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.number-chip-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
}

.number-chip-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 4px;
}

/* ── How It Works ───────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  max-width: 800px;
  margin: var(--space-8) auto 0;
}

.step {
  text-align: center;
  padding: var(--space-5);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
}

/* ── Trust Signals ──────────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
}

.trust-item svg { color: var(--sage); }

/* ── Sticky Bottom CTA (mobile) ─────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  display: none;
  align-items: center;
  gap: var(--space-3);
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(31,41,51,0.08);
}

.sticky-cta.is-visible { display: flex; }
.sticky-cta .btn { flex: 1; }
.sticky-cta-dismiss { color: var(--muted); padding: var(--space-2); }

/* ── Section Headers ────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-3);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 3px 0;
  transition: color var(--duration-fast) var(--ease);
}
.footer-link:hover { color: var(--ink); }

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* ── Tool Page ──────────────────────────────────────────────────────────── */
.tool-container {
  max-width: 540px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.tool-step {
  display: none;
}
.tool-step.active { display: block; }

.life-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

.life-area-btn {
  padding: var(--space-4);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.life-area-btn:hover, .life-area-btn.selected {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold-dark);
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.preview-blur {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  opacity: 0.7;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

.preview-unlock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

/* ── Loading Spinner ────────────────────────────────────────────────────── */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-12);
  text-align: center;
}

.loading-state p { font-size: var(--text-sm); color: var(--muted); }

/* ── Admin Styles ───────────────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #EBF7F5;
}

.admin-sidebar {
  width: var(--admin-sidebar-width);
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 200;
}

.admin-sidebar-logo {
  padding: var(--space-5) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.admin-sidebar-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.admin-sidebar-logo-text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.admin-sidebar-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-nav { padding: var(--space-4) 0; flex: 1; }

.admin-nav-group {
  margin-bottom: var(--space-4);
}

.admin-nav-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 0 var(--space-4) var(--space-2);
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 9px var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
  border-radius: 0;
  margin: 1px 0;
  position: relative;
}

.admin-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.admin-nav-link.active {
  color: var(--white);
  background: rgba(16,185,129,0.18);
  font-weight: 600;
}

.admin-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}

.admin-nav-link svg { flex-shrink: 0; opacity: 0.8; }
.admin-nav-link.active svg { opacity: 1; }

.admin-nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.admin-main {
  margin-left: var(--admin-sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-6);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.admin-content {
  padding: var(--space-6);
  flex: 1;
}

/* Admin Stats Cards */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.stat-card--gold::after    { background: var(--gold); }
.stat-card--sage::after    { background: var(--sage); }
.stat-card--success::after { background: var(--success); }
.stat-card--warning::after { background: var(--warning); }
.stat-card--error::after   { background: var(--error); }
.stat-card--muted::after   { background: var(--muted-light); }

.stat-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-sub { font-size: var(--text-sm); color: var(--muted); }
.stat-delta { font-size: var(--text-sm); font-weight: 600; }
.stat-delta--up   { color: var(--success); }
.stat-delta--down { color: var(--error); }

/* Admin Tables */
.admin-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.admin-table th {
  padding: 12px var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px var(--space-4);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface); }

/* Admin Page Header */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.admin-page-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
}

.admin-page-subtitle {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 2px;
}

/* Admin Filters */
.admin-filters {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.admin-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 var(--space-3);
  transition: border-color var(--duration-fast) var(--ease);
  height: 40px;
  min-width: 240px;
}

.admin-search:focus-within { border-color: var(--gold); }
.admin-search input { border: none; outline: none; background: none; font-size: var(--text-sm); color: var(--ink); flex: 1; height: 100%; }
.admin-search input::placeholder { color: var(--muted-light); }

.filter-select {
  height: 40px;
  padding: 0 36px 0 12px;
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2364748B' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

/* Inline notification */
.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.inline-notice--info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.inline-notice--warning { background: var(--warning-bg); border: 1px solid #FFD77A; color: #92400E; }
.inline-notice--success { background: var(--success-bg); border: 1px solid #B7E4C7; color: var(--success); }
.inline-notice--error   { background: var(--error-bg); border: 1px solid #F5C6CB; color: var(--error); }

/* Status chips */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-chip--paid      { background: var(--success-bg); color: var(--success); }
.status-chip--pending   { background: #FEF3C7; color: #92400E; }
.status-chip--failed    { background: var(--error-bg); color: var(--error); }
.status-chip--refunded  { background: var(--surface); color: var(--muted); }
.status-chip--generated { background: var(--sage-bg); color: var(--sage-dark); }
.status-chip--draft     { background: var(--surface); color: var(--muted); }
.status-chip--published { background: var(--success-bg); color: var(--success); }
.status-chip--stale     { background: var(--warning-bg); color: #92400E; }
.status-chip--active    { background: var(--success-bg); color: var(--success); }
.status-chip--inactive  { background: var(--surface); color: var(--muted); }

/* Tooltips */
.tooltip-wrap { position: relative; display: inline-flex; }
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--ink);
  color: var(--white);
  font-size: var(--text-xs);
  padding: 5px 10px;
  border-radius: var(--radius);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
  z-index: 999;
  max-width: 220px;
  white-space: normal;
  text-align: center;
}
.tooltip-wrap:hover .tooltip { opacity: 1; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,41,51,0.5);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 1000;
}

.modal-overlay.is-open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}
.modal-close:hover { background: var(--error-bg); color: var(--error); }

/* ── Dividers & Misc ────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--muted);
  margin: var(--space-5) 0;
}
.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.empty-state-icon { font-size: 40px; margin-bottom: var(--space-4); opacity: 0.4; }
.empty-state-title { font-size: var(--text-xl); font-weight: 700; color: var(--ink); margin-bottom: var(--space-2); }
.empty-state-desc { font-size: var(--text-sm); color: var(--muted); max-width: 320px; margin: 0 auto var(--space-5); }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeIn  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse   { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-in  { animation: fadeIn var(--duration-slow) var(--ease) both; }
.animate-pulse { animation: pulse 2s ease infinite; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform var(--duration) var(--ease); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar { padding: 0 var(--space-4); }
  .footer-links { flex-direction: column; gap: var(--space-6); }
}

@media (max-width: 768px) {
  :root { --space-20: 56px; --space-16: 48px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .meaning-cards { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-2); }
  .personal-cta-block { padding: var(--space-8) var(--space-4); }
  .number-hero-card { padding: var(--space-6) var(--space-4); }
}

@media (max-width: 480px) {
  .meaning-cards { grid-template-columns: 1fr 1fr; }
  .life-area-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .share-actions { flex-direction: column; }
  .sticky-cta { padding-bottom: max(var(--space-3), env(safe-area-inset-bottom)); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   ELITE ADMIN SYSTEM — Breadcrumb, Side Drawer, Filter Chips,
   Density Toggle, Command Palette, Status Tabs, Bulk Bar,
   Table Enhancements, Pagination, Admin Card Headers
   ═══════════════════════════════════════════════════════════════ */

/* ── Admin Card ─────────────────────────────────────────────── */
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.admin-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.admin-card-subtitle {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 2px;
}
.admin-card-body { padding: var(--space-6); }

/* ── Admin Page Header ──────────────────────────────────────── */
.admin-ph {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.admin-ph-left { flex: 1; min-width: 0; }
.admin-ph-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.admin-ph-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-1) 0;
  line-height: 1.2;
}
.admin-ph-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}
.admin-ph-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Admin Breadcrumb Bar ───────────────────────────────────── */
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.admin-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
.admin-breadcrumb a:hover { color: var(--ink); }
.admin-breadcrumb-sep {
  color: var(--border-dark);
  font-size: 11px;
}
.admin-breadcrumb-current { color: var(--ink); font-weight: 600; }

/* ── Admin Status Tabs ──────────────────────────────────────── */
.admin-status-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-status-tabs::-webkit-scrollbar { display: none; }
.admin-status-tab {
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.admin-status-tab:hover { color: var(--ink); }
.admin-status-tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.admin-status-tab .tab-count {
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}
.admin-status-tab.active .tab-count {
  background: var(--gold-bg);
  color: var(--gold-dark);
}

/* ── Filter Chips ───────────────────────────────────────────── */
.filter-chips-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}
.filter-chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold-dark);
  padding: 0;
  line-height: 1;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--duration-fast) var(--ease);
  font-size: 14px;
}
.filter-chip-remove:hover { opacity: 1; }
.filter-clear-all {
  font-size: var(--text-xs);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  min-height: auto;
  transition: color var(--duration-fast) var(--ease);
}
.filter-clear-all:hover { color: var(--error); }

/* ── Bulk Action Bar ────────────────────────────────────────── */
.bulk-action-bar {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--ink);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.bulk-action-bar.is-visible { display: flex; }
.bulk-action-count {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.bulk-action-count span { color: var(--gold); }
.bulk-action-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.bulk-action-bar .btn-sm {
  font-size: var(--text-xs);
  padding: 6px 14px;
  min-height: 32px;
}

/* ── Table Enhancements ─────────────────────────────────────── */
.admin-table th.sortable {
  cursor: pointer;
  user-select: none;
}
.admin-table th.sortable:hover { background: var(--surface); color: var(--ink); }
.sort-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.4;
}
.sort-icon.asc  { opacity: 1; }
.sort-icon.desc { opacity: 1; transform: rotate(180deg); }
.admin-table .sticky-col {
  position: sticky;
  right: 0;
  background: var(--white);
  box-shadow: -2px 0 8px rgba(31,41,51,0.06);
  z-index: 1;
}
.admin-table tr:hover .sticky-col { background: var(--surface); }

/* Row quick actions */
.row-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
}
.admin-table tr:hover .row-actions { opacity: 1; }
.row-action-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  text-decoration: none;
  font-size: 12px;
}
.row-action-btn:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-bg); }
.row-action-btn.danger:hover { border-color: var(--error); color: var(--error); background: var(--error-bg); }

/* ── Density Toggle ─────────────────────────────────────────── */
.density-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
}
.density-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
  min-height: auto;
  padding: 0;
}
.density-btn.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
/* Compact density */
body.density-compact .admin-table td,
body.density-compact .admin-table th { padding: 7px var(--space-4); }
/* Comfortable density (default) — no change needed */

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pagination-info {
  font-size: var(--text-sm);
  color: var(--muted);
  white-space: nowrap;
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.pagination-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
  min-height: auto;
  padding: 0;
}
.pagination-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.pagination-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pagination-btn:disabled, .pagination-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ── Side Drawer ────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,41,51,0.45);
  backdrop-filter: blur(2px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.drawer-overlay.is-open { opacity: 1; pointer-events: all; }

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 520px;
  max-width: 100vw;
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease);
  box-shadow: -8px 0 40px rgba(31,41,51,0.12);
  overflow: hidden;
}
.side-drawer.is-open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  gap: var(--space-3);
  flex-shrink: 0;
}
.drawer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  border: 1px solid var(--border);
  flex-shrink: 0;
  font-size: 16px;
  min-height: auto;
  padding: 0;
}
.drawer-close:hover { background: var(--error-bg); color: var(--error); border-color: var(--error); }
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}
.drawer-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Drawer detail rows */
.drawer-field {
  margin-bottom: var(--space-4);
}
.drawer-field-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.drawer-field-value {
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.6;
}
.drawer-section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-5) 0;
}
.drawer-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ── Command Palette ────────────────────────────────────────── */
.cmd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,41,51,0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}
.cmd-overlay.is-open { display: flex; }

.cmd-palette {
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(31,41,51,0.25), 0 8px 24px rgba(31,41,51,0.12);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: fadeIn 0.18s var(--ease) both;
}
.cmd-search-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}
.cmd-search-icon { color: var(--muted); flex-shrink: 0; }
.cmd-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--text-lg);
  color: var(--ink);
  background: none;
  font-family: var(--font-sans);
}
.cmd-input::placeholder { color: var(--muted-light); }
.cmd-kbd {
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  flex-shrink: 0;
  cursor: default;
}
.cmd-results {
  max-height: 380px;
  overflow-y: auto;
  padding: var(--space-2) 0;
}
.cmd-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: var(--space-3) var(--space-5) var(--space-1);
}
.cmd-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-5);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
  text-decoration: none;
  color: var(--ink);
}
.cmd-item:hover, .cmd-item.is-focused {
  background: var(--surface);
  color: var(--ink);
}
.cmd-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--muted);
}
.cmd-item.is-focused .cmd-item-icon { background: var(--gold-bg); color: var(--gold-dark); }
.cmd-item-label { font-size: var(--text-sm); font-weight: 500; flex: 1; }
.cmd-item-sub { font-size: var(--text-xs); color: var(--muted); }
.cmd-item-shortcut { font-size: 11px; color: var(--muted); font-family: monospace; flex-shrink: 0; }
.cmd-footer {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--muted);
}
.cmd-footer-shortcut {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ── Admin Topbar Enhancement ───────────────────────────────── */
.admin-topbar-search {
  flex: 1;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 var(--space-3);
  height: 36px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  color: var(--muted);
  font-size: var(--text-sm);
}
.admin-topbar-search:hover { border-color: var(--gold); background: var(--gold-bg); }
.admin-topbar-search-text { flex: 1; }
.admin-topbar-bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  flex-shrink: 0;
}
.admin-topbar-bell:hover { border-color: var(--gold); color: var(--gold-dark); }
.admin-topbar-bell-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error);
  border: 2px solid var(--white);
}

/* ── KPI Summary Bar (horizontal) ──────────────────────────── */
.admin-kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
}
.admin-kpi-bar-item {
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  text-align: center;
}
.admin-kpi-bar-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.admin-kpi-bar-value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.admin-kpi-bar-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Table toolbar (search + filters + density) ─────────────── */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.table-toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  flex-wrap: wrap;
}
.table-toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.table-search-input {
  width: 240px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 var(--space-3) 0 36px;
  font-size: var(--text-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='6' cy='6' r='4.5' stroke='%2364748B' stroke-width='1.3'/%3E%3Cpath d='M9.5 9.5L12 12' stroke='%2364748B' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 10px center;
  color: var(--ink);
  transition: border-color var(--duration-fast) var(--ease);
}
.table-search-input:focus { outline: none; border-color: var(--gold); }

/* ── Table Responsive Wrapper ───────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Inline Editing ─────────────────────────────────────────── */
.inline-edit-field {
  display: none;
  width: 100%;
  padding: 4px 8px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--white);
}
.inline-edit-field.is-active { display: block; }
.inline-edit-value.is-hidden { display: none; }

/* ── Activity Timeline ──────────────────────────────────────── */
.activity-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.activity-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.activity-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  position: relative;
}
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-dark);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  flex-shrink: 0;
  margin-top: 5px;
  z-index: 1;
  position: relative;
}
.activity-dot--success { background: var(--success); box-shadow: 0 0 0 2px rgba(16,185,129,0.2); }
.activity-dot--error   { background: var(--error);   box-shadow: 0 0 0 2px rgba(220,38,38,0.2); }
.activity-dot--warning { background: var(--warning);  box-shadow: 0 0 0 2px rgba(217,119,6,0.2); }
.activity-dot--info    { background: #60A5FA; box-shadow: 0 0 0 2px rgba(96,165,250,0.2); }
.activity-content { flex: 1; padding-left: var(--space-2); min-width: 0; }
.activity-title { font-size: var(--text-sm); font-weight: 600; color: var(--ink); line-height: 1.4; }
.activity-meta { font-size: var(--text-xs); color: var(--muted); margin-top: 2px; }

/* ── Operational Alert Strip ────────────────────────────────── */
.op-alert-strip {
  background: var(--error-bg);
  border: 1px solid #FCA5A5;
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}
.op-alert-strip--warning { background: var(--warning-bg); border-color: #FDE68A; }
.op-alert-strip--info    { background: #EFF6FF; border-color: #BFDBFE; }
.op-alert-strip--success { background: var(--success-bg); border-color: #A7F3D0; }
.op-alert-strip-icon { font-size: 18px; flex-shrink: 0; }
.op-alert-strip-text { flex: 1; color: var(--ink); line-height: 1.5; }
.op-alert-strip-text strong { font-weight: 700; }
.op-alert-strip-actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Quick Stats Row ────────────────────────────────────────── */
.quick-stats {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}
.quick-stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--muted);
}
.quick-stat-value { font-weight: 700; color: var(--ink); }
.quick-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-dark);
  flex-shrink: 0;
}
.quick-stat-dot--success { background: var(--success); }
.quick-stat-dot--warning { background: var(--warning); }
.quick-stat-dot--error   { background: var(--error); }

/* ── Loading Table Skeleton ─────────────────────────────────── */
.table-skeleton-row td { padding: 14px var(--space-4); }
.table-skeleton-cell { height: 14px; border-radius: 4px; }

/* ── Empty State (table) ────────────────────────────────────── */
.table-empty {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}
.table-empty-icon {
  font-size: 36px;
  opacity: 0.3;
  margin-bottom: var(--space-3);
}
.table-empty-title { font-size: var(--text-lg); font-weight: 700; color: var(--ink); margin-bottom: var(--space-2); }
.table-empty-desc { font-size: var(--text-sm); color: var(--muted); max-width: 300px; margin: 0 auto var(--space-5); line-height: 1.6; }

/* ── Progress Step (admin wizard) ───────────────────────────── */
.admin-progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-6);
}
.admin-progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}
.admin-progress-step.active { color: var(--gold-dark); }
.admin-progress-step.done   { color: var(--success); }
.admin-progress-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--white);
}
.admin-progress-step.active .admin-progress-step-dot { border-color: var(--gold); color: var(--gold-dark); }
.admin-progress-step.done   .admin-progress-step-dot { border-color: var(--success); background: var(--success); color: var(--white); }
.admin-progress-step-line {
  height: 1px;
  width: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.admin-progress-step.done + .admin-progress-step-line { background: var(--success); }

/* ── Topbar Subhead ─────────────────────────────────────────── */
.admin-topbar-sub {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

/* ── Responsive: collapse admin page header ─────────────────── */
@media (max-width: 768px) {
  .admin-ph { flex-direction: column; align-items: flex-start; }
  .admin-ph-actions { width: 100%; }
  .side-drawer { width: 100%; }
  .drawer-overlay.is-open ~ .side-drawer { transform: translateX(0); }
  .admin-kpi-bar { grid-template-columns: repeat(2, 1fr); }
  .table-search-input { width: 160px; }
  .bulk-action-bar { gap: var(--space-2); }
  .admin-status-tabs { gap: 0; }
  .admin-breadcrumb { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ELITE ADDITIONS — Toast, Progress, Skeleton, Result Sections
   ═══════════════════════════════════════════════════════════════ */

/* ── Toast Notification System ──────────────────────────────── */
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0)    scale(1);    }
  to   { opacity: 0; transform: translateY(8px)  scale(0.96); }
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 360px;
  width: calc(100vw - 48px);
}

.toast {
  pointer-events: all;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(31,41,51,0.22), 0 2px 6px rgba(31,41,51,0.14);
  animation: toast-in 0.3s var(--ease) forwards;
  border-left: 4px solid var(--gold);
}

.toast.is-leaving { animation: toast-out 0.25s var(--ease) forwards; }

.toast--success { border-left-color: var(--success); }
.toast--error   { border-left-color: var(--error);   }
.toast--info    { border-left-color: #60A5FA;         }
.toast--warning { border-left-color: var(--warning);  }

.toast-icon { flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.toast-message { flex: 1; }

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease);
  min-height: auto;
}
.toast-close:hover { color: var(--white); }

/* ── Tool Step Progress Dots ────────────────────────────────── */
.tool-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-8);
  user-select: none;
}

.tool-progress-step {
  display: flex;
  align-items: center;
}

.tool-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  transition: all 0.35s var(--ease);
  position: relative;
  z-index: 1;
}

.tool-progress-dot.done {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.tool-progress-dot.active {
  background: var(--white);
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  font-weight: 800;
}

.tool-progress-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  transition: background 0.35s var(--ease);
  flex-shrink: 0;
}

.tool-progress-line.done { background: var(--sage); }

.tool-progress-label {
  display: none; /* Show on desktop via media query below */
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 480px) {
  .tool-progress-dot { width: 36px; height: 36px; font-size: var(--text-sm); }
  .tool-progress-line { width: 56px; }
  .tool-progress-label { display: block; }
  .tool-progress-step { margin-bottom: 28px; }
}

/* ── Step Transition Animation ──────────────────────────────── */
@keyframes step-slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes step-slide-out {
  from { opacity: 1; transform: translateX(0);     }
  to   { opacity: 0; transform: translateX(-20px); }
}

.tool-step { animation: step-slide-in 0.3s var(--ease) both; }
.tool-step.is-leaving { animation: step-slide-out 0.2s var(--ease) both; }

/* ── Skeleton Loading ────────────────────────────────────────── */
@keyframes skeleton-pulse {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface) 25%,
    var(--border)  50%,
    var(--surface) 75%
  );
  background-size: 800px 100%;
  animation: skeleton-pulse 1.6s ease-in-out infinite;
  border-radius: var(--radius);
  display: block;
}

.skeleton-text { height: 16px; margin-bottom: 10px; border-radius: 4px; }
.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
.skeleton-text.long   { width: 100%; }
.skeleton-heading { height: 28px; width: 60%; margin-bottom: 16px; border-radius: 6px; }
.skeleton-card { height: 120px; border-radius: var(--radius-lg); }

/* ── Result Page Reading Sections ───────────────────────────── */
.result-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-7);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.result-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.result-section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.result-section-icon--gold   { background: var(--gold-bg); }
.result-section-icon--sage   { background: var(--sage-bg); }
.result-section-icon--warm   { background: #FFF7ED; }
.result-section-icon--light  { background: var(--surface); }

.result-section-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.result-section-subtitle {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.result-section-body {
  font-size: var(--text-base);
  color: var(--ink-light);
  line-height: 1.8;
}

/* Action box */
.result-action-box {
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.result-action-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--white);
}

.result-action-text {
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.65;
}

/* Reflection question */
.result-reflection-box {
  background: var(--surface);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-lg);
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
}

/* Safety note */
.result-safety-box {
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  font-size: var(--text-sm);
  color: #5D4037;
  line-height: 1.7;
  margin-top: var(--space-4);
}

/* Share card (result page version) */
.share-card-result {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--space-6) 0;
}

.share-card-result::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(16,185,129,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(15,118,110,0.10) 0%, transparent 60%);
}

.share-card-result-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: var(--space-2);
  position: relative;
}

.share-card-result-text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto var(--space-6);
  font-style: italic;
  position: relative;
}

/* Email reading CTA */
.email-reading-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  margin: var(--space-6) 0;
}

.email-reading-cta h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.email-reading-cta p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.email-reading-form {
  display: flex;
  gap: var(--space-2);
  max-width: 400px;
  margin: 0 auto;
}

.email-reading-form .form-control {
  flex: 1;
}

@media (max-width: 480px) {
  .email-reading-form { flex-direction: column; }
  .toast-container { bottom: 16px; right: 12px; left: 12px; width: auto; max-width: none; }
}

/* ── Social Proof / Trust Bar ────────────────────────────────── */
.social-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-4);
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.social-proof-item strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Admin Dashboard Elite Additions ────────────────────────── */
.admin-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.admin-kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}

.admin-kpi-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.admin-kpi-card:hover::after { opacity: 1; }

.admin-kpi-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.admin-kpi-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.admin-kpi-trend {
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-kpi-trend.up   { color: var(--success); }
.admin-kpi-trend.down { color: var(--error); }
.admin-kpi-trend.flat { color: var(--muted); }

/* Sparkline inline SVG container */
.admin-sparkline {
  height: 32px;
  margin-top: var(--space-3);
}

.admin-sparkline svg { width: 100%; height: 100%; overflow: visible; }
.admin-sparkline path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.admin-sparkline circle { fill: var(--gold); }

/* Alert panel (failed jobs, errors) */
.admin-alert-panel {
  background: var(--error-bg);
  border: 1px solid #F5C6CB;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.admin-alert-panel.is-hidden { display: none; }

.admin-alert-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.admin-alert-body { flex: 1; }

.admin-alert-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--error);
  margin-bottom: 4px;
}

.admin-alert-desc {
  font-size: var(--text-sm);
  color: var(--ink-light);
}

.admin-alert-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

/* Quick action buttons row */
.admin-quick-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

/* Revenue sparkline chart card */
.revenue-chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}

.revenue-chart-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.revenue-chart-svg {
  width: 100%;
  height: 72px;
  overflow: visible;
}

/* ── Tool Page Email Capture Field ───────────────────────────── */
.tool-email-field {
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}

.tool-email-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.tool-email-field .form-help {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--space-2);
}

/* ── Loading Message Animation ────────────────────────────────── */
@keyframes loading-fade {
  0%   { opacity: 0; transform: translateY(4px); }
  20%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

.loading-message-animated {
  animation: loading-fade 2.8s ease-in-out infinite;
  font-size: var(--text-base);
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  min-height: 28px;
}

/* ── Delight: Reading Reveal ─────────────────────────────────── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
  50%       { box-shadow: 0 0 0 8px rgba(16,185,129,0.18); }
}

/* Number input typing micro-interaction — subtle alive feeling.
   Triggered by JS adding .is-typing class for ~600ms per keystroke. */
.number-input.is-typing {
  border-color: var(--gold);
  animation: glow-pulse 1.2s var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .number-input.is-typing { animation: none; }
}

/* ── Free-Result: "This often shows up when…" recognition card ──
   Soft, breathable, calming — matches brand voice, sets up the pay CTA. */
.signal-card {
  background: linear-gradient(135deg, var(--gold-bg) 0%, var(--surface) 100%);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-xl, 18px);
  padding: 22px 22px 20px;
  margin-top: 18px;
  box-shadow: 0 4px 20px -10px rgba(15, 118, 110, 0.18);
}
.signal-card-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.signal-card-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.signal-card-context {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-light);
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--gold-light);
}

.reading-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
  animation: glow-pulse 2s ease-in-out 3;
}

.result-hero-number {
  font-size: clamp(52px, 12vw, 88px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.result-hero-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--space-6);
}

.result-situation-recap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

/* ── Animated counter for admin stats ──────────────────────── */
.count-up { transition: all 0.8s ease-out; }

/* ═══════════════════════════════════════════════════════════════════
   BRAND SYSTEM — Logo + Elite 3-Variant Card Components + Motion UX
   ═══════════════════════════════════════════════════════════════════ */

/* ── Logo Image ──────────────────────────────────────────────────── */
.site-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 200px;
}

.site-logo-img--sm  { height: 32px; }
.site-logo-img--lg  { height: 48px; }
.site-logo-img--icon { height: 36px; width: 36px; object-fit: contain; }

/* ── Card Reveal Animation ───────────────────────────────────────── */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Universal Brand Card Base ───────────────────────────────────── */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 3 / 4;
  padding: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  max-width: 320px;
  width: 100%;
  /* Viewport reveal animation */
  opacity: 0;
  animation: cardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  /* Hover physics */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

/* Staggered reveal delays */
.brand-card:nth-child(1) { animation-delay: 0s; }
.brand-card:nth-child(2) { animation-delay: 0.15s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }

/* Hover lift + teal shadow */
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15,118,110,0.18);
}

/* ── Sparkle Decoration (4-point star) ──────────────────────────── */
.brand-card__sparkle {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  z-index: 3;
  pointer-events: none;
  color: #0F766E;
  opacity: 0.7;
}

.brand-card__sparkle--right {
  left: auto;
  right: 1.75rem;
  top: 1.25rem;
  opacity: 0.5;
  transform: scale(0.65);
}

.brand-card__sparkle--white { color: #FFFFFF; opacity: 0.85; }

/* ── Card Content Zone ───────────────────────────────────────────── */
.brand-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
}

/* Number display (Variant B) */
.brand-card__number {
  font-size: 4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.brand-card__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.3;
}

/* Text line (Variants A + C) */
.brand-card__text {
  font-size: 2rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.brand-card__text--lg { font-size: 2.25rem; }

/* Kinetic highlight — jade→teal gradient on hover */
.brand-card__highlight {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #10B981 0%, #0F766E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  display: inline-block;
  background-size: 200% 200%;
  transition: background-position 0.6s ease;
}

.brand-card__highlight--lg { font-size: 2.25rem; }

.brand-card:hover .brand-card__highlight {
  background-position: 100% 100%;
}

/* ── Card Footer (brand anchor) ──────────────────────────────────── */
.brand-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 3;
  padding-top: 1rem;
  margin-top: 1rem;
}

.brand-card__footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.brand-card__footer-logo--circle {
  border-radius: 50%;
}

.brand-card__footer-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: -0.01em;
}

.brand-card__footer--light .brand-card__footer-name { color: rgba(255,255,255,0.92); }
.brand-card__footer--white { border-top: 1px solid rgba(255,255,255,0.2); }
.brand-card__footer--teal  { border-top: 1px solid rgba(15,118,110,0.15); }

/* ═══════════════════════════════════
   VARIANT A — Atmospheric Overlay
   ═══════════════════════════════════ */
.brand-card--atmospheric {
  /* Sky→forest→ground gradient simulates landscape.
     Replace with real photo: background-image: url('/images/landscape.jpg');
     background-size: cover; background-position: center bottom;
     Then move the white gradient to ::before */
  background:
    linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.88) 32%, rgba(255,255,255,0) 62%),
    linear-gradient(to bottom,
      #E0F2FE 0%,
      #BAE6FD 16%,
      #7EC8A0 46%,
      #4A7C59 68%,
      #2D4A1F 100%
    );
}

.brand-card--atmospheric .brand-card__footer {
  border-top: 1px solid rgba(255,255,255,0.5);
}

.brand-card--atmospheric .brand-card__footer-name {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════
   VARIANT B — High-Contrast Teal Accent
   ═══════════════════════════════════ */
.brand-card--accent {
  background: #0F766E;
}

/* Angel wings watermark */
.brand-card--accent::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 52C50 30 25 18 5 28C-2 32 0 45 10 50C22 55 40 48 60 52Z' fill='white' opacity='0.07'/%3E%3Cpath d='M60 52C70 30 95 18 115 28C122 32 120 45 110 50C98 55 80 48 60 52Z' fill='white' opacity='0.07'/%3E%3Cpath d='M60 52C50 30 25 18 5 28C-2 32 0 45 10 50C22 55 40 48 60 52Z' fill='none' stroke='white' stroke-width='0.75' opacity='0.1'/%3E%3Cpath d='M60 52C70 30 95 18 115 28C122 32 120 45 110 50C98 55 80 48 60 52Z' fill='none' stroke='white' stroke-width='0.75' opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.brand-card--accent:hover {
  box-shadow: 0 20px 40px -10px rgba(15,118,110,0.40);
}

/* ═══════════════════════════════════
   VARIANT C — Luminous Gradient
   ═══════════════════════════════════ */
.brand-card--luminous {
  background: linear-gradient(135deg, #F8FAFC 0%, #E6F6F3 100%);
  border: 1px solid rgba(15,118,110,0.12);
}

/* Feather watermark bottom-right */
.brand-card--luminous::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 12%;
  width: 80px;
  height: 160px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4C28 16 32 36 28 56C24 68 20 76 20 76C20 76 16 68 12 56C8 36 12 16 20 4Z' fill='%230F766E' opacity='0.14'/%3E%3Cline x1='20' y1='4' x2='20' y2='76' stroke='%230F766E' stroke-width='0.8' opacity='0.18'/%3E%3Cpath d='M20 20C16 25 11 26 8 28' stroke='%230F766E' stroke-width='0.7' opacity='0.13'/%3E%3Cpath d='M20 32C16 37 10 38 7 40' stroke='%230F766E' stroke-width='0.7' opacity='0.13'/%3E%3Cpath d='M20 44C16 49 11 50 8 52' stroke='%230F766E' stroke-width='0.7' opacity='0.13'/%3E%3Cpath d='M20 56C16 61 11 62 8 64' stroke='%230F766E' stroke-width='0.7' opacity='0.13'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  transform: rotate(-15deg);
  z-index: 1;
  pointer-events: none;
}

/* ── Brand Cards Layout Helper ───────────────────────────────────── */
.brand-cards-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 24px;
  justify-content: center;
  align-items: start;
}

@media (max-width: 640px) {
  .brand-card { max-width: 100%; padding: 1.5rem; }
  .brand-card__text, .brand-card__highlight { font-size: 1.5rem; }
  .brand-card__text--lg, .brand-card__highlight--lg { font-size: 1.75rem; }
  .brand-card__number { font-size: 3rem; }
  .brand-card__subtitle { font-size: 1.25rem; }
  .brand-cards-set { grid-template-columns: 1fr; }
}
