/* ==========================================================================
   DESIGN SYSTEM — Moscow Registration (UI/UX Pro Max Edition)
   Style: Liquid Glass & Cinematic Dark-Mesh
   ========================================================================== */

/* ---------- CSS Reset & Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800;900&display=swap');

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

/* ---------- Premium Glass Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #020617;
  border-radius: 5px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.4);
}

:root {
  /* Color Palette (Cinematic Tech Dark & Warm Highlights) */
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --accent-light: #fcd34d;
  --accent-dark: #d97706;
  
  /* Semantic Colors */
  --success: #10b981;
  --success-light: #34d399;
  --danger: #f43f5e;
  
  /* Neutral Dark Theme Scale */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;

  /* Premium Liquid Glass Tokens */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(255, 255, 255, 0.2);
  --glass-blur: 24px;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --gradient-cta: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-mesh-1: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.18) 0%, transparent 50%);
  --gradient-mesh-2: radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.12) 0%, transparent 45%);
  --gradient-mesh-3: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', 'Inter', sans-serif;

  /* Shadows (Natural Smooth Elevation) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
  --shadow-glow-orange: 0 0 35px rgba(245, 158, 11, 0.25);
  --shadow-glow-green: 0 0 35px rgba(16, 185, 129, 0.35);

  /* Spacing Rhythm (8dp Grid System) */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;
  --container-width: 1200px;

  /* Premium Easing (Apple Dynamic Fluid Standard & Physical Spring Physics) */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Keyboard accessibility - focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ---------- Global Settings ---------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #030712;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-200);
  background: #030712;
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== GLOBAL BACKGROUND MESH BLOBS ========== */
.global-mesh-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.global-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  opacity: 0.22;
  animation: mesh-float 25s infinite ease-in-out;
}

.global-mesh-blob--1 {
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.12);
  top: 15%;
  left: -10%;
}

.global-mesh-blob--2 {
  width: 700px;
  height: 700px;
  background: rgba(139, 92, 246, 0.08);
  top: 45%;
  right: -10%;
  animation-delay: -7s;
}

.global-mesh-blob--3 {
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.06);
  top: 75%;
  left: 20%;
  animation-delay: -14s;
}

.global-mesh-blob--4 {
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.05);
  top: 30%;
  left: 60%;
  animation-delay: -4s;
}


a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  cursor: pointer;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ---------- SVG ICON SYSTEM (Strict UI/UX Rules) ---------- */
.icon-svg {
  display: inline-block;
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.icon-svg--filled {
  fill: currentColor;
  stroke: none;
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
}

@keyframes pulse-glow-tg {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(0, 136, 204, 0); }
}

@keyframes mesh-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.15); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Intersection Observer Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--success) 100%);
  z-index: 1002;
  transition: width 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* ---------- TOP ANNOUNCEMENT BAR ---------- */
.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #312e81, #1e1b4b);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.5px;
  overflow: hidden;
}

.announcement-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.announcement-bar__badge {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

/* ---------- HEADER & NAVBAR ---------- */
.header {
  position: fixed;
  top: 39px; /* Reserve space for Announcement Bar */
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--spacing-md);
  transition: var(--transition-base);
  background: transparent;
}

.header.scrolled {
  top: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
}

.header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mfc-logo-svg {
  width: 82%;
  height: 82%;
  display: block;
  transition: transform var(--transition-spring);
}

.header__logo:hover .mfc-logo-svg {
  transform: rotate(-8deg) scale(1.1);
}

.header__logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.header__logo-text span {
  display: block;
  font-weight: 500;
  font-size: 11px;
  opacity: 0.65;
  color: var(--gray-300);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.header__nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  letter-spacing: -0.1px;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.header__nav a:hover {
  color: var(--white);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.header__phone {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone:hover {
  color: var(--accent-light);
}

.header__phone .icon-svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.header__schedule {
  color: var(--gray-400);
  font-size: 11px;
  text-align: right;
  font-weight: 500;
}

.header__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

.header__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 180px 0 100px;
}

/* High Fidelity animated mesh background blobs */
.hero__mesh-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: mesh-float 20s infinite ease-in-out;
}

.hero__mesh-blob--1 {
  width: 450px;
  height: 450px;
  background: rgba(37, 99, 235, 0.22);
  top: 10%;
  left: 5%;
}

.hero__mesh-blob--2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.18);
  bottom: 10%;
  right: 5%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.hero__mesh-blob--3 {
  width: 350px;
  height: 350px;
  background: rgba(245, 158, 11, 0.14);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero__particles .particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  opacity: 0.5;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero__left {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.125;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.15));
}

