:root {
  --bg: #07090c;
  --bg2: #0d1015;
  --bg3: #151920;
  --card: #11151b;
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(215, 25, 32, 0.55);
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.62);
  --brand: #d71920;
  --accent: #ef2b31;
  --accent2: #ffffff;
  --glow: rgba(215, 25, 32, 0.26);
  --green: #45d483;
  --danger: #ff5b61;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter Tight", Arial, sans-serif;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: "IBM Plex Mono", monospace; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(244,245,247,0.68);
  font: 600 12px/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.section-title { margin: 0 0 16px; font-size: 44px; line-height: 1.04; font-weight: 800; }
.section-copy { max-width: 700px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(18px);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 16px; text-transform: uppercase; }
.brand-copy small { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.nav-links a:hover { color: var(--text); }
.nav-support {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  height: 1px;
  background: rgba(215,25,32,0.24);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); align-items: center; gap: 64px; padding: 58px 0; }
.hero-copy-block { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 22px; max-width: 720px; font-size: 72px; line-height: 0.94; font-weight: 850; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--brand); }
.hero-lead { max-width: 660px; margin: 0 0 28px; color: var(--muted); font-size: 18px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.button-primary { color: #fff; border-color: #ff4248; background: var(--brand); box-shadow: 0 10px 30px rgba(215,25,32,0.24), inset 0 1px 0 rgba(255,255,255,0.18); }
.button-primary:hover { border-color: #ff6b70; background: #f1262d; box-shadow: 0 14px 38px rgba(215,25,32,0.42), 0 0 0 1px rgba(255,74,80,0.22); transform: translateY(-2px); }
.button-secondary { color: var(--text); border-color: var(--border); background: rgba(255,255,255,0.025); }
.button-secondary:hover { border-color: rgba(255,255,255,0.28); }
.hero-status { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font: 500 12px/1.4 "IBM Plex Mono", monospace; }
.status-item { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(69,212,131,0.65); }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,0.08); transform: rotate(45deg); }
.hero-visual::before { width: 380px; height: 380px; }
.hero-visual::after { width: 290px; height: 290px; border-color: rgba(215,25,32,0.24); }
.umbrella-mark { position: relative; z-index: 2; width: min(510px, 94%); filter: drop-shadow(0 28px 44px rgba(0,0,0,0.52)); }
.hero-readout {
  position: absolute;
  right: 0;
  bottom: 34px;
  z-index: 3;
  width: 235px;
  padding: 16px;
  border: 1px solid rgba(215,25,32,0.38);
  border-radius: 4px;
  background: rgba(7,9,12,0.90);
}
.hero-readout span { display: block; color: var(--muted); font: 500 10px/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; }
.hero-readout strong { display: block; margin-top: 7px; font: 700 28px/1 "IBM Plex Mono", monospace; }

.metrics { border-bottom: 1px solid var(--border); background: var(--bg2); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 126px; padding: 28px; border-left: 1px solid var(--border); }
.metric:last-child { border-right: 1px solid var(--border); }
.metric strong { display: block; margin-bottom: 10px; font: 700 28px/1 "IBM Plex Mono", monospace; }
.metric span { color: var(--muted); font-size: 13px; text-transform: uppercase; }

.band { padding: 100px 0; border-bottom: 1px solid var(--border); }
.band-alt { background: var(--bg2); }
.section-head { display: grid; grid-template-columns: 1fr minmax(320px, 0.8fr); gap: 44px; align-items: end; margin-bottom: 46px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.step { min-height: 260px; padding: 30px; border-right: 1px solid var(--border); background: rgba(255,255,255,0.018); }
.step:last-child { border-right: 0; }
.step-index { margin-bottom: 42px; color: var(--brand); font: 700 13px/1 "IBM Plex Mono", monospace; }
.step h3 { margin: 0 0 14px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.platform-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.platform { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 3px; color: var(--muted); font: 600 11px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; min-height: 520px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }
.plan:hover { border-color: var(--border-hover); }
.plan.featured { border-color: rgba(215,25,32,0.52); }
.plan-badge { position: absolute; right: 16px; top: 16px; padding: 6px 8px; border-radius: 2px; color: #fff; background: var(--brand); font: 700 10px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.plan-name { color: var(--muted); font: 600 12px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.plan-price { margin: 24px 0 4px; font-size: 58px; line-height: 1; font-weight: 850; }
.plan-price sup { color: var(--brand); font-size: 22px; vertical-align: top; }
.plan-period { color: var(--muted); font-size: 13px; }
.plan-list { display: grid; gap: 13px; margin: 28px 0 30px; padding: 0; list-style: none; }
.plan-list li { position: relative; padding-left: 20px; color: rgba(244,245,247,0.78); font-size: 14px; line-height: 1.4; }
.plan-list li::before { content: "+"; position: absolute; left: 0; color: var(--brand); font-family: "IBM Plex Mono", monospace; }
.plan .button { width: 100%; margin-top: auto; }
.plan .button-primary { box-shadow: 0 12px 32px rgba(215,25,32,0.28), inset 0 1px 0 rgba(255,255,255,0.18); }

.coverage-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr); gap: 70px; align-items: center; }
.network-facility { position: relative; min-height: 430px; overflow: hidden; border: 1px solid var(--border); background: #07090c; }
.network-facility::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(7,9,12,0.08) 28%, rgba(7,9,12,0.92) 100%); }
.network-facility-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.facility-header { position: absolute; z-index: 2; top: 18px; left: 20px; display: inline-flex; align-items: center; gap: 10px; color: rgba(244,245,247,0.82); font: 700 10px/1 "IBM Plex Mono", monospace; letter-spacing: 0.08em; }
.facility-header img { width: 26px; height: 26px; object-fit: contain; }
.facility-metrics { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,0.13); background: rgba(7,9,12,0.86); backdrop-filter: blur(8px); }
.facility-metric { min-width: 0; padding: 14px 16px; border-right: 1px solid rgba(255,255,255,0.11); }
.facility-metric:last-child { border-right: 0; }
.facility-metric span { display: block; margin-bottom: 8px; overflow: hidden; color: rgba(244,245,247,0.46); font: 600 9px/1.2 "IBM Plex Mono", monospace; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.facility-metric strong { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 16px; line-height: 1; white-space: nowrap; }
.facility-metric strong i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(69,212,131,0.7); }
.region-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); margin-top: 34px; }
.region { padding: 15px 0; border-bottom: 1px solid var(--border); color: var(--muted); font: 600 12px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.region:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }

