:root {
  --bg: #0b0f17;
  --panel: #111827;
  --panel2: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #253044;
  --accent: #60a5fa;
  --accent2: #93c5fd;
  --radius: 14px;
}

.tabs {
  padding: 0;
  overflow: hidden;
}

.tabs__header {
  display: flex;
  padding: 16px;
  justify-content: center;
}

.tab-btn {
  margin: 0;
  min-width: 160px;
  appearance: none;
  font-size: 16px;
  border: none;
  background: #f8f8f8;
  color: #4a4a4a;
  padding: 16px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.05s ease;
  user-select: none;
}

.tab-btn.--start {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.tab-btn.--end {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}

.tab-btn:hover {
  background: #f0f0f0;
}

.tab-btn:active {
  transform: translateY(1px);
}

.tab-btn[aria-selected="true"] {
  background: #ba2c41;
  color: #ffffff;
}

.tab-btn:focus-visible {
  outline: 3px solid rgba(250, 96, 96, 0.55);
  outline-offset: 2px;
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel[hidden] {
  display: none;
}
.tab-panel.is-active {
  display: block;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 14px;
}

@media (max-width: 700px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .tabs__header {
    flex-wrap: wrap;
  }

  .tab-btn {
    width: 100%;
  }

  .tab-btn.--start {
    border-radius: initial;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .tab-btn.--end {
    border-radius: initial;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .pricing-table {
    margin-bottom: 16px;
  }
}