.hero__title .highlight {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.45));
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 32px;
  max-width: 530px;
  font-weight: 400;
  letter-spacing: 0.1px;
}

.hero__price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  border-radius: 16px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hero__price-tag .label {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
}

.hero__price-tag .price {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: var(--accent-light);
  letter-spacing: -1px;
}

.hero__price-tag .unit {
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 500;
}

.hero__cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Premium Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-primary);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn--telegram {
  background: linear-gradient(135deg, #0088cc 0%, #1d90f4 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
  animation: pulse-glow-tg 4s infinite;
}

.btn--telegram:hover {
  box-shadow: 0 10px 25px rgba(0, 136, 204, 0.45);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #10b981 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  animation: pulse-glow 3s infinite;
}

.btn--whatsapp:hover {
  box-shadow: var(--shadow-glow-green);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
}

/* Hero Right Section Card */
.hero__right {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__card {
  background: var(--gradient-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.hero__card-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero__card-subtitle {
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero__card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__card-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.hero__card-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateX(4px);
}

.hero__card-feature .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-feature .icon-circle .icon-svg {
  width: 20px;
  height: 20px;
}

.hero__card-feature .feature-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
}

.hero__card-cta {
  width: 100%;
  padding: 18px;
  background: var(--gradient-cta);
  color: var(--white);
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  letter-spacing: 0.1px;
}

.hero__card-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
}

.stats-bar__item {
  padding: 40px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition-base);
  z-index: 2;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stats-bar__item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}

.stats-bar__number .accent {
  color: var(--accent-light);
}

.stats-bar__label {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- SECTION HEADING ---------- */
.section-heading {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-heading__badge {
  display: inline-flex;
  aria-hidden: true;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-heading__badge .icon-svg {
  width: 14px;
  height: 14px;
}

.section-heading__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.15));
}

/* Gradients for dark background headings */
.advantages .section-heading__title,
.cta-section__title,
.legal-assistant-section .section-heading__title {
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #60a5fa 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-heading__desc {
  color: var(--gray-400);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.625;
}

/* Premium physical spring-physics transitions & spotlight glows */
.btn, .floating-buttons a, .scroll-top, .header__cta-btn, .calc-tab, .choice-pill, .chat-cta-btn {
  transition: transform var(--transition-spring), background var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast) !important;
}

.btn:hover, .floating-buttons a:hover, .scroll-top:hover, .header__cta-btn:hover, .calc-tab:hover, .choice-pill:hover, .chat-cta-btn:hover {
  transform: translateY(-2px) scale(1.025);
}

.btn:active, .floating-buttons a:active, .scroll-top:active, .header__cta-btn:active, .calc-tab:active, .choice-pill:active, .chat-cta-btn:active {
  transform: scale(0.96) !important;
}

.hero__card, .price-card, .advantage, .use-case, .stats-bar__inner, .step, .faq__item, .about__floating-card, .assistant-card {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-spring), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

/* Iridescent Glowing Outlines (UX Pro Max Glassmorphism) */
.card-glow-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(96, 165, 250, 0.25) 30%,
    rgba(139, 92, 246, 0.15) 60%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__card:hover .card-glow-border,
.price-card:hover .card-glow-border,
.advantage:hover .card-glow-border,
.use-case:hover .card-glow-border,
.calculator-card:hover .card-glow-border,
.stats-bar__inner:hover .card-glow-border,
.step:hover .card-glow-border,
.faq__item:hover .card-glow-border,
.about__floating-card:hover .card-glow-border,
.assistant-card:hover .card-glow-border {
  opacity: 1;
}

/* Spotlight glow pseudoelement layers */
.hero__card::after, .advantage::after, .stats-bar__inner::after, .step::after, .faq__item::after, .about__floating-card::after, .assistant-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(255, 255, 255, 0.05),
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.price-card::after, .use-case::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(37, 99, 235, 0.08),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero__card:hover::after, .advantage:hover::after, .price-card:hover::after, .use-case:hover::after, .stats-bar__inner:hover::after, .step:hover::after, .faq__item:hover::after, .about__floating-card:hover::after, .assistant-card:hover::after {
  opacity: 1;
}

