:root {
  --bg-0: #050f22;
  --bg-1: #07152d;
  --bg-2: #0b1d3a;
  --panel: #0a1831;
  --line: #1f3762;
  --line-strong: #315b9e;
  --text: #e8f1ff;
  --muted: #c6d5f4;
  --accent: #4c8cff;
  --accent-2: #39d0ff;
  --good: #1fcf86;
  --danger: #ff5f8f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: radial-gradient(circle at top, #0b2346 0%, var(--bg-1) 28%, var(--bg-0) 100%);
  color: var(--text);
}

.wrap {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 18, 38, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  min-width: 150px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(116,170,255,0.35), 0 0 14px rgba(57,208,255,0.25);
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: flex-start;
}

nav a {
  color: #c9d7f3;
  text-decoration: none;
  border: 1px solid #2a4677;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.92rem;
  background: linear-gradient(180deg, rgba(11,28,56,0.95), rgba(8,20,42,0.95));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  flex: 0 0 auto;
}

nav a.active {
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(76,140,255,0.28), 0 0 18px rgba(57,208,255,0.22);
}

.with-icon .icon {
  width: 15px;
  height: 15px;
  opacity: 0.95;
  flex: 0 0 auto;
}

.with-icon span {
  line-height: 1;
}

.buy-btn {
  background: linear-gradient(135deg, #20d488, #5de7b1);
  border-color: #20d488;
  color: #04111f;
  font-weight: 700;
}

.hero {
  margin: 30px 0 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: linear-gradient(160deg, #0b1c38 0%, #08172f 55%, #0a2a49 100%);
  box-shadow: inset 0 1px 0 rgba(95,154,255,0.2);
}

.hero h1 { margin: 0 0 10px; font-size: 2rem; }
.hero p { margin: 0; color: var(--muted); line-height: 1.6; }

.grid {
  display: grid;
  gap: 16px;
  margin: 18px 0 30px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10,24,49,0.97), rgba(7,18,38,0.97));
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(98,162,255,0.12);
}

.card h3, .card h2 { margin-top: 0; }
.card p, .card li { color: var(--muted); line-height: 1.55; }

.price {
  font-size: 1.8rem;
  color: #8dc2ff;
  margin: 8px 0;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #163c72, #102f59);
  color: #d7e8ff;
  font-size: 0.8rem;
  border: 1px solid #2e5ea2;
}

.cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #1fcf86, #39d0ff);
  color: #062015;
  border: 1px solid rgba(28,214,170,0.5);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 22px 0 35px;
  color: #a9bedf;
}
.footer a { color: #7dd1ff; }

.section-title {
  margin: 30px 0 10px;
  font-size: 1.4rem;
}

.stat-card {
  text-align: center;
  border-color: var(--line-strong);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #9fd1ff;
  letter-spacing: 0.02em;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .hero { padding: 20px; }
  .hero h1 { font-size: 1.5rem; }
  .brand { min-width: 140px; font-size: 1.05rem; }
  nav {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-start;
  }
  nav a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.88rem;
  }
  .buy-btn {
    display: none !important;
  }
}
