/* POP Shield Pricing — Merriweather + DM Sans, dark authoritative theme */

:root {
  --bg-primary: #0c0e14;
  --bg-card: #12151e;
  --bg-card-hover: #181b26;
  --border: #1e2230;
  --border-accent: #2a3048;
  --text-primary: #f0ede8;
  --text-secondary: #8a8f9e;
  --text-muted: #555a6a;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --accent-glow: rgba(232, 168, 56, 0.25);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ─── NAVIGATION ─────────────────────────────────── */
.pricing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-primary) !important;
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #f5b84e;
  transform: translateY(-1px);
}

/* ─── HERO ────────────────────────────────────────── */
.pricing-hero {
  padding: 140px 48px 80px;
  text-align: center;
  position: relative;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 600px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 168, 56, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(232, 168, 56, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 168, 56, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.pricing-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-hero h1 .highlight {
  color: var(--accent);
}

.pricing-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ─── PRICING CARDS ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 96px;
  padding: 0 48px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--border-accent);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(232, 168, 56, 0.08), inset 0 1px 0 rgba(232, 168, 56, 0.15);
  background: linear-gradient(160deg, #141720 0%, var(--bg-card) 100%);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 16px 16px 0 0;
}

.card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 168, 56, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: inline-block;
}

.card-name {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.features-list li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.features-list li .check svg {
  width: 20px;
  height: 20px;
}

.features-list li.included { color: var(--text-primary); }
.features-list li.limited { color: var(--text-secondary); }
.features-list li.excluded { color: var(--text-muted); }
.features-list li.excluded span { text-decoration: line-through; }

.features-list li.limited .check { color: var(--accent); }
.features-list li.included .check { color: var(--green); }
.features-list li.excluded .check { color: var(--text-muted); }

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0c0e14;
}

.btn-primary:hover {
  background: #f5b84e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.3);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-card);
}

/* ─── COMPARISON TABLE ───────────────────────────── */
.section-comparison {
  max-width: 860px;
  margin: 0 auto 96px;
  padding: 0 48px;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table th:last-child,
.compare-table th:nth-last-child(2) {
  text-align: center;
}

.compare-table th.col-free { color: var(--text-secondary); }
.compare-table th.col-pro { color: var(--accent); }

.compare-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table td.feature-name {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-table td:last-child,
.compare-table td:nth-last-child(2) {
  text-align: center;
}

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

.compare-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.check-icon.yes {
  background: var(--green-dim);
  color: var(--green);
}

.check-icon.no {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

.check-icon.limited {
  background: var(--accent-dim);
  color: var(--accent);
}

.table-fade {
  opacity: 0.5;
  font-size: 0.8rem !important;
}

/* ─── FAQ ────────────────────────────────────────── */
.section-faq {
  max-width: 640px;
  margin: 0 auto 96px;
  padding: 0 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}

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

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s, color 0.25s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── FINAL CTA ──────────────────────────────────── */
.section-cta {
  max-width: 640px;
  margin: 0 auto 96px;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  position: relative;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 168, 56, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.section-cta h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  padding: 12px 28px;
  width: auto;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Merriweather', serif;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 640px) {
  .pricing-nav { padding: 14px 20px; }
  .nav-links { display: none; }

  .pricing-hero { padding: 120px 20px 60px; }

  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }

  .section-comparison,
  .section-faq { padding: 0 20px; }

  .section-cta { padding: 48px 24px; }

  .site-footer {
    flex-direction: column;
    gap: 20px;
    padding: 32px 20px;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table td,
  .compare-table th {
    padding: 10px 8px;
  }
}

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

.pricing-hero { animation: fadeUp 0.5s ease both; }
.pricing-grid { animation: fadeUp 0.5s 0.1s ease both; }
.section-comparison { animation: fadeUp 0.5s 0.2s ease both; }
.section-faq { animation: fadeUp 0.5s 0.3s ease both; }
.section-cta { animation: fadeUp 0.5s 0.4s ease both; }