/* === CSS Variables === */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-card: rgba(15, 15, 15, 0.7);
  --bg-card-hover: rgba(20, 20, 20, 0.85);

  --neon-green: #00ff41;
  --neon-cyan: #00d4ff;
  --neon-pink: #ff0080;
  --neon-purple: #b829dd;
  --neon-green-dim: rgba(0, 255, 65, 0.3);
  --neon-cyan-dim: rgba(0, 212, 255, 0.3);
  --neon-green-glow: rgba(0, 255, 65, 0.15);

  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-bright: #ffffff;

  --border-glow: rgba(0, 255, 65, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --font-heading: 'Orbitron', sans-serif;
  --font-heading-cyrillic: 'Tektur', 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --header-height: 70px;
  --radius: 16px;
  --radius-sm: 8px;
}

/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan-dim);
}

img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Main Content === */
.main-content,
#main-content {
  flex: 1;
  padding-top: var(--header-height);
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glow);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header:hover {
  box-shadow: 0 2px 30px rgba(0, 255, 65, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-bright) !important;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.logo:hover {
  color: var(--text-bright) !important;
  text-shadow: none;
  transform: scale(1.02);
}

.logo-chip {
  display: block;
  height: 36px;
  width: 36px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.2));
  animation: logoPulse 3s ease-in-out infinite;
}

.footer-logo .logo-chip {
  height: 32px;
  width: 32px;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.15)); }
  50% { filter: drop-shadow(0 0 14px rgba(0, 255, 65, 0.3)) drop-shadow(0 0 4px rgba(0, 255, 65, 0.5)); }
}

.logo-accent {
  color: var(--neon-green);
  text-shadow: 0 0 12px var(--neon-green-dim);
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--neon-green) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated underline on hover */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green-dim);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: #fff !important;
  text-shadow: 0 0 12px var(--neon-green-dim);
  background: rgba(0, 255, 65, 0.08);
}

.main-nav a:hover::after {
  width: 60%;
}

.main-nav a.active {
  color: #fff !important;
  text-shadow: 0 0 12px var(--neon-green-dim);
  background: rgba(0, 255, 65, 0.12);
}

.main-nav a.active::after {
  width: 60%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: var(--neon-green);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: rgba(0, 255, 65, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
  border-color: rgba(0, 255, 65, 0.4);
}

.lang-btn .lang-current {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

.lang-btn svg {
  transition: transform 0.3s;
}

.lang-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(12, 12, 12, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--radius-sm);
  min-width: 180px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 255, 65, 0.05);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 1100;
  animation: dropdownIn 0.2s ease-out;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown li {
  margin: 0;
}

.lang-dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text-secondary) !important;
  font-size: 0.88rem;
  transition: all 0.2s;
  text-shadow: none;
}

.lang-dropdown a:hover {
  background: rgba(0, 255, 65, 0.08);
  color: var(--neon-green) !important;
  padding-left: 22px;
}

.lang-dropdown a.active {
  color: var(--neon-green) !important;
  background: rgba(0, 255, 65, 0.06);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--bg-primary) !important;
  background: var(--neon-green);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.25);
}

.header-cta:hover {
  color: var(--bg-primary) !important;
  text-shadow: none;
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.45), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  transition: all 0.3s;
  position: relative;
  z-index: 10001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-toggle:hover {
  background: rgba(0, 255, 65, 0.08);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neon-green);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 28px;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 50%, var(--neon-green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradient 4s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 52px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 140px;
  padding-top: 50px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 15px var(--neon-green-dim);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bg-primary) !important;
  background: var(--neon-green);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  color: var(--bg-primary) !important;
  text-shadow: none;
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 255, 65, 0.15);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button--cyan {
  background: transparent;
  color: var(--neon-cyan) !important;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.cta-button--cyan:hover {
  background: var(--neon-cyan);
  color: var(--bg-primary) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button--small {
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* Footer CTA */
.cta-btn,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #000 !important;
  background: var(--neon-green);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.25);
}

.cta-btn:hover,
.footer-cta:hover {
  color: #000 !important;
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.45);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  background: rgba(15, 15, 15, 0.55);
  border-color: rgba(0, 255, 65, 0.35);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.neon-text {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green-dim), 0 0 20px var(--neon-green-glow);
}

.cyan-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-dim);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 48px 32px;
}

.feature-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  transition: transform 0.3s;
}

.feature-icon svg {
  filter: drop-shadow(0 0 8px currentColor);
  opacity: 0.9;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12);
}

.feature-card:hover .feature-icon svg {
  opacity: 1;
  filter: drop-shadow(0 0 12px currentColor);
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 50px 32px;
  counter-increment: step;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  padding: 32px;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--text-bright);
}

.blog-card h3 a:hover {
  color: var(--neon-green);
}

