/* Fallback font matching Inter metrics — prevents text jump on load */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --bg-dark: #07090f;
  --card-bg: #121622;
  --card-border: rgba(255, 255, 255, 0.08);
  --primary-grad: linear-gradient(135deg, #1a6dff 0%, #00c6ff 100%);
  --primary-color: #1a6dff;
  --accent-color: #00c6ff;
  --text-main: #f0f4f8;
  --text-muted: #9ba3af;
  --success: #10b981;
  --warning: #f59e0b;
  --font-main: 'Inter', 'Inter Fallback', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.3rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

.gradient-text {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Particles */
.particles {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite linear;
}
.particle:nth-child(even) { background: var(--primary-color); width: 6px; height: 6px; }
@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; animation-duration: 25s; }
.particle:nth-child(3) { left: 30%; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-duration: 22s; }
.particle:nth-child(5) { left: 50%; animation-duration: 19s; }
.particle:nth-child(6) { left: 60%; animation-duration: 24s; }
.particle:nth-child(7) { left: 70%; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-duration: 21s; }
.particle:nth-child(9) { left: 90%; animation-duration: 26s; }

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  gap: 7px;
}
.btn-primary {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26, 109, 255, 0.3);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 109, 255, 0.5);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(26, 109, 255, 0.5);
  color: var(--text-muted);
}
.btn-outline:hover {
  background: rgba(26, 109, 255, 0.08);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Header — Glass */
header {
  padding: 10px 0;
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, rgba(26, 109, 255, 0.06) 0%, rgba(0, 198, 255, 0.04) 50%, rgba(0, 255, 136, 0.03) 100%);
  border-bottom: 1px solid rgba(26, 109, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #00c6ff 50%, #1a6dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.3));
}
.logo:hover {
  filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.5));
}
.logo-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.25));
  transition: filter 0.3s ease;
}
.logo-icon:hover {
  filter: drop-shadow(0 0 16px rgba(0, 198, 255, 0.4));
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a:not(.lang-switch):not(.nav-cta):not(.nav-login) {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease, text-shadow 0.3s ease, filter 0.3s ease;
}
nav a:not(.lang-switch):not(.nav-cta):hover {
  color: #00c6ff;
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.4), 0 0 16px rgba(0, 198, 255, 0.2);
  filter: drop-shadow(0 0 6px rgba(0, 198, 255, 0.3));
}
.nav-cta {
  background: rgba(26, 109, 255, 0.08);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(26, 109, 255, 0.2);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: rgba(26, 109, 255, 0.15);
  border-color: rgba(0, 198, 255, 0.4);
  color: #00c6ff;
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.4), 0 0 16px rgba(0, 198, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.2);
}

/* Nav Login */
.nav-login {
  background: rgba(139, 92, 246, 0.08);
  color: #a78bfa;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-login:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.4), 0 0 16px rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.3s ease;
}
.lang-switch:hover {
  filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.4));
}
.lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.lang-label.lang-active {
  color: #00c6ff;
  text-shadow: 0 0 6px rgba(0, 198, 255, 0.3);
}
.lang-switch:hover .lang-label {
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.3);
}
.lang-toggle {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.2);
  border-radius: 20px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.lang-switch:hover .lang-toggle {
  border-color: rgba(0, 198, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.15);
}
.lang-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6dff, #00c6ff);
  box-shadow: 0 0 6px rgba(0, 198, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lang-switch:hover .lang-dot {
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.6);
}
/* EN active — dot slides right */
.lang-switch--en .lang-dot {
  transform: translateX(16px);
}

/* Burger — hidden on desktop */
.burger { display: none; }

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  top: -20%; left: -10%; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(26,109,255,0.15) 0%, transparent 70%);
  filter: blur(100px); z-index: 1;
}
.hero-bg-gradient-2 {
  position: absolute;
  bottom: -10%; right: -10%; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.15) 0%, transparent 70%);
  filter: blur(100px); z-index: 1;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.hero-text { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 109, 255, 0.1);
  border: 1px solid rgba(26, 109, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 24px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16,185,129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129, 0); }
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-buttons-group {
  margin-bottom: 16px;
}
.hero-buttons-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
}
.hero-buttons svg { width: 18px; height: 18px; }
.btn-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #e844a0 0%, #8b5cf6 100%);
  border: none;
  color: #fff;
  box-shadow: 0 3px 12px rgba(139, 92, 246, 0.3);
}
.btn-panel:hover {
  box-shadow: 0 6px 22px rgba(232, 68, 160, 0.35), 0 0 14px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}
