/* ── PRICING PAGE ── */
.pricing-page {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Grid overlay */
.pricing-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.pricing-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* ── TICKER BAR ── */
.ticker-bar {
  position: sticky;
  top: 65px;
  z-index: 90;
  background: rgba(5, 8, 16, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-inner::-webkit-scrollbar { display: none; }
.ticker-pair {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ticker-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-left: 6px;
  transition: color 0.3s;
  white-space: nowrap;
}
.ticker-price.up { color: var(--accent); }
.ticker-price.down { color: var(--red); }
.ticker-delta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.ticker-delta.up { color: var(--accent); }
.ticker-delta.down { color: var(--red); }
.ticker-sep {
  color: var(--border);
  font-size: 16px;
}

/* ── HEADER ── */
.pricing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.pricing-header-left { flex: 1; }
.pricing-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}
.pricing-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}
.pricing-vs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.vs-label { color: var(--fg-muted); }
.vs-item { color: var(--fg-dim); }
.vs-sep { color: var(--border); }
.vs-save { color: var(--accent); font-weight: 500; }

.pricing-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 8px;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}
.live-desc {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
}

/* ── PLANS SECTION ── */
.plans-section { margin-bottom: 80px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.plan-card {
  background: var(--bg-card);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
  overflow: hidden;
}
.plan-card:hover { background: var(--bg-card-hover); }
.plan-card.highlighted {
  background: #08111e;
  margin: -1px;
  z-index: 1;
  border-radius: 13px;
  box-shadow:
    0 0 0 1px rgba(0, 229, 160, 0.25),
    0 0 60px rgba(0, 229, 160, 0.07);
}

.popular-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #000;
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}

.plan-top { padding: 32px 24px 24px; }
.plan-card.highlighted .plan-top { padding-top: 40px; }

.plan-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.plan-badge-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 3px 8px;
  background: var(--accent-dim);
  border-radius: 4px;
}
.plan-card:not(.highlighted) .plan-badge-name {
  background: rgba(255,255,255,0.04);
  color: var(--fg-dim);
}
.plan-badge-price {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.plan-price {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}
.plan-card.highlighted .plan-price { color: var(--accent); }
.plan-price-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-dim);
}

.plan-tagline {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.55;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 0 24px;
}

.plan-features {
  list-style: none;
  padding: 20px 24px;
  flex: 1;
}
.plan-features li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(26,33,51,0.4);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li.excluded {
  opacity: 0.35;
}
.feat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.plan-features li.included .feat-icon { color: var(--accent); }
.plan-features li.excluded .feat-icon { color: var(--fg-muted); }

.plan-cta-wrap {
  padding: 0 24px 28px;
}
.plan-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid;
}
.plan-cta.outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.plan-cta.outline:hover {
  border-color: var(--fg-dim);
  background: rgba(255,255,255,0.03);
}
.plan-cta.filled {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.plan-cta.filled:hover { opacity: 0.85; }

.plans-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 16px;
}

/* ── WHY SECTION ── */
.why-section { margin-bottom: 80px; }
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 32px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.why-card {
  background: var(--bg-card);
  padding: 32px 24px;
  transition: background 0.2s;
}
.why-card:hover { background: var(--bg-card-hover); }
.why-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}
.why-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.why-card p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* ── COMPETITOR TABLE ── */
.comp-section { margin-bottom: 80px; }
.comp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
  min-width: 600px;
}
.comp-table thead th {
  background: #050810;
  padding: 14px 20px;
  text-align: left;
  color: var(--fg-dim);
  font-weight: 400;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.comp-table thead th:first-child { color: var(--fg-muted); }
.comp-table thead th.kf-col { color: var(--accent); }
.comp-table tbody td {
  padding: 13px 20px;
  color: var(--fg-dim);
  border-bottom: 1px solid rgba(26,33,51,0.5);
  vertical-align: middle;
}
.comp-table tbody td:first-child {
  color: var(--fg);
  font-weight: 500;
}
.comp-table tbody td.kf-col {
  color: var(--fg);
  background: rgba(0, 229, 160, 0.02);
}
.comp-table tbody td.highlight-cell {
  color: var(--accent);
  font-weight: 600;
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:hover td:not(:first-child) {
  background: rgba(255,255,255,0.015);
}
.comp-table tbody tr:hover td.kf-col {
  background: rgba(0, 229, 160, 0.04);
}

.check-mark { color: var(--accent); font-weight: 700; }
.cross-mark { color: var(--fg-muted); opacity: 0.5; }
.yes-pill {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.no-pill {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,68,102,0.08);
  color: var(--red);
  opacity: 0.65;
  letter-spacing: 0.04em;
}
.comp-footnote {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

/* ── FAQ ── */
.faq-section {
  max-width: 720px;
  margin: 0 auto 80px;
}
.faq-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: rgba(255,255,255,0.02); }
.faq-item.open { background: rgba(0, 229, 160, 0.02); }
.faq-q {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-arrow {
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.7;
  padding: 0 24px 20px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── BOTTOM CTA ── */
.pricing-cta-block {
  text-align: center;
  padding: 64px 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #050810;
  margin-bottom: 0;
}
.pricing-cta-block h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.pricing-cta-block p {
  color: var(--fg-dim);
  font-size: 16px;
  margin-bottom: 36px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; align-items: center; }
.cta-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cta-primary:hover { opacity: 0.85; }
.cta-secondary {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 7px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.cta-secondary:hover { border-color: var(--fg-dim); color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pricing-inner { padding: 0 24px 60px; }
  .ticker-inner { padding: 10px 24px; }
  .pricing-header { flex-direction: column; gap: 24px; padding: 60px 0 48px; }
  .pricing-header-right { align-items: flex-start; }
  .plans-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pricing-inner { padding: 0 16px 48px; }
  .ticker-inner { padding: 10px 16px; }
  .plans-note { font-size: 11px; }
  .why-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: 11px; }
  .comp-table td, .comp-table th { padding: 10px 12px; }
  .cta-row { flex-direction: column; }
  .pricing-cta-block { padding: 40px 24px; }
  .pricing-vs-row { gap: 6px; }
}