.apps-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 72px; align-items: center; }
.app-panel { padding: 32px; border: 1px solid var(--border); background: var(--card); }
.app-panel-head { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.app-panel-head img { width: 74px; height: 74px; object-fit: contain; }
.app-panel-head strong { display: block; font-size: 24px; }
.app-panel-head span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.app-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 24px; }
.app-link { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid var(--border); border-radius: 3px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 700; }
.app-link:hover { border-color: var(--brand); }

.cabinet-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr); gap: 70px; align-items: center; }
.auth-box { padding: 28px; border: 1px solid var(--border); background: var(--card); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 22px; }
.auth-tab { min-height: 42px; border: 1px solid var(--border); border-radius: 3px; color: var(--muted); background: transparent; font-weight: 800; }
.auth-tab.active { color: var(--text); border-color: var(--brand); background: rgba(215,25,32,0.10); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.email-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.email-input, .modal-input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 3px; outline: 0; color: var(--text); background: var(--bg); }
.email-input:focus, .modal-input:focus { border-color: var(--brand); }
.email-submit { min-height: 50px; padding: 0 20px; border: 0; border-radius: 3px; color: #fff; background: var(--brand); font-weight: 850; text-transform: uppercase; }
.auth-note, .tg-auth-desc { color: var(--muted); font-size: 13px; line-height: 1.55; }
.tg-auth-wrap { display: grid; gap: 16px; }

.faq { display: grid; gap: 8px; max-width: 860px; margin-top: 38px; }
.faq-item { border: 1px solid var(--border); border-radius: 4px; background: rgba(255,255,255,0.018); }
.faq-question { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 18px; font-weight: 750; cursor: pointer; }
.faq-question::after { content: "+"; color: var(--brand); font: 500 22px/1 "IBM Plex Mono", monospace; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-item.open .faq-answer { max-height: 220px; }
.faq-answer-inner { padding: 0 18px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.site-footer { padding: 54px 0 30px; background: #050609; }
.footer-top { display: grid; grid-template-columns: 1fr repeat(3, auto); gap: 50px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-column strong { display: block; margin-bottom: 14px; font-size: 12px; text-transform: uppercase; }
.footer-column a { display: block; margin-top: 9px; color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: var(--muted); font-size: 12px; }

.modal-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,0.78); }
.modal { position: relative; width: min(460px, 100%); padding: 30px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg2); box-shadow: 0 30px 90px rgba(0,0,0,0.62); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 3px; color: var(--text); background: transparent; }
.modal-title { margin: 0 42px 8px 0; font-size: 26px; font-weight: 850; }
.modal-sub { margin: 0 0 20px; color: var(--muted); }
.modal-hint { margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.modal-btn { width: 100%; min-height: 50px; border: 0; border-radius: 3px; color: #fff; background: var(--brand); font-weight: 850; text-transform: uppercase; }
.modal-msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; }
.modal-msg.error { color: var(--danger); }.modal-msg.success { color: var(--green); }
.referral-note { display: none; margin-bottom: 14px; padding: 10px; border-left: 2px solid var(--brand); color: var(--muted); background: rgba(215,25,32,0.08); font-size: 12px; }
.referral-note.visible { display: block; }
.payment-notice { position: fixed; left: 50%; bottom: 20px; z-index: 320; width: min(520px, calc(100% - 28px)); transform: translateX(-50%); padding: 14px 18px; border: 1px solid rgba(69,212,131,0.35); border-radius: 4px; color: var(--text); background: #0d1512; font-size: 13px; text-align: center; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner, .section-head, .coverage-layout, .apps-layout, .cabinet-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 58px; }
  .hero-visual { min-height: 430px; }
  .pricing { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-behavior: auto; }
  body { overflow-anchor: none; }
  body::before { display: none; }
  .site-nav { display: none; }
  .container { width: min(100% - 28px, var(--max)); }
  .hero { min-height: auto; }
  .hero-inner { gap: 16px; padding: 28px 0 34px; }
  .hero h1 { font-size: 42px; line-height: 1; margin-bottom: 16px; }
  .hero-lead { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-bottom: 22px; }
  .button { width: 100%; min-height: 50px; }
  .hero-status { gap: 10px; font-size: 10px; }
  .hero-visual { min-height: 255px; }
  .hero-visual::before { width: 210px; height: 210px; }
  .hero-visual::after { width: 158px; height: 158px; }
  .umbrella-mark { width: 280px; }
  .hero-readout { right: 0; bottom: 0; width: 178px; padding: 11px; }
  .hero-readout strong { font-size: 20px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { min-height: 96px; padding: 18px 14px; border-bottom: 1px solid var(--border); }
  .metric:nth-child(odd) { border-left: 1px solid var(--border); }
  .metric strong { font-size: 21px; }
  .metric span { font-size: 10px; }
  .band { padding: 64px 0; }
  .section-head { gap: 18px; margin-bottom: 30px; }
  .section-title { font-size: 34px; }
  .section-copy { font-size: 15px; line-height: 1.55; }
  .step { padding: 22px 18px; }
  .step-index { margin-bottom: 20px; }
  .pricing { gap: 10px; }
  .plan { padding: 22px 18px; border-radius: 4px; }
  .plan-price { font-size: 48px; }
  .coverage-layout, .apps-layout, .cabinet-layout { gap: 28px; }
  .network-facility { min-height: 360px; }
  .network-facility-image { object-position: center; }
  .facility-header { top: 14px; left: 14px; }
  .facility-metrics { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; }
  .facility-metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .facility-metric:last-child { border-bottom: 0; }
  .facility-metric span { margin: 0; }
  .facility-metric strong { font-size: 14px; }
  .region-list { grid-template-columns: 1fr; }
  .region:nth-child(even) { padding-left: 0; border-left: 0; }
  .app-panel, .auth-box { padding: 20px 16px; }
  .app-links { grid-template-columns: 1fr; }
  .email-form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-top > .brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .button-primary:hover { transform: none; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .hero-visual { min-height: 235px; }
  .umbrella-mark { width: 250px; }
  .section-title { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > .brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
