/* ========================================
   IDTEX — Дистрибуция ПО
   Основные стили
   ======================================== */

/* CSS Variables */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: 1rem;
  color: var(--gray-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 25%, #3b82f6 50%, #06b6d4 75%, #3b82f6 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  animation: logo-shine 4s linear infinite;
}

@keyframes logo-shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-light);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--light);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-highlight {
  background: var(--gradient);
  color: var(--light) !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-link-highlight::after {
  display: none;
}

.nav-link-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-weight: 600;
  color: var(--light);
  font-size: 0.9rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active svg line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  transform-origin: center;
}

.mobile-menu-btn.active svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active svg line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  transform-origin: center;
}

/* Mobile menu active state */
@media (max-width: 768px) {
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  
  .nav.active .nav-link {
    padding: 10px 0;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 20px 80px;
  background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-light);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 100px 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
}

/* ========================================
   Products Section
   ======================================== */
.products {
  background: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-light);
}

.product-card h3 {
  margin-bottom: 12px;
  color: var(--light);
  font-size: 1.5rem;
}

.product-card > p {
  margin-bottom: 20px;
  color: var(--gray-light);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-light);
}

.product-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
  flex-shrink: 0;
}

/* ========================================
   Vendor Products Section
   ======================================== */
.vendor-products {
  background: transparent;
}

.vendor-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.vendor-product-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.vendor-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.vendor-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vendor-product-card:hover::before {
  transform: scaleX(1);
}

.vp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.vp-vendor {
  font-size: 1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.vp-link {
  color: var(--gray);
  transition: color 0.3s ease;
}

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

.vp-link svg {
  width: 20px;
  height: 20px;
}

.vendor-product-card h3 {
  font-size: 1.25rem;
  color: var(--light);
  margin-bottom: 12px;
}

.vendor-product-card > p {
  color: var(--gray-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.vp-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-light);
}

.vp-features svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
  flex-shrink: 0;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ========================================
   Vendors Section - Simple Cards
   ======================================== */
.vendors {
  background: transparent;
}

.vendors-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.vendor-simple-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 24px 32px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vendor-simple-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.vendor-simple-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.vendor-simple-card:hover::before {
  opacity: 0.8;
}

.vendor-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

/* Old vendor styles removed */

/* ========================================
   Advantages Cards
   ======================================== */

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-light);
}

.advantage-card h3 {
  margin-bottom: 12px;
  color: var(--light);
}

/* ========================================
   Work Stages Section
   ======================================== */
.work-stages {
  background: transparent;
  position: relative;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
}

.stage-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 28px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: visible;
}

.stage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.stage-card::after {
  content: attr(data-stage);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--light);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stage-card:hover {
  transform: translateY(-12px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15),
              0 0 30px rgba(59, 130, 246, 0.1);
}

.stage-card:hover::before {
  opacity: 0.8;
}

.stage-card:hover::after {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6),
              0 0 60px rgba(59, 130, 246, 0.3);
  transform: translateX(-50%) scale(1.1);
}

.stage-number {
  display: none;
}

.stage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.stage-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.stage-card:hover .stage-icon {
  transform: scale(1.1);
}

.stage-card:hover .stage-icon::before {
  opacity: 0.3;
}

.stage-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-light);
  transition: stroke 0.4s ease;
}

.stage-card:hover .stage-icon svg {
  stroke: var(--light);
}

.stage-card h3 {
  font-size: 1.25rem;
  color: var(--light);
  margin-bottom: 14px;
  font-weight: 700;
}

.stage-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* Pulse animation for stage circles */
@keyframes stage-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
  }
}

.stage-card:nth-child(1)::after {
  animation: stage-pulse 3s ease-in-out infinite 0s;
}

.stage-card:nth-child(2)::after {
  animation: stage-pulse 3s ease-in-out infinite 0.5s;
}

.stage-card:nth-child(3)::after {
  animation: stage-pulse 3s ease-in-out infinite 1s;
}

.stage-card:nth-child(4)::after {
  animation: stage-pulse 3s ease-in-out infinite 1.5s;
}

.stage-card:nth-child(5)::after {
  animation: stage-pulse 3s ease-in-out infinite 2s;
}

/* ========================================
   Contact Form Section
   ======================================== */
.contact-form-section {
  background: transparent;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--light);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

.form-submit .btn {
  width: 100%;
  max-width: 300px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--gray);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* ========================================
   Contacts Section
   ======================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-light);
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 1.125rem;
  color: var(--light);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--primary-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.footer-brand {
  max-width: 180px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 25%, #3b82f6 50%, #06b6d4 75%, #60a5fa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 200% center;
  }
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 0.8125rem;
  color: var(--gray);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

.footer-requisites {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-requisites span {
  color: var(--gray);
}

/* ========================================
   Cursor Glow Effect
   ======================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
}

/* ========================================
   Bubble Background Effect
   ======================================== */
.phantom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -20px;
  opacity: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.6), rgba(6, 182, 212, 0.3));
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

@keyframes phantom-rise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: var(--max-opacity);
  }
  90% {
    opacity: var(--max-opacity);
  }
  100% {
    transform: translateY(-120vh) scale(1);
    opacity: 0;
  }
}

@keyframes bubble-collapse {
  0%, 100% {
    transform: scale(1);
    opacity: var(--max-opacity);
  }
  50% {
    transform: scale(0.3);
    opacity: 0;
  }
}

@keyframes phantom-sway {
  0%, 100% {
    margin-left: 0;
  }
  25% {
    margin-left: 20px;
  }
  50% {
    margin-left: -20px;
  }
  75% {
    margin-left: 10px;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-contacts {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-requisites {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .advantages-grid,
  .vendor-products-grid,
  .stages-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Notification Toast
   ======================================== */
.notification-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  max-width: 400px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-toast.visible {
  transform: translateX(0);
  opacity: 1;
}

.notification-success {
  border-color: rgba(34, 197, 94, 0.5);
}

.notification-success .toast-icon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.notification-error {
  border-color: rgba(239, 68, 68, 0.5);
}

.notification-error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
}

.toast-message {
  flex: 1;
  font-size: 0.875rem;
  color: var(--light);
  line-height: 1.5;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}

.toast-close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .notification-toast {
    top: auto;
    bottom: 20px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

