/*
Theme Name: Delister
Theme URI: https://delisterapp.com
Description: Official theme for Delister — the client-side data broker removal app. Dark, minimal, conversion-focused.
Version: 1.0.0
Author: Delister
Author URI: https://delisterapp.com
License: Proprietary
Text Domain: delister
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════ */
:root {
  --bg: #06080F;
  --bg2: #0B0F1A;
  --surface: #111827;
  --surface2: #1A2035;
  --border: #1E2A42;
  --text: #F0F2F7;
  --text-secondary: #8B95B0;
  --text-dim: #4D5A78;
  --accent: #4F7AE8;
  --accent-light: #6B93F5;
  --accent-glow: rgba(79,122,232,0.12);
  --accent-soft: rgba(79,122,232,0.06);
  --green: #34D399;
  --green-bg: rgba(52,211,153,0.08);
  --red: #F87171;
  --red-bg: rgba(248,113,113,0.06);
  --orange: #FBBF24;
  --max-width: 1100px;
  --content-width: 720px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 7vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  background: rgba(6,8,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,42,66,0.5);
}
.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: -0.02em;
}
.site-logo__icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
}
.site-logo__icon svg { width: 18px; height: 18px; }

/* Desktop nav */
.nav-menu {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-menu a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.nav-menu a:hover { color: var(--text); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text); padding: 4px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block; padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu li:last-child a { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 4px rgba(0,0,0,0.3);
}
.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(79,122,232,0.2), 0 2px 4px rgba(0,0,0,0.3);
  color: white;
}
.btn--secondary {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text);
}
.btn--secondary:hover { border-color: var(--accent); background: var(--surface2); color: var(--text); }
.btn--nav {
  padding: 8px 20px; border-radius: 10px;
  background: var(--accent); color: white;
  font-size: 13px;
}
.btn--large { font-size: 18px; padding: 18px 36px; }

/* ═══════════════════════════════════════════
   SECTION PRIMITIVES
   ═══════════════════════════════════════════ */
.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section--centered { text-align: center; }
.section__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.section__title { margin-bottom: 16px; }
.section__subtitle {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.6; max-width: 560px;
  margin-bottom: 48px;
}
.section--centered .section__subtitle { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(79,122,232,0.07) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(52,211,153,0.03) 0%, transparent 40%);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease both;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.4);
  animation: pulse 2s ease infinite;
}
.hero h1 { margin-bottom: 24px; animation: fadeInUp 0.7s ease both 0.1s; }
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero > p {
  font-size: 18px; line-height: 1.6;
  max-width: 540px; margin-bottom: 40px;
  animation: fadeInUp 0.7s ease both 0.2s;
}
.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 0.7s ease both 0.3s;
}
.hero__stats {
  display: flex; gap: 40px; margin-top: 60px;
  animation: fadeInUp 0.7s ease both 0.4s;
}
.hero-stat { text-align: center; }
.hero-stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stat__label {
  font-size: 13px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px;
}

/* ═══════════════════════════════════════════
   BROKER TAGS
   ═══════════════════════════════════════════ */
.broker-ticker {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.broker-tag {
  padding: 8px 14px;
  background: var(--red-bg); border: 1px solid rgba(248,113,113,0.12);
  border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--red);
}

/* ═══════════════════════════════════════════
   STAT GRID
   ═══════════════════════════════════════════ */
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 700px; margin: 0 auto;
}
.stat-card {
  padding: 28px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; text-align: center;
}
.stat-card__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--red);
  letter-spacing: -0.02em;
}
.stat-card__label {
  font-size: 13px; color: var(--text-secondary);
  margin-top: 6px; line-height: 1.4;
}

/* ═══════════════════════════════════════════
   STEP CARDS
   ═══════════════════════════════════════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; counter-reset: step;
}
.step-card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  counter-increment: step;
  transition: border-color 0.3s;
}
.step-card:hover { border-color: var(--accent); }
.step-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: 16px;
}
.step-card__num::before { content: "0" counter(step); }
.step-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.5; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   PRIVACY ARCHITECTURE BOX
   ═══════════════════════════════════════════ */
