/* ============================================================
   ХОСТИНГ ГУРУ — Main Stylesheet
   ============================================================ */

:root {
  --blue: #2563EB;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --green: #22C55E;
  --green-dark: #16a34a;
  --bg: #0F172A;
  --bg-2: #111827;
  --bg-3: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.6);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(37, 99, 235, 0.5);
  --text: #E5E7EB;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-blue: 0 0 40px rgba(37,99,235,0.25);
  --shadow-green: 0 0 40px rgba(34,197,94,0.2);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== FLASH MESSAGE ===== */
.flash-message {
  position: fixed;
  top: 80px;
  right: 24px;
  background: var(--green);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: var(--shadow-green);
  animation: slideInRight 0.4s ease;
  max-width: 380px;
}
.flash-message svg { width: 20px; height: 20px; flex-shrink: 0; }
.flash-message button { color: white; font-size: 20px; line-height: 1; opacity: 0.7; margin-left: auto; padding: 0 4px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 16px; color: #fff; }
.logo-domain { font-size: 11px; color: var(--blue-light); font-family: var(--font-mono); }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-link.active { color: var(--blue-light); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-tg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.btn-tg svg { width: 16px; height: 16px; }
.btn-tg:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.btn-primary.large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-green);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-green {
  position: absolute;
  top: 60%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(37,99,235,0.4);
  background: rgba(37,99,235,0.1);
  font-size: 13px;
  color: var(--blue-light);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, #a78bfa 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item {}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  display: block;
}
.stat-num .accent { color: var(--blue-light); }
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 520px;
}

