:root {
  --bg: #0d1117;
  --bg-2: #101722;
  --accent: #2bd2ff;
  --accent-2: #7effc8;
  --accent-3: #5aa0ff;
  --text: #e6edf3;
  --muted: #94a3b8;
  --card: rgba(19, 25, 35, 0.85);
  --glass: rgba(24, 32, 45, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background: radial-gradient(1200px 800px at 10% 10%, #142134 0%, #0d1117 60%, #090c11 100%);
  color: var(--text);
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #071018;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(43, 210, 255, 0.2);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-xl {
  padding: 16px 28px;
  font-size: 16px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(43, 210, 255, 0.28);
  filter: saturate(1.1);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 18px rgba(43, 210, 255, 0.2);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn.cta-btn {
  position: relative;
  overflow: hidden;
}

.btn.cta-btn::before {
  content: "→";
  margin-right: 8px;
  display: inline-block;
  transform: translateY(-1px);
}

.btn.cta-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.6), transparent 40%);
  opacity: 0.4;
  animation: pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 80px 6vw 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin: 12px 0 16px;
}

.hero-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(43, 210, 255, 0.15);
  border: 1px solid rgba(43, 210, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.4px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.metrics {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.metric {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.metric-value {
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.card {
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.speed-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(90,160,255,0.15), rgba(13,17,23,0.95));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.speed-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(43,210,255,0) 0deg, rgba(43,210,255,0) 210deg, rgba(43,210,255,0.85) 240deg, rgba(90,160,255,0.9) 300deg, rgba(43,210,255,0) 330deg, rgba(43,210,255,0) 360deg);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
  animation: spin 10s linear infinite;
}

.speed-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(90,160,255,0.3), rgba(13,17,23,0.97));
}

.speed-ring-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  color: var(--text);
}

.speed-label {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.speed-value {
  font-size: 32px;
  font-weight: 700;
  margin: 6px 0;
}

.speed-sub {
  color: var(--muted);
  font-size: 13px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.card-title {
  font-weight: 600;
  margin-bottom: 16px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
}

.orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(126, 255, 200, 0.3);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.06); opacity: 0.6; }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 24px 6vw 40px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.cta {
  margin: 40px 6vw;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(43, 210, 255, 0.15), rgba(126, 255, 200, 0.1));
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.auth {
  padding: 60px 6vw;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--border);
}

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

.form input, .select, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0e141c;
  color: var(--text);
}

.select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.divider {
  text-align: center;
  color: var(--muted);
  margin: 18px 0;
}

.alert {
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.panel {
  padding: 40px 6vw;
}

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

.panel-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.install-card {
  margin-top: 24px;
}

.steps-compact {
  display: grid;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.steps-compact span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(43, 210, 255, 0.15);
  border: 1px solid rgba(43, 210, 255, 0.4);
  margin-right: 10px;
  font-weight: 700;
}

.device-row {
  display: grid;
  gap: 12px;
}


.device-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.device-link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: rgba(13, 17, 23, 0.6);
}

.keys {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.keys li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.plan-block { margin-bottom: 28px; }

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

.plan-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.plan-price {
  font-size: 22px;
  font-weight: 700;
}

.plan-actions {
  display: grid;
  gap: 10px;
}

.steps {
  padding: 24px 6vw 40px;
}

.steps-header {
  margin-bottom: 18px;
}

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

.step-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(43, 210, 255, 0.15);
  border: 1px solid rgba(43, 210, 255, 0.4);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.install {
  padding: 24px 6vw 40px;
}

.install-header {
  margin-bottom: 16px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(43,210,255,0.2), rgba(126,255,200,0.2));
  border-color: rgba(126, 255, 200, 0.4);
}

.tab-panels {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 20px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.steps-list {
  display: grid;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.steps-list li strong {
  color: var(--text);
}

.faq {
  padding: 24px 6vw 40px;
}

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

.faq-item {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.article-body h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.article-body a {
  color: var(--accent);
}

.article-body code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px 8px;
}

.seo {
  padding: 24px 6vw 40px;
}

.seo-list {
  list-style: disc;
  padding-left: 22px;
  color: var(--muted);
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
}

.key-card {
  display: grid;
  gap: 10px;
  background: rgba(13, 17, 23, 0.6);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--border);
}

.key-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.key-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 255, 200, 0.4);
  background: rgba(126, 255, 200, 0.1);
  font-size: 12px;
}

.key-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.key-copy {
  margin-left: auto;
  background: rgba(43, 210, 255, 0.1);
  border: 1px solid rgba(43, 210, 255, 0.4);
  color: var(--text);
}

.renew-btn {
  width: fit-content;
}

.tg-login {
  display: flex;
  justify-content: center;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

body::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: rgba(43, 210, 255, 0.16);
}

body::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -90px;
  background: rgba(126, 255, 200, 0.12);
}

.hero,
.features,
.steps,
.install,
.faq,
.seo,
.proof,
.panel {
  width: min(1180px, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.cta {
  width: min(1180px, 92vw);
  margin: 40px auto;
}

.hero-content h1 {
  background: linear-gradient(135deg, #f8fcff 20%, #9fdfff 60%, #89ffd3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.feature,
.step-card,
.faq-item,
.plan-card,
.panel-card,
.key-card,
.blog-card {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover,
.step-card:hover,
.faq-item:hover,
.plan-card:hover,
.panel-card:hover,
.key-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 210, 255, 0.35);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
}

.metric {
  min-width: 120px;
  background: linear-gradient(155deg, rgba(22, 30, 42, 0.85), rgba(15, 22, 31, 0.72));
}

.proof {
  padding: 6px 0 28px;
}

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

.proof-card {
  background: linear-gradient(160deg, rgba(24, 32, 44, 0.92), rgba(15, 21, 30, 0.88));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.proof-num {
  font-size: 30px;
  font-weight: 700;
  color: #c9f3ff;
}

.proof-label {
  margin-top: 6px;
  color: var(--muted);
}

.device-link {
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.device-link:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 210, 255, 0.45);
  background: rgba(43, 210, 255, 0.14);
}

.blog-hero {
  margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(25, 33, 46, 0.95), rgba(17, 23, 31, 0.9));
}

.blog-hero h1 {
  margin: 10px 0;
  font-size: clamp(30px, 4.5vw, 52px);
}

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

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.blog-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-meta {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 210, 255, 0.35);
  background: rgba(43, 210, 255, 0.12);
  color: #bdefff;
  font-size: 12px;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(24, 31, 43, 0.94), rgba(15, 20, 29, 0.92));
}

.article-title {
  margin: 14px 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.article-body p {
  margin: 14px 0;
}

.article-body ul {
  padding-left: 20px;
}

.article-body li {
  margin: 8px 0;
}

.article-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(43, 210, 255, 0.25);
  background: rgba(9, 13, 20, 0.9);
  backdrop-filter: blur(10px);
}

.mobile-sticky-cta .btn {
  flex: 1;
  text-align: center;
}

.footer {
  padding: 40px 6vw 60px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .topbar { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .metrics { flex-direction: column; }
  .cta { flex-direction: column; align-items: flex-start; }
  .article-actions { flex-direction: column; align-items: flex-start; }
  .mobile-sticky-cta { display: flex; }
  .footer { padding-bottom: 110px; }
}