.privacy-box {
  background: var(--bg2);
  border-radius: 24px;
  padding: 64px;
  border: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.privacy-points { display: flex; flex-direction: column; gap: 20px; }
.privacy-point { display: flex; gap: 14px; align-items: flex-start; }
.privacy-point__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--green);
}
.privacy-point__icon svg { width: 18px; height: 18px; }
.privacy-point h4 { margin-bottom: 2px; }
.privacy-point p { font-size: 13px; line-height: 1.5; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════ */
.comparison {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.comparison__header {
  display: grid; grid-template-columns: 1fr 1fr;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.comparison__header > div { padding: 14px 20px; }
.comparison__header .them { background: var(--red-bg); color: var(--red); }
.comparison__header .us { background: var(--green-bg); color: var(--green); }
.comparison__row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-secondary);
}
.comparison__row > div { padding: 12px 20px; }
.comparison__row .us { background: rgba(52,211,153,0.02); }

/* ═══════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 640px; margin: 0 auto;
}
.pricing-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: left; position: relative;
  transition: border-color 0.3s;
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-card__badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pricing-card__plan {
  font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.pricing-card__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text);
}
.pricing-card__price span {
  font-size: 16px; font-weight: 400; color: var(--text-secondary);
}
.pricing-card__savings {
  font-size: 13px; color: var(--green); font-weight: 500;
  margin-top: 4px; margin-bottom: 20px; min-height: 20px;
}
.pricing-card ul { list-style: none; padding: 0; }
.pricing-card li {
  font-size: 14px; color: var(--text-secondary);
  padding: 6px 0; display: flex; align-items: center; gap: 8px;
}
.pricing-card li::before {
  content: "✓"; color: var(--green); font-weight: 700; font-size: 13px;
}
.free-note {
  margin-top: 32px;
  font-size: 14px; color: var(--text-dim);
}
.free-note strong { color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item summary {
  font-size: 16px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text); transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+"; font-size: 20px; color: var(--text-dim);
  font-weight: 400; transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; line-height: 1.7; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════ */
.final-cta {
  text-align: center;
  padding: 100px 24px;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(79,122,232,0.06) 0%, transparent 70%);
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p {
  font-size: 17px; margin-bottom: 32px;
  max-width: 440px; margin-left: auto; margin-right: auto;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.site-footer__left { font-size: 13px; color: var(--text-dim); }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a { font-size: 13px; color: var(--text-secondary); }
.site-footer__links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   LEGAL / CONTENT PAGES
   ═══════════════════════════════════════════ */
.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 120px 24px 100px;
}
.page-content h1 { font-size: 36px; margin-bottom: 8px; }
.page-content .effective-date {
  color: var(--text-dim); font-size: 14px; margin-bottom: 48px;
}
.page-content h2 { font-size: 22px; margin-top: 48px; margin-bottom: 16px; }
.page-content h3 { font-size: 17px; margin-top: 32px; margin-bottom: 12px; }
.page-content p { line-height: 1.7; }
.page-content ul, .page-content ol {
  color: var(--text-secondary); font-size: 15px;
  padding-left: 24px; margin-bottom: 16px;
}
.page-content li { margin-bottom: 8px; }
.page-content strong { color: var(--text); }

.highlight-box {
  background: var(--accent-soft);
  border: 1px solid rgba(79,122,232,0.15);
  border-radius: 12px;
  padding: 20px 24px; margin-bottom: 40px;
}
.highlight-box p {
  color: var(--accent); font-weight: 500;
  font-size: 15px; line-height: 1.6; margin: 0;
}
.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0 24px;
}
.callout p { margin: 0; font-size: 14px; }

.data-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0 24px; font-size: 14px;
}
.data-table th {
  text-align: left; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.data-table td {
  padding: 10px 14px; border: 1px solid var(--border);
  color: var(--text-secondary);
}
code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--surface);
  padding: 2px 6px; border-radius: 4px;
  font-size: 13px; color: var(--accent);
}

/* ═══════════════════════════════════════════
   WP SPECIFIC — admin bar, alignment, blocks
   ═══════════════════════════════════════════ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.alignwide { max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: none; }

/* Screen reader text (WP accessibility) */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute;
  height: 1px; width: 1px; overflow: hidden;
  word-wrap: normal !important;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; } 50% { opacity: 1; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .privacy-box { padding: 32px 20px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .stat-grid { grid-template-columns: 1fr; max-width: 320px; }
  .hero__stats { gap: 24px; }
  .site-footer { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 16px; }
}
