/* ============================================================
   IdeaScore.ai — Design System
   style.css — Shared across all pages
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:           #F7F6F2;
  --bg2:          #FFFFFF;
  --bg3:          #F0EEE8;
  --bg-dark:      #0E0E12;
  --bg-dark2:     #1A1628;
  --bg-dark3:     #2D2B3D;

  /* Brand */
  --indigo:       #5A4FCF;
  --indigo-soft:  #7B6FF0;
  --indigo-tint:  #EEEAF8;
  --indigo-deep:  #3730A3;

  /* Accent */
  --emerald:      #10B981;
  --amber:        #F59E0B;
  --rose:         #F43F5E;

  /* Ink */
  --ink:          #0E0E12;
  --ink2:         #4A4840;
  --ink3:         #7A7870;
  --ink4:         #9A9890;

  /* Snow */
  --snow:         #F7F6F2;
  --snow2:        #C4C2D4;
  --snow3:        #8B8A9A;

  /* Lines */
  --line:         #E2E0D8;
  --line2:        #D0CEC6;
  --line-dark:    #2D2B3D;

  /* Typography */
  --serif:        'Instrument Serif', Georgia, serif;
  --sans:         'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Easing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Compatibility aliases (used in SEO/legal pages) ── */
  --chalk:      #F7F6F2;          /* = --snow  */
  --surface:    #F0EEE8;          /* = --bg3   */
  --stroke:     #E2E0D8;          /* = --line  */
  --green:      #10B981;          /* = --emerald */
  --radius:     10px;             /* = --r-md  */
  --radius-lg:  16px;             /* = --r-lg  */
  --radius-xl:  24px;             /* = --r-xl  */
  --gutter:     clamp(16px, 4vw, 40px);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.05);
  --ink-40:     rgba(14,14,18,.40);
  --ink-60:     rgba(14,14,18,.60);
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--indigo-tint);
  color: var(--indigo-deep);
}

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

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

button {
  cursor: pointer;
}

input, textarea, select {
  font-family: var(--sans);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--ink);
}

.display em {
  font-style: italic;
  color: var(--indigo);
}

.display-sm {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.score-num {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -3px;
  line-height: 1;
}

h2 {
  font-family: var(--sans);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.3px;
}

h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--indigo);
}

.body-lg {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink2);
}

.body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink2);
}

.body-sm {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink3);
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--r-full);
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-spring);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  padding: 13px 28px;
}

.btn-primary:hover {
  background: var(--indigo-soft);
  transform: translateX(2px);
}

.btn-primary:active {
  background: var(--indigo-deep);
  transform: scale(0.97);
}

.btn-primary .arrow {
  transition: transform 0.2s var(--ease-spring);
  display: inline-block;
}

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

.btn-outline {
  background: transparent;
  color: var(--ink);
  padding: 12px 26px;
  border: 1px solid var(--line2);
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--ink3);
  padding: 10px 16px;
  border-radius: var(--r-md);
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover {
  background: var(--bg3);
  color: var(--ink);
}

.btn-dark {
  background: #fff;
  color: var(--indigo-deep);
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dark:hover {
  background: var(--indigo-tint);
  transform: translateX(2px);
}

.btn-dark .arrow {
  transition: transform 0.2s var(--ease-spring);
  display: inline-block;
}

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

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 16px;
  padding: 16px 36px;
}

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================================================
   5. CARDS
   ============================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

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

.card-lift {
  cursor: pointer;
}

.card-lift:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  box-shadow: 0 8px 24px rgba(90, 79, 207, 0.12);
}

.card-dark {
  background: var(--bg-dark3);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 28px;
}

.card-featured {
  border: 1.5px solid var(--indigo);
  background: var(--bg2);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
}

.card-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(90,79,207,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   6. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--sans);
  white-space: nowrap;
}

