@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;900&display=swap');

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

:root {
  --primary: #ff0080;
  --secondary: #ff00ff;
  --ink: #26171f;
  --ink-light: #4a2f3a;
  --bg: #0d0810;
  --bg-card: #18101a;
  --bg-card2: #1e1222;
  --border: rgba(255,0,128,0.18);
  --text: #f0e8f4;
  --text-muted: #b89db0;
  --radius: 0px;
  --font: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --content-w: 720px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== AURORA BACKGROUND ===== */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255,0,128,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,0,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 50% 80%, rgba(255,0,128,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 90% 40% at 10% 90%, rgba(255,0,255,0.08) 0%, transparent 50%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}

.aurora-bg--subtle {
  opacity: 0.45;
}

@keyframes auroraShift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(18deg) brightness(1.08); }
  100% { filter: hue-rotate(-12deg) brightness(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-bg { animation: none; }
}

main, header, footer, aside, article, div {
  position: relative;
  z-index: 1;
}

/* ===== LAYOUT WRAP ===== */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,8,16,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 60px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark { width: 36px; height: 36px; border-radius: 6px; }

.brand-mark-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--font);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}

.burger-icon { position: relative; }
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger-icon::before { top: -6px; }
.burger-icon::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .burger-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger-icon::before { transform: rotate(45deg) translate(4px,4px); }
.menu-toggle[aria-expanded="true"] .burger-icon::after { transform: rotate(-45deg) translate(4px,-4px); }

.header-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* ===== CTA BUTTONS ===== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.cta-signup {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  box-shadow: 0 0 16px rgba(255,0,128,0.35);
}

.cta-signup:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255,0,255,0.5);
}

.cta-login {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.cta-login:hover {
  background: rgba(255,0,128,0.08);
  transform: translateY(-1px);
}

.cta-large {
  font-size: 0.95rem;
  padding: 0 2rem;
  min-height: 52px;
}

.sidebar-cta { width: 100%; margin-top: 0.75rem; }

/* ===== OVERLAY MENU ===== */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13,8,16,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.overlay-menu[hidden] { display: none; }

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.overlay-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 480px;
}

.overlay-nav-list dd {
  display: block;
}

.overlay-nav-list dd a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.6rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.overlay-nav-list dd a:hover { color: var(--primary); }

/* ===== HERO SECTION (Home) ===== */
.hero-section {
  padding: 3rem 0 0;
}

.hero-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 40vh;
  padding-bottom: 3rem;
  position: relative;
}

.hero-article::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -10%;
  width: 120%;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-copy { padding: 2rem 0; }

.hero-copy h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(100deg, #fff 0%, var(--primary) 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-media { border-radius: 8px; overflow: hidden; position: relative; }
.hero-img { width: 100%; height: auto; display: block; }

.stage-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

/* ===== CONTENT LAYOUT (main + sidebar) ===== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
  align-items: start;
}

/* ===== MAIN ARTICLE ===== */
.main-article {
  min-width: 0;
}

/* ===== BYLINE ===== */
.byline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.byline time { font-weight: 700; color: var(--primary); }

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 80px;
  min-width: 0;
}

.sidebar-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 2px;
}

.sidebar-inner h3 {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sidebar-inner dl { display: flex; flex-direction: column; gap: 0; }

.sidebar-inner dt {
  border-bottom: 1px solid var(--border);
}

.sidebar-inner dt a,
.sidebar-inner dt span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  gap: 0.5rem;
  transition: color var(--transition);
}

.sidebar-inner dt a:hover { color: var(--primary); }

.sidebar-cta-block {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.sidebar-cta-block small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ===== SMALL EYEBROW (must precede h2 as sibling) ===== */
small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 0.95rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }

/* ===== PAGE CONTENT TYPOGRAPHY ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.page-content p { margin-bottom: 1.1rem; }

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.page-content a:hover { color: var(--secondary); }

.page-content h2 { margin-top: 2.25rem; }
.page-content h3 { margin-top: 1.75rem; }

.page-content ul, .page-content ol {
  margin: 0.85rem 0 1.1rem 1.5rem;
}

.page-content li { margin-bottom: 0.4rem; }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.page-content th {
  background: var(--bg-card2);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
}

.page-content td {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.page-content tr:nth-child(even) td { background: rgba(255,0,128,0.04); }

.page-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== EYEBROW LABEL ===== */
.eyebrow-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