/* Subtle elastic lift hover behavior */
.hero__card:hover, .advantage:hover {
  transform: translateY(-6px) scale(1.01);
}

.price-card:hover, .use-case:hover, .step:hover {
  transform: translateY(-6px) scale(1.02);
}

/* ---------- HOW WE WORK ---------- */
.how-we-work {
  padding: var(--section-padding);
  background: transparent;
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1), rgba(16, 185, 129, 0.1));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 20px;
  transition: all var(--transition-base);
}

.step__number {
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.step:nth-child(2) .step__number { background: var(--primary-light); box-shadow: 0 8px 20px rgba(96, 165, 250, 0.2); }
.step:nth-child(3) .step__number { background: var(--accent); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2); }
.step:nth-child(4) .step__number { background: var(--success); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2); }

.step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step:nth-child(2) .step__icon { color: var(--primary-light); }
.step:nth-child(3) .step__icon { color: var(--accent-light); }
.step:nth-child(4) .step__icon { color: var(--success-light); }

.step__icon .icon-svg {
  width: 24px;
  height: 24px;
}

.step__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.step__desc {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.55;
  padding: 0 10px;
}

/* ---------- PRICING ---------- */
.pricing {
  padding: var(--section-padding);
  background: transparent;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  box-shadow: var(--shadow-xl);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card--featured {
  border: 2px solid var(--primary-light);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.price-card--featured:hover {
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.25);
}

.price-card--featured::before {
  content: 'Популярное';
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
  text-transform: uppercase;
}

.price-card__header {
  padding: 36px 36px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card--featured .price-card__header {
  background: rgba(37, 99, 235, 0.05);
}

.price-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.price-card__subtitle {
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 500;
}

.price-card__body {
  padding: 0 36px 36px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  padding-left: 8px;
}

.price-row__period {
  color: var(--gray-200);
  font-weight: 600;
  font-size: 15px;
}

.price-row__cost {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-light);
}

.price-card__note {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card__note p {
  color: var(--gray-300);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-card__note .icon-svg {
  width: 16px;
  height: 16px;
  color: var(--success-light);
  margin-top: 2px;
}

/* ---------- USE CASES / WHY REGISTRATION ---------- */
.use-cases {
  padding: var(--section-padding);
  background: transparent;
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

.use-case {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-base);
}

.use-case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.use-case__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.use-case__icon .icon-svg {
  width: 26px;
  height: 26px;
}

.use-case:hover .use-case__icon {
  transform: scale(1.08) rotate(3deg);
  background: rgba(255, 255, 255, 0.08);
}

.use-case__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

/* ---------- ADVANTAGES ---------- */
.advantages {
  padding: var(--section-padding);
  background: var(--gray-950);
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 15% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 60%, rgba(245, 158, 11, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.advantage {
  background: var(--gradient-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all var(--transition-base);
}

.advantage:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.advantage__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.advantage__icon .icon-svg {
  width: 26px;
  height: 26px;
}

.advantage__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.advantage__desc {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.625;
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-padding);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq__list {
  max-width: 840px;
  margin: 0 auto;
}

.faq__item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.faq__item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
  background: rgba(255, 255, 255, 0.04);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

.faq__question:hover {
  color: var(--primary-light);
}

.faq__chevron {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__chevron .icon-svg {
  width: 14px;
  height: 14px;
}

.faq__item.active .faq__chevron {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
  border-color: transparent;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq__item.active .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  min-height: 0;
  padding: 0 32px 0;
  color: var(--gray-300);
  font-size: 14.5px;
  line-height: 1.68;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__item.active .faq__answer-inner {
  padding: 0 32px 24px;
}

/* ---------- ABOUT SECTION ---------- */
.about {
  padding: var(--section-padding);
  background: transparent;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text h3 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about__text p {
  color: var(--gray-300);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__checklist {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-200);
  font-size: 15px;
  font-weight: 600;
}

.about__checklist .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__checklist .check-icon .icon-svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.about__visual {
  position: relative;
}

.about__image-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about__image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__image-wrap:hover img {
  transform: scale(1.04);
}

.about__floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease infinite;
}

.about__floating-card .fc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__floating-card .fc-icon .icon-svg {
  width: 24px;
  height: 24px;
}

.about__floating-card .fc-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 13px;
}

.about__floating-card .fc-text span {
  display: block;
  font-size: 22px;
  color: var(--primary);
  font-weight: 900;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: var(--spacing-xxl) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.15));
}

.cta-section__desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-section__phone {
  margin-top: 32px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.cta-section__phone:hover {
  color: var(--accent-light);
}

.cta-section__phone .icon-svg {
  width: 26px;
  height: 26px;
  color: var(--accent-light);
}

.cta-section__schedule {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 500;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-950);
  padding: 70px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__brand .logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand p {
  color: var(--gray-400);
  font-size: 13.5px;
  line-height: 1.68;
  max-width: 320px;
}

.footer__col-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--gray-400);
  font-size: 13.5px;
}

.footer__links a:hover {
  color: var(--accent-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-300);
  font-size: 14px;
  margin-bottom: 18px;
}

.footer__contact-item .ci-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray-400);
}

.footer__contact-item .ci-icon .icon-svg {
  width: 16px;
  height: 16px;
}

.footer__contact-item a {
  color: var(--white);
  font-weight: 600;
}

.footer__contact-item a:hover {
  color: var(--accent-light);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  color: var(--gray-500);
  font-size: 12.5px;
}

.footer__legal {
  color: var(--gray-600);
  font-size: 12.5px;
  text-align: right;
}

/* ---------- FLOATING MESSENGER BUTTONS ---------- */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-base);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.float-btn--tg {
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.float-btn--wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  animation: pulse-glow 3s infinite;
}

.float-btn--phone {
  background: var(--gradient-accent);
}

.float-btn__icon {
  width: 24px;
  height: 24px;
  color: white;
}

.float-btn__tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--gray-800);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.float-btn:hover .float-btn__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  border: none;
  font-size: 18px;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: var(--primary-dark);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION (Cinematic Tech Dark & Glassmorphism)
   ========================================================================== */