/* Server Card Visual */
.server-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  position: relative;
  animation: float 4s ease-in-out infinite;
}
.server-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,235,0.3), transparent 60%);
  z-index: -1;
}
.sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sc-dots { display: flex; gap: 6px; }
.sc-dot { width: 10px; height: 10px; border-radius: 50%; }
.sc-dot.red { background: #ef4444; }
.sc-dot.yellow { background: #f59e0b; }
.sc-dot.green { background: #22c55e; }
.sc-title { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); margin-left: auto; }

.sc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.sc-metric {
  background: rgba(15,23,42,0.6);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.sc-metric-label { font-size: 11px; color: var(--text-dim); margin-bottom: 6px; }
.sc-metric-value { font-size: 20px; font-weight: 700; color: #fff; font-family: var(--font-mono); }
.sc-metric-bar { height: 4px; background: var(--bg-3); border-radius: 2px; margin-top: 8px; }
.sc-metric-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }

.sc-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
}
.sc-status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.sc-status-text { font-size: 13px; color: var(--green); }

.floating-badge {
  position: absolute;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.floating-badge.badge-speed {
  top: -20px;
  right: -20px;
  color: var(--green);
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.1);
  animation: float 3s ease-in-out infinite 0.5s;
}
.floating-badge.badge-uptime {
  bottom: -20px;
  left: -20px;
  color: var(--blue-light);
  border-color: rgba(37,99,235,0.3);
  background: rgba(37,99,235,0.1);
  animation: float 3.5s ease-in-out infinite 1s;
}

/* ===== SECTION STYLES ===== */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--blue-light);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 60px;
  line-height: 1.7;
}
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ===== PROBLEMS SECTION ===== */
.problems-section { background: var(--bg-2); }
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.problem-item:hover {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.04);
}
.problem-icon {
  width: 44px; height: 44px;
  background: rgba(239,68,68,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.problem-text h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.problem-text p { font-size: 14px; color: var(--text-muted); }

/* ===== SOLUTIONS SECTION ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.solution-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.solution-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
  width: 56px; height: 56px;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.solution-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.solution-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--bg-2); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-card.featured {
  border-color: rgba(37,99,235,0.4);
  background: rgba(37,99,235,0.06);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--border-hover);
}
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.green { background: var(--green); }

.product-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-icon svg { width: 36px; height: 36px; color: var(--blue-light); }
.product-card h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.product-price { font-size: 28px; font-weight: 800; color: var(--blue-light); margin-bottom: 8px; font-family: var(--font-mono); }
.product-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.product-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.product-features { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.feature-item::before {
  content: '';
  width: 16px; height: 16px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2322C55E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== PRICING SECTION ===== */
.pricing-section {}
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--bg-3);
  border-radius: var(--radius);
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.pricing-tab {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.pricing-tab.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}
.pricing-tab:hover:not(.active) { color: var(--text); }

.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  border-color: rgba(37,99,235,0.6);
  background: linear-gradient(180deg, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0.03) 100%);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(37,99,235,0.2), inset 0 1px 0 rgba(37,99,235,0.3);
}
.pricing-card.popular::before {
  content: '🔥 Популярный';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563EB, #1d4ed8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.pricing-card.popular .pricing-name { color: #60a5fa; }
.pricing-card.popular .amount { color: #fff; }
.pricing-card.popular .pricing-btn {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }

.pricing-name { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.pricing-price { margin-bottom: 8px; }
.pricing-price .amount { font-size: 36px; font-weight: 800; color: #fff; font-family: var(--font-mono); line-height: 1; }
.pricing-price .currency { font-size: 20px; color: var(--text-muted); font-weight: 400; }
.pricing-price .period { font-size: 13px; color: var(--text-dim); }
.pricing-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; min-height: 36px; line-height: 1.5; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.pf-item .check { color: var(--green); font-size: 14px; flex-shrink: 0; }
.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  background: rgba(37,99,235,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(37,99,235,0.25);
  transition: var(--transition);
  white-space: normal;
  line-height: 1.25;
}
.pricing-btn:hover, .pricing-card.popular .pricing-btn {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.vps-country-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.vps-country-buttons .pricing-btn {
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Обёртка создаётся в main.js: кнопки навигации по горизонтали */
.tariff-scroll-wrap {
  position: relative;
  --tariff-scroll-pad: 44px;
  padding-inline: var(--tariff-scroll-pad);
}
@media (max-width: 600px) {
  .tariff-scroll-wrap {
    --tariff-scroll-pad: 36px;
  }
}
.tariff-scroll-wrap:not(.has-overflow) .tariff-scroll-btn {
  visibility: hidden;
  pointer-events: none;
}
.tariff-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.94);
  color: #e2e8f0;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tariff-scroll-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(37, 99, 235, 0.5);
  color: #fff;
}
.tariff-scroll-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.7);
  outline-offset: 2px;
}
.tariff-scroll-btn:disabled {
  opacity: 0.2;
  cursor: default;
}
.tariff-scroll-btn--prev {
  left: 0;
}
.tariff-scroll-btn--next {
  right: 0;
}

.vps-row-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 2px 14px;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.45) var(--bg-3);
  -webkit-overflow-scrolling: touch;
}
.vps-row-scroll::-webkit-scrollbar {
  height: 7px;
}
.vps-row-scroll::-webkit-scrollbar-track {
  background: var(--bg-3);
  border-radius: 4px;
}
.vps-row-scroll::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.45);
  border-radius: 4px;
}
.vps-row-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.65);
}

.vps-row-scroll > * {
  flex: 0 0 auto;
  width: clamp(260px, 74vw, 300px);
  max-width: 300px;
  scroll-snap-align: start;
}