.badge-indigo { background: var(--indigo-tint); color: var(--indigo-deep); }
.badge-green  { background: #ECFDF5; color: #065F46; }
.badge-amber  { background: #FFFBEB; color: #92400E; }
.badge-rose   { background: #FFF1F2; color: #9F1239; }
.badge-ink    { background: var(--bg3); color: var(--ink2); }

/* Score badge colours */
.badge-score-high  { background: #ECFDF5; color: #065F46; }
.badge-score-mid   { background: #FFFBEB; color: #92400E; }
.badge-score-low   { background: #FFF1F2; color: #9F1239; }

/* Rank badges */
.badge-gold   { background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; }
.badge-silver { background: linear-gradient(135deg, #9CA3AF, #6B7280); color: #fff; }
.badge-bronze { background: linear-gradient(135deg, #CD7F32, #A0522D); color: #fff; }

/* Small badge variant */
.badge-sm {
  font-size: 11px;
  padding: 2px 8px;
  line-height: 1.4;
}

/* ============================================================
   7. LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 64px 0;
}

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

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

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

/* Flex utility */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================================
   8. NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.dark {
  background: rgba(14, 14, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-right: auto;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo span,
.nav-logo-dot {
  color: var(--indigo);
}

.nav.dark .nav-logo {
  color: var(--snow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  padding: 8px 14px;
  border-radius: var(--r-md);
  transition: all 0.15s ease;
  display: inline-block;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--bg3);
}

.nav-link.active {
  color: var(--ink);
  background: var(--bg3);
}

.nav.dark .nav-link {
  color: var(--snow3);
}

.nav.dark .nav-link:hover {
  color: var(--snow);
  background: var(--bg-dark3);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
  margin-left: 4px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease-spring);
}

.nav.dark .nav-burger span {
  background: var(--snow);
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  margin-top: 80px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid a {
  display: block;
  color: var(--ink3);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--indigo);
}

.footer-brand p {
  color: var(--ink3);
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.footer-social a {
  color: var(--ink3);
  font-size: 13px;
  margin-left: 20px;
  transition: color 0.15s ease;
}

.footer-social a:hover {
  color: var(--ink);
}

/* ── Alternate footer layout (used in SEO / legal pages) ── */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.3px;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-logo-dot { color: var(--indigo); }

.footer-desc {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--ink3);
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--indigo); }

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 24px;
  }
  .footer-links { gap: 24px; }
}

/* ============================================================
   10. SCORE RING
   ============================================================ */
.score-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.score-ring {
  display: block;
}

.score-ring-inner {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-fill {
  stroke-dasharray: 452.4;
  stroke-dashoffset: 452.4;
  transition: stroke-dashoffset 1.4s var(--ease-smooth), stroke 0.4s ease;
}

/* ============================================================
   11. PROGRESS BARS
   ============================================================ */
.pb {
  margin: 10px 0;
}

.pb-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pb-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.pb-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
}

.pb-track {
  height: 5px;
  background: var(--bg3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.pb-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--indigo);
  width: 0%;
  transition: width 0.9s var(--ease-smooth);
}

.pb-fill.emerald { background: var(--emerald); }
.pb-fill.amber   { background: var(--amber); }
.pb-fill.rose    { background: var(--rose); }

/* ============================================================
   12. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

@keyframes toastUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 79, 207, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(90, 79, 207, 0); }
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@keyframes checkCircle {
  from { stroke-dashoffset: 283; }
  to   { stroke-dashoffset: 0; }
}

@keyframes checkMark {
  from { stroke-dashoffset: 80; }
  to   { stroke-dashoffset: 0; }
}

@keyframes barGrow {
  from { height: 0; }
  to   { height: var(--bar-h); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

.anim-up    { animation: fadeUp 0.5s var(--ease-out) both; }
.anim-in    { animation: fadeIn 0.4s var(--ease-out) both; }
.anim-scale { animation: scaleIn 0.4s var(--ease-out) both; }

/* Scroll-triggered: starts invisible, add .visible to play */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   13. TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: var(--snow);
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-spring);
  z-index: 999;
  max-width: calc(100vw - 40px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* ============================================================
   14. FORMS & INPUTS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.form-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.12);
}

.form-input::placeholder {
  color: var(--ink4);
}

.form-input.error {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12);
}

.form-select {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7870' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.12);
}

.idea-textarea {
  width: 100%;
  background: var(--bg-dark2);
  border: 1.5px solid var(--line-dark);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 16px;
  color: var(--snow);
  caret-color: var(--indigo);
  resize: none;
  min-height: 120px;
  font-family: var(--sans);
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.idea-textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.15);
}

.idea-textarea::placeholder {
  color: var(--snow3);
}

/* Light version of textarea */
.idea-textarea.light {
  background: var(--bg2);
  border-color: var(--line);
  color: var(--ink);
}

.idea-textarea.light::placeholder {
  color: var(--ink4);
}

.idea-textarea.light:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.12);
}

/* ============================================================
   15. HERO SECTION (dark)
   ============================================================ */
.hero-dark {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(90, 79, 207, 0.3) 0%, transparent 60%);
  color: var(--snow);
  padding: 120px 0 100px;
  overflow: hidden;
  position: relative;
}

.hero-dark .display { color: var(--snow); }
.hero-dark .display em { color: var(--indigo-soft); }
.hero-dark h2 { color: var(--snow); }
.hero-dark h3 { color: var(--snow); }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90, 79, 207, 0.2);
  border: 1px solid rgba(90, 79, 207, 0.4);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-soft);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo-soft);
  animation: dotPulse 2s ease infinite;
}