.hero-more-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}
.hero-more-link:hover {
  color: var(--accent-color);
}
.hero-meme-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.portal-container {
  position: relative;
  width: 500px; height: 500px;
  display: flex; justify-content: center; align-items: center;
  max-width: 100%;
}
.portal-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00ff88 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.5;
  animation: portalPulse 4s infinite alternate;
}
@keyframes portalPulse {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 0.6; transform: scale(1.1); }
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(0, 255, 136, 0.5);
  animation: spin 20s linear infinite;
}
.portal-ring-1 { width: 460px; height: 460px; border-color: rgba(0,255,136,0.3); animation-duration: 25s; }
.portal-ring-2 { width: 380px; height: 380px; border: 3px solid rgba(0,200,255,0.2); border-top-color: #00ff88; animation-duration: 15s; animation-direction: reverse; }
.portal-ring-3 { width: 290px; height: 290px; border: 2px dashed rgba(26,109,255,0.4); animation-duration: 10s; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.rick-hero-wrapper {
  position: relative;
  z-index: 10;
  width: 450px;
  height: 560px;
  margin-top: -30px;
}
.rick-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  animation: hoverRick 6s ease-in-out infinite;
}
@keyframes hoverRick {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-floating-text {
  position: absolute;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-weight: normal;
  color: #8aff9a;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  -webkit-text-stroke: 1.5px #0a2e16;
  text-shadow: 2px 2px 0px #0a2e16, 0 0 15px rgba(0, 255, 136, 0.6);
  z-index: 20;
  letter-spacing: 0.5px;
  animation: floatText 4s infinite alternate ease-in-out;
}
@keyframes floatText { 100% { translate: 0 -10px; } }
.text-1 { top: 10%; left: -100px; transform: rotate(-8deg); font-size: 1.8rem; }
.text-2 { top: 40%; left: -80px; transform: rotate(4deg); font-size: 1.8rem; animation-delay: 0.5s; }
.text-3 { bottom: 10%; left: -60px; transform: rotate(-4deg); font-size: 1.8rem; animation-delay: 1s; }
.text-4 { top: 15%; right: -80px; transform: rotate(5deg); font-size: 1.8rem; animation-delay: 0.2s; }
.text-5 { top: 45%; right: -120px; transform: rotate(-5deg); font-size: 1.7rem; animation-delay: 0.7s; }
.text-6 { bottom: 15%; right: -70px; transform: rotate(6deg); font-size: 1.8rem; animation-delay: 1.2s; }

/* Stats Bar — Portal Battlefield */
.stats-bar {
  padding: 30px 0 50px;
  position: relative;
  overflow: hidden;
}

/* Лазеры, которые летят мимо карточек */
.stats-lasers {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.laser {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
}
.l1 {
  width: 80px;
  background: linear-gradient(90deg, transparent, #ff4444, transparent);
  top: 25%; left: -80px;
  animation: laserFly 4s 0.5s infinite linear;
}
.l2 {
  width: 120px;
  background: linear-gradient(90deg, transparent, #ff6b35, transparent);
  top: 60%; left: -120px;
  animation: laserFly 3.5s 2s infinite linear;
}
.l3 {
  width: 60px;
  background: linear-gradient(90deg, transparent, #ff4444, transparent);
  top: 40%; left: -60px;
  animation: laserFly 3s 3.5s infinite linear;
}
.l4 {
  width: 100px;
  background: linear-gradient(90deg, transparent, #ff6b35, transparent);
  top: 75%; left: -100px;
  animation: laserFly 4.5s 1s infinite linear;
}
.l5 {
  width: 50px;
  background: linear-gradient(90deg, transparent, #ff4444, transparent);
  top: 15%; left: -50px;
  animation: laserFly 3.2s 4s infinite linear;
}
@keyframes laserFly {
  0% { left: -120px; opacity: 0; }
  5% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { left: calc(100% + 120px); opacity: 0; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Карточки — плавающие в портальном пространстве */
.stat-item {
  background: rgba(18, 22, 34, 0.8);
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 20px;
  padding: 28px 18px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

/* Каждая карточка плавает по-своему */
.si-1 { animation: statFloat1 5s ease-in-out infinite; }
.si-2 { animation: statFloat2 4.5s ease-in-out infinite; }
.si-3 { animation: statFloat3 5.5s ease-in-out infinite; }
.si-4 { animation: statFloat4 4s ease-in-out infinite; }

@keyframes statFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes statFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-0.7deg); }
}
@keyframes statFloat3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.8deg); }
}
@keyframes statFloat4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}

/* Портальное свечение снизу */
.stat-item::before {
  content: ''; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 40px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.15) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

/* Hover — щит активируется */
.stat-item:hover {
  border-color: rgba(0, 255, 136, 0.35);
}
.stat-item:hover .stat-shield {
  background: rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.4);
  color: #00ff88;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

.stat-item > * { position: relative; z-index: 1; }

/* Иконка-щит */
.stat-shield {
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: rgba(0, 255, 136, 0.6);
  transition: all 0.3s ease;
}

.stat-item h3 {
  font-size: 2.3rem;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
.stat-item p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }
.stat-item strong { color: #c8ffd4; }

/* Why Us */
/* Section dividers — мягкий glow между блоками */
.section-glow {
  height: 1px;
  border: none;
  background: radial-gradient(ellipse at center, rgba(26,109,255,0.25) 0%, transparent 70%);
  margin: 0;
  position: relative;
}
.section-glow::after {
  content: '';
  position: absolute;
  top: -20px; left: 10%; right: 10%; height: 40px;
  background: radial-gradient(ellipse at center, rgba(26,109,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-glow--green {
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.2) 0%, transparent 70%);
}
.section-glow--green::after {
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.04) 0%, transparent 70%);
}
.section-glow--cyan {
  background: radial-gradient(ellipse at center, rgba(0,198,255,0.2) 0%, transparent 70%);
}
.section-glow--cyan::after {
  background: radial-gradient(ellipse at center, rgba(0,198,255,0.04) 0%, transparent 70%);
}
.section-glow--gold {
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.2) 0%, transparent 70%);
}
.section-glow--gold::after {
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.04) 0%, transparent 70%);
}

