/* Лайка landing — Phosphor CRT VT220 */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #0C0C0A;
  --bg-alt: #16160f;
  --text: #33FF66;
  --text-dim: #1F8F3D;
  --accent: #FFB000;
  --accent-dim: #8A5F00;
  --border: #1F8F3D;
  --scanline: #2a2a26;

  --mono: VT323, 'JetBrains Mono', 'PT Mono', Menlo, Monaco, monospace;
  --mono-cyr: 'JetBrains Mono', 'PT Mono', Menlo, Monaco, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mono-cyr);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  position: relative;
  min-height: 100vh;
}

/* Scanlines overlay across entire page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--scanline) 0px,
    var(--scanline) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
}

body > * {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO === */

.hero {
  text-align: center;
  padding: 60px 0 50px;
  border-bottom: 1px dashed var(--text-dim);
}

.logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(51, 255, 102, 0.35));
}

.hero h1 {
  font-family: var(--mono);
  font-size: 88px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 8px;
  text-shadow:
    0 0 8px rgba(51, 255, 102, 0.6),
    0 0 20px rgba(51, 255, 102, 0.3);
}

.hero h1::before { content: ""; }

.tagline {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 18px;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.4);
}

.description {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--text);
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid currentColor;
  background: transparent;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(255, 176, 0, 0.6);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--text);
}
.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 16px rgba(51, 255, 102, 0.5);
}

.btn-link {
  background: transparent;
  color: var(--accent);
  padding: 6px 0;
  border: none;
  text-decoration: underline;
}

/* === SECTIONS === */

section {
  padding: 50px 0;
  border-bottom: 1px dashed var(--text-dim);
}

section h2 {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.35);
}

section h2::before {
  content: "[ ";
  color: var(--text-dim);
}
section h2::after {
  content: " ]";
  color: var(--text-dim);
}

/* === FEATURES === */

.feature-list {
  list-style: none;
}
.feature-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px dashed var(--text-dim);
  position: relative;
}
.feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list strong {
  color: var(--accent);
  font-weight: 700;
}

/* === TARIFFS === */

.tariff-intro {
  color: var(--text);
  margin-bottom: 24px;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 18px;
  background: transparent;
  border: 1px solid var(--text-dim);
}

.tariff-table th,
.tariff-table td {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px dashed var(--text-dim);
}

.tariff-table th:first-child,
.tariff-table td:first-child {
  text-align: left;
  color: var(--text-dim);
  font-family: var(--mono-cyr);
  font-size: 16px;
}

.tariff-table thead th {
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  border-bottom: 1px solid var(--text-dim);
}

.tariff-table thead th:first-child {
  color: transparent;
}

.tariff-table tbody tr:last-child td {
  border-bottom: none;
}

.tariff-table .price-row td {
  font-size: 22px;
  color: var(--text);
  padding-top: 14px;
}

.tariff-table .price-row td strong {
  color: var(--text);
  text-shadow: 0 0 6px rgba(51, 255, 102, 0.35);
}

/* === INSTALL STEPS === */

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 20px 0 20px 56px;
  position: relative;
  border-bottom: 1px dashed var(--text-dim);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: "[" counter(step) "]";
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}

.steps h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.steps p {
  color: var(--text);
  margin-bottom: 8px;
}

.steps a {
  color: var(--accent);
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 1em;
  color: var(--accent);
  background: transparent;
  padding: 0 4px;
  border: 1px dashed var(--accent-dim);
}

/* === FAQ === */

.faq details {
  border-bottom: 1px dashed var(--text-dim);
  padding: 14px 0;
}

.faq details:last-of-type {
  border-bottom: none;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.faq summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent);
}

.faq details[open] summary::before {
  content: "-";
}

.faq details p {
  margin-top: 8px;
  padding-left: 28px;
  color: var(--text);
}

.faq details a {
  color: var(--accent);
}

/* === FOOTER === */

footer {
  padding: 32px 0;
  text-align: center;
  font-size: 16px;
  color: var(--text-dim);
}

footer p {
  margin: 4px 0;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
  text-shadow: 0 0 6px rgba(255, 176, 0, 0.4);
}

/* === Cursor blink for style === */

.cursor {
  display: inline-block;
  color: var(--text);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* === RESPONSIVE === */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 60px; }
  .logo { width: 120px; }
  section { padding: 36px 0; }
  section h2 { font-size: 28px; }
  .tariff-table { font-size: 14px; }
  .tariff-table th,
  .tariff-table td { padding: 6px 4px; }
  .tariff-table .price-row td { font-size: 16px; }
  .steps li { padding-left: 42px; }
}