.hero-trust {
  color: var(--snow3);
  font-size: 13px;
  margin-top: 16px;
}

.hero-trust span {
  color: var(--indigo-soft);
  margin: 0 6px;
}

/* ============================================================
   16. STATS COUNTER SECTION
   ============================================================ */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -1px;
  color: var(--indigo);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--ink3);
  font-weight: 500;
}

/* ============================================================
   17. HOW IT WORKS
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: var(--line);
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo-tint);
  color: var(--indigo-deep);
  font-family: var(--serif);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.step p {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.6;
}

/* ============================================================
   18. SCORE PREVIEW TEASER (blurred)
   ============================================================ */
.preview-teaser {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.preview-blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 18, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
}

.lock-icon {
  width: 48px;
  height: 48px;
  background: rgba(90, 79, 207, 0.2);
  border: 1px solid rgba(90, 79, 207, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ============================================================
   19. FEATURE CARDS
   ============================================================ */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--indigo-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ============================================================
   20. TRENDING SCROLL
   ============================================================ */
.trending-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.trending-scroll::-webkit-scrollbar {
  display: none;
}

.trending-card {
  min-width: 220px;
  scroll-snap-align: start;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-spring);
  cursor: pointer;
}

.trending-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.trending-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* ============================================================
   21. TESTIMONIALS
   ============================================================ */
.stars {
  color: var(--amber);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink2);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.author-role {
  font-size: 12px;
  color: var(--ink3);
}

/* ============================================================
   22. PRICING CARDS
   ============================================================ */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0;
}

.price-amount {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--ink);
}

.price-period {
  font-size: 14px;
  color: var(--ink3);
}

.price-original {
  text-decoration: line-through;
  color: var(--ink4);
  font-size: 18px;
}

.feature-list {
  list-style: none;
  margin: 16px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink2);
  padding: 5px 0;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list.dark li {
  color: var(--snow2);
}

/* ============================================================
   23. FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
  user-select: none;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--indigo);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.2s ease;
  color: var(--ink3);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--indigo-tint);
  color: var(--indigo);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
}

/* ============================================================
   24. CHECKOUT
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 80px;
}

.checkout-left {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
}

.checkout-right {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  position: sticky;
  top: 80px;
}

.checkout-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  padding: 6px 0;
  color: var(--ink2);
}

.price-row.total {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  border-top: 1.5px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.coupon-input {
  flex: 1;
  background: var(--bg3);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--indigo);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.trust-badge {
  font-size: 12px;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Card input formatting */
.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================================
   25. SUCCESS MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 18, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg2);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-spring);
}

.modal-overlay.show .modal-card {
  transform: scale(1);
}

.check-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
}

.check-path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.check-circle.animate {
  animation: checkCircle 0.6s var(--ease-out) 0.2s forwards;
}

.check-path.animate {
  animation: checkMark 0.4s var(--ease-out) 0.8s forwards;
}

.modal-progress {
  height: 4px;
  background: var(--bg3);
  border-radius: var(--r-full);
  margin: 24px 0;
  overflow: hidden;
}

.modal-progress-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: var(--r-full);
  width: 0%;
  transition: width 3s linear;
}

