/*
Theme Name: StreamFind
Theme URI: https://example.com/streamfind
Author: StreamFind
Author URI: https://example.com
Description: A professional streaming-platform directory theme. Deep dark palette with emerald accents, refined typography, and polished component design for managing OTT listings.
Version: 7.9
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamfind
*/

/* ============================================================
   StreamFind v4.1 — Tabs + Split Hero
   Deep dark + emerald, professional polish
   ============================================================ */

:root {
  /* ---- Backgrounds (layered depth) ---- */
  --bg: #09090b;
  --surface: #0f1115;
  --card: #141519;
  --card-hover: #1a1b22;
  --elevated: #1e1f27;

  /* ---- Accent ---- */
  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-dim: #059669;
  --accent-soft: rgba(16, 185, 129, 0.08);
  --accent-glow: rgba(16, 185, 129, 0.15);
  --accent-on: #022c22;

  /* ---- Text ---- */
  --text: #f0f0f0;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-faint: #52525b;

  /* ---- Borders & misc ---- */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --ring: rgba(16, 185, 129, 0.25);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.08);

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ---- Fonts ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ---- Transitions ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus {
  top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 60px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.logo-accent { color: var(--accent); }
.logo-rest { color: var(--text); }
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a, .nav .menu-item a {
  display: block;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav a:hover, .nav .menu-item a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav a.active, .nav .current-menu-item a {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Header search */
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  max-width: 260px;
  flex: 1;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
.header-search .search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.header-search input::placeholder { color: var(--text-faint); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease);
}

/* ================================================================
   PAGE HEAD (hero banner)
   ================================================================ */
.page-head {
  text-align: center;
  padding: 64px 24px 44px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
}
.page-head .eyebrow {
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  padding: 5px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.page-head h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-head p {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.hero-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Hero stats */
.hero-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 28px auto 0;
  padding: 18px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 400px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero search */
.hero-search-block {
  position: relative;
  max-width: 480px;
  margin: 24px auto 0;
}
.hero-search-block .search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 16px;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.hero-search-block .search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
.search-box-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Filter chips */
.filter-chips {
  position: relative;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.filter-chips .chip {
  background: transparent;
  border: 1px solid var(--border);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.filter-chips .chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.filter-chips .chip.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.hero-search-block input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  padding: 10px 0;
  min-width: 0;
}
.hero-search-block input::placeholder { color: var(--text-faint); }
.hero-search-block button {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
  white-space: nowrap;
}
.hero-search-block button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ================================================================
   PLATFORM GRID & CARDS
   ================================================================ */
.platform-section {
  padding: 40px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.sf-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(16,185,129,0.1);
  border-radius: 10px;
  margin-bottom: 12px;
  color: var(--accent);
}

.results-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.platform-card {
  background: linear-gradient(145deg, #161620 0%, #101018 50%, #0d1117 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(145deg, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0.02) 40%, transparent 70%);
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
}
.platform-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  pointer-events: none;
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(16,185,129,0.1);
}
.platform-card:hover::before {
  opacity: 1;
}

.platform-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: border-color var(--duration) var(--ease);
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.platform-card:hover .platform-logo {
  border-color: rgba(16, 185, 129, 0.25);
}
.platform-logo img,
.platform-logo-lg img,
.related-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.platform-card h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  margin-bottom: 2px;
}
.pc-domain {
  font-size: 11px;
  color: var(--text-faint, #52525b);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}
.platform-card .pc-cat {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.platform-card p {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* Rating row inside card */
.pc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.pc-rating .star-rating {
  display: flex;
  gap: 1px;
}
.pc-rating .star-rating svg {
  width: 13px;
  height: 13px;
}
.pc-rating-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 2px;
}
.pc-rating-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* Divider */
.pc-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* Footer row: price + status */
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.pc-price {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(16,185,129,0.1);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.pc-status-active {
  background: rgba(16,185,129,0.12);
  color: #34d399;
}
.pc-status-new {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
}
.pc-status-beta {
  background: rgba(250,204,21,0.12);
  color: #facc15;
}
.pc-status-inactive {
  background: rgba(239,68,68,0.12);
  color: #f87171;
}

/* Pin badge */
.pc-pin {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  color: var(--accent);
}

/* View All button */
.view-all-btn {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.view-all-btn:hover {
  background: rgba(16,185,129,0.18);
  border-color: rgba(16,185,129,0.35);
}

/* Pagination */
.sf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.sf-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.sf-page-btn:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
.sf-page-nums {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sf-page-nums a,
.sf-page-nums span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.sf-page-nums a {
  background: var(--card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.sf-page-nums a:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
.sf-page-nums span.current {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.sf-page-nums .dots {
  background: none;
  border: none;
  color: var(--text-dim);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 60px 20px;
  display: none;
}

/* ================================================================
   HOMEPAGE CONTENT SECTIONS
   ================================================================ */
.home-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2,
.section-header h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.section-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ---- About section ---- */
.home-about {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.home-about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.home-about-content p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.home-about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration) var(--ease);
}
.highlight-item:hover {
  border-color: rgba(16, 185, 129, 0.2);
}
.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.highlight-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.highlight-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---- Features section ---- */
.home-features {
  padding: 72px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--duration) var(--ease);
}
.feature-card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- How it works ---- */
.home-how {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px 20px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  color: var(--text-faint);
}

/* ---- Categories showcase ---- */
.home-categories {
  padding: 72px 24px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}
.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}
.category-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}
.category-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.category-card-info {
  flex: 1;
}
.category-card-info h3,
.category-card-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.category-card-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.category-card-arrow {
  color: var(--text-faint);
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.category-card:hover .category-card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---- FAQ ---- */
.home-faq {
  padding: 72px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.2);
}
.faq-item summary {
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--duration) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ---- CTA ---- */
.home-cta {
  padding: 72px 24px;
}
.cta-box {
  text-align: center;
  padding: 52px 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-box p {
  position: relative;
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-buttons {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
}
.cta-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.cta-btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* ---- Responsive for homepage sections ---- */
@media (max-width: 768px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .home-about, .home-features, .home-how, .home-categories, .home-faq, .home-cta {
    padding: 52px 20px;
  }
  .cta-box { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px 20px; }
}

/* ================================================================
   PLATFORM DETAIL (single-platform) v4
   ================================================================ */

/* ---- Wrapper ---- */
.sp-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ---- Breadcrumb ---- */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--text-faint);
}
.sp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}
.sp-breadcrumb a:hover { color: var(--accent); }
.sp-breadcrumb .bc-sep { color: var(--text-faint); flex-shrink: 0; }
.sp-breadcrumb span { color: var(--text-secondary); font-weight: 500; }

/* ============================================
   HERO — split layout
   ============================================ */
.sp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.45s var(--ease) both;
}
.sp-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 30%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

/* Left column */
.sp-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px;
  position: relative;
  justify-content: space-between;
  z-index: 1;
  border-right: 1px solid var(--border);
}

.sp-hero-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sp-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.sp-logo img { width: 100%; height: 100%; object-fit: cover; }
.sp-logo-text { font-weight: 700; font-size: 20px; color: var(--accent); }

.sp-hero-title-block { flex: 1; min-width: 0; }
.sp-hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-hero-title-row h1 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* Status badge */
.sp-status {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.sp-status-active { background: rgba(16, 185, 129, 0.12); color: var(--accent); border: 1px solid rgba(16, 185, 129, 0.25); }
.sp-status-inactive { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.sp-status-beta { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.sp-status-new { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }

/* Tags + rating combined meta row */
.sp-hero-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.sp-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.sp-hero-rating-inline { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; }

/* Rating stars */
.star-rating { display: inline-flex; align-items: center; gap: 2px; }
.star-rating svg { width: 14px; height: 14px; }
.star { color: var(--accent); }
.star-full { color: var(--accent); }
.star-half { color: var(--accent); }
.star-empty { color: var(--text-faint); }
.sp-hero-score { font-size: 12px; font-weight: 700; color: var(--accent); }
.sp-rating-reviews { font-size: 10px; color: var(--text-muted); }

/* Hero desc */
.sp-hero-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
  flex: 1;
}

/* Actions */
.sp-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.sp-free-alts-teaser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--ring);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.sp-free-alts-teaser strong { font-weight: 700; }
.sp-free-alts-teaser svg:first-child { flex-shrink: 0; }
.sp-free-alts-teaser svg:last-child { flex-shrink: 0; opacity: 0.7; }
.sp-free-alts-teaser:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}
.tax-bottom-content {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.tax-bottom-content .home-section-inner {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}
.tax-bottom-content p { margin: 0 0 1em; }
.tax-bottom-content p:last-child { margin-bottom: 0; }
.tax-bottom-content h2, .tax-bottom-content h3 { color: var(--text-primary); margin: 1.2em 0 0.5em; }
.tax-bottom-content a { color: var(--accent); }
.sp-btn-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.sp-btn-visit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  color: #fff;
}
.sp-btn-group { display: flex; gap: 8px; }
.sp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.sp-btn-outline:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.sp-btn-muted { color: var(--text-muted); }

/* Toast notification */
.sp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card);
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.sp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.sp-toast svg { vertical-align: -2px; margin-right: 6px; color: var(--accent); }

/* Report modal */
.sp-report-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sp-report-overlay.active { opacity: 1; visibility: visible; }
.sp-report-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 90%;
  max-width: 420px;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.sp-report-overlay.active .sp-report-modal { transform: scale(1); }
.sp-report-modal h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sp-report-modal p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sp-report-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.sp-report-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
  font-family: var(--font-sans);
}
.sp-report-option:hover { border-color: var(--border-hover); color: var(--text); }
.sp-report-option.selected { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.sp-report-option input[type="radio"] { display: none; }
.sp-report-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-faint);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--duration) var(--ease);
}
.sp-report-option.selected .sp-report-dot {
  border-color: var(--accent);
}
.sp-report-option.selected .sp-report-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 50%;
}
.sp-report-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sp-report-cancel {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--duration) var(--ease);
}
.sp-report-cancel:hover { border-color: var(--border-hover); color: var(--text); }
.sp-report-submit {
  padding: 9px 22px;
  background: #ef4444;
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--duration) var(--ease);
  opacity: 0.5;
  pointer-events: none;
}
.sp-report-submit.enabled { opacity: 1; pointer-events: auto; }
.sp-report-submit.enabled:hover { background: #dc2626; }

/* ---- Engagement widgets (2-col grid) ---- */
.sp-hero-engage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.sp-hero-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.sp-widget-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.sp-widget-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-widget-avg {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.sp-widget-avg span {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
}

/* User star rating (inside widget) */
.sp-user-stars {
  display: inline-flex;
  gap: 2px;
  cursor: pointer;
}
.sp-user-stars.rated { cursor: default; }
.sp-user-star {
  color: var(--text-faint);
  transition: color 0.15s ease, transform 0.15s ease;
}
.sp-user-stars:not(.rated) .sp-user-star:hover,
.sp-user-stars:not(.rated) .sp-user-star.hovered {
  color: #facc15;
  transform: scale(1.15);
}
.sp-user-star.active { color: #facc15; }

/* Vote buttons (inside widget) */
.sp-vote-btns { display: flex; gap: 6px; }
.sp-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}
.sp-vote-btn svg { flex-shrink: 0; }
.sp-vote-btn:hover:not(.voted) { border-color: var(--border-hover); color: var(--text); }
.sp-vote-up.sp-vote-active { background: rgba(16, 185, 129, 0.1); border-color: var(--accent); color: var(--accent); }
.sp-vote-down.sp-vote-active { background: rgba(239, 68, 68, 0.1); border-color: #ef4444; color: #ef4444; }
.sp-vote-btn.voted { opacity: 0.5; cursor: default; }
.sp-vote-loading { opacity: 0.6; pointer-events: none; }
.sp-vote-count { font-variant-numeric: tabular-nums; }

/* Right column: preview + trust */
.sp-hero-right {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.sp-hero-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow: hidden;
}
.sp-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.3;
}
.sp-url-bar {
  margin-left: 10px;
  font-size: 11px;
  color: var(--text-faint);
  background: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  flex: 1;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-preview-img { width: 100%; max-height: 220px; display: block; object-fit: cover; cursor: zoom-in; transition: opacity 0.2s ease; }
.sp-preview-img:hover { opacity: 0.85; }
.sp-preview-placeholder {
  flex: 1;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

/* Screenshot lightbox */
.sp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.sp-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.sp-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.sp-lightbox.active .sp-lightbox-img {
  transform: scale(1);
}
.sp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1;
}
.sp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.sp-lightbox-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  pointer-events: none;
}

/* Trust badges — 2x2 grid inside right column */
.sp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.sp-trust-cell {
  padding: 10px 14px;
  background: var(--card);
}
.sp-trust-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 1px;
}
.sp-trust-value {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}
.sp-trust-value.spam-safe { color: var(--accent); }
.sp-trust-value.spam-moderate { color: #f59e0b; }
.sp-trust-value.spam-risky { color: #ef4444; }

/* ============================================
   TAB NAVIGATION
   ============================================ */
.sp-tabs { margin-top: 20px; }

.sp-tab-nav {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 5px;
  margin-bottom: 4px;
}
.sp-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  white-space: nowrap;
}
.sp-tab-btn:hover {
  color: var(--text-secondary);
  background: var(--card);
}
.sp-tab-btn.active {
  color: var(--accent);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 0 12px rgba(16, 185, 129, 0.06);
}
.sp-tab-btn svg { flex-shrink: 0; }
.sp-tab-btn.active svg { color: var(--accent); }

.sp-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.sp-tab-btn:not(.active) .sp-tab-badge {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

/* Tab panels */
.sp-tab-panel {
  display: none;
}
.sp-tab-panel.active {
  display: block;
  animation: fadeUp 0.3s var(--ease) both;
}

/* Empty state */
.sp-empty-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 20px;
  text-align: center;
}
.sp-empty-tab p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   CARDS — base styles
   ============================================ */
.sp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 16px;
  transition: border-color var(--duration) var(--ease);
  animation: fadeUp 0.45s var(--ease) both;
}
.sp-card:hover { border-color: var(--border-hover); }

.sp-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text);
}
.sp-card-title svg { color: var(--accent); flex-shrink: 0; }

