/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: #050000;
  color: #f5e6e6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(220,38,38,0.4); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d0202; }
::-webkit-scrollbar-thumb { background: #7f1d1d; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #dc2626; }

/* ===== VARIABLES ===== */
:root {
  --bg: #050000;
  --bg-card: #0d0202;
  --bg-card-alt: #0a0101;
  --fg: #f5e6e6;
  --fg-muted: #a87070;
  --primary: #dc2626;
  --primary-dark: #991b1b;
  --primary-deeper: #7f1d1d;
  --border: #2d0a0a;
  --secondary: #1a0505;
  --accent-light: #fca5a5;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* ===== КОСМИЧЕСКИЙ ФОН ===== */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.planet {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #dc2626, #4a0404);
  box-shadow: 0 0 150px rgba(220, 38, 38, 0.3);
  animation: float 25s infinite ease-in-out;
}

.planet-1 {
  width: 500px;
  height: 500px;
  left: -100px;
  top: 10%;
  opacity: 0.15;
  filter: blur(80px);
  animation-delay: -5s;
}

.planet-2 {
  width: 400px;
  height: 400px;
  right: -50px;
  bottom: 5%;
  opacity: 0.1;
  filter: blur(100px);
  animation-duration: 30s;
  animation-delay: -10s;
}

.ring {
  position: absolute;
  border: 2px solid rgba(220, 38, 38, 0.1);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
}

.ring-1 {
  width: 700px;
  height: 700px;
  left: 15%;
  top: 15%;
  border-width: 1px;
}

.ring-2 {
  width: 900px;
  height: 900px;
  right: 5%;
  bottom: 5%;
  border-color: rgba(220, 38, 38, 0.08);
  animation-duration: 50s;
  animation-direction: reverse;
}

.grid-3d {
  position: absolute;
  width: 200%;
  height: 200%;
  left: -50%;
  top: -50%;
  background-image: 
    linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.05;
  transform: perspective(800px) rotateX(70deg) rotateZ(10deg);
  transform-origin: center;
  animation: gridMove 30s linear infinite;
}

.stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(2px 2px at 10px 10px, #fff, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 20px 150px, #fff, rgba(0,0,0,0)),
                    radial-gradient(3px 3px at 150px 30px, #ffaaaa, rgba(0,0,0,0)),
                    radial-gradient(1px 1px at 250px 380px, #fff, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 430px 120px, #ffcccc, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 700px 500px, #fff, rgba(0,0,0,0)),
                    radial-gradient(3px 3px at 900px 200px, #ff9999, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 1200px 600px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.3;
  animation: twinkle 5s infinite alternate;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-50px) translateX(30px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gridMove {
  0% { transform: perspective(800px) rotateX(70deg) rotateZ(10deg) translateY(0); }
  100% { transform: perspective(800px) rotateX(70deg) rotateZ(10deg) translateY(80px); }
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.4; }
}

/* ===== CANVAS PARTICLES ===== */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ===== GAME SELECTOR ===== */
.game-selector {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 20px;
  z-index: 20;
}

.game-btn {
  position: relative;
  padding: 16px 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 60px;
  color: var(--fg-muted);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s;
  overflow: hidden;
  z-index: 2;
}

.game-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(220,38,38,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.game-btn:hover::before {
  transform: translateX(100%);
}

.game-btn:hover {
  border-color: rgba(220,38,38,0.5);
  color: var(--fg);
  box-shadow: 0 0 30px rgba(220,38,38,0.2);
}

.game-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(220,38,38,0.4);
}

.selector-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(220,38,38,0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-selector:hover .selector-glow {
  opacity: 1;
}

/* ===== TARIFFS SECTIONS ===== */
.tariffs-section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.tariffs-section.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.8s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(5,0,0,0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(220,38,38,0.1);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(220,38,38,0.2);
  filter: blur(8px);
  transition: all 0.3s;
}
.logo:hover .logo-icon::before {
  background: rgba(220,38,38,0.4);
  filter: blur(12px);
}
.logo-icon svg { position: relative; width: 32px; height: 32px; }
.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-text .red { color: var(--primary); }
.logo-text .gray { color: var(--fg-muted); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  transition: all 0.3s;
  border-radius: 999px;
  position: relative;
}
.nav-link:hover {
  color: var(--fg);
  background: rgba(220,38,38,0.1);
}
.nav-cta {
  margin-left: 16px;
  padding: 10px 24px;
  border: 1px solid rgba(220,38,38,0.5);
  border-radius: 999px;
  background: rgba(220,38,38,0.1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px rgba(220,38,38,0.4);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
}
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(5,0,0,0.95);
  backdrop-filter: blur(40px);
  border-top: 1px solid var(--border);
  padding: 24px;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
}
.mobile-menu .nav-cta {
  margin-left: 0;
  margin-top: 8px;
  text-align: center;
  padding: 12px;
}

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 96px;
  z-index: 10;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  transition: left 0.3s ease-out, top 0.3s ease-out, right 0.3s ease-out, bottom 0.3s ease-out;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary), transparent);
  opacity: 0.2;
  filter: blur(120px);
  left: 20%; top: 20%;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-dark), transparent);
  opacity: 0.15;
  filter: blur(100px);
  right: 10%; bottom: 20%;
}
.hero-grid {
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(220,38,38,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,38,38,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 999px;
  background: rgba(220,38,38,0.05);
  backdrop-filter: blur(4px);
  margin-bottom: 32px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--primary); }