/* ============================================================
   26. DASHBOARD
   ============================================================ */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}

.dash-sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sidebar-link:hover {
  background: var(--bg3);
  color: var(--ink);
}

.sidebar-link.active {
  background: var(--indigo-tint);
  color: var(--indigo-deep);
  font-weight: 600;
}

.sidebar-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.dash-content {
  padding: 36px 40px;
  max-width: 900px;
}

.dash-section {
  display: none;
}

.dash-section.active {
  display: block;
  animation: fadeIn 0.3s ease both;
}

/* Stats cards */
.metric-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}

.metric-value {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: var(--ink3);
  font-weight: 500;
}

/* Ideas table */
.ideas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ideas-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1.5px solid var(--line);
}

.ideas-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  vertical-align: middle;
}

.ideas-table tr:last-child td {
  border-bottom: none;
}

.ideas-table tr:hover td {
  background: var(--bg);
}

.idea-truncate {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
}

.action-btns {
  display: flex;
  gap: 6px;
}

/* Report cards */
.report-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.report-icon {
  width: 40px;
  height: 40px;
  background: var(--indigo-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

/* Upgrade banner */
.upgrade-banner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  border-radius: var(--r-xl);
  padding: 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

/* Compare tool */
.compare-rings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.compare-col {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}

/* Mobile dashboard nav */
.dash-mobile-nav {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  gap: 8px;
}

.dash-mobile-nav::-webkit-scrollbar { display: none; }

.dash-mobile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg2);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.dash-mobile-btn.active {
  background: var(--indigo-tint);
  color: var(--indigo-deep);
  border-color: var(--indigo);
  font-weight: 600;
}

/* ============================================================
   27. ADMIN PANEL
   ============================================================ */
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(90, 79, 207, 0.15) 0%, transparent 60%);
}

.admin-gate-card {
  background: var(--bg-dark3);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.admin-gate-input {
  width: 100%;
  background: var(--bg-dark2);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--snow);
  letter-spacing: 4px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 24px 0;
}

.admin-gate-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.2);
}

.admin-gate-input.shake {
  animation: shake 0.4s ease;
  border-color: var(--rose);
}

/* CSS Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 180px;
  padding: 0 8px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.bar-val {
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  white-space: nowrap;
}

.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--indigo);
  height: 0;
  transition: height 0.8s var(--ease-out);
  min-width: 28px;
}

.bar-day {
  font-size: 11px;
  color: var(--ink3);
  white-space: nowrap;
}

/* Admin tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   28. LEADERBOARD
   ============================================================ */
.lb-filter {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

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

.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--bg2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--indigo-tint);
  color: var(--indigo-deep);
  border-color: var(--indigo);
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink3);
  font-size: 14px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 8px 16px 8px 36px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--indigo);
}

/* LB Table */
.lb-table {
  width: 100%;
  border-collapse: collapse;
}

.lb-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1.5px solid var(--line);
}

.lb-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  vertical-align: middle;
}

.lb-table tr:last-child td {
  border-bottom: none;
}

.lb-table tr:hover td {
  background: var(--bg);
}

.lb-idea-link {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  transition: color 0.15s ease;
}

.lb-idea-link:hover {
  color: var(--indigo);
}

.bookmark-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: transform 0.2s var(--ease-spring), background 0.15s ease;
  color: var(--ink4);
  line-height: 1;
}

.bookmark-btn:hover {
  background: var(--bg3);
  transform: scale(1.2);
}

.bookmark-btn.saved {
  color: var(--amber);
}

/* Graveyard table */
.graveyard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.graveyard-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1.5px solid var(--line);
}

.graveyard-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink2);
  vertical-align: top;
}

/* Idea Generator */
.gen-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.gen-pill {
  padding: 9px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: var(--bg2);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gen-pill:hover,
.gen-pill.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

/* ============================================================
   29. IDEA PAGE
   ============================================================ */
.idea-page-header {
  padding: 40px 0 32px;
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink3);
  margin-bottom: 20px;
  transition: color 0.15s ease;
}

.breadcrumb:hover {
  color: var(--indigo);
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink3);
}

.share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   30. SEO PAGE
   ============================================================ */