.sp-free-alts-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: -12px;
  margin-bottom: 18px;
}

.sp-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ---- Quick Info ---- */
.sp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.sp-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration) var(--ease);
}
.sp-info-item:hover { border-color: rgba(16, 185, 129, 0.2); }
.sp-info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.sp-info-text { min-width: 0; }
.sp-info-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.sp-info-value {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}
.sp-info-competitors {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sp-comp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.sp-comp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
a.sp-comp-chip:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ---- Badge-style info items (Free Trial / Registration) ---- */
.sp-icon-success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--accent);
}
.sp-icon-info {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #60a5fa;
}
.sp-value-success { color: var(--accent); }
.sp-value-info    { color: #60a5fa; }

/* ---- Taxonomy tags inside grid items (v7.1) ---- */
.sp-info-item-tags { align-items: flex-start; }
.sp-info-item-tags .sp-info-icon { margin-top: 2px; }
.sp-tax-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.sp-tax-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.sp-tax-tag:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- About ---- */
.sp-about-content { color: var(--text-secondary); font-size: 14.5px; line-height: 1.8; }
.sp-about-content p { margin-bottom: 12px; }
.sp-about-content h2, .sp-about-content h3, .sp-about-content h4 { color: var(--text); margin: 20px 0 10px; }
.sp-about-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(16, 185, 129, 0.3); transition: text-decoration-color var(--duration) var(--ease); }
.sp-about-content a:hover { text-decoration-color: var(--accent); }
.sp-about-content ul, .sp-about-content ol { padding-left: 20px; margin-bottom: 12px; }
.sp-about-content li { margin-bottom: 6px; }