.hero-badge span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 960px;
  font-size: clamp(2.5rem, 8vw, 7.5rem);
}
.hero-title .line-1 { display: block; color: var(--fg); }
.hero-title .line-2 {
  display: block;
  margin-top: 8px;
  background: linear-gradient(to right, var(--primary), #f87171, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .line-3 { display: block; margin-top: 8px; color: rgba(245,230,230,0.35); }
.hero-subtitle {
  max-width: 640px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  text-wrap: balance;
}
.hero-buttons {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(220,38,38,0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 0 60px rgba(220,38,38,0.5);
}
.btn-primary .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-200%);
  transition: transform 0.7s;
}
.btn-primary:hover .shine { transform: translateX(200%); }
.btn-primary span, .btn-primary svg { position: relative; }
.btn-primary svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid var(--border);
  background: rgba(13,2,2,0.6);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: rgba(220,38,38,0.3);
  color: var(--fg);
}

/* Stats */
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  width: 100%;
}
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(13,2,2,0.4);
  backdrop-filter: blur(4px);
  padding: 24px;
  transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(220,38,38,0.3); }
.stat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(220,38,38,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary);
  position: relative;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-top: 4px;
  position: relative;
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(168,112,112,0.4);
}
.scroll-indicator span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.scroll-indicator .line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(220,38,38,0.4), transparent);
}

/* ===== SECTION SHARED ===== */
.section {
  position: relative;
  padding: 128px 0;
  z-index: 10;
}
.section-inner {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-divider {
  position: absolute;
  left: 50%; top: 0;
  width: 80%;
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(220,38,38,0.3), transparent);
}
.section-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: var(--fg);
}
.section-title .gradient {
  background: linear-gradient(to right, var(--primary), #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  text-align: center;
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--fg-muted);
  text-wrap: balance;
  line-height: 1.6;
}

