@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&family=Space+Grotesk:wght@500;600&display=swap");

:root {
  --bg: radial-gradient(120% 120% at 20% 20%, #c2f4ff 0%, #f8f2e3 45%, #ffe6b5 100%);
  --glass: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text: #0c2b3f;
  --muted: #3c5a6b;
  --accent: #18a5d6;
  --accent-2: #f5b33f;
  --shadow: 0 18px 45px rgba(4, 24, 35, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding: 48px 20px 60px;
}

.bg-orbit {
  position: fixed;
  inset: -30% -30% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 165, 214, 0.35), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 24px;
}

.hero {
  padding: 28px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary,
.chip {
  border: none;
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
}

.primary {
  background: linear-gradient(120deg, var(--accent), #63d3f6);
  color: #fff;
}

.secondary {
  background: rgba(12, 43, 63, 0.1);
  color: var(--text);
}

.chip {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
}

.hero-card {
  display: grid;
  gap: 12px;
}

.stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat span {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section {
  padding: 22px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.configs {
  display: grid;
  gap: 12px;
}

.config-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 10px;
}

.config-card code {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  cursor: pointer;
}

.config-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.config-actions a {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  border: 1px solid rgba(12, 43, 63, 0.15);
  font-weight: 600;
}

.config-actions a.action-happ {
  background: linear-gradient(120deg, rgba(24, 165, 214, 0.9), rgba(94, 214, 255, 0.9));
  color: #fff;
  border: none;
}

.config-actions a.action-v2 {
  background: linear-gradient(120deg, rgba(245, 179, 63, 0.95), rgba(255, 217, 133, 0.95));
  color: #2b2b2b;
  border: none;
}

.config-actions button.copy-btn {
  background: rgba(12, 43, 63, 0.08);
  border: 1px solid rgba(12, 43, 63, 0.2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.modal .primary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.install {
  display: grid;
  gap: 18px;
}

.install h3 {
  margin: 0 0 8px;
}

.install-links {
  display: grid;
  gap: 8px;
}

.install-links a {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
}

.footer {
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 24, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.modal.active {
  display: flex;
}

.modal-card {
  width: min(420px, 100%);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.modal-card h3 {
  margin: 0;
}

.modal-card label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.modal-card input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.tariff-list {
  display: grid;
  gap: 10px;
}

.tariff-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-weight: 600;
}

.status-banner {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
