:root {
  --bg: #070707;
  --panel: #101010;
  --panel-2: #171717;
  --line: #2c2c2c;
  --muted: #9c9c9c;
  --text: #f7f7f7;
  --acid: #ffffff;
  --acid-dim: #d6d6d6;
  --dark-acid: #222222;
}

.site-header {
  background: rgba(7, 7, 7, 0.9);
}

.button.primary:hover {
  background: #e8e8e8;
}

.module-card.active {
  border-color: #5a5a5a;
}

.chart i {
  background: linear-gradient(var(--acid), #3a3a3a);
}

.ticker,
.popular {
  color: #080808;
}

.feature-card:hover {
  background: #171717;
}

.security-section {
  background: #0d0d0d;
}

.security-terminal {
  background: #080808;
  border-color: #323232;
  box-shadow: 14px 14px 0 #171717;
}

.terminal-head span {
  background: #3a3a3a;
}

.plan-card.featured {
  background: #161616;
}

.cta-card {
  border-color: #424242;
  background: linear-gradient(125deg, #171717, #101010);
}

code {
  background: #202020;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-actions .header-cta {
  margin-left: 0;
}

.lang-toggle {
  height: 38px;
  min-width: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--text);
  background: var(--text);
  color: #050505;
}

.ghost-link {
  border-color: var(--line);
  color: var(--text);
}

.invite-button {
  white-space: nowrap;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 2px 0 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.plan-price small {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-price em {
  width: 100%;
  color: var(--acid);
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.compare-section {
  padding: 0 0 125px;
}

.buyer-section {
  padding: 0 0 115px;
}

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.buyer-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #131313, #0d0d0d);
}

.buyer-grid b {
  color: var(--acid);
  font-size: 11px;
  letter-spacing: 1.4px;
}

.buyer-grid h3 {
  margin: 42px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.buyer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

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

.compare-table th,
.compare-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 46%;
  color: var(--text);
  text-align: left;
}

.compare-table th {
  color: var(--acid);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compare-table td {
  color: var(--acid);
}

.compare-table td:first-child {
  color: var(--muted);
}

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

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.contact-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: min(360px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid #424242;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.contact-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.contact-toast strong,
.contact-toast span {
  display: block;
}

.contact-toast strong {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-toast span {
  margin-top: 8px;
  color: var(--acid);
  font-size: 22px;
  font-weight: 800;
}

.contact-toast button {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #080808;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  .buyer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-cta {
    display: none;
  }

  .header-actions .header-cta:last-child {
    display: inline-flex;
  }

  .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav.open {
    background: #0d0d0d;
  }
}

@media (max-width: 580px) {
  .buyer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}