/* ===== TARIFFS ===== */
.tariffs-grid {
  display: grid;
  gap: 20px;
  margin-top: 64px;
}
@media (min-width: 640px) { .tariffs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tariffs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .tariffs-grid { grid-template-columns: repeat(5, 1fr); } }

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(10,1,1,0.8);
  transition: all 0.5s;
}
.tariff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(220,38,38,0.3);
}
.tariff-card.popular {
  border-color: rgba(220,38,38,0.5);
  background: var(--bg-card);
  box-shadow: 0 0 60px rgba(220,38,38,0.15);
}
.tariff-card .glow-overlay {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tariff-card:hover .glow-overlay { opacity: 0.3; }
.popular-badge {
  position: absolute;
  top: 0; right: 0;
  z-index: 10;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 16px;
  border-radius: 0 0 0 16px;
  background: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
}
.tariff-body {
  position: relative; z-index: 10;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}
.tariff-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tariff-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--secondary);
}
.tariff-card.popular .tariff-icon { background: rgba(220,38,38,0.2); }
.tariff-icon svg { width: 20px; height: 20px; color: var(--fg-muted); }
.tariff-card.popular .tariff-icon svg { color: var(--primary); }
.tariff-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.tariff-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tariff-price .amount {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--fg);
}
.tariff-card.popular .tariff-price .amount { color: var(--primary); }
.tariff-price .currency { font-size: 18px; font-weight: 700; color: var(--fg-muted); }
.tariff-price .period { font-size: 13px; color: rgba(168,112,112,0.6); margin-left: 4px; }
.tariff-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}
.tariff-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}
.tariff-feature .icon-circle {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  flex-shrink: 0;
}
.tariff-feature .icon-circle svg { width: 12px; height: 12px; color: var(--primary); }
.tariff-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.tariff-cta-default {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg);
}
.tariff-cta-default:hover {
  border-color: rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.1);
}
.tariff-cta-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,38,38,0.3);
}
.tariff-cta-primary:hover {
  box-shadow: 0 4px 30px rgba(220,38,38,0.5);
}
.tariff-badge-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.tariff-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.tariff-badge svg { width: 12px; height: 12px; }
.badge-lite { border-color: rgba(168,112,112,0.3); color: var(--fg-muted); background: rgba(26,5,5,0.5); }
.badge-pro { border-color: rgba(220,38,38,0.4); color: var(--primary); background: rgba(220,38,38,0.1); }
.badge-ultra { border-color: var(--primary); color: #fff; background: var(--primary); }
.badge-absolut { border-color: rgba(220,38,38,0.4); color: var(--primary); background: rgba(220,38,38,0.1); }
.badge-elite { border-color: rgba(245,158,11,0.4); color: #fbbf24; background: rgba(245,158,11,0.1); }

/* ===== TECH ===== */
.tech-wall {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: rgba(10,1,1,0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  margin-top: 64px;
}
@media (min-width: 1024px) {
  .tech-wall { border-radius: 3rem; padding: 64px; }
}
.tech-wall::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(220,38,38,0.05), transparent);
  pointer-events: none;
}
.tech-wall .glow-1, .tech-wall .glow-2 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(220,38,38,0.05);
  filter: blur(100px);
  pointer-events: none;
}
.tech-wall .glow-1 { left: -160px; top: -160px; }
.tech-wall .glow-2 { right: -160px; bottom: -160px; }

.tech-grid {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s ease;
}
.tech-item.visible { opacity: 1; transform: translateY(0); }
.tech-item-icon-wrap { position: relative; }
.tech-item-icon-wrap .blur-bg {
  position: absolute; inset: 0;
  border-radius: 16px;
  background: rgba(220,38,38,0.2);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s;
}
.tech-item:hover .blur-bg { opacity: 1; }
.tech-item-icon {
  position: relative;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(13,2,2,0.8);
  transition: all 0.3s;
}
.tech-item:hover .tech-item-icon {
  border-color: rgba(220,38,38,0.4);
  background: rgba(220,38,38,0.1);
}
.tech-item-icon svg {
  width: 32px; height: 32px;
  color: var(--primary);
  transition: transform 0.3s;
}
.tech-item:hover .tech-item-icon svg { transform: scale(1.1); }
.tech-item-text { text-align: center; }
.tech-item-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.tech-item-desc { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

/* Marquee */
.marquee-container {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10,1,1,0.4);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-group {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(168,112,112,0.5);
}
.marquee-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(220,38,38,0.4);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  gap: 16px;
  margin-top: 64px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10,1,1,0.6);
  backdrop-filter: blur(4px);
  padding: 32px;
  transition: all 0.5s;
  opacity: 0;
  transform: translateY(40px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
  border-color: rgba(220,38,38,0.3);
  background: var(--bg-card);
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon-box {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  margin-bottom: 16px;
  transition: all 0.3s;
  position: relative;
}
.feature-card:hover .feature-icon-box {
  border-color: rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.1);
}
.feature-icon-box svg { width: 20px; height: 20px; color: var(--primary); }
.feature-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
}
.feature-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
  position: relative;
}

