@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0a0a08;
  --bg2:     #111110;
  --bg3:     #1a1a16;
  --border:  #252520;
  --border2: #2e2e28;
  --text:    #eeeeea;
  --muted:   #666658;
  --accent:  #f5c400;
  --accent2: #c99e00;
  --accent3: #ffe066;
  --glow:    rgba(245, 196, 0, 0.12);
  --glow2:   rgba(245, 196, 0, 0.06);
  --mono:    'IBM Plex Mono', monospace;
  --sans:    'IBM Plex Sans', sans-serif;
  --max-w:   960px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── HERO GLOW ─── */
.hero-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,196,0,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,8,0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
  font-family: var(--mono);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  font-weight: 600 !important;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 12px !important;
  transition: background .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: var(--accent3) !important;
  box-shadow: 0 0 16px rgba(245,196,0,0.3) !important;
}

/* ─── LANGUAGE SELECTOR ─── */
.lang-selector { position: relative; font-family: var(--mono); }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: #444; color: var(--text); }
.lang-btn .lang-arrow { font-size: 10px; transition: transform .2s; }
.lang-selector.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: none;
  min-width: 130px;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
}
.lang-selector.open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.lang-option:hover { background: var(--border); color: var(--text); }
.lang-option.active { color: var(--accent); }
.lang-flag { font-size: 14px; }

/* ─── SECTIONS ─── */
section {
  padding: 80px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#offer  { padding-top: 96px; padding-bottom: 72px; }

/* ─── BADGES ROW ─── */
.badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(245,196,0,0.35);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  background: rgba(245,196,0,0.05);
}
.badge-uptime {
  color: #4ade80;
  border-color: rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.05);
}
.badge-uptime .badge-dot { background: #4ade80; }
.badge-rf {
  color: var(--muted);
  border-color: var(--border2);
  background: transparent;
  gap: 5px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* ─── HERO ─── */
h1 {
  font-family: var(--sans);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 720px;
}

.h1-accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent3) 60%, #ffb700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-sub a { color: var(--accent); }

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffb700 100%);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 6px;
  transition: box-shadow .2s, transform .15s;
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(245,196,0,0.35);
  transform: translateY(-1px);
}

.btn-free {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(245,196,0,0.4);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 6px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.btn-free:hover {
  background: rgba(245,196,0,0.08);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(245,196,0,0.15);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 6px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: #444; color: var(--text); }

/* ─── STATS ─── */
.stats {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg2) 0%, #141412 100%);
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,196,0,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.stat {
  flex: 1;
  padding: 22px 26px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--accent);
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* ─── TERMINAL ─── */
.terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 12.5px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,196,0,0.04);
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg3) 0%, #161613 100%);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.terminal-title { color: var(--muted); font-size: 11px; }
.terminal-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.t-row { display: flex; justify-content: space-between; align-items: center; }
.t-key  { color: var(--muted); }
.t-val  { color: var(--text); }
.t-ok   { color: var(--accent); }
.t-name { color: #fcd34d; }

/* ─── DIVIDER ─── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ─── ABOUT ─── */
h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.section-desc {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.75;
}
.section-desc a { color: var(--accent); }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: border-color .25s, box-shadow .25s;
}
.plan-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.plan-popular {
  border-color: rgba(245,196,0,0.35);
  background: linear-gradient(160deg, #131310 0%, #111110 100%);
  box-shadow: 0 0 0 1px rgba(245,196,0,0.08), 0 8px 40px rgba(245,196,0,0.06);
}
.plan-popular:hover {
  border-color: rgba(245,196,0,0.55);
  box-shadow: 0 0 0 1px rgba(245,196,0,0.12), 0 12px 50px rgba(245,196,0,0.10);
}

.plan-popular-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent) 0%, #ffb700 100%);
  color: #000;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.plan-qty {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.plan-badge-new {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.plan-price-block { display: flex; flex-direction: column; gap: 2px; }
.plan-price-main {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.plan-price-main.muted {
  color: var(--muted);
  font-size: 20px;
}
.plan-price-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.plan-price-regular { opacity: 0.7; }
.plan-arrow {
  font-family: var(--mono);
  color: var(--border2);
  font-size: 16px;
  flex-shrink: 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}
.plan-features li b { color: var(--accent); }
.plan-features li { transition: color .15s; }
.plan-features li:hover { color: var(--text); }

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border2);
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.btn-plan:hover {
  border-color: #444;
  background: var(--bg3);
}
.btn-plan-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ffb700 100%);
  color: #000;
  border-color: transparent;
}
.btn-plan-accent:hover {
  box-shadow: 0 0 24px rgba(245,196,0,0.3);
  background: linear-gradient(135deg, var(--accent3) 0%, var(--accent) 100%);
  border-color: transparent;
}

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding-top: 4px;
  line-height: 1.6;
}
.pricing-note a { color: var(--accent); }

/* ─── FEATURES ─── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.feature {
  background: var(--bg2);
  padding: 24px;
  transition: background .2s;
}
.feature:hover { background: #131311; }
.feature-icon { font-size: 20px; margin-bottom: 10px; display: block; }
.feature-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-text  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── CONTACTS ─── */
#contacts .contact-block {
  background: linear-gradient(160deg, var(--bg2) 0%, #111110 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 0 60px rgba(245,196,0,0.04);
}
.contact-handle {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 12px 0;
}
.contact-sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.contact-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
footer a { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 760px) {
  nav { padding: 0 16px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  section { padding: 56px 20px; }
  h1 { font-size: clamp(24px, 6vw, 32px); }
  .features { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .plan-price-row { gap: 10px; }
  .plan-price-main { font-size: 22px; }
  .contact-ctas { flex-direction: column; align-items: stretch; }
  .contact-ctas a { text-align: center; }
}
