/* Comppeek FANCY LIGHT — CallMeter pivot */
:root {
  --bg: #f4f2fb;
  --bg-soft: #faf9fc;
  --text: #0b1220;
  --text-muted: #5b6475;
  --text-soft: #7a8499;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --gradient-text: linear-gradient(90deg, #8b5cf6, #3b82f6);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 18px 50px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --danger: #ef4444;
  --danger-bg: rgba(254, 226, 226, 0.85);
  --docs: #7c3aed;
  --docs-bg: rgba(237, 233, 254, 0.9);
  --faq: #db2777;
  --faq-bg: rgba(252, 231, 243, 0.9);
  --api: #2563eb;
  --api-bg: rgba(219, 234, 254, 0.9);
  --pricing: #0ea5e9;
  --pricing-bg: rgba(224, 242, 254, 0.9);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(167, 139, 250, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 5%, rgba(96, 165, 250, 0.3), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(244, 114, 182, 0.15), transparent 55%),
    linear-gradient(180deg, #f8f7fc 0%, #f0eef8 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; top: -80px; left: -60px; background: radial-gradient(circle, #c4b5fd, transparent 70%); }
.orb-2 { width: 360px; height: 360px; top: 120px; right: -80px; background: radial-gradient(circle, #93c5fd, transparent 70%); animation-delay: -6s; }
.orb-3 { width: 280px; height: 280px; bottom: 10%; left: 30%; background: radial-gradient(circle, #f9a8d4, transparent 70%); animation-delay: -12s; opacity: 0.35; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.05); }
}

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

/* Glass */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}
.glass-hover {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.glass-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.brand img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(139, 92, 246, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-login {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 10px;
}
.nav-login:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 11px 20px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  font-size: 0.925rem;
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45); }
.btn-search {
  background: #fff;
  color: var(--text);
  border: 1.5px solid rgba(139, 92, 246, 0.45);
  padding: 14px 28px;
  font-size: 1.05rem;
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.12);
}
.btn-search:hover {
  border-color: var(--purple);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 4px;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Compare card */
.compare-card {
  padding: 22px 24px 18px;
  position: relative;
}
.compare-card h3 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
}
.bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  height: 180px;
  margin-bottom: 18px;
  padding: 0 12px;
}
.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 88px;
}
.bar {
  width: 100%;
  border-radius: 14px 14px 8px 8px;
  transition: height 0.8s var(--ease);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.bar-pro {
  height: 52%;
  background: linear-gradient(180deg, #93c5fd, #60a5fa);
}
.bar-biz {
  height: 92%;
  background: var(--gradient);
}
.bar-price {
  font-weight: 800;
  font-size: 1.05rem;
}
.bar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.gotcha-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--danger-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.82rem;
  line-height: 1.4;
  color: #7f1d1d;
}
.gotcha-box .icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.gotcha-box .docs-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

/* Section */
.section { padding: 28px 0 64px; }
.section-head {
  text-align: center;
  margin-bottom: 22px;
}
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.section-lead { color: var(--text-muted); margin: 0 auto; max-width: 36rem; }

/* Wall table */
.wall-wrap { overflow: hidden; padding: 8px; }
.wall-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.wall-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.wall-table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.wall-table tbody tr {
  transition: background 0.2s;
  cursor: pointer;
}
.wall-table tbody tr:hover { background: rgba(139, 92, 246, 0.05); }
.wall-table tbody tr:last-child td { border-bottom: none; }

.company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.company-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.company-name { font-weight: 700; line-height: 1.2; }
.company-cat { font-size: 0.75rem; color: var(--text-soft); margin-top: 2px; }

.plan-pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-feats {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.price-cell strong { font-size: 1.05rem; font-weight: 800; display: block; }
.price-cell .pricing-link {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}
.price-cell .pricing-link:hover { text-decoration: underline; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}
.tag-docs { background: var(--docs-bg); color: var(--docs); }
.tag-faq { background: var(--faq-bg); color: var(--faq); }
.tag-api { background: var(--api-bg); color: var(--api); }
.tag-pricing { background: var(--pricing-bg); color: #0369a1; }
.tag-gotcha { background: var(--danger-bg); color: var(--danger); }
.gotcha-text { font-size: 0.82rem; color: var(--text-muted); }
.chevron { color: var(--text-soft); font-weight: 300; font-size: 1.1rem; }

.wall-footer {
  text-align: center;
  padding: 22px 16px 10px;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(255,255,255,0.85);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.filter-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,0.7);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover, .filter-chip.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Page shells */
.page-hero {
  padding: 48px 0 24px;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.page-hero p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.content-card {
  padding: 28px 32px;
  margin-bottom: 24px;
}
.content-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.content-card h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}
.content-card p, .content-card li { color: var(--text-muted); }
.content-card ul { padding-left: 1.2rem; }

/* Code */
pre, .code-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 12px 0 0;
}
code.inline {
  background: rgba(139, 92, 246, 0.1);
  color: #6d28d9;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Stats / packs */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.pack-stat {
  text-align: center;
  padding: 24px 16px;
}
.pack-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.pack-stat .lbl {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pack-hero-card {
  text-align: center;
  padding: 40px 32px;
  max-width: 520px;
  margin: 0 auto 32px;
}
.pack-hero-card .price {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0;
}
.pack-hero-card .price span { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); }

/* Company detail */
.compare-bars-h {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.compare-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 12px;
  align-items: center;
}
.compare-row .track {
  height: 28px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  overflow: hidden;
}
.compare-row .fill {
  height: 100%;
  border-radius: 10px;
  background: var(--gradient);
  transition: width 0.8s var(--ease);
}
.compare-row .fill.alt { background: linear-gradient(90deg, #93c5fd, #60a5fa); }
.compare-row .name { font-weight: 700; font-size: 0.9rem; }
.compare-row .amt { font-weight: 800; text-align: right; }

.gotcha-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.gotcha-card {
  padding: 18px;
}
.gotcha-card .tag { margin-bottom: 10px; }
.gotcha-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.best-deal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.2);
  margin: 16px 0 0;
}
.best-deal strong { display: block; margin-bottom: 4px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-item details { padding: 4px 4px; }
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--purple);
  font-weight: 400;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Thanks / key */
.key-box {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #0f172a;
  color: #a5f3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  word-break: break-all;
  position: relative;
}
.warning-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #92400e;
  font-size: 0.9rem;
  margin: 16px 0;
}

/* Sunset */
.sunset-card {
  max-width: 560px;
  margin: 40px auto;
  padding: 36px 32px;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  margin-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.85rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--text); }
.footer-brand { font-weight: 600; color: var(--text-muted); }

.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.muted { color: var(--text-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .pack-grid { grid-template-columns: 1fr; }
  .wall-table .hide-sm { display: none; }
  .compare-row { grid-template-columns: 90px 1fr 64px; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 24px; }
  .content-card { padding: 22px 18px; }
  .nav-login { display: none; }
  .wall-table th:nth-child(n+4),
  .wall-table td:nth-child(n+4) { display: none; }
  .wall-table th:last-child,
  .wall-table td:last-child { display: table-cell; }
}