/* ===== CTA ===== */
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--secondary), var(--bg-card), var(--bg-card-alt));
  padding: 40px;
}
@media (min-width: 1024px) {
  .cta-box { border-radius: 3rem; padding: 80px; }
}
.cta-box .glow-1, .cta-box .glow-2 {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  filter: blur(80px);
  pointer-events: none;
}
.cta-box .glow-1 { left: -80px; top: -80px; }
.cta-box .glow-2 { right: -80px; bottom: -80px; }
.cta-box .dot-pattern {
  position: absolute; inset: 0;
  opacity: 0.02;
  background-image: radial-gradient(rgba(220,38,38,0.8) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-content {
  position: relative; z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 999px;
  background: rgba(220,38,38,0.05);
  margin-bottom: 24px;
}
.cta-label span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.cta-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  max-width: 780px;
  text-wrap: balance;
}
.cta-desc {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--fg-muted);
  text-wrap: balance;
  line-height: 1.6;
}
.cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  z-index: 10;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(220,38,38,0.05), transparent);
  pointer-events: none;
}
.footer-inner {
  position: relative; z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 24px;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand p {
  max-width: 380px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.footer-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--fg); }
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  transition: color 0.3s;
}
.social-link:hover { color: var(--fg); }
.social-link svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}
.footer-copyright {
  font-size: 12px;
  color: rgba(168,112,112,0.5);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(168,112,112,0.5);
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--fg-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-card { padding: 16px; }
  .stat-label { font-size: 10px; }
  .hero-subtitle { font-size: 15px; }
  .hero-content { padding: 32px 16px 0; }
  .section { padding: 80px 0; }
  .game-btn { padding: 12px 20px; font-size: 12px; }
}
/* Стили только для тарифов Python */

/* Основной контейнер для Python тарифов */
#tariffs-python .tariffs-grid {
  display: grid;
  gap: 20px;
  margin-top: 64px;
}

/* Адаптивность сетки */
@media (min-width: 640px) {
  #tariffs-python .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #tariffs-python .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  #tariffs-python .tariffs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Базовая карточка Python тарифа */
#tariffs-python .tariff-card {
  background: rgba(5, 2, 2, 0.8);
  border: 1px solid rgba(50, 200, 100, 0.15);
  transition: all 0.4s ease;
}

/* Эффект свечения при наведении (адаптация под зеленый) */
#tariffs-python .tariff-card:hover {
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.15);
}

/* Стиль для "популярной" карточки (Эксплойт) */
#tariffs-python .tariff-card.popular {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(15, 5, 2, 0.8);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.2);
}

/* Стиль иконки Python */
#tariffs-python .tariff-icon-python {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Цена */
#tariffs-python .tariff-price .amount {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Unbounded', sans-serif;
}

/* Пункты списка особенностей */
#tariffs-python .tariff-feature {
  color: #cbd5e1;
}

#tariffs-python .tariff-feature .icon-circle {
  background: rgba(74, 222, 128, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#tariffs-python .tariff-feature .icon-circle svg {
  width: 12px;
  height: 12px;
}

/* Кнопка действия */
#tariffs-python .tariff-cta-python {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid;
  transition: all 0.3s;
}

#tariffs-python .tariff-cta-python:hover {
  background: currentColor;
  color: #050000 !important;
}

/* Популярный бейдж */
#tariffs-python .popular-badge {
  background: #f97316;
  color: white;
}

/* Убираем лишние элементы (бейджи LITE, PRO и т.д. если они есть) */
#tariffs-python .tariff-badge-row {
  display: none;
}