/* ---- Screenshots ---- */
.sp-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.sp-screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.sp-screenshot:hover { border-color: rgba(16, 185, 129, 0.3); transform: translateY(-2px); box-shadow: var(--shadow-glow), var(--shadow-md); }
.sp-screenshot img { width: 100%; height: auto; display: block; transition: transform 0.3s var(--ease); }
.sp-screenshot:hover img { transform: scale(1.03); }

/* ---- Pros & Cons ---- */
.sp-pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-pc-col {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.sp-pc-pros { background: rgba(16, 185, 129, 0.03); border-color: rgba(16, 185, 129, 0.12); }
.sp-pc-cons { background: rgba(239, 68, 68, 0.03); border-color: rgba(239, 68, 68, 0.12); }
.sp-pc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sp-pc-head-pro { color: var(--accent); border-color: rgba(16, 185, 129, 0.15); }
.sp-pc-head-con { color: #ef4444; border-color: rgba(239, 68, 68, 0.15); }
.sp-pc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 0;
}
.sp-pc-item svg { flex-shrink: 0; margin-top: 2px; }
.sp-pc-item-pro svg { color: var(--accent); }
.sp-pc-item-con svg { color: #ef4444; }

/* ---- Social / Official Links ---- */
.sp-links-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}
.sp-link-btn:hover {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.sp-link-btn svg { flex-shrink: 0; }

/* ---- FAQ (single platform) ---- */
.sp-faq-list { display: flex; flex-direction: column; gap: 8px; }
.sp-faq-list .faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.sp-faq-list .faq-item[open] { border-color: rgba(16, 185, 129, 0.25); }
.sp-faq-list .faq-item summary {
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--duration) var(--ease);
}
.sp-faq-list .faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-list .faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
  flex-shrink: 0;
}
.sp-faq-list .faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--accent);
}
.sp-faq-list .faq-item summary:hover { color: var(--accent); }
.sp-faq-list .faq-item p {
  padding: 0 20px 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---- Alternative Sites ---- */
.sp-alternatives-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.sp-alternatives-desc strong { color: var(--text); }
.sp-alternatives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-alt-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: all var(--duration) var(--ease);
}
.sp-alt-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.sp-alt-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.sp-alt-icon img { width: 28px; height: 28px; border-radius: 4px; }
.sp-alt-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-alt-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-alt-domain { font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-alt-arrow { flex-shrink: 0; color: var(--text-faint); transition: color var(--duration) var(--ease); }
.sp-alt-card:hover .sp-alt-arrow { color: var(--accent); }
.sp-alt-card:hover .sp-alt-name { color: var(--accent); }

/* ---- Reviews ---- */
.sp-reviews-card .comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.sp-reviews-card .comment { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.sp-reviews-card .comment-author { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.sp-reviews-card .comment-meta { font-size: 12px; color: var(--text-faint); margin-bottom: 10px; }
.sp-reviews-card .comment-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.sp-reviews-card .comment-respond { margin-top: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.sp-reviews-card .comment-reply-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.sp-reviews-card .comment-form label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.sp-reviews-card .comment-form input[type="text"],
.sp-reviews-card .comment-form input[type="email"],
.sp-reviews-card .comment-form input[type="url"],
.sp-reviews-card .comment-form textarea {
  width: 100%; padding: 10px 14px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-family: var(--font-sans);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); margin-bottom: 12px;
}
.sp-reviews-card .comment-form input:focus,
.sp-reviews-card .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.sp-reviews-card .comment-form textarea { min-height: 100px; resize: vertical; }
.sp-reviews-card .comment-form .submit {
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 24px;
  border: none; border-radius: var(--radius-full); cursor: pointer; transition: all var(--duration) var(--ease);
}
.sp-reviews-card .comment-form .submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }
.sp-reviews-card .no-comments,
.sp-reviews-card .comments-title { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.sp-no-reviews { font-size: 14px; color: var(--text-muted); text-align: center; padding: 20px 0 8px; }
.sp-reviews-card .comment-form p { margin-bottom: 0; }
.sp-reviews-card .comment-form .comment-notes { font-size: 12px; color: var(--text-faint); margin-bottom: 14px; }
.sp-reviews-card .comment-form .logged-in-as { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.sp-reviews-card .comment-form .logged-in-as a { color: var(--accent); }
.sp-reviews-card .comment .comment-reply-link {
  font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 8px; display: inline-block;
}
.sp-reviews-card .comment .comment-reply-link:hover { color: var(--accent-hover); }
.sp-reviews-card .children { list-style: none; padding-left: 24px; margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.sp-reviews-card .comment-author .says { display: none; }
.sp-reviews-card .comment-author img { border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* ---- Comments (comments.php custom classes) ---- */
.sp-comments .comment-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.sp-comment-body {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sp-comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sp-comment-avatar { flex-shrink: 0; }
.sp-comment-avatar img { border-radius: 50%; display: block; }
.sp-comment-meta { display: flex; flex-direction: column; gap: 2px; }
.sp-comment-author { font-size: 14px; font-weight: 600; color: var(--text); }
.sp-comment-author a { color: var(--text); text-decoration: none; }
.sp-comment-author a:hover { color: var(--accent); }
.sp-comment-date { font-size: 12px; color: var(--text-faint); }
.sp-comment-awaiting {
  font-size: 13px; color: var(--accent); font-style: italic;
  padding: 8px 12px; background: var(--accent-soft); border-radius: var(--radius-sm); margin-bottom: 10px;
}
.sp-comment-content { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.sp-comment-content p { margin: 0; }
.sp-comment-footer { margin-top: 10px; }
.sp-reply-link a {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: color var(--duration) var(--ease);
}
.sp-reply-link a:hover { color: var(--accent-hover); }
.sp-comments .children {
  list-style: none; padding-left: 24px; margin-top: 12px;
  display: flex; flex-direction: column; gap: 12px;
  border-left: 2px solid var(--border);
}
.sp-comment-nav { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.sp-comment-nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
.sp-comment-nav a:hover { color: var(--accent-hover); }

/* ---- Related ---- */
.sp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sp-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.sp-related-card:hover { border-color: rgba(16, 185, 129, 0.3); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.sp-related-logo {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.sp-related-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.sp-related-info { flex: 1; min-width: 0; }
.sp-related-info h4 { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-related-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--accent); margin-top: 2px; }
.sp-related-badge {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: var(--radius-full); background: rgba(16, 185, 129, 0.1);
  color: var(--accent); border: 1px solid rgba(16, 185, 129, 0.2); position: absolute; top: 8px; right: 8px;
}

/* ---- CTA ---- */
.sp-cta {
  text-align: center;
  padding: 48px 36px;
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.45s var(--ease) 0.1s both;
}
.sp-cta-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.sp-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.sp-cta p {
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.sp-cta .sp-btn-visit { position: relative; }

/* ============================================
   SINGLE PLATFORM — Responsive
   ============================================ */
@media (max-width: 900px) {
  .sp-hero { grid-template-columns: 1fr; gap: 0; }
  .sp-hero-left { border-right: none; border-bottom: 1px solid var(--border); }
  .sp-hero-right { max-width: 100%; }
}

@media (max-width: 768px) {
  .sp-wrap { padding: 0 16px 48px; }
  .sp-hero { padding: 0; }
  .sp-card { padding: 22px 18px; }
  .sp-info-grid { grid-template-columns: 1fr 1fr; }
  .sp-pc-grid { grid-template-columns: 1fr; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-alternatives-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-trust-grid { grid-template-columns: 1fr 1fr; }
  .sp-cta { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .sp-wrap { padding: 0 12px 40px; }
  .sp-hero { padding: 0; }
  .sp-card { padding: 18px 14px; margin-top: 12px; }
  .sp-hero-head { flex-direction: column; text-align: center; align-items: center; }
  .sp-logo { width: 48px; height: 48px; }
  .sp-hero-title-row { justify-content: center; }
  .sp-hero-meta { justify-content: center; }
  .sp-hero-desc { text-align: center; }
  .sp-hero-actions { justify-content: center; }
  .sp-hero-engage { grid-template-columns: 1fr; }
  .sp-info-grid { grid-template-columns: 1fr; }
  .sp-trust-grid { grid-template-columns: 1fr; }
  .sp-links-grid { justify-content: center; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .sp-alternatives-grid { grid-template-columns: 1fr; }
  .sp-cta { padding: 28px 16px; }
  .sp-tab-nav { padding: 4px; }
  .sp-tab-btn { padding: 10px 14px; font-size: 13px; gap: 6px; }
  .sp-comments .children { padding-left: 14px; }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.about-hero p {
  color: var(--text-secondary);
  font-size: 15px;
}
.about-block {
  max-width: 680px;
  margin: 0 auto 36px;
}
.about-block h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.about-block p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.disclaimer-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-brand .footer-logo .logo-mark {
  width: 26px;
  height: 26px;
  font-size: 11px;
}
.footer-brand .footer-logo .logo-img {
  height: 26px;
  max-width: 160px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 300px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-links-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.footer-links-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color var(--duration) var(--ease);
}
.footer-links-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* Legacy footer fallback */
footer:not(.site-footer) {
  padding: 36px 24px 30px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  background: var(--surface);
}
footer:not(.site-footer) a { color: var(--text-faint); }
footer:not(.site-footer) a:hover { color: var(--accent); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-head { padding: 52px 20px 36px; }
  .hero-stats { gap: 20px; padding: 16px 24px; }
}

@media (max-width: 640px) {
  .header-inner { height: 54px; gap: 12px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a, .nav .menu-item a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 14px;
  }
  .nav-toggle { display: flex; }
  .header-search { display: none; }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .platform-card { padding: 18px 12px 16px; }

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

  .footer-links { flex-direction: column; gap: 20px; }
  .page-head { padding: 44px 16px 28px; }
  .page-head h1 { font-size: 24px; }
  .hero-stats { gap: 16px; padding: 14px 20px; max-width: 320px; }
  .hero-stat-num { font-size: 17px; }
  .hero-stat-label { font-size: 10px; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.platform-card {
  animation: fadeUp 0.4s var(--ease) both;
}
.platform-card:nth-child(1)  { animation-delay: 0.02s; }
.platform-card:nth-child(2)  { animation-delay: 0.04s; }
.platform-card:nth-child(3)  { animation-delay: 0.06s; }
.platform-card:nth-child(4)  { animation-delay: 0.08s; }
.platform-card:nth-child(5)  { animation-delay: 0.10s; }
.platform-card:nth-child(6)  { animation-delay: 0.12s; }
.platform-card:nth-child(7)  { animation-delay: 0.14s; }
.platform-card:nth-child(8)  { animation-delay: 0.16s; }
.platform-card:nth-child(9)  { animation-delay: 0.18s; }
.platform-card:nth-child(10) { animation-delay: 0.20s; }
.platform-card:nth-child(11) { animation-delay: 0.22s; }
.platform-card:nth-child(12) { animation-delay: 0.24s; }