.calculator-section {
  background: radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.4) 0%, rgba(2, 6, 23, 0.95) 100%), var(--gray-950);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calculator-card {
  background: var(--gradient-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

/* Spotlight hover tracking layer */
.calculator-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(37, 99, 235, 0.06),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.calculator-card:hover::after {
  opacity: 1;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.calculator-card__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

.calculator-card__controls {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label {
  color: var(--gray-300);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.calc-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px;
  border-radius: 14px;
  gap: 6px;
}

.calc-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gray-400);
  transition: all var(--transition-base);
}

.calc-tab .icon-svg {
  width: 18px;
  height: 18px;
}

.calc-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.calc-tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), var(--shadow-glow);
}

.select-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all var(--transition-base);
}

.select-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.select-wrapper:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.calc-select {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.calc-select option {
  background: var(--gray-900);
  color: var(--white);
  padding: 12px;
}

.select-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gray-400);
  display: flex;
  align-items: center;
}

.select-chevron .icon-svg {
  width: 18px;
  height: 18px;
}

.calculator-card__result {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.result-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.price-display-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.price-title {
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.price-guarantee {
  color: var(--success-light);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.result-features {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.result-features-title {
  color: var(--white);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.1px;
}

.result-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-features-list li {
  color: var(--gray-300);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.result-features-list li .icon-svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  margin-top: 2px;
}

.calc-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.calc-cta-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 13.5px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Precise Breakpoints Grid Rules)
   ========================================================================== */
@media (max-width: 1024px) {
  .header { top: 39px; }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__title { font-size: 42px; }
  .hero__subtitle { margin: 0 auto 32px; }
  .hero__cta-group { justify-content: center; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }

  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .header__nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  /* Calculator specific 1024px overrides */
  .calculator-card__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calculator-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .announcement-bar { font-size: 11px; }

  .hero { padding: 140px 0 60px; min-height: auto; }
  .hero__title { font-size: 34px; }
  .hero__subtitle { font-size: 15px; }
  .hero__price-tag .price { font-size: 30px; }
  .hero__card { padding: 30px; }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { padding: 14px 24px; font-size: 14px; justify-content: center; }

  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2)::after { display: none; }
  .stats-bar__number { font-size: 32px; }

  .pricing__grid { grid-template-columns: 1fr; gap: 20px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .use-cases__grid { grid-template-columns: repeat(2, 1fr); }

  .section-heading__title { font-size: 30px; }

  .header__contacts { display: none; }
  .header__phone { display: none; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }

  .cta-section__title { font-size: 30px; }
  .cta-section__phone { font-size: 24px; }

  /* Calculator specific 768px overrides */
  .calculator-section {
    padding: var(--section-padding);
  }
  .calculator-card {
    padding: 24px;
  }
  .price-amount {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 28px; }
  .hero__badge { font-size: 11px; }

  .stats-bar__inner { grid-template-columns: 1fr; }
  .stats-bar__item:not(:last-child)::after { display: none; }
  .stats-bar__item { padding: 24px 16px; }

  .steps { grid-template-columns: 1fr; }
  .use-cases__grid { grid-template-columns: 1fr; }

  .floating-buttons { bottom: 16px; right: 16px; }
  .float-btn { width: 52px; height: 52px; }
  .float-btn__tooltip { display: none; }

  /* Calculator specific 480px overrides */
  .calc-tabs {
    flex-direction: column;
  }
}

/* ========== SMART LEGAL ASSISTANT STYLE ========== */
.legal-assistant-section {
  padding: var(--section-padding);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.assistant-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-xl);
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.assistant-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.assistant-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.avatar-container {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.assistant-avatar-svg {
  width: 100%;
  height: 100%;
  animation: avatar-breathe 4s ease-in-out infinite;
  transform-origin: center;
  display: block;
}

.avatar-orbit {
  animation: avatar-orbit-spin 20s linear infinite;
  transform-origin: 50px 50px;
}

.avatar-shield {
  transform-origin: 50px 42px;
  transition: transform var(--transition-spring);
}

.avatar-placeholder:hover .avatar-shield {
  transform: scale(1.08);
}

@keyframes avatar-breathe {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.3));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.65));
  }
}

