/* ===== CSS Variables ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --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;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-light: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(124,58,237,.08) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-h: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.white { color: var(--white) !important; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%);
  transition: var(--transition);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.45);
}
.btn-outline {
  border-color: var(--gray-300);
  color: var(--gray-700);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,.05);
}
.btn-success {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16,185,129,.35);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16,185,129,.45);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.logo-text { color: var(--gray-900); }
.nav {
  display: flex;
  gap: 8px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-600);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(37,99,235,.06);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-600);
  transition: var(--transition);
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-btn .fa-chevron-down { font-size: 10px; transition: var(--transition); }
.lang-switcher.open .fa-chevron-down { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
  overflow: hidden;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-600);
  transition: var(--transition);
}
.lang-option:hover, .lang-option.active {
  background: var(--gradient-light);
  color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.header-cta { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--white);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124,58,237,.06), transparent),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(6,182,212,.05), transparent);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gradient-light);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 16px;
  letter-spacing: 2px;
  font-weight: 500;
}
.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-3d-card {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-inner {
  width: 200px;
  height: 200px;
  background: var(--gradient);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  position: relative;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(37,99,235,.3);
  transition: transform .15s ease-out;
  will-change: transform;
}
.hero-card-icon { font-size: 48px; margin-bottom: 12px; }
.hero-card-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient);
  border-radius: 40px;
  opacity: .2;
  filter: blur(30px);
  animation: pulse-glow 3s ease-in-out infinite;
}
.floating-icons { position: absolute; inset: 0; }
.float-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  animation: float-random 8s ease-in-out infinite;
  transition: transform .3s ease-out;
  will-change: transform;
}
.fi-1 { top: 10%; left: 0; color: #627eea; animation-delay: 0s; }
.fi-2 { top: 5%; right: 10%; color: #f7931a; animation-delay: 1s; }
.fi-3 { bottom: 30%; left: -5%; color: var(--primary); animation-delay: 2s; }
.fi-4 { top: 40%; right: -5%; color: var(--secondary); animation-delay: 3s; }
.fi-5 { bottom: 5%; left: 15%; color: var(--accent); animation-delay: 1.5s; }
.fi-6 { bottom: 10%; right: 5%; color: var(--success); animation-delay: 2.5s; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  color: var(--gray-400);
  animation: bounce-down 2s ease-in-out infinite;
}
.hero-scroll a:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: var(--white);
}
.page-hero-content { text-align: center; }
.page-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--gray-900);
  margin-top: 16px;
}
.page-hero-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--gradient-light);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Keywords Tags ===== */
.keywords-section {
  padding: 32px 0;
  background: var(--white);
  overflow: hidden;
}
.keywords-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.keyword-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--gradient-light);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  transition: var(--transition);
  cursor: default;
}
.keyword-tag:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* ===== Products Section ===== */
.products-section { background: var(--gray-50); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.product-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.product-card:hover .product-card-glow { opacity: 1; }
.product-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.product-card:hover .product-icon {
  background: var(--gradient);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}
.product-image-wrap { margin-bottom: 8px; }
.product-image-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}
.product-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.product-cta i {
  transition: var(--transition);
}
.product-card:hover .product-cta i {
  transform: translateX(4px);
}

/* ===== Stats ===== */
.stats-section {
  background: var(--gradient);
  overflow: hidden;
  padding: 80px 0;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  color: var(--white);
  padding: 24px;
}
.stat-number {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  opacity: .85;
  font-weight: 500;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--gradient);
  color: var(--white);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section { padding: 60px 0 100px; }