.blog-card .excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.blog-card .read-more {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.blog-card .read-more:hover {
  gap: 10px;
  color: var(--neon-green);
}

/* ============================================
   ARTICLE
   ============================================ */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  background: rgba(10, 10, 10, 0.275);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
}

.article-content h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h2 {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.article-body h3 { margin-top: 30px; }
.article-body p { margin-bottom: 18px; }

.article-body ul, .article-body ol {
  margin: 18px 0;
  padding-left: 24px;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.article-body blockquote {
  border-left: 3px solid var(--neon-green);
  padding: 15px 20px;
  margin: 20px 0;
  background: rgba(0, 255, 65, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 35px;
}

.article-toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 15px;
}

.article-toc ol {
  padding-left: 20px;
  list-style: decimal;
}

.article-toc li { margin-bottom: 6px; }
.article-toc a { font-size: 0.9rem; }

.article-cta {
  text-align: center;
  margin: 50px 0 30px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
}

.article-cta h3 { margin-bottom: 15px; }

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(0, 255, 65, 0.3);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 25px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--neon-green);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 15px 25px 22px;
  color: var(--text-secondary);
  line-height: 1.8;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-glow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ============================================
   TARIFFS
   ============================================ */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.tariff-card {
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.tariff-card {
  overflow: visible;
}

.tariff-card.featured {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.1);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon-cyan);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tariff-card h3 { margin-bottom: 5px; }

.tariff-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--neon-green);
  margin: 15px 0;
  text-shadow: 0 0 15px var(--neon-green-dim);
}

.tariff-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  text-shadow: none;
}

.tariff-features {
  text-align: left;
  margin: 20px 0;
}

.tariff-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tariff-features li::before {
  content: '\2713 ';
  color: var(--neon-green);
  font-weight: 700;
}

/* ============================================
   ABOUT & CONTACT
   ============================================ */
.about-content, .contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2, .contact-content h2 {
  margin-top: 40px;
}

.about-content p, .contact-content p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.contact-card {
  padding: 28px;
  text-align: center;
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 15px 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: '\203A';
  margin-left: 8px;
  color: var(--neon-green);
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--neon-green);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: rgba(5, 5, 5, 0.97);
  border-top: 1px solid var(--border-glow);
  padding: 70px 0 30px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-desc {
  color: var(--text-secondary);
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-col ul {
  list-style: none;
}

.footer-col a:not(.footer-cta) {
  display: block;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: all 0.3s;
}

.footer-col a:not(.footer-cta):hover {
  color: var(--neon-green) !important;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-disclaimer {
  color: var(--text-secondary);
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 8px;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ============================================
   CTA SECTION (bottom of home)
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 65, 0.02);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.cta-section h2 {
  position: relative;
  z-index: 1;
}

.cta-section p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-section .cta-button {
  position: relative;
  z-index: 1;
}

/* ============================================
   404
   ============================================ */
.page-404 {
  text-align: center;
  padding: 120px 0;
}

.page-404 h1 {
  font-size: 6rem;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-404 p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ============================================
   ARTICLE IMAGES & TABLE
   ============================================ */
.article-body figure {
  margin: 30px 0;
  text-align: center;
}

.article-body figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
}

.article-body figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 10px;
  font-style: italic;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(0, 255, 65, 0.08);
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-glow);
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(0, 255, 65, 0.03);
}

/* ============================================
   AUTHOR BOX
   ============================================ */
.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 25px;
  margin: 30px 0;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info p { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .cta-button, .card, .cta-button:hover, .card:hover {
    animation: none;
    transform: none !important;
  }
  .hero h1 {
    animation: none;
    background-size: 100% auto;
  }
  .logo-icon { animation: none; }
  .main-nav a::after { transition: none; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================
   CYRILLIC FONT (Ukrainian)
   ============================================ */
html[lang="uk"] h1,
html[lang="uk"] h2,
html[lang="uk"] h3,
html[lang="uk"] h4,
html[lang="uk"] h5,
html[lang="uk"] h6,
html[lang="uk"] .main-nav a,
html[lang="uk"] .hero-stat-label,
html[lang="uk"] .hero-stat-value,
html[lang="uk"] .step-number,
html[lang="uk"] .section-title h2,
html[lang="uk"] .cta-button,
html[lang="uk"] .cta-btn,
html[lang="uk"] .header-cta,
html[lang="uk"] .footer-cta,
html[lang="uk"] .footer-col h4,
html[lang="uk"] .tariff-price,
html[lang="uk"] .tariff-badge,
html[lang="uk"] .matrix-popup-title {
  font-family: var(--font-heading-cyrillic);
}

/* ============================================
   MATRIX POPUP — MORPHEUS SCENE
   ============================================ */
.matrix-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: popupFadeIn 0.5s ease;
}

.matrix-popup-overlay.hidden {
  display: none;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.morpheus-popup {
  position: relative;
  background: #000;
  border: 1px solid rgba(0, 255, 65, 0.4);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 65, 0.12), 0 0 120px rgba(0, 255, 65, 0.04);
  animation: popupSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

@keyframes popupSlideIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.matrix-popup-glow {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.25), transparent 40%, transparent 60%, rgba(0, 255, 65, 0.25)) border-box;
  pointer-events: none;
  animation: popupGlowPulse 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes popupGlowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Morpheus background image — mirrored so blue=left, red=right */
.morpheus-bg-image {
  position: absolute;
  inset: 0;
  background: url('/images/morpheus.png') center center / cover no-repeat;
  z-index: 1;
  opacity: 0.6;
  transform: scaleX(-1);
}

/* Content overlay on top of Morpheus */
.popup-content-overlay {
  position: relative;
  z-index: 5;
  padding: 32px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 520px;
  padding-top: 160px;
}

.matrix-popup-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--neon-green);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.7), 0 0 50px rgba(0, 255, 65, 0.35);
  letter-spacing: 3px;
}

