@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: #0a0a0a;
  --bg2: #111111;
  --bg3: #181818;
  --border: #222222;
  --text: #e8e8e8;
  --muted: #666;
  --accent: #00e5a0;
  --accent2: #00b37d;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
}

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;
}

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

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  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 !important;
}
.nav-cta:hover { background: var(--accent2) !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,.5);
}
.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 32px; max-width: 780px; margin: 0 auto; }

#offer { padding-top: 96px; padding-bottom: 72px; }

/* ─── BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.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(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 640px;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 6px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 11px 22px;
  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: 8px;
  overflow: hidden;
  background: var(--bg2);
}
.stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* ─── TERMINAL ─── */
.terminal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.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: 8px; }
.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: #7dd3fc; }

/* ─── DIVIDER ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── ABOUT ─── */
h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.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: 560px;
  line-height: 1.75;
}
.section-desc a { color: var(--accent); }

/* ─── FEATURES ─── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}
.feature {
  background: var(--bg2);
  padding: 24px;
}
.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; }

/* ─── PRICE BOX ─── */
.price-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.price-main {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 600;
}
.price-period {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--mono);
}
.price-note { font-size: 13px; color: var(--muted); max-width: 280px; line-height: 1.6; }

/* ─── CONTACTS ─── */
#contacts .contact-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
}
.contact-handle {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin: 12px 0;
}
.contact-sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

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

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links > a:not(.nav-cta):not(.lang-selector) { display: none; }
  section { padding: 56px 20px; }
  .features { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .price-box { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}
