/* Cyber theme - full landing */

@keyframes cyber-scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes cyber-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(0, 229, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 0 3px var(--bg), 0 0 18px rgba(0, 229, 255, 0.5);
  }
}

body {
  background-color: #080b10;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 90% 55% at 50% -15%, var(--cyber-cyan-dim), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 20%, var(--cyber-magenta-dim), transparent 45%),
    radial-gradient(ellipse 40% 35% at 0% 80%, var(--accent-dim), transparent 40%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

.site-header {
  background: rgba(8, 11, 16, 0.92);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.logo-mark {
  background: linear-gradient(135deg, var(--cyber-cyan), var(--accent));
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.nav-desktop a:hover,
.nav-mobile a:hover {
  color: var(--cyber-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--cyber-cyan));
  color: #061018 !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow:
    0 4px 20px rgba(34, 158, 217, 0.5),
    0 0 24px rgba(42, 171, 238, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #229ed9, #1a8bc4);
  box-shadow:
    0 6px 28px rgba(34, 158, 217, 0.65),
    0 0 32px rgba(42, 171, 238, 0.35);
}

.hero {
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.hero-badge {
  color: var(--cyber-cyan);
  background: var(--cyber-cyan-dim);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
}

.hero h1 {
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2dd4a0);
  box-shadow: 0 0 18px rgba(66, 185, 131, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 26px rgba(66, 185, 131, 0.5);
}

.btn-te {
  background: linear-gradient(135deg, var(--te-accent), #7ba8ff);
  box-shadow: 0 0 18px rgba(91, 141, 239, 0.35);
}

.btn-te:hover {
  box-shadow: 0 0 26px rgba(91, 141, 239, 0.5);
}

main > .section:nth-of-type(even) {
  background: rgba(12, 18, 28, 0.65);
  border-block-color: rgba(0, 229, 255, 0.12);
}

.section-title {
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.2);
}

.section-desc {
  color: var(--text-muted);
}

/* Cyber panel base */
.cyber-panel,
.product-card,
.tiles-block--cyber,
.requirements-box,
.faq-item {
  position: relative;
  background-color: rgba(14, 20, 32, 0.9);
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow:
    inset 0 0 40px rgba(0, 229, 255, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.cyber-panel::after,
.product-card::after,
.tiles-block--cyber::after,
.requirements-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyber-cyan), var(--accent), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.product-card--te {
  border-color: rgba(91, 141, 239, 0.3);
}

.product-card--te::after {
  background: linear-gradient(90deg, transparent, var(--te-accent), var(--cyber-cyan), transparent);
}

.product-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow:
    inset 0 0 50px rgba(0, 229, 255, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(0, 229, 255, 0.08);
}

.product-card--te:hover {
  border-color: rgba(91, 141, 239, 0.55);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(91, 141, 239, 0.12);
}

.product-tag--asc {
  border: 1px solid rgba(66, 185, 131, 0.35);
  box-shadow: 0 0 10px rgba(66, 185, 131, 0.1);
}

.product-tag--te {
  border: 1px solid rgba(91, 141, 239, 0.35);
  box-shadow: 0 0 10px rgba(91, 141, 239, 0.1);
}

.product-lead {
  color: var(--cyber-cyan);
}

.product-lead--te {
  color: var(--te-accent);
}

/* Video blocks */
.tiles-block--cyber {
  margin-bottom: 2.5rem;
  padding: var(--panel-pad);
  overflow: hidden;
}

.tiles-block--cyber::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.04), transparent);
  animation: cyber-scan 10s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

.tiles-block--cyber-te {
  border-color: rgba(91, 141, 239, 0.28);
}

.tiles-block--cyber-te::after {
  background: linear-gradient(90deg, transparent, var(--te-accent), var(--cyber-magenta), transparent);
}

.tiles-head h3 {
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.tiles-badge--asc {
  background: linear-gradient(135deg, var(--cyber-cyan-dim), var(--accent-dim));
  color: var(--cyber-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.tiles-badge--te {
  background: linear-gradient(135deg, var(--te-dim), var(--cyber-magenta-dim));
  color: var(--te-accent);
  border: 1px solid rgba(91, 141, 239, 0.4);
}

/* Benefits */
.section-benefits .cyber-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--panel-pad);
  border-radius: var(--radius-lg);
}

.section-benefits .cyber-panel::before {
  display: none;
}

.section-benefits .benefits-prose,
.section-benefits .benefits-prose p,
.section-benefits .benefits-prose li {
  color: var(--text);
}

.section-benefits .benefits-label {
  color: var(--cyber-cyan);
  letter-spacing: 0.04em;
}

.section-benefits .benefits-footer-line {
  border-top-color: rgba(0, 229, 255, 0.2);
  text-shadow: 0 0 12px rgba(66, 185, 131, 0.2);
}

/* Requirements & FAQ */
.requirements-box {
  border-radius: var(--radius-lg);
}

.faq-item {
  border-radius: var(--radius);
}

.faq-item[open] {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.faq-item summary::after {
  color: var(--cyber-cyan);
}

.site-footer {
  background: rgba(10, 14, 22, 0.95);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}

.footer-col h4 {
  color: var(--cyber-cyan);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Stairs - cyber override */
.lesson-stairs::before {
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--cyber-cyan),
    var(--accent),
    var(--cyber-magenta),
    transparent
  );
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
  opacity: 0.85;
}

.lesson-stairs--te::before {
  background: linear-gradient(
    180deg,
    transparent,
    var(--te-accent),
    var(--cyber-cyan),
    transparent
  );
  box-shadow: 0 0 10px rgba(91, 141, 239, 0.35);
}

.lesson-stairs--asc .lesson-step-num {
  color: var(--cyber-cyan);
  background: radial-gradient(circle at 30% 30%, var(--bg-elevated), var(--bg-card));
  border: 2px solid rgba(0, 229, 255, 0.5);
  animation: cyber-pulse 3s ease-in-out infinite;
}

.lesson-stairs--te .lesson-step-num {
  color: var(--te-accent);
  border-color: rgba(91, 141, 239, 0.55);
  animation: cyber-pulse 3s ease-in-out infinite;
}

.lesson-stairs .lesson-step-card {
  background: linear-gradient(145deg, rgba(18, 26, 40, 0.95), rgba(10, 14, 22, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 4px;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lesson-stairs--te .lesson-step-card {
  border-color: rgba(91, 141, 239, 0.28);
}

.lesson-stairs .lesson-step-card::before {
  background: linear-gradient(180deg, var(--cyber-cyan), var(--accent));
  opacity: 0.9;
}

.lesson-stairs--te .lesson-step-card::before {
  background: linear-gradient(180deg, var(--te-accent), var(--cyber-cyan));
}

.lesson-stairs .lesson-step:nth-child(even) .lesson-step-card::before {
  background: linear-gradient(180deg, var(--cyber-magenta), var(--accent));
}

.lesson-stairs--te .lesson-step:nth-child(even) .lesson-step-card::before {
  background: linear-gradient(180deg, var(--cyber-magenta), var(--te-accent));
}

.lesson-stairs .lesson-step:nth-child(odd) .lesson-step-card::after,
.lesson-stairs .lesson-step:nth-child(even) .lesson-step-card::after {
  display: block;
  content: "";
  position: absolute;
  top: 2.5rem;
  width: 1.25rem;
  height: 2px;
  box-shadow: 0 0 6px currentColor;
}

.lesson-stairs .lesson-step:nth-child(odd) .lesson-step-card::after {
  right: -1.25rem;
  background: linear-gradient(90deg, var(--cyber-cyan), transparent);
  color: var(--cyber-cyan);
}

.lesson-stairs .lesson-step:nth-child(even) .lesson-step-card::after {
  left: -1.25rem;
  background: linear-gradient(270deg, var(--cyber-magenta), transparent);
  color: var(--cyber-magenta);
}

.lesson-stairs .lesson-step-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(0, 229, 255, 0.1);
  transform: translateY(-3px);
}

.lesson-stairs--te .lesson-step-card:hover {
  border-color: rgba(91, 141, 239, 0.55);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(91, 141, 239, 0.12);
}

.lesson-step-title {
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
}

.lesson-stairs--asc .lesson-step-link,
.lesson-stairs--te .lesson-step-link {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  border-radius: 2px;
}

.lesson-stairs--asc .lesson-step-link {
  color: var(--cyber-cyan);
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.12);
}

.lesson-stairs--te .lesson-step-link {
  color: var(--te-accent);
  background: rgba(91, 141, 239, 0.12);
  border-color: rgba(91, 141, 239, 0.45);
}

.lesson-stairs--asc .lesson-step-link:hover {
  color: #061018;
  background: var(--cyber-cyan);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

.lesson-stairs--te .lesson-step-link:hover {
  color: #fff;
  background: var(--te-accent);
  box-shadow: 0 0 18px rgba(91, 141, 239, 0.4);
}

.lesson-stairs--asc .lesson-step:nth-child(even) .lesson-step-link {
  color: var(--cyber-magenta);
  background: rgba(255, 61, 206, 0.08);
  border-color: rgba(255, 61, 206, 0.4);
}

.lesson-stairs--asc .lesson-step:nth-child(even) .lesson-step-link:hover {
  background: var(--cyber-magenta);
  border-color: var(--cyber-magenta);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 61, 206, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .tiles-block--cyber::before,
  .lesson-stairs--asc .lesson-step-num,
  .lesson-stairs--te .lesson-step-num {
    animation: none;
  }
}

@media (max-width: 960px) {
  .lesson-stairs .lesson-step:nth-child(odd) .lesson-step-card::after,
  .lesson-stairs .lesson-step:nth-child(even) .lesson-step-card::after {
    display: none;
  }
}