@keyframes avatar-orbit-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.active-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  border: 3px solid #030712;
  box-shadow: 0 0 10px var(--success);
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.assistant-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.assistant-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.assistant-role {
  font-size: 13.5px;
  color: var(--gray-400);
  font-weight: 500;
}

.assistant-chat-thread {
  height: 340px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  scroll-behavior: smooth;
}

/* Chat scrollbar */
.assistant-chat-thread::-webkit-scrollbar {
  width: 6px;
}
.assistant-chat-thread::-webkit-scrollbar-track {
  background: transparent;
}
.assistant-chat-thread::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  border: none;
}
.assistant-chat-thread::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-message {
  display: flex;
  width: 100%;
  animation: message-fade 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes message-fade {
  0% { opacity: 0; transform: translateY(16px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-message.assistant {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 78%;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.6;
}

.chat-message.assistant .message-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-200);
  border-top-left-radius: 4px;
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-top-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.chat-cta-wrapper {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-spring);
  position: relative;
  z-index: 10;
}

.chat-cta-btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.chat-cta-btn--telegram {
  background: linear-gradient(135deg, #229ed9 0%, #179cde 100%);
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.2);
}

.chat-cta-btn:hover {
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.chat-cta-wrapper {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  position: relative;
  z-index: 10;
  animation: message-fade 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.chat-cta-btn:nth-child(1) {
  animation-delay: 0.12s;
}

.chat-cta-btn:nth-child(2) {
  animation-delay: 0.24s;
}

.chat-typing-indicator {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.typing-dots {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 22px;
  border-radius: 20px;
  border-top-left-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: bounce-typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce-typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.choice-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.choice-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 22px;
  border-radius: 100px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.choice-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
  .assistant-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .message-bubble {
    max-width: 90%;
  }
}

/* ==========================================================================
   SYSTEM ACCESSIBILITY (Prefers-Reduced-Motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  /* Disable animations, particle floats, spotlights, and dynamic transitions */
  .hero__mesh-blob, .particle, .hero__card::after, .advantage::after, .price-card::after, .use-case::after, .calculator-card::after {
    display: none !important;
  }
  
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
