/* OraxAdmin — Comparison marketing pages */

.cmp-hero {
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
  overflow: hidden;
}

.cmp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(34, 211, 238, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(170, 180, 192, 0.08), transparent);
  pointer-events: none;
}

.cmp-hero .container { position: relative; z-index: 1; }

.cmp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cmp-breadcrumb a { color: var(--muted); }
.cmp-breadcrumb a:hover { color: var(--accent); }
.cmp-breadcrumb span { opacity: 0.5; }

.cmp-vs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  margin-bottom: 28px;
}

.cmp-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.cmp-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--surface);
}

.cmp-brand-logo.oa {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(8, 145, 178, 0.15));
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.cmp-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.cmp-vs-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--gold);
  border: 2px solid var(--border-gold);
  background: rgba(170, 180, 192, 0.08);
}

.cmp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.25;
}

.cmp-hero-lead {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cmp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* All-in-one stack */
.cmp-stack {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background:
    linear-gradient(135deg, rgba(170, 180, 192, 0.06), rgba(34, 211, 238, 0.04)),
    var(--surface-solid);
  margin-bottom: 48px;
}

.cmp-stack h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.cmp-stack-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.cmp-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.cmp-stack-item {
  padding: 20px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.cmp-stack-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-2px);
}

.cmp-stack-icon { font-size: 28px; margin-bottom: 10px; }

.cmp-stack-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.cmp-stack-item span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.cmp-stack-replaces {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.cmp-stack-replaces em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 600;
}

/* Hub cards */
.cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.cmp-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
}

.cmp-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  color: inherit;
}

.cmp-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cmp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.cmp-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.cmp-card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  margin-bottom: 16px;
}

.cmp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cmp-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.cmp-tag.gold {
  background: rgba(170, 180, 192, 0.1);
  color: var(--gold);
  border-color: rgba(170, 180, 192, 0.25);
}

.cmp-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* Enhanced compare table */
.cmp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  margin: 32px 0;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.cmp-table th,
.cmp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: start;
}

.cmp-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cmp-table tr:last-child td { border-bottom: none; }

.cmp-table .col-oa {
  background: rgba(34, 211, 238, 0.05);
  font-weight: 600;
}

.cmp-table .win { color: var(--green); font-weight: 700; }
.cmp-table .lose { color: var(--muted); opacity: 0.65; }
.cmp-table .partial { color: var(--gold); font-weight: 600; }

/* Verdict */
.cmp-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .cmp-verdict { grid-template-columns: 1fr; }
  .cmp-stack { padding: 28px 20px; }
}

.cmp-verdict-box {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cmp-verdict-box.win {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.06);
}

.cmp-verdict-box.neutral {
  border-color: rgba(170, 180, 192, 0.3);
  background: rgba(170, 180, 192, 0.05);
}

.cmp-verdict-box h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cmp-verdict-box ul {
  padding-inline-start: 20px;
  color: var(--muted);
  font-size: 14px;
}

.cmp-verdict-box li { margin-bottom: 8px; }

/* Study section */
.cmp-study {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 48px;
}

.cmp-study h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cmp-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cmp-study-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.cmp-study-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Related */
.cmp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cmp-related a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s;
}

.cmp-related a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34, 211, 238, 0.06);
}

.cmp-cta-band {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(34, 211, 238, 0.12), transparent),
    var(--surface-solid);
  border: 1px solid var(--border);
  margin: 48px 0;
}

.cmp-cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cmp-cta-band p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cmp-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
}

.cmp-section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