.why-us { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(26,109,255,0.3);
}
.card-glow {
  position: absolute;
  top: 0; right: 0; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(26,109,255,0.2) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover .card-glow { opacity: 1; }

.card-featured { grid-column: span 1; background: linear-gradient(180deg, #161e2e 0%, #121622 100%); border: 1px solid rgba(26,109,255,0.3); }
.card-image-wrapper {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
}
.card-blob {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.4;
  z-index: 0;
  transition: all 0.5s ease;
}
.blob-1 { background: var(--accent-color); }
.blob-2 { background: var(--primary-color); }
.blob-3 { background: var(--success); }
.card:hover .card-blob { transform: scale(1.3); opacity: 0.7; }
.card-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover .card-image-wrapper img { transform: scale(1.15) translateY(-10px); }
.card-image-wrapper img.img-glow-cyan { filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.5)); }
.card-image-wrapper img.img-glow-blue { filter: drop-shadow(0 0 10px rgba(26, 109, 255, 0.5)); }
.card-image-wrapper img.img-glow-green { filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5)); }

.duo-icon--img { background: transparent; padding: 0; }
.duo-icon--img img { width: 100%; height: 100%; object-fit: contain; }
.duo-icon--img img.img-glow-orange { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5)); }
.duo-icon--img img.img-glow-blue { filter: drop-shadow(0 0 8px rgba(26, 109, 255, 0.5)); }

.cta-tg-icon { font-size: 60px; color: #fff; }

.card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.card p { color: var(--text-muted); margin-bottom: 24px; }
.card-tag {
  position: absolute; top: 20px; right: 20px;
  background: rgba(26,109,255,0.15); color: var(--accent-color);
  padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}

.card-tiers { display: flex; flex-direction: column; gap: 12px; }
.tier { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.03); padding: 12px 16px; border-radius: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,0.05); }

