/* ═══════════════════════════════════════
   WinBrief — Compare landing page styles
   Extends theme.css (palette, navbar, buttons, pricing-card, proof-inner)
   Display font: Syne (loaded with Fraunces + DM Sans in compare.ejs)
   ═══════════════════════════════════════ */

.compare-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 160px 48px 100px;
  overflow: hidden;
}

.compare-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.compare-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 7px 16px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.04);
}

.compare-hero-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: var(--text-primary);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.compare-hero-win {
  background: linear-gradient(180deg, var(--text-primary) 0%, #c5c1b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.compare-hero-vs {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  color: var(--fg-dim);
  letter-spacing: -1px;
}

.compare-hero-deep {
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: -2px;
}

.compare-hero-subhead {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.compare-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 40px;
}

.compare-hero .hero-actions {
  justify-content: center;
  margin-bottom: 32px;
}

.compare-hero .hero-trust {
  justify-content: center;
}

/* Extra hero glow tinted for "versus" feel */
.compare-hero-glow-3 {
  position: absolute;
  width: 700px;
  height: 400px;
  border-radius: 50%;
  filter: blur(140px);
  background: radial-gradient(ellipse, rgba(245,158,11,0.10) 0%, transparent 70%);
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: hero-glow-drift 6s ease-in-out infinite alternate;
}

@keyframes hero-glow-drift {
  0%   { transform: translate(-50%, -52%); opacity: 0.85; }
  100% { transform: translate(-48%, -50%); opacity: 1; }
}

/* ── Comparison Table ── */
.compare-table-section {
  padding: 80px 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.compare-table-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.04),
    0 30px 80px rgba(0,0,0,0.5);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'DM Sans', sans-serif;
}

.compare-table thead th {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.02);
}

.compare-th-feature { color: var(--fg-muted); width: 30%; }
.compare-th-win { color: var(--accent); width: 35%; }
.compare-th-deep { color: var(--fg-muted); width: 35%; }

.compare-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.compare-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.04);
}

.compare-table tbody tr:hover .win-col {
  box-shadow: inset 2px 0 0 var(--accent);
}

.compare-table td {
  padding: 18px 28px;
  font-size: 14.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  line-height: 1.5;
}

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

.compare-feature {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.win-col {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(245, 158, 11, 0.04);
  border-left: 2px solid rgba(245, 158, 11, 0.3);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.win-col strong { color: var(--accent); font-weight: 600; }

.win-check {
  color: var(--accent);
  margin-right: 8px;
  font-size: 13px;
}

.deep-col {
  font-family: 'DM Sans', sans-serif;
  color: var(--fg-muted);
}

.deep-check { color: var(--fg-muted); margin-right: 8px; font-size: 13px; }
.deep-cross { color: #ef4444; margin-right: 8px; font-size: 13px; }
.deep-warn  { color: #fbbf24; margin-right: 8px; font-size: 13px; }

.coming-soon {
  display: inline-block;
  padding: 4px 10px;
  border: 1px dashed var(--border-bright);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.compare-tiebreaker {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.65;
}

/* ── Pricing Comparison ── */
.compare-pricing-section {
  padding: 60px 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.compare-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.compare-pricing-section .pricing-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.compare-pricing-section .pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.compare-pricing-section .pricing-card-featured:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 60px rgba(245,158,11,0.12);
  border-color: var(--accent);
}

.compare-pricing-section .card-features { flex: 1; }

.compare-pricing-section .deep-cross-icon { color: #ef4444; }

.compare-pricing-section .pricing-note {
  margin-top: 28px;
}

/* Section title in compare context (Syne, larger than theme default) */
.compare-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

/* ── Trust strip ── */
.compare-trust-section {
  padding: 0 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.compare-trust-section .proof-section { padding: 0; max-width: none; }

/* ── Closing CTA ── */
.compare-closing-section {
  padding: 120px 48px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.compare-closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245,158,11,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0a0a0e 100%);
  pointer-events: none;
}

.compare-closing-section .closing-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.compare-closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.compare-closing-section .closing-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.compare-trust-actions {
  display: flex;
  justify-content: center;
  padding: 28px 0 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .compare-hero { padding: 140px 32px 80px; min-height: auto; }
  .compare-hero-headline { font-size: 56px; gap: 18px; }
  .compare-hero-vs { font-size: 40px; }
  .compare-hero-subhead { font-size: 30px; }
  .compare-table-section,
  .compare-pricing-section,
  .compare-trust-section { padding-left: 32px; padding-right: 32px; }
  .compare-section-title { font-size: 38px; }
  .compare-closing-headline { font-size: 42px; }
}

@media (max-width: 720px) {
  .compare-hero { padding: 120px 24px 64px; }
  .compare-hero-headline {
    font-size: 40px;
    gap: 12px;
    letter-spacing: -1.5px;
  }
  .compare-hero-vs { font-size: 28px; }
  .compare-hero-subhead { font-size: 24px; }
  .compare-hero-sub { font-size: 16px; }
  .compare-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .compare-hero .hero-actions a { justify-content: center; }

  .compare-trust-actions { flex-direction: column; align-items: stretch; }
  .compare-trust-actions a { justify-content: center; }

  /* Stack table as cards on mobile */
  .compare-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td { display: block; width: 100%; }

  .compare-table thead { display: none; }

  .compare-table tr {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    margin-bottom: 14px;
  }

  .compare-table td {
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

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

  .compare-feature {
    flex: 0 0 auto;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-dim);
  }

  .compare-feature::after {
    content: '';
  }

  /* Data cell labels via pseudo */
  .win-col::before {
    content: 'WinBrief';
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-right: 12px;
  }

  .deep-col::before {
    content: 'DeepRFP';
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-right: 12px;
  }

  .win-col, .deep-col { background: transparent; border-left: none; }

  .compare-table-section,
  .compare-pricing-section,
  .compare-trust-section,
  .compare-closing-section { padding-left: 24px; padding-right: 24px; }

  .compare-pricing-grid { grid-template-columns: 1fr; }

  .compare-section-title { font-size: 32px; }
  .compare-closing-headline { font-size: 32px; letter-spacing: -1px; }
  .compare-closing-section { padding: 80px 24px 60px; }

  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
}