.seo-hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.seo-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-spring);
}

.seo-card:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
}

.quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.quick-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  color: var(--ink3);
  white-space: nowrap;
}

/* ============================================================
   31. RESULT PAGE
   ============================================================ */
.result-hero {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(90, 79, 207, 0.25) 0%, transparent 60%);
  padding: 60px 0 48px;
  text-align: center;
}

.blur-value {
  filter: blur(5px);
  user-select: none;
}

.score-range-text {
  font-family: var(--serif);
  font-size: clamp(18px, 3vw, 24px);
  color: var(--snow2);
  margin-bottom: 24px;
}

.score-range-num {
  color: var(--snow);
  font-style: italic;
}

.confidence-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.confidence-bar {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: var(--indigo-soft);
  border-radius: var(--r-full);
  width: 0%;
  transition: width 1s var(--ease-smooth) 0.5s;
}

/* ============================================================
   32. LOADING PAGE
   ============================================================ */
.load-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(90, 79, 207, 0.2) 0%, transparent 60%);
}

.load-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 440px;
}

.load-item {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  padding: 14px 20px;
  border-radius: var(--r-lg);
}

.load-item.active {
  opacity: 1;
  background: rgba(255,255,255,0.05);
}

.load-item.done {
  opacity: 0.7;
}

.load-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--snow3);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.load-dot.pulsing {
  background: var(--indigo-soft);
  animation: pulse 1.2s ease infinite;
}

.load-dot.complete {
  background: var(--emerald);
  animation: none;
}

.load-text {
  font-size: 15px;
  color: var(--snow2);
  font-weight: 500;
}

/* ============================================================
   33. INDIA FEATURE BANNER
   ============================================================ */
.india-banner {
  background: var(--bg-dark2);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--indigo);
  border-radius: var(--r-xl);
  padding: 40px;
}

.india-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.india-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.india-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--snow2);
}

.india-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  color: var(--emerald);
}

/* ============================================================
   34. MOBILE FIXED BOTTOM BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--bg-dark);
  border-top: 1px solid var(--line-dark);
  z-index: 90;
}

.mobile-cta-bar .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px 24px;
}

/* ============================================================
   35. TOGGLE (pricing)
   ============================================================ */
.plan-toggle {
  display: inline-flex;
  background: var(--bg3);
  border-radius: var(--r-full);
  padding: 4px;
  gap: 4px;
  margin-bottom: 48px;
}