.cta-card {
  position: relative;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%);
  animation: rotate-glow 20s linear infinite;
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  font-size: 17px;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-actions .btn {
  border: 2px solid rgba(255,255,255,.3);
}
.cta-actions .btn:hover {
  border-color: var(--white);
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-cards { display: flex; flex-direction: column; gap: 24px; }
.about-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}
.about-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
}
.about-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  margin-bottom: 16px;
}
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius);
  color: var(--warning);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-cards-full {
  max-width: 640px;
  margin: 0 auto;
}
.contact-cards-full .contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  cursor: default;
}
a.contact-card { cursor: pointer; }
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.telegram-card:hover { border-left: 3px solid #0088cc; }
.whatsapp-card:hover { border-left: 3px solid #25d366; }
.wechat-card:hover { border-left: 3px solid #07c160; }
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.telegram-card .contact-card-icon { background: rgba(0,136,204,.1); color: #0088cc; }
.whatsapp-card .contact-card-icon { background: rgba(37,211,102,.1); color: #25d366; }
.wechat-card .contact-card-icon { background: rgba(7,193,96,.1); color: #07c160; }
.address-card .contact-card-icon { background: var(--gradient-light); color: var(--primary); }
.contact-card-info { flex: 1; }
.contact-card-info h3 { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.contact-card-info p { font-size: 15px; color: var(--gray-600); margin-top: 2px; }
.contact-card .fa-external-link-alt, .contact-card .fa-copy {
  color: var(--gray-400);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.contact-card .fa-copy:hover { color: var(--primary); }

.contact-form-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.contact-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(.9) translateY(20px);
  transition: var(--transition);
  position: relative;
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.modal-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin: 0 auto 20px;
}
.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.modal-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.modal-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.modal-contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--white);
}
.modal-contact-btn.telegram { background: #0088cc; }
.modal-contact-btn.telegram:hover { background: #006da3; }
.modal-contact-btn.whatsapp { background: #25d366; }
.modal-contact-btn.whatsapp:hover { background: #1fb855; }
.modal-contact-btn.wechat { background: #07c160; color: var(--white); }
.modal-close-btn {
  border-color: var(--gray-300);
  color: var(--gray-600);
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: var(--gradient);
  box-shadow: 0 0 60px 20px rgba(37,99,235,.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-400);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
}
.footer-links h4, .footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-contact-item i {
  margin-top: 3px;
  color: var(--gray-500);
  width: 16px;
  text-align: center;
}
.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-link-highlight {
  color: #60a5fa !important;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: underline;
  text-decoration-color: rgba(96,165,250,.3);
  text-underline-offset: 3px;
}
.footer-link-highlight:hover {
  color: var(--white) !important;
  text-decoration-color: var(--white);
}
a.footer-link-highlight { cursor: pointer; }
strong.footer-link-highlight { text-decoration: none; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes float-random {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(-5px, -25px); }
  75% { transform: translate(15px, -10px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .2; transform: scale(1); }
  50% { opacity: .35; transform: scale(1.05); }
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes particle-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .4; }
  50% { transform: translate(var(--tx), var(--ty)) scale(1.5); opacity: .8; }
}

.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--gradient);
  border-radius: 50%;
  opacity: .3;
  animation: particle-float var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

/* ===== Hero Mouse Spotlight ===== */
.hero-spotlight {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: left .08s ease-out, top .08s ease-out;
}
.hero-mesh-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.05) 0%, transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: left .15s ease-out, top .15s ease-out;
  mix-blend-mode: screen;
}

/* ===== Click Ripple Effect ===== */
.hero-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(37,99,235,.4);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-expand .8s ease-out forwards;
  z-index: 5;
}
@keyframes ripple-expand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(25); opacity: 0; }
}

/* ===== Orbit Rings ===== */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 60%;
  width: var(--ring-size);
  height: var(--ring-size);
  border: 1px solid rgba(37,99,235,.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin var(--ring-dur) linear infinite;
  animation-delay: var(--ring-delay);
  pointer-events: none;
}
.orbit-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(37,99,235,.5);
}
@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Shooting Stars ===== */
.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,.6), transparent);
  border-radius: 2px;
  pointer-events: none;
  transform: rotate(var(--angle));
  animation: shoot .7s ease-out forwards;
}
.shooting-star::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(37,99,235,.8);
}
@keyframes shoot {
  0% { transform: rotate(var(--angle)) translateX(0); opacity: 1; }
  100% { transform: rotate(var(--angle)) translateX(300px); opacity: 0; }
}

/* ===== Card Tilt Inner Glow ===== */
.product-card, .feature-card {
  transition: transform .15s ease-out, box-shadow .3s ease;
  will-change: transform;
}
.product-card::after, .feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(37,99,235,.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover::after, .feature-card:hover::after {
  opacity: 1;
}

/* ===== Hero title shimmer ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 40%, var(--accent) 60%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s linear infinite;
}
@keyframes shimmer-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 0; }
  .hero-3d-card { width: 280px; height: 280px; }
  .hero-card-inner { width: 140px; height: 140px; font-size: 18px; }
  .hero-card-icon { font-size: 36px; }
  .float-icon { width: 44px; height: 44px; font-size: 18px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { 
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-visual { display: none; }
  .section { padding: 60px 0; }
  .cta-card { padding: 40px 24px; }
  .modal { padding: 36px 24px; }
  .stat-number { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 14px 28px; }
}