.pricing-grid,
.solutions-grid,
.products-grid,
.why-grid,
.blog-grid {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ===== WHY US ===== */
.why-section { background: var(--bg-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.why-num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-mono);
  color: transparent;
  -webkit-text-stroke: 1px rgba(37,99,235,0.4);
}
.why-item h3 { font-size: 18px; font-weight: 700; color: #fff; }
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(34,197,94,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section .hero-grid { opacity: 0.5; }
.cta-section .container { position: relative; z-index: 1; text-align: center; }
.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: var(--text-muted); margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.cta-feat .icon { color: var(--green); }

/* ===== CONTACT FORM ===== */
.contact-section {}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.channel-item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.channel-icon {
  width: 42px; height: 42px;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-icon svg { width: 20px; height: 20px; color: var(--blue-light); }
.channel-info h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.channel-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.form-control {
  padding: 13px 16px;
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  transition: var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* Yandex SmartCaptcha: те же края/радиус, что у .form-control, чтобы блок не выбивался из карточки */
.smartcaptcha-wrap {
  align-self: stretch;
}
.smartcaptcha-wrap .smart-captcha {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  padding: 10px 12px;
  min-height: 88px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ===== BLOG ===== */
.blog-section {}
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-blue); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-3), rgba(37,99,235,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-img .img-icon { font-size: 48px; opacity: 0.6; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-cat-badge.speed { background: rgba(37,99,235,0.8); color: #fff; }
.blog-cat-badge.vps { background: rgba(168,85,247,0.8); color: #fff; }
.blog-cat-badge.security { background: rgba(239,68,68,0.8); color: #fff; }
.blog-cat-badge.reliability { background: rgba(34,197,94,0.8); color: #fff; }
.blog-cat-badge.general { background: rgba(100,116,139,0.8); color: #fff; }

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
  transition: var(--transition);
}
.blog-read-more svg { width: 16px; height: 16px; transition: transform var(--transition); }
.blog-card:hover .blog-read-more svg { transform: translateX(4px); }

/* ===== SINGLE POST ===== */
.post-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .post-body-grid {
    grid-template-columns: 1fr;
  }
  .post-body-grid aside {
    position: static !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .post-body-grid aside > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .post-body-grid aside {
    grid-template-columns: 1fr;
  }
}

.post-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
}

.post-content > * + * { margin-top: 1.4em; }

.post-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.5px;
}

.post-content h3 {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 36px;
  margin-bottom: 12px;
}

.post-content h2:first-child,
.post-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.post-content p { margin-bottom: 0; }
.post-content p + p { margin-top: 1.2em; }

.post-content ul,
.post-content ol {
  padding-left: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-content ul li,
.post-content ol li {
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}

.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
}

.post-content ol {
  counter-reset: li;
}

.post-content ol li::before {
  counter-increment: li;
  content: counter(li) '.';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 600;
  font-size: 14px;
}

.post-content strong { color: #e2e8f0; font-weight: 600; }
.post-content em { color: #cbd5e1; font-style: italic; }

.post-content a {
  color: var(--blue-light);
  text-decoration: underline;
  text-decoration-color: rgba(96,165,250,0.3);
  text-underline-offset: 3px;
  transition: var(--transition);
}
.post-content a:hover { text-decoration-color: var(--blue-light); color: #93c5fd; }

.post-content blockquote {
  margin: 28px 0;
  padding: 20px 24px 20px 28px;
  border-left: 4px solid var(--blue);
  background: rgba(37,99,235,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #cbd5e1;
  font-size: 16px;
}

.post-content code {
  background: rgba(30,41,59,0.8);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: #7dd3fc;
}

.post-content pre {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
  position: relative;
}

.post-content pre::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: var(--radius) var(--radius) 0 0;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.7;
}

.post-content img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 8px 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.post-content th {
  background: var(--bg-3);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.post-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.post-content tr:last-child td { border-bottom: none; }
.post-content tr:hover td { background: rgba(37,99,235,0.03); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.page-hero .hero-grid { opacity: 0.5; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(36px, 5vw, 64px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.page-hero-sub { font-size: 18px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ===== PLANS PAGE ===== */
.plan-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.plan-header-text .section-tag { display: block; }
.plan-header-text h1 { font-size: clamp(36px, 4vw, 56px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.plan-header-text p { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.includes-list { display: flex; flex-direction: column; gap: 12px; }
.includes-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.includes-item .check { color: var(--green); font-weight: 700; }
.plan-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.pv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pv-row:last-child { border-bottom: none; }
.pv-label { color: var(--text-muted); }
.pv-value { color: #fff; font-weight: 600; }
.pv-value.green { color: var(--green); }
.pv-value.blue { color: var(--blue-light); }

/* ===== ABOUT ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.team-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-dim); }

/* ===== KNOWLEDGE BASE ===== */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.kb-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.kb-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.kb-card-icon { font-size: 32px; margin-bottom: 16px; }
.kb-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.kb-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.kb-link { font-size: 14px; color: var(--blue-light); font-weight: 500; transition: var(--transition); }
.kb-link:hover { color: var(--blue-light); text-decoration: underline; }

/* ===== ADMIN ===== */
.admin-wrap {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}
.admin-card .logo { justify-content: center; margin-bottom: 32px; }
.admin-card h1 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; text-align: center; }
.admin-card .sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}
.admin-sidebar {
  width: 260px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-sidebar .logo { padding: 0 24px 24px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-nav { padding: 16px 12px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  margin-bottom: 4px;
}
.sidebar-link:hover, .sidebar-link.active { background: rgba(37,99,235,0.1); color: var(--blue-light); }
.sidebar-link svg { width: 18px; height: 18px; }

.admin-main { flex: 1; padding: 40px; overflow: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-header h1 { font-size: 24px; font-weight: 700; color: #fff; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-card .label { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.stat-card .value { font-size: 28px; font-weight: 700; color: #fff; font-family: var(--font-mono); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.admin-table th {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  background: var(--bg-3);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(37,99,235,0.04); }
.admin-table td strong { color: #fff; }

.badge { display: inline-flex; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.badge.published { background: rgba(34,197,94,0.15); color: var(--green); }
.badge.draft { background: rgba(100,116,139,0.15); color: var(--text-dim); }

.editor-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.editor-main { display: flex; flex-direction: column; gap: 16px; }
.editor-sidebar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.editor-sidebar-panel h3 { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }

.rich-editor {
  min-height: 400px;
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  line-height: 1.8;
  resize: vertical;
  width: 100%;
}
.rich-editor:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

/* ===== VPS CALCULATOR ===== */
.calc-section { background: var(--bg-2); }
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.calc-card h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.calc-sub { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.calc-group { margin-bottom: 24px; }
.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.calc-label span { color: var(--blue-light); font-family: var(--font-mono); font-weight: 600; }
.calc-slider {
  width: 100%;
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
  transition: var(--transition);
}
.calc-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px rgba(37,99,235,0.3); }
.calc-result {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.calc-price-label { font-size: 14px; color: var(--text-muted); }
.calc-price { font-size: 40px; font-weight: 800; color: #fff; font-family: var(--font-mono); }
.calc-price span { font-size: 16px; color: var(--text-dim); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-tagline { font-size: 14px; color: var(--text-dim); max-width: 260px; line-height: 1.6; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  transition: var(--transition);
}
.footer-col li a:hover { color: var(--text); }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green);
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-item {
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn:hover { transform: scale(1.12); }
.float-tg { background: #0088cc; }
.float-order { background: var(--blue); }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ===== MISC ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-dim); transition: var(--transition); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb .sep { color: var(--border); }

/* Particles canvas */
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Page not found */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.not-found .big-num { font-size: 150px; font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(37,99,235,0.3); font-family: var(--font-mono); line-height: 1; }
.not-found h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.not-found p { color: var(--text-muted); margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .plan-header { grid-template-columns: 1fr; }
  .editor-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pricing-grid-shared,
  div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { font-size: 18px; padding: 14px 28px; }
  .menu-toggle { display: flex; position: relative; z-index: 1001; }
  .btn-tg span { display: none; }
  .problems-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .vps-country-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vps-country-buttons .pricing-btn { font-size: 12px; }
  .vps-row-scroll > * {
    width: clamp(270px, 84vw, 320px);
    max-width: 320px;
  }
}

@media (max-width: 1000px) {
  /* Post page sidebar moves below content */
  #postArticle ~ aside {
    position: static !important;
  }
}

@media (max-width: 900px) {
  /* Post layout single column */
  #postArticle {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .pricing-grid-shared,
  div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  .plan-header,
  .contact-grid,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header .container { gap: 16px; }
  .hero { padding: 100px 0 60px; }
  .section { padding: 64px 0; }
  .contact-form-wrap { padding: 24px; }
  .admin-card { padding: 32px 24px; }
  .calc-card { padding: 24px; }
}