.plan-toggle-btn {
  padding: 9px 24px;
  border-radius: var(--r-full);
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.plan-toggle-btn.active {
  background: var(--bg2);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  font-weight: 600;
}

/* ============================================================
   36. SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 52px;
}

.section-header .label {
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 520px;
  font-size: 16px;
  color: var(--ink3);
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

/* ============================================================
   37. DARK SECTION OVERRIDES
   ============================================================ */
.dark-section {
  background: var(--bg-dark);
  color: var(--snow);
}

.dark-section .display { color: var(--snow); }
.dark-section h2 { color: var(--snow); }
.dark-section h3 { color: var(--snow); }
.dark-section .body-lg { color: var(--snow2); }
.dark-section .body { color: var(--snow2); }
.dark-section .body-sm { color: var(--snow3); }
.dark-section .label { color: var(--indigo-soft); }
.dark-section .card { background: var(--bg-dark3); border-color: var(--line-dark); }
.dark-section .card h3 { color: var(--snow); }
.dark-section .card .body { color: var(--snow2); }
.dark-section .card .body-sm { color: var(--snow3); }

/* ============================================================
   38. STARTUP GRAVEYARD
   ============================================================ */
.graveyard-section {
  background: var(--bg3);
  border-radius: var(--r-xl);
  padding: 40px;
  margin-top: 60px;
}

/* ============================================================
   39. IDEA CARDS (mobile-friendly)
   ============================================================ */
.idea-card-mobile {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.idea-card-ring-wrap {
  flex-shrink: 0;
}

.idea-card-content {
  flex: 1;
  min-width: 0;
}

.idea-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idea-card-meta {
  font-size: 12px;
  color: var(--ink3);
}

/* ============================================================
   40. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-row::before {
    display: none;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
  }

  .step-text { text-align: left; }

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

  .india-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .india-banner .india-grid > div:last-child {
    display: none;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-right {
    position: static;
    order: -1;
  }

  .upgrade-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
    animation: fadeUp 0.3s var(--ease-out) forwards;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--r-md);
    font-size: 15px;
  }

  .nav-burger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Mobile CTA bar */
  .mobile-cta-bar {
    display: block;
  }

  /* Dashboard */
  .dash-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-mobile-nav {
    display: flex;
  }

  .dash-content {
    padding: 24px 20px;
  }

  /* Tables → cards */
  .ideas-table-wrap,
  .admin-table-wrap {
    display: none;
  }

  .ideas-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-social a {
    margin: 0 10px;
  }

  /* Checkout */
  .card-row {
    grid-template-columns: 1fr;
  }

  /* Leaderboard */
  .lb-table-wrap {
    display: none;
  }

  .lb-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Result page plan cards */
  .result-plans .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .card {
    padding: 20px;
  }

  .card-featured {
    padding: 20px;
  }

  .hero-dark {
    padding: 80px 0 60px;
  }

  .hero-dark .display {
    font-size: clamp(36px, 10vw, 60px);
  }

  .body-lg {
    font-size: 16px;
  }

  .plan-toggle {
    flex-direction: column;
    border-radius: var(--r-lg);
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-wrap {
    max-width: 100%;
  }

  .score-ring {
    width: 140px;
    height: 140px;
  }

  .idea-textarea {
    min-height: 100px;
  }

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

  .checkout-left,
  .checkout-right {
    padding: 24px 20px;
  }

  .modal-card {
    padding: 32px 24px;
  }

  .graveyard-section {
    padding: 24px 20px;
  }

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

  /* Body font minimum on mobile */
  body {
    font-size: 15px;
  }

  /* Min tap target: 48px */
  .btn {
    min-height: 48px;
  }

  .filter-pill {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .sidebar-link {
    min-height: 48px;
  }

  /* Idea page */
  .idea-page-header {
    padding: 24px 0 20px;
  }

  .share-row {
    gap: 6px;
  }

  .share-row .btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  /* Graveyard table → cards on mobile */
  .graveyard-table-wrap { display: none; }
  .graveyard-cards { display: flex; flex-direction: column; gap: 12px; }
}

/* ============================================================
   41. UTILITY CLASSES
   ============================================================ */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.hidden  { display: none !important; }
.visible { display: block; }

.text-indigo { color: var(--indigo); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-rose { color: var(--rose); }
.text-snow { color: var(--snow); }
.text-snow2 { color: var(--snow2); }
.text-snow3 { color: var(--snow3); }
.text-ink3 { color: var(--ink3); }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

/* Shimmer loading */
.shimmer {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--line) 50%, var(--bg3) 75%);
  background-size: 200% auto;
  animation: shimmer 1.4s linear infinite;
}

/* Progress indicator (score page) */
.progress-steps {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 8px;
}

.progress-step {
  height: 3px;
  border-radius: var(--r-full);
  background: var(--line);
  flex: 1;
  max-width: 60px;
  transition: background 0.3s ease;
}

.progress-step.done {
  background: var(--indigo);
}

.progress-step.active {
  background: var(--indigo-soft);
}

/* Star ratings */
.stars-row {
  display: flex;
  gap: 2px;
  color: var(--amber);
  font-size: 14px;
}

/* Score color helpers */
.score-high { color: var(--emerald); }
.score-mid  { color: var(--amber); }
.score-low  { color: var(--rose); }

/* Dot separator */
.dot-sep {
  color: var(--indigo-soft);
  margin: 0 6px;
}

/* Indigo glow effect */
.glow-indigo {
  box-shadow: 0 0 32px rgba(90, 79, 207, 0.25);
}

/* Full-width CTA section */
.cta-section {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(90, 79, 207, 0.2) 0%, transparent 70%);
  padding: 100px 0;
  text-align: center;
}

.cta-section .display { color: var(--snow); }
.cta-section .display em { color: var(--indigo-soft); }
.cta-section .body-lg { color: var(--snow2); }

/* ideas-cards-mobile hidden by default (shown only on mobile) */
.ideas-cards-mobile {
  display: none;
}

/* graveyard-cards hidden by default */
.graveyard-cards {
  display: none;
}

/* lb-cards-mobile hidden by default */
.lb-cards-mobile {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.08s; }
.animate-delay-2 { transition-delay: 0.16s; }
.animate-delay-3 { transition-delay: 0.24s; }
.animate-delay-4 { transition-delay: 0.32s; }
.animate-delay-5 { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes checkDraw {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0;  }
}

@keyframes shimmerPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(90,79,207,0.4); }
  50%       { opacity: 0.75; box-shadow: 0 0 0 6px rgba(90,79,207,0); }
}