.mini-phone {
  background: #000;
  border-radius: 16px; padding: 10px;
  border: 4px solid #222;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.mini-phone-screen {
  background: #1e1e1e; border-radius: 8px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; height: 160px; overflow: hidden;
}
.chat-msg {
  padding: 8px 12px; border-radius: 12px; font-size: 0.85rem; max-width: 80%;
}
.chat-msg.bot { background: rgba(26,109,255,0.2); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: rgba(255,255,255,0.1); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

/* Features Duo */
.features-duo { padding: 0 0 60px; position: relative; }
.duo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.duo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px; padding: 36px;
  display: flex; align-items: center; gap: 28px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.duo-card:hover { border-color: rgba(255,255,255,0.15); background: #161a28; }
.duo-card:hover .duo-icon { transform: scale(1.08); }
.duo-card:hover .duo-blob { transform: scale(1.4); opacity: 0.6; }
.duo-icon {
  width: 110px; height: 110px; flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease;
}
.duo-icon svg { width: 32px; height: 32px; }
.duo-blob {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.35;
  z-index: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}
.duo-blob-orange { background: #f59e0b; }
.duo-blob-blue { background: var(--primary-color); }
.duo-icon--img { background: transparent; border-color: rgba(255,255,255,0.06); padding: 16px; }
.duo-icon--img img {
  width: 100%; height: 100%; object-fit: contain;
  position: relative; z-index: 1;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.duo-card:hover .duo-icon--img img { transform: scale(1.12) translateY(-4px); }
.duo-icon--img img.img-glow-orange { filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5)); }
.duo-icon--img img.img-glow-blue { filter: drop-shadow(0 0 10px rgba(26, 109, 255, 0.5)); }
.duo-card-text h3 { font-size: 1.25rem; margin-bottom: 10px; }
.duo-card-text p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.duo-meme-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.3); padding: 4px 10px; border-radius: 8px;
}

/* Domains Showcase */
.domains-showcase { padding: 80px 0; position: relative; background: linear-gradient(180deg, transparent 0%, rgba(26,109,255,0.03) 50%, transparent 100%); }
.domains-showcase .container {
  display: flex; align-items: center; gap: 60px;
}
.domains-visual, .domains-text { flex: 1; }

.domain-cards-stack {
  position: relative; height: 350px; display: flex; justify-content: center; align-items: center;
}
.domain-card-item {
  position: absolute;
  width: calc(100% - 32px); max-width: 400px;
  background: #1a2133;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: all 0.5s ease;
}
.domain-card-item:nth-child(1) { transform: translateY(-40px) scale(0.9); opacity: 0.6; z-index: 1; }
.domain-card-item:nth-child(2) { transform: translateY(-20px) scale(0.95); opacity: 0.8; z-index: 2; }
.domain-card-item:nth-child(3) { transform: translateY(0) scale(1); z-index: 3; border-color: rgba(26,109,255,0.4); }

.domain-cards-stack:hover .domain-card-item:nth-child(1) { transform: translateY(-60px) scale(0.95); opacity: 0.8; }
.domain-cards-stack:hover .domain-card-item:nth-child(2) { transform: translateY(-30px) scale(1); opacity: 1; }
.domain-cards-stack:hover .domain-card-item:nth-child(3) { transform: translateY(10px) scale(1.05); }