/* ===== CARDS GRID (Home) ===== */
.child-cards-section {
  margin-top: 2.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(255,0,128,0.07);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.promo-card:hover {
  box-shadow: 0 8px 40px rgba(255,0,255,0.18);
  transform: translateY(-3px);
}

.promo-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
}

.promo-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.promo-card h3 a:hover { color: var(--primary); }

.promo-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }

.card-date { font-size: 0.75rem; color: var(--text-muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color var(--transition);
}

.card-link:hover { color: var(--secondary); }

/* ===== RANK SUMMARY TABLE ===== */
.rank-summary { margin-bottom: 2.5rem; }

.rank-summary h2 { margin-top: 0.5rem; }

table.data-table,
.rank-summary table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.rank-summary table th,
table.data-table th {
  background: var(--bg-card2);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
}

.rank-summary table td,
table.data-table td {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
}

.rank-summary table tr:nth-child(even) td,
table.data-table tr:nth-child(even) td {
  background: rgba(255,0,128,0.04);
}

.rank-pos {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.1rem;
  width: 40px;
  text-align: center;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== ABOUT / AUTHOR ===== */
.author-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.author-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,128,0.06) 0%, rgba(255,0,255,0.04) 100%);
  pointer-events: none;
}

.author-section h2 {
  font-size: 1.4rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.25rem;
}

.author-credentials {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* ===== HERO SECTION (review / ranking / compare) ===== */
.review-hero-section,
.ranking-intro-section,
.compare-intro-section,
.about-intro-section,
.privacy-intro-section,
.data-intro-section {
  padding: 2.5rem 0 1rem;
}

.review-article,
.ranking-intro-article,
.compare-intro-article,
.about-intro-article,
.privacy-intro-article,
.data-intro-article {
  max-width: var(--content-w);
}

.review-header h1,
.ranking-header h1,
.compare-header h1,
.about-intro-article h1,
.privacy-intro-article h1,
.data-intro-article h1 {
  font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-bottom: 0.5rem;
}

.review-hero-img {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.review-hero-img img { width: 100%; height: auto; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer-cta-block {
  text-align: center;
  padding: 3rem 1.25rem;
  background: linear-gradient(135deg, rgba(255,0,128,0.08) 0%, rgba(255,0,255,0.06) 100%);
  border-bottom: 1px solid var(--border);
}

.footer-cta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-nav-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.footer-nav-dl,
.footer-trust-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 180px;
}

.footer-nav-dl dt,
.footer-trust-dl dt {
  border-bottom: 1px solid var(--border);
}

.footer-nav-dl dt a,
.footer-trust-dl dt a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer-nav-dl dt a:hover,
.footer-trust-dl dt a:hover { color: var(--primary); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
}

.footer-rg {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== DATA TABLE WRAP ===== */
.data-table-wrap { margin-bottom: 2.5rem; }
.data-table-wrap h2 { margin-top: 0.5rem; }

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .promo-card,
  .author-section,
  .rank-summary,
  .sidebar-inner {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .promo-card.revealed,
  .author-section.revealed,
  .rank-summary.revealed,
  .sidebar-inner.revealed {
    opacity: 1;
    transform: none;
  }
}

/* ===== IRIDESCENT GLOW ON CARDS ===== */
.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(255,0,128,0) 0%,
    rgba(255,0,255,0.04) 40%,
    rgba(255,0,128,0.06) 70%,
    rgba(255,0,255,0) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  mix-blend-mode: screen;
}

.promo-card:hover::after { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .hero-article {
    grid-template-columns: 1fr;
  }

  .hero-media { display: none; }
}

@media (max-width: 768px) {
  .header-bar {
    height: 56px;
  }

  .hero-copy h1 {
    font-size: 1.65rem;
  }

  .footer-nav-block {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  .wrap { padding: 0 1rem; }

  .hero-section { padding-top: 1.5rem; }

  .cta {
    font-size: 0.72rem;
    padding: 0 0.75rem;
  }

  .review-header h1,
  .ranking-header h1,
  .compare-header h1,
  .about-intro-article h1,
  .privacy-intro-article h1,
  .data-intro-article h1 {
    font-size: 1.3rem;
  }
}

/* ===== HOLOGRAPHIC SHIMMER KEYFRAME ===== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-copy h1 {
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 { animation: none; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}