@keyframes ringDraw {
  from { stroke-dashoffset: 283; }
  to   { stroke-dashoffset: var(--ring-target, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   SCORE RING
═══════════════════════════════════════════════════════════════ */
.score-ring-complete .ring-fg {
  filter: drop-shadow(0 0 8px rgba(90,79,207,0.55));
  transition: filter 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════
   PAYWALL / BLUR TREATMENT
═══════════════════════════════════════════════════════════════ */
.paywall-blur {
  position: relative;
  overflow: hidden;
}
.paywall-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg2) 70%);
  pointer-events: none;
}

.paywall-content-blurred {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   PAYWALL GATE CARD
═══════════════════════════════════════════════════════════════ */
.paywall-gate-card {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  margin-top: 32px;
}
.paywall-gate-card .lock-icon {
  width: 48px;
  height: 48px;
  background: var(--bg3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ═══════════════════════════════════════════════════════════════
   TAG PILLS
═══════════════════════════════════════════════════════════════ */
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg3);
  color: var(--ink3);
  border: 1px solid var(--line);
  line-height: 1.5;
}
.tag-pill-ink {
  background: var(--indigo-bg);
  color: var(--indigo-soft);
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   IDEA PUBLIC HERO
═══════════════════════════════════════════════════════════════ */
.idea-pub-hero {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(90,79,207,0.18) 0%, transparent 65%);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line-dark);
}
.idea-pub-hero .breadcrumb {
  font-size: 13px;
  color: var(--snow3);
  margin-bottom: 16px;
}
.idea-pub-hero .breadcrumb a {
  color: var(--snow3);
  text-decoration: none;
}
.idea-pub-hero .breadcrumb a:hover { color: var(--snow); }

/* ═══════════════════════════════════════════════════════════════
   SCREEN-READER ONLY
═══════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
.article-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink2);
  font-weight: 400;
  margin-bottom: 24px;
}
.article-para {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink2);
  margin-bottom: 20px;
}
.article-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE STAT GRID
═══════════════════════════════════════════════════════════════ */
.article-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 640px) {
  .article-stat-grid { grid-template-columns: 1fr; }
}
.article-stat-box {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}
.article-stat-val {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--indigo-soft);
  line-height: 1.1;
  margin-bottom: 6px;
}
.article-stat-lbl {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   WHAT NEXT CARD (result.html Section D)
═══════════════════════════════════════════════════════════════ */
.what-next-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 16px;
}
.what-next-action {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.what-next-action:last-child { border-bottom: none; }
.wna-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--indigo-bg);
  color: var(--indigo-soft);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   CERTIFICATE BADGE
═══════════════════════════════════════════════════════════════ */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo) 0%, #7c6ff7 100%);
  color: #fff;
  border-radius: var(--r-md);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cert-badge:hover { opacity: 0.88; }

/* ═══════════════════════════════════════════════════════════════
   INTEL FEED (leaderboard / dashboard)
═══════════════════════════════════════════════════════════════ */
.intel-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.intel-feed-row:last-child { border-bottom: none; }
.intel-idea {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.intel-count {
  font-size: 12px;
  color: var(--ink3);
  white-space: nowrap;
}
.intel-trend-up  { color: var(--emerald); font-size: 12px; font-weight: 600; }
.intel-trend-hot { color: var(--amber);   font-size: 12px; font-weight: 600; }
.intel-trend-new { color: var(--indigo-soft); font-size: 12px; font-weight: 600; }
.intel-locked    { opacity: 0.4; filter: blur(3px); pointer-events: none; }