.domain-ext { font-weight: 900; font-size: 1.2rem; padding: 10px 14px; border-radius: 10px; }
.ext-com { background: rgba(245,158,11,0.1); color: #f59e0b; }
.ext-net { background: rgba(16,185,129,0.1); color: #10b981; }
.ext-org { background: rgba(26,109,255,0.1); color: #1a6dff; }

.domain-card-info { flex: 1; padding: 0 16px; }
.domain-card-info h4 { margin: 0; font-size: 1.1rem; }
.domain-card-info span { font-size: 0.8rem; color: var(--text-muted); }
.status-protected { font-size: 0.85rem; font-weight: 600; color: var(--success); display: flex; align-items: center; gap: 4px; }

.feature-list { list-style: none; margin-top: 32px; }
.feature-list li {
  position: relative; padding-left: 32px; margin-bottom: 16px; font-size: 1.05rem; color: var(--text-main);
}
.feature-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: var(--success); font-size: 1.1rem;
}

/* Tariffs */
.tariffs-section { padding: 80px 0; position: relative; }
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}

/* Карточка — базовый стиль */
.tariff-card {
  background-color: #141a25;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}
.tariff-card:hover { transform: translateY(-5px); }

/* Standard */
.card-standard { border-color: #10b981; }
.card-standard .tariff-img { filter: drop-shadow(0 0 12px rgba(16,185,129,0.6)); }
.card-standard .tariff-features li i { color: #10b981; }

/* Platinum */
.card-platinum { border-color: #3b82f6; }
.card-platinum .tariff-img { filter: drop-shadow(0 0 12px rgba(59,130,246,0.6)); }
.card-platinum .tariff-features li i { color: #3b82f6; }

/* Titan */
.card-titan {
  border-color: #f59e0b;
  box-shadow: 0 0 30px rgba(245,158,11,0.15), inset 0 0 20px rgba(245,158,11,0.05);
}
.card-titan::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: transparent;
  border-radius: 22px;
  box-shadow: 0 0 20px 2px rgba(245,158,11,0.4);
  pointer-events: none;
  z-index: -1;
}
.card-titan .tariff-img { filter: drop-shadow(0 0 15px rgba(245,158,11,0.7)); }
.card-titan .tariff-features li i { color: #f59e0b; }

/* Badge */
.tariff-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #fde047, #f59e0b);
  color: #451a03;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 8px 24px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
  z-index: 20;
  white-space: nowrap;
}

/* Иконка-картинка */
.tariff-header { margin-bottom: 24px; text-align: center; }
.tariff-icon-img {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.tariff-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.tariff-card h3 { font-size: 1.5rem; margin-bottom: 6px; text-align: center; font-weight: 700; letter-spacing: 0.5px; }
.tariff-desc { color: #94a3b8; font-size: 0.85rem; margin: 0; text-align: center; line-height: 1.4; }

/* Tariff Price */
.tariff-price {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-align: center;
}
.tariff-price-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card-titan .tariff-price-value {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Разделитель */
.tariff-divider {
  width: 100%; height: 1px;
  background-color: #2e3b52;
  margin: 24px 0;
}

/* Фичи */
.tariff-features {
  list-style: none; text-align: left;
  margin-bottom: 32px; flex: 1;
}
.tariff-features li {
  padding: 0; margin-bottom: 16px;
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.5;
}
.tariff-features li i {
  font-size: 1.1rem; margin-top: 1px;
  flex-shrink: 0; width: 18px; text-align: center;
}
.tariff-features li.tariff-note { color: var(--text-muted); font-size: 0.82rem; }
.tariff-features li.tariff-note i { color: rgba(255,200,50,0.5); font-size: 0.85rem; }

.card-standard .fa-clock,
.card-standard .fa-coins { color: #10b981; }
.card-platinum .fa-clock,
.card-platinum .fa-tag { color: #3b82f6; }
.card-titan .fa-shield-alt,
.card-titan .fa-infinity,
.card-titan .fa-tag,
.card-titan .fa-lock { color: #f59e0b; }

.tariff-usecase {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 10px 0 16px;
  border-top: 1px solid #2e3b52;
  margin-bottom: 0;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* Кнопки */
.btn-tariff {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
  margin-top: auto;
}
.btn-tariff:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-tariff--standard {
  background: linear-gradient(90deg, #34d399, #059669);
  color: #022c22;
}
.btn-tariff--platinum {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  color: #0f172a;
}
.btn-tariff--titan {
  background: linear-gradient(90deg, #fcd34d, #d97706);
  color: #451a03;
}

.tariff-note-bottom {
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
}
.tariff-note-bottom a { color: var(--accent-color); font-weight: 600; }

/* How It Works */
.how-it-works {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,255,136,0.015) 50%, transparent 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.step-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.step-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--primary-grad);
  opacity: 0.4;
}
.step-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,136,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.step-number {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 800; color: #00ff88;
}
.step-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.5; }
.step-item a { color: var(--accent-color); font-weight: 600; }
.step-connector {
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,255,136,0.2);
  font-size: 0.9rem;
  padding: 0 8px;
  flex-shrink: 0;
}

/* CTA Scene */
.cta-section { padding: 60px 0; }
.cta-box {
  background: linear-gradient(135deg, #131c31 0%, #0d121f 100%);
  border: 1px solid rgba(26,109,255,0.2);
  border-radius: 32px; padding: 60px;
  display: flex; align-items: center; gap: 60px;
  position: relative; overflow: hidden;
}
.cta-text { flex: 1; position: relative; z-index: 2; }
.cta-text h2 { word-break: keep-all; }
.cta-quote {
  font-family: monospace; font-size: 1rem; color: var(--accent-color);
  background: rgba(0,0,0,0.3); display: inline-block; padding: 8px 16px; border-radius: 8px; margin-bottom: 24px;
  border-left: 3px solid var(--primary-color);
}
.btn-large { padding: 13px 32px; font-size: 1.05rem; margin-top: 20px; }

.cta-portal-scene { flex: 1; position: relative; height: 400px; display: flex; justify-content: center; align-items: center; }
.telegram-portal {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  z-index: 10;
  transform: translateY(30px) translateZ(0);
  box-shadow: 0 0 50px rgba(0, 198, 255, 0.3);
  animation: portalFloat 4s infinite alternate ease-in-out;
  contain: layout style;
}
@keyframes portalFloat {
  0% { transform: translateY(20px) scale(0.95); }
  100% { transform: translateY(40px) scale(1.05); }
}
.portal-swirl-ring {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%;
  border: 4px solid transparent; animation: spin 4s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.r1 { border-top-color: #0088cc; border-bottom-color: #0088cc; animation-duration: 48s; }
.r2 { border-left-color: #00c6ff; border-right-color: #00c6ff; width: 90%; height: 90%; top: 5%; left: 5%; animation-duration: 32s; animation-direction: reverse; }
.r3 { border-top-color: #fff; width: 80%; height: 80%; top: 10%; left: 10%; animation-duration: 24s; }

.portal-center {
  width: 120px; height: 120px; background: rgba(0, 100, 170, 0.92); border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.4); position: relative; z-index: 5;
}
.tg-icon-portal { width: 60px; height: 60px; }

.rick-entering-portal {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  height: 450px; width: 350px;
  margin-top: -20px;
}
.rick-portal-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.4)); animation: rickHoldFloat 4s infinite alternate ease-in-out; will-change: transform; transform: translateZ(0); }
@keyframes rickHoldFloat { 0% { transform: translateY(-5px); } 100% { transform: translateY(5px); } }

/* Meme Banner */
.meme-banner { background: var(--primary-color); padding: 16px 0; overflow: hidden; white-space: nowrap; transform: rotate(-2deg) scale(1.05) translateZ(0); margin: 60px 0; box-shadow: 0 8px 20px rgba(0,0,0,0.4); will-change: transform; contain: layout style paint; }
.meme-scroll { display: inline-block; animation: scrollBanner 40s linear infinite; font-weight: 900; font-size: 1.2rem; color: #fff; letter-spacing: 2px; will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
.meme-scroll span { margin: 0 30px; }
@keyframes scrollBanner { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-50%,0,0); } }

/* Footer */
footer {
  padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--text-muted); font-size: 0.95rem;
}
footer p { margin-bottom: 12px; }
footer a { color: var(--accent-color); font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) {
  .hero .container { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-buttons-label { text-align: center; }
  .hero-more-link { display: block; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .card-featured { grid-column: auto; }
  .duo-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .duo-card { flex-direction: column; align-items: center; text-align: center; padding: 32px 28px; }
  .duo-icon { width: 130px; height: 130px; border-radius: 24px; }
  .duo-blob { width: 90px; height: 90px; }
  .features-duo { padding: 0 0 50px; }
  .domains-showcase .container { flex-direction: column; align-items: center; }
  .domains-visual { width: 100%; max-width: 420px; }
  .domains-text { width: 100%; text-align: center; }
  .domains-text .feature-list { text-align: left; max-width: 420px; margin: 32px auto 0; }
  .cta-box { flex-direction: column; text-align: center; padding: 40px 24px; gap: 20px; }
  .tariffs-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
  .card-titan { order: -1; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-connector { display: none; }
  .how-it-works { padding: 50px 0; }
  .step-item { padding: 22px 20px; }

  /* Баг 2: домен-карты — фиксим overflow и центрирование */
  .domain-cards-stack { width: 100%; max-width: 400px; margin: 0 auto; overflow: visible; }
  .domain-card-item { width: 100%; max-width: 100%; left: 0; right: 0; }

  /* Баг 4: равномерные отступы между секциями */
  .hero { padding: 40px 0 50px; }
  .stats-bar { padding: 20px 0 30px; }
  .why-us { padding: 50px 0; }
  .features-duo { padding: 30px 0 50px; }
  .domains-showcase { padding: 50px 0; }
  .cta-section { padding: 50px 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  /* Mobile nav — hidden by default, revealed by .nav-open */
  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0d1117 0%, #121622 100%);
    border-bottom: 1px solid rgba(26, 109, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 99;
  }
  .nav-open nav {
    padding: 12px 24px 20px;
  }
  nav a:not(.lang-switch):not(.nav-cta):not(.nav-login) {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
  }
  nav .nav-cta {
    margin: 12px 0 8px;
    text-align: center;
    justify-content: center;
  }
  nav .nav-login {
    text-align: center;
    justify-content: center;
    margin: 4px 0 8px;
    padding: 10px 14px;
  }
  nav .lang-switch {
    justify-content: center;
    padding: 10px 0 4px;
  }

  /* Burger button */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid rgba(26, 109, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 101;
    transition: border-color 0.3s ease;
  }
  .burger:hover {
    border-color: rgba(0, 198, 255, 0.5);
  }
  .burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .logo-icon { width: 70px; height: 70px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item { padding: 20px 14px 18px; border-radius: 16px; }
  .stat-shield { width: 36px; height: 36px; margin-bottom: 10px; font-size: 0.85rem; border-radius: 10px; }
  .stat-item h3 { font-size: 1.6rem; margin-bottom: 2px; }
  .stat-item p { font-size: 0.75rem; }
  .laser { display: none; }
  .hero-visual { min-height: 350px; }
  .portal-container { width: 280px; height: 280px; max-width: 100%; }
  .portal-glow { width: 220px; height: 220px; }
  .portal-ring-1 { width: 260px; height: 260px; }
  .portal-ring-2 { width: 220px; height: 220px; }
  .portal-ring-3 { width: 170px; height: 170px; }
  .rick-hero-wrapper { width: 240px; height: 300px; margin-top: -15px; }
  .hero-floating-text { font-size: 0.75rem; -webkit-text-stroke: 1px #0a2e16; }
  .text-1 { left: 5px; top: 5%; }
  .text-2 { left: 5px; }
  .text-3 { left: 5px; bottom: 5%; }
  .text-4 { right: 5px; top: 5%; }
  .text-5 { right: 5px; }
  .text-6 { right: 5px; bottom: 5%; }

  /* Баг 2: домен-карты на мобилке */
  .domain-cards-stack { height: 260px; }
  .domain-card-item { padding: 14px 12px; }
  .domain-ext { font-size: 0.9rem; padding: 6px 10px; }
  .domain-card-info h4 { font-size: 0.9rem; }
  .domain-card-info span { font-size: 0.75rem; }
  .domain-card-status { font-size: 0.75rem; }

  /* CTA портал */
  .cta-portal-scene { height: 280px; }
  .telegram-portal { width: 140px; height: 140px; }
  .portal-center { width: 80px; height: 80px; }
  .portal-center i { font-size: 36px !important; }
  .rick-entering-portal { width: 200px; height: 280px; }

  /* Баг 3: синяя лента — уменьшаем */
  .meme-banner { margin: 30px 0; padding: 8px 0; }
  .meme-scroll { font-size: 0.9rem; letter-spacing: 1px; }
  .meme-scroll span { margin: 0 16px; }

  /* Duo-карточки — компактные горизонтальные на мобилке */
  .duo-grid { max-width: 100%; gap: 16px; }
  .duo-card {
    flex-direction: row; align-items: center; text-align: left;
    padding: 20px; gap: 18px;
  }
  .duo-icon { width: 70px; height: 70px; border-radius: 16px; flex-shrink: 0; }
  .duo-blob { width: 50px; height: 50px; }
  .duo-card-text h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .duo-card-text p { font-size: 0.85rem; }
  .duo-meme-tag { top: 12px; right: 12px; font-size: 0.7rem; padding: 3px 8px; }

  .tariffs-section { padding: 40px 0; }
  .tariff-card { padding: 24px 20px; border-radius: 16px; }
  .tariff-card h3 { font-size: 1.2rem; }
  .how-it-works { padding: 40px 0; }
  .step-item { padding: 20px 18px; border-radius: 16px; }

  /* Визуальный разделитель перед доменами */
  .domains-showcase::before {
    content: '';
    display: block;
    width: 60px; height: 3px;
    background: var(--primary-grad);
    margin: 0 auto 40px;
    border-radius: 2px;
    opacity: 0.5;
  }

  /* Равномерные отступы */
  .hero { padding: 30px 0 40px; }
  .stats-bar { padding: 15px 0 25px; }
  .why-us { padding: 40px 0 20px; }
  .features-duo { padding: 0 0 40px; }
  .domains-showcase { padding: 40px 0; }
  .cta-section { padding: 40px 0; }
  footer { padding: 30px 0 24px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-panel { width: auto; min-width: 200px; justify-content: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .logo-icon { width: 56px; height: 56px; }
  .hero-floating-text { font-size: 0.6rem; z-index: 30; }
  .text-1 { left: 0; }
  .text-2 { left: 0; }
  .text-3 { left: 0; }
  .text-4 { right: 0; }
  .text-5 { right: 0; }
  .text-6 { right: 0; }
  .cta-box { padding: 24px 16px; border-radius: 20px; }
  .btn-large { padding: 11px 22px; font-size: 0.9rem; }
  .cta-quote { font-size: 0.85rem; padding: 6px 12px; }

  /* Баг 2: домен-карты на маленьких экранах */
  .domain-cards-stack { height: 220px; }
  .domain-card-item { padding: 12px 10px; border-radius: 12px; }
  .domain-ext { font-size: 0.8rem; padding: 5px 8px; border-radius: 8px; }
  .domain-card-info { padding: 0 10px; }
  .domain-card-info h4 { font-size: 0.85rem; margin-bottom: 2px; }

  /* Баг 3: лента ещё компактнее */
  .meme-banner { margin: 20px 0; padding: 6px 0; }
  .meme-scroll { font-size: 0.75rem; }
  .meme-scroll span { margin: 0 12px; }

  /* Центрирование */
  .section-header h2 { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.95rem; }
  .cards-grid { max-width: 100%; }
  .card { padding: 30px 20px; }

  /* Duo — ещё компактнее */
  .duo-card { padding: 16px; gap: 14px; }
  .duo-icon { width: 56px; height: 56px; border-radius: 14px; }
  .duo-blob { width: 40px; height: 40px; }
  .duo-card-text h3 { font-size: 0.95rem; margin-bottom: 4px; }
  .duo-card-text p { font-size: 0.82rem; }
  .duo-meme-tag { display: none; }

  /* Tariffs */
  .tariffs-section { padding: 30px 0; }
  .tariffs-grid { max-width: 100%; }
  .tariff-card { padding: 20px 16px; border-radius: 14px; }
  .tariff-icon-img { height: 70px; margin-bottom: 14px; }
  .tariff-card h3 { font-size: 1.1rem; }
  .tariff-features li { font-size: 0.82rem; padding: 5px 0; }
  .btn-tariff { padding: 10px 16px; font-size: 0.85rem; }
  .how-it-works { padding: 30px 0; }
  .step-number { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 8px; }
  .step-item h3 { font-size: 0.95rem; }
  .step-item p { font-size: 0.82rem; }

  /* Финальные отступы */
  .hero { padding: 20px 0 30px; }
  .stats-bar { padding: 10px 0 20px; }
  .why-us { padding: 30px 0 16px; }
  .features-duo { padding: 0 0 30px; }
  .domains-showcase { padding: 30px 0; }
  .cta-section { padding: 30px 0; }
  footer { padding: 24px 0 20px; }
}

/* Cyrillic text compensation — RU glyphs are wider + translations are longer */
html[lang="ru"] .btn-primary,
html[lang="ru"] .btn-outline,
html[lang="ru"] .btn-panel {
  font-size: 0.88rem;
  padding: 10px 18px;
}
html[lang="ru"] .btn-large {
  font-size: 0.97rem;
  padding: 12px 28px;
}
html[lang="ru"] nav a:not(.lang-switch):not(.nav-cta):not(.nav-login) {
  font-size: 0.84rem;
}
html[lang="ru"] .nav-cta,
html[lang="ru"] .nav-login {
  font-size: 0.84rem;
  padding: 6px 14px;
}
html[lang="ru"] .hero-desc {
  font-size: 1.03rem;
}
html[lang="ru"] .section-subtitle {
  font-size: 1rem;
}
html[lang="ru"] .card h3,
html[lang="ru"] .duo-card-text h3 {
  font-size: 1.38rem;
}
html[lang="ru"] .card p,
html[lang="ru"] .duo-card-text p {
  font-size: 0.92rem;
}
html[lang="ru"] .tariff-features li {
  font-size: 0.88rem;
}
html[lang="ru"] .btn-tariff {
  font-size: 0.88rem;
  padding: 11px 20px;
}
html[lang="ru"] .step-item h3 {
  font-size: 1.1rem;
}
html[lang="ru"] .step-item p {
  font-size: 0.9rem;
}
html[lang="ru"] .domain-card-info h4 {
  font-size: 0.95rem;
}
html[lang="ru"] .cta-box h2 {
  font-size: 2.1rem;
}
html[lang="ru"] .cta-box p {
  font-size: 1rem;
}