.matrix-popup-text {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 420px;
  text-shadow: 0 2px 10px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.8);
  background: rgba(0, 0, 0, 0.6);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 65, 0.08);
  backdrop-filter: blur(6px);
}

/* Pills row — positioned over Morpheus hands */
.pills-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 0 12px;
  margin-bottom: 80px;
}

/* Pill buttons */
.pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.pill-btn:hover {
  transform: scale(1.12) translateY(-3px);
}

/* 3D Capsule — 1.5x bigger, text inside */
.capsule-3d {
  perspective: 400px;
}

.capsule-body {
  width: 120px;
  height: 52px;
  border-radius: 26px;
  position: relative;
  transform: rotateX(12deg);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-btn:hover .capsule-body {
  transform: rotateX(4deg) rotateY(8deg);
}

.capsule-shine {
  position: absolute;
  top: 4px;
  left: 12px;
  width: 55%;
  height: 38%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Label inside capsule */
.pill-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.pill-blue .pill-label {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.pill-red .pill-label {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Blue capsule */
.capsule-blue .capsule-body {
  background: linear-gradient(180deg, #6aafff 0%, #1a6bff 30%, #0044cc 70%, #002a80 100%);
  box-shadow:
    0 6px 18px rgba(26, 107, 255, 0.6),
    0 0 40px rgba(26, 107, 255, 0.4),
    0 0 80px rgba(26, 107, 255, 0.15),
    inset 0 -5px 10px rgba(0, 0, 0, 0.4),
    inset 0 3px 6px rgba(255, 255, 255, 0.2);
  animation: capsuleGlowBlue 2.5s ease-in-out infinite;
}

@keyframes capsuleGlowBlue {
  0%, 100% { box-shadow: 0 6px 18px rgba(26, 107, 255, 0.6), 0 0 40px rgba(26, 107, 255, 0.4), 0 0 80px rgba(26, 107, 255, 0.15), inset 0 -5px 10px rgba(0, 0, 0, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 6px 24px rgba(26, 107, 255, 0.8), 0 0 50px rgba(26, 107, 255, 0.55), 0 0 100px rgba(26, 107, 255, 0.2), inset 0 -5px 10px rgba(0, 0, 0, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.25); }
}

/* Red capsule */
.capsule-red .capsule-body {
  background: linear-gradient(180deg, #ff6a6a 0%, #ff1a1a 30%, #cc0000 70%, #800000 100%);
  box-shadow:
    0 6px 18px rgba(255, 26, 26, 0.6),
    0 0 40px rgba(255, 26, 26, 0.4),
    0 0 80px rgba(255, 26, 26, 0.15),
    inset 0 -5px 10px rgba(0, 0, 0, 0.4),
    inset 0 3px 6px rgba(255, 255, 255, 0.2);
  animation: capsuleGlowRed 2.5s ease-in-out infinite;
}

@keyframes capsuleGlowRed {
  0%, 100% { box-shadow: 0 6px 18px rgba(255, 26, 26, 0.6), 0 0 40px rgba(255, 26, 26, 0.4), 0 0 80px rgba(255, 26, 26, 0.15), inset 0 -5px 10px rgba(0, 0, 0, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 6px 24px rgba(255, 26, 26, 0.8), 0 0 50px rgba(255, 26, 26, 0.55), 0 0 100px rgba(255, 26, 26, 0.2), inset 0 -5px 10px rgba(0, 0, 0, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.25); }
}

@media (max-width: 520px) {
  .morpheus-popup {
    max-width: 100%;
  }

  .popup-content-overlay {
    padding: 120px 12px 0;
    min-height: 420px;
  }

  .matrix-popup-title {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .matrix-popup-text {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .pills-row {
    padding: 0 6px;
    margin-bottom: 60px;
  }

  .capsule-body {
    width: 96px;
    height: 42px;
    border-radius: 21px;
  }

  .pill-label {
    font-size: 0.5rem;
  }
}
