/* ==========================================================================
   GoLove AI Review — "Midnight Rose" Design System
   Spicy + sweet, premium, flirty-but-tasteful. NOT generic purple-SaaS.
   Anti-generic rules: no purple→blue hero gradient, no neon dashboard look.
   ========================================================================== */

:root {
  /* ---- Core palette: warm ink, rose, ember, champagne ---- */
  --ink-900: #15090f;      /* near-black plum, page bg */
  --ink-800: #1d0d16;
  --ink-700: #2a131f;
  --ink-600: #3a1a2b;
  --surface:  #221019;     /* card base */
  --surface-2:#2c1521;     /* raised card */
  --line:     rgba(255, 214, 224, 0.10);
  --line-2:   rgba(255, 214, 224, 0.18);

  /* ---- Brand accents ---- */
  --rose-300: #ffb3c7;
  --rose-400: #ff7da6;
  --rose-500: # f5: ; /* placeholder removed below */
  --rose:     #ff4d7d;     /* primary rose */
  --rose-deep:#d61f56;
  --ember:    #ff7a45;     /* warm secondary (sunset) */
  --ember-soft:#ffb07a;
  --champagne:#f4d7a1;     /* gold trim */
  --plum:     #7a2e52;

  /* ---- Text ---- */
  --text:      #fbeef1;
  --text-soft: #e7cdd6;
  --text-mute: #b9929f;
  --text-faint:#8d6a76;

  /* ---- Functional ---- */
  --good: #5fd6a0;
  --warn: #ffcf6b;
  --bad:  #ff6f8a;
  --star: #ffd36b;

  /* ---- Signature gradients (NOT purple/blue) ---- */
  --grad-rose:   linear-gradient(135deg, #ff4d7d 0%, #ff7a45 100%);
  --grad-ember:  linear-gradient(120deg, #ff7a45 0%, #ffb07a 100%);
  --grad-night:  radial-gradient(120% 120% at 80% 0%, #3a1a2b 0%, #1d0d16 55%, #15090f 100%);
  --grad-glass:  linear-gradient(135deg, rgba(255,77,125,0.14), rgba(255,122,69,0.06));

  /* ---- Radius / shadow / motion ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.45);
  --shadow-rose: 0 12px 40px rgba(255,77,125,0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Type ---- */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --maxw-prose: 760px;
}

/* fix accidental token */
:root { --rose-500: #ff5e87; }

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle film-grain / vignette so it never feels flat */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(255,77,125,0.10), transparent 60%),
    radial-gradient(60% 40% at 100% 0%, rgba(255,122,69,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
img, video { max-width: 100%; display: block; }
a { color: var(--rose-300); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1em; color: var(--text-soft); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; position: relative; z-index: 1; }
.prose { max-width: var(--maxw-prose); }
.section { padding-block: clamp(48px, 8vw, 96px); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.grid { display: grid; gap: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-300);
}
.lead { font-size: 1.18rem; color: var(--text-soft); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.5em; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad-rose); color: #fff; box-shadow: var(--shadow-rose); }
.btn--primary:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 16px 48px rgba(255,77,125,0.40); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--text); border-color: var(--rose-400); background: rgba(255,77,125,0.08); }
.btn--gold { background: var(--champagne); color: #3a1a12; }
.btn--gold:hover { color:#3a1a12; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(244,215,161,0.3); }
.btn--lg { font-size: 1.08rem; padding: 1.05em 1.9em; }
.btn--block { width: 100%; }

/* ==========================================================================
   Cards / glass
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card--glass { background: var(--grad-glass); backdrop-filter: blur(14px); border: 1px solid var(--line-2); }
.card--raised { background: var(--surface-2); box-shadow: var(--shadow-md); }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-400); }

.pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35em .8em; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600;
  background: rgba(255,77,125,0.12); color: var(--rose-300);
  border: 1px solid var(--line-2);
}
.pill--gold { background: rgba(244,215,161,0.14); color: var(--champagne); }
.pill--good { background: rgba(95,214,160,0.14); color: var(--good); }
.pill--bad  { background: rgba(255,111,138,0.14); color: var(--bad); }

/* ==========================================================================
   Tables (GEO-friendly compare tables)
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.compare thead th { background: var(--ink-700); color: var(--text); font-family: var(--font-body); font-weight: 700; }
table.compare tbody tr:hover { background: rgba(255,77,125,0.05); }
table.compare td.yes { color: var(--good); font-weight: 600; }
table.compare td.no { color: var(--bad); }
table.compare .row-head { font-weight: 600; color: var(--text); }

/* ==========================================================================
   Star rating
   ========================================================================== */
.stars { display: inline-flex; gap: 2px; color: var(--star); font-size: 1.05rem; }
.stars i { color: var(--star); }
.score-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--grad-rose); color: #fff; box-shadow: var(--shadow-rose);
  font-family: var(--font-display);
}
.score-badge b { font-size: 1.9rem; line-height: 1; }
.score-badge span { font-size: .7rem; opacity: .85; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-grad { background: var(--grad-rose); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-mute); }
.small { font-size: .88rem; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}.wrap{flex-wrap:wrap}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.cols-3,.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.cols-2,.cols-3,.cols-4{grid-template-columns:1fr}}
.hidden{display:none}
