/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #8B1A1A;
  --red-light: #a82020;
  --red-dark: #6b1212;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --dark4: #222222;
  --text: #e8e8e8;
  --text-muted: #888;
  --border: rgba(255,255,255,0.08);
  --glow: rgba(139,26,26,0.4);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; padding: 14px 32px; border-radius: 8px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  position: relative; overflow: hidden; transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); background: var(--red-light); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary.large { padding: 18px 48px; font-size: 17px; border-radius: 10px; }
.btn-primary.small { padding: 10px 22px; font-size: 13px; }
.btn-primary.full { width: 100%; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; padding: 14px 32px; border-radius: 8px;
  font-weight: 700; font-size: 15px; border: 2px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.3s ease; letter-spacing: 0.5px;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,26,26,0.2); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.logo-img { height: 44px; filter: brightness(1.1); }
.logo-text { color: #fff; font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 8px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all 0.25s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.btn-nav {
  background: var(--red); color: #fff; padding: 9px 22px; border-radius: 7px;
  font-weight: 700; font-size: 14px; transition: all 0.3s; white-space: nowrap;
}
.btn-nav:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 4px 20px var(--glow); }
.burger { 
  display: none; 
  flex-direction: column; 
  gap: 5px; 
  cursor: pointer; 
  padding: 8px; 
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.burger:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.burger:active {
  transform: scale(0.95);
}
.burger span { 
  display: block; 
  width: 24px; 
  height: 2px; 
  background: #fff; 
  border-radius: 2px; 
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: #0a0a0a;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slowZoom 20s ease-in-out infinite alternate;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, 
      rgba(10,10,10,0.5) 0%,
      rgba(10,10,10,0.6) 30%,
      rgba(10,10,10,0.8) 60%,
      rgba(10,10,10,0.92) 100%
    );
  z-index: 1;
}
@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
#particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 780px; padding: 120px 24px 80px;
  animation: heroFadeIn 1s ease forwards;
}
@keyframes heroFadeIn { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,26,26,0.2); border: 1px solid rgba(139,26,26,0.4);
  color: #ff8080; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 0.5px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(139,26,26,0.3); } 50% { box-shadow: 0 0 0 8px rgba(139,26,26,0); } }
.hero-title { font-size: clamp(42px, 7vw, 80px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, #ff4444, #8B1A1A, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 0; justify-content: center; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 16px; padding: 20px 32px; backdrop-filter: blur(10px); flex-wrap: wrap; gap: 0; }
.stat { text-align: center; padding: 0 28px; }
.stat-val { display: block; font-size: 28px; font-weight: 900; color: #fff; }
.stat-lbl { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; z-index: 3; }
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.3); border-bottom: 2px solid rgba(255,255,255,0.3); transform: rotate(45deg); animation: scrollBounce 1.8s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

/* ===== SECTION COMMONS ===== */
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--red); margin-bottom: 10px; }
.section-label.light { color: #ff8080; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-title.light { color: #fff; }
.section-sub { color: var(--text-muted); font-size: 16px; }
.section-header { text-align: center; margin-bottom: 60px; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: translate(0); }

/* ===== ABOUT ===== */
.about { 
  padding: 100px 0; 
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.08;
  z-index: 0;
}
.about .container {
  position: relative;
  z-index: 1;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
.about-text .section-title { margin-bottom: 20px; }
.about-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.8); }
.check { color: var(--red); font-size: 16px; font-weight: 700; }
.device-card {
  background: linear-gradient(135deg, #1a1a1a, #111);
  border: 1px solid rgba(139,26,26,0.3); border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139,26,26,0.1);
}
.device-glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; background: radial-gradient(circle, rgba(139,26,26,0.3), transparent 70%); pointer-events: none; }
.device-icon { font-size: 56px; margin-bottom: 16px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.device-lines { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.dline { height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); border-radius: 2px; animation: scanLine 2.5s ease-in-out infinite; }
.dline:nth-child(2) { animation-delay: 0.4s; opacity: 0.7; }
.dline:nth-child(3) { animation-delay: 0.8s; opacity: 0.4; }
@keyframes scanLine { 0%,100% { transform: scaleX(0.3); opacity: 0.3; } 50% { transform: scaleX(1); opacity: 1; } }
.device-label { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.device-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.green { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.device-accuracy, .device-speed { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.device-accuracy strong, .device-speed strong { color: #ff8080; }

/* ===== ADVANTAGES ===== */
.advantages { 
  padding: 100px 0; 
  background: var(--dark); 
  position: relative; 
  overflow: hidden; 
}
.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  opacity: 0.06;
  filter: grayscale(30%);
  z-index: 0;
}
.advantages .container {
  position: relative;
  z-index: 1;
}
.adv-bg-lines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px), repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px); pointer-events: none; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: linear-gradient(135deg, #161616, #111); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.adv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); transform: scaleX(0); transition: transform 0.4s ease; }
.adv-card:hover { transform: translateY(-8px); border-color: rgba(139,26,26,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(139,26,26,0.15); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon { font-size: 40px; margin-bottom: 20px; display: block; transition: transform 0.3s; }
.adv-card:hover .adv-icon { transform: scale(1.1) rotate(-5deg); }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.adv-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ===== SPECS ===== */
.specs { 
  padding: 100px 0; 
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.specs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.05;
  z-index: 0;
}
.specs .container {
  position: relative;
  z-index: 1;
}
.specs-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.spec-row { display: grid; grid-template-columns: 40px 1fr 2fr auto; gap: 20px; align-items: center; background: var(--dark3); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; transition: all 0.3s; }
.spec-row:hover { border-color: rgba(139,26,26,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.spec-icon { font-size: 22px; }
.spec-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); }
.spec-bar-wrap { background: rgba(255,255,255,0.07); border-radius: 50px; height: 6px; overflow: hidden; }
.spec-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ff4444); border-radius: 50px; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 0 10px rgba(139,26,26,0.6); }
.spec-val { font-size: 15px; font-weight: 700; color: #ff8080; text-align: right; white-space: nowrap; }
.specs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.spec-card { background: var(--dark3); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: all 0.3s; }
.spec-card:hover { border-color: rgba(139,26,26,0.3); }
.sc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 14px; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all 0.25s; cursor: default; }
.tag:hover { background: rgba(139,26,26,0.2); border-color: rgba(139,26,26,0.5); color: #ff8080; }
.tag.highlight { background: rgba(139,26,26,0.25); border-color: rgba(139,26,26,0.6); color: #ff8080; font-size: 16px; padding: 8px 20px; }
.rtk-banner {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, rgba(139,26,26,0.2), rgba(139,26,26,0.1));
  border: 1px solid rgba(139,26,26,0.5); border-radius: 16px; padding: 28px 32px;
  box-shadow: 0 0 40px rgba(139,26,26,0.1);
}
.rtk-icon { font-size: 40px; flex-shrink: 0; }
.rtk-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rtk-text strong { font-size: 18px; color: #fff; }
.rtk-text span { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ===== PRICE ===== */
.price { 
  padding: 100px 0; 
  background: var(--dark); 
  position: relative; 
  overflow: hidden; 
}
.price::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560493676-04071c5f467b?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.07;
  z-index: 0;
}
.price-bg { 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(ellipse at center, rgba(139,26,26,0.12) 0%, transparent 70%); 
  pointer-events: none;
  z-index: 1;
}
.price .container { position: relative; z-index: 2; }
.price-card {
  max-width: 520px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, #161616, #111);
  border: 1px solid rgba(139,26,26,0.4); border-radius: 24px; padding: 48px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(139,26,26,0.15);
  position: relative; overflow: hidden;
}
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red-dark), var(--red), #ff4444, var(--red), var(--red-dark)); }
.price-badge { display: inline-block; background: rgba(139,26,26,0.2); border: 1px solid rgba(139,26,26,0.4); color: #ff8080; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.price-amount { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin-bottom: 8px; }
.currency { font-size: 32px; font-weight: 700; color: rgba(255,255,255,0.5); margin-top: 12px; }
.amount { font-size: 80px; font-weight: 900; line-height: 1; color: #fff; letter-spacing: -3px; }
.price-tax { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 32px; }
.price-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.price-list li { font-size: 15px; color: rgba(255,255,255,0.7); padding: 10px 16px; background: rgba(255,255,255,0.04); border-radius: 8px; transition: all 0.2s; }
.price-list li:hover { background: rgba(139,26,26,0.1); color: #fff; }
.price-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.3); }

/* ===== CONTACT ===== */
.contact { 
  padding: 100px 0; 
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1920&q=80');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  opacity: 0.04;

  .hero-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-title { font-size: 28px; }
  .amount { font-size: 56px; }
}

/* ===== ACTIVE NAV ===== */
.nav-links a.active { color: #fff; background: rgba(139,26,26,0.2); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ===== SELECTION ===== */
::selection { background: rgba(139,26,26,0.4); color: #fff; }

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Disable parallax on mobile for better performance */
  .about::before, .advantages::before, .specs::before, .price::before, .contact::before {
    background-attachment: scroll !important;
  }
  
  /* Optimize animations */
  .hero::before { animation: none; }
  .advantages::before { animation: none; }
  
  /* Better touch targets */
  .btn-primary, .btn-outline, .nav-links a { min-height: 44px; }
}

/* ===== PARALLAX SMOOTH SCROLL ===== */
@media (min-width: 769px) {
  .about::before, .advantages::before, .specs::before, .price::before, .contact::before {
    will-change: transform;
  }
}

/* ===== BACKGROUND ANIMATIONS ===== */
@media (min-width: 769px) {
  .advantages::before {
    animation: subtleMove 25s ease-in-out infinite;
  }
}
@keyframes subtleMove {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-10px); }
}

/* ===== TOUCH OPTIMIZATION ===== */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - disable hover effects that don't work well */
  .adv-card:hover, .spec-row:hover, .info-card:hover, .price-list li:hover {
    transform: none;
  }
  
  /* Keep active states for buttons */
  .btn-primary:active { transform: scale(0.97); }
  .btn-outline:active { transform: scale(0.97); }
  
  /* Make clickable areas bigger */
  .nav-links a, .btn-primary, .btn-outline, button { min-height: 48px; }
}

/* ===== SAFE AREA FOR NOTCHES (iPhone X+) ===== */
@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* ===== CONTACT FORM BEAUTIFUL ===== */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-group label { 
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); 
  text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 4px;
}
.required { color: var(--red); font-size: 16px; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(26,26,26,0.8); 
  border: 1.5px solid rgba(255,255,255,0.1); 
  border-radius: 12px;
  color: #fff; padding: 14px 18px; font-size: 15px; font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1); 
  outline: none; width: 100%;
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(30,30,30,0.9);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
  border-color: var(--red); 
  box-shadow: 0 0 0 3px rgba(139,26,26,0.15), 0 4px 12px rgba(0,0,0,0.3);
  background: rgba(26,26,26,0.95);
  transform: translateY(-1px);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.select-wrapper { position: relative; }
.form-group select { 
  appearance: none; 
  cursor: pointer; 
  padding-right: 40px;
  background: rgba(26,26,26,0.8);
}
.select-arrow {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: rgba(255,255,255,0.4);
  transition: all 0.3s;
}
.select-wrapper:hover .select-arrow { color: rgba(255,255,255,0.6); }
.form-group select:focus ~ .select-arrow { color: var(--red); transform: translateY(-50%) rotate(180deg); }
.form-group textarea { 
  resize: vertical; 
  min-height: 110px; 
  max-height: 250px;
  line-height: 1.6;
}
.char-count {
  font-size: 11px; 
  color: rgba(255,255,255,0.3); 
  text-align: right; 
  margin-top: -4px;
}
.form-checkbox {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 0;
}
.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px; cursor: pointer; 
  accent-color: var(--red); margin-top: 2px; flex-shrink: 0;
}
.form-checkbox label {
  font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5;
  text-transform: none; letter-spacing: 0;
}
.privacy-link { 
  color: var(--red); text-decoration: underline; 
  transition: color 0.2s;
}
.privacy-link:hover { color: var(--red-light); }
.btn-primary.full { 
  position: relative; margin-top: 8px; 
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 16px 32px; font-size: 16px;
  box-shadow: 0 4px 20px rgba(139,26,26,0.3);
}
.btn-primary.full:hover {
  box-shadow: 0 6px 30px rgba(139,26,26,0.5);
  background: linear-gradient(135deg, var(--red-light), var(--red));
}
.btn-text { position: relative; z-index: 1; }
.btn-icon { 
  position: relative; z-index: 1; margin-left: 8px; 
  transition: transform 0.3s; display: inline-block; font-size: 18px;
}
.btn-primary:hover .btn-icon { transform: translateX(4px); }
.form-success { 
  display: none; 
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.1)); 
  border: 1.5px solid rgba(34,197,94,0.4); 
  color: #86efac; 
  padding: 16px 20px; 
  border-radius: 12px; 
  font-size: 14px; 
  font-weight: 500;
  align-items: center;
  gap: 12px;
  animation: successSlideIn 0.5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes successSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-success svg { flex-shrink: 0; }
.form-success.show { display: flex; }

/* ===== FORM MOBILE ===== */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 13px 16px; font-size: 16px;
  }
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.info-card { 
  display: flex; align-items: center; gap: 18px; 
  background: linear-gradient(135deg, rgba(26,26,26,0.9), rgba(20,20,20,0.8)); 
  border: 1.5px solid rgba(255,255,255,0.08); 
  border-radius: 14px; padding: 20px 22px; 
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.info-card:hover { 
  border-color: rgba(139,26,26,0.4); 
  transform: translateX(8px); 
  background: linear-gradient(135deg, rgba(30,30,30,0.95), rgba(24,24,24,0.9));
  box-shadow: 0 4px 20px rgba(139,26,26,0.15);
}
.info-icon { font-size: 26px; flex-shrink: 0; }
.info-label { 
  font-size: 11px; text-transform: uppercase; 
  letter-spacing: 1.5px; color: rgba(255,255,255,0.4); 
  margin-bottom: 4px; font-weight: 600;
}
.info-val { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.9); }
a.info-val { transition: color 0.2s; }
a.info-val:hover { color: #ff8080; }

@media (max-width: 768px) {
  .contact-info { gap: 14px; }
  .info-card { padding: 18px 20px; }
  .info-card:hover { transform: translateX(4px); }
}

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  /* Hero buttons - more visible */
  .hero-btns { 
    width: 100%; 
    padding: 0 8px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  .hero-btns .btn-primary {
    background: var(--red);
    box-shadow: 0 4px 24px rgba(139,26,26,0.6);
  }
  .hero-btns .btn-outline {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
  }
  
  /* Navigation button in burger menu */
  .nav-links.open {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* About section button */
  .about-text .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(139,26,26,0.4);
  }
  
  /* Price card button */
  .price-card .btn-primary {
    padding: 18px;
    font-size: 16px;
    box-shadow: 0 6px 24px rgba(139,26,26,0.5);
  }
  
  /* RTK banner button */
  .rtk-banner .btn-primary {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
  }
  
  /* Contact form button enhancement */
  .contact-form .btn-primary.full {
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 6px 28px rgba(139,26,26,0.6);
    border: 2px solid rgba(255,255,255,0.1);
  }
  
  /* Navigation links in burger menu */
  .nav-links a {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 4px;
  }
  .nav-links a:active {
    background: rgba(139,26,26,0.2);
    transform: scale(0.98);
  }
  
  /* Advantage cards - clearer borders */
  .adv-card {
    border: 1.5px solid rgba(255,255,255,0.12);
    padding: 28px 24px;
  }
  
  /* Better touch feedback */
  .btn-primary:active {
    transform: scale(0.97);
  }
  .btn-outline:active {
    transform: scale(0.97);
  }
}

@media (max-width: 480px) {
  /* Extra emphasis on CTAs */
  .hero-btns .btn-primary {
    font-size: 16px;
    padding: 18px 32px;
    box-shadow: 0 6px 30px rgba(139,26,26,0.7);
  }
  
  .hero-btns .btn-outline {
    font-size: 15px;
    padding: 16px 28px;
  }
  
  /* Larger touch areas */
  .info-card {
    padding: 20px;
    border: 1.5px solid rgba(255,255,255,0.1);
  }
  
  /* Contact button super visible */
  .contact-form .btn-primary.full {
    padding: 20px;
    font-size: 18px;
    box-shadow: 0 8px 32px rgba(139,26,26,0.7);
  }
}

/* ===== MOBILE BUTTON EMPHASIS ===== */
@media (max-width: 768px) {
  /* Add pulse animation to primary buttons */
  .hero-btns .btn-primary {
    animation: mobilePulse 2s ease-in-out infinite;
  }
  
  @keyframes mobilePulse {
    0%, 100% {
      box-shadow: 0 4px 24px rgba(139,26,26,0.6);
    }
    50% {
      box-shadow: 0 4px 32px rgba(139,26,26,0.8);
    }
  }
  
  /* Visual separator between buttons */
  .hero-btns {
    gap: 16px;
  }
  
  /* Better button labels on mobile */
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  
  .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
  }
  
  /* Ripple effect on touch */
  .btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary::after, .btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .btn-primary:active::after, .btn-outline:active::after {
    width: 300px;
    height: 300px;
  }
  
  /* Section headers more visible */
  .section-label {
    font-size: 13px;
    padding: 6px 16px;
    background: rgba(139,26,26,0.15);
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
  }
  
  .section-label.light {
    background: rgba(255,128,128,0.12);
  }
}

/* ===== MOBILE NAVBAR BUTTON ===== */
@media (max-width: 768px) {
  .nav-links .btn-nav {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    margin-top: 12px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 4px 20px rgba(139,26,26,0.6);
    border-radius: 10px;
  }
  
  .nav-container .btn-nav {
    display: none !important;
  }
}


/* ===== MOBILE RESPONSIVE (TABLETS & PHONES) ===== */
@media (max-width: 768px) {
  /* Container padding */
  .container { padding: 0 20px; }
  
  /* Typography scaling */
  .hero-title { font-size: 36px !important; }
  .section-title { font-size: 28px !important; }
  .hero-sub { font-size: 16px; }
  
  /* Hero content */
  .hero-content { padding: 100px 20px 60px; }
  .hero-btns { 
    flex-direction: column; 
    gap: 12px; 
    width: 100%;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero stats */
  .hero-stats {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .stat { padding: 0; }
  .stat-divider { 
    width: 60%; 
    height: 1px; 
  }
  
  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Advantages grid */
  .adv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Specs */
  .spec-row {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .spec-name {
    grid-column: 1 / -1;
    order: -1;
  }
  .spec-bar-wrap {
    grid-column: 1 / -1;
  }
  .spec-val {
    grid-column: 1 / -1;
    text-align: left;
  }
  
  .specs-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* RTK Banner */
  .rtk-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }
  .rtk-text { align-items: center; }
  .rtk-banner .btn-primary {
    width: 100%;
  }
  
  /* Price */
  .price-card {
    padding: 32px 24px;
  }
  .amount {
    font-size: 64px;
  }
  .currency {
    font-size: 28px;
  }
  
  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Device card */
  .device-card {
    padding: 28px 20px;
  }
}

/* ===== MOBILE RESPONSIVE (PHONES ONLY) ===== */
@media (max-width: 480px) {
  /* Even smaller spacing */
  .container { padding: 0 16px; }
  
  /* Sections padding */
  .about, .advantages, .specs, .price, .contact {
    padding: 60px 0;
  }
  
  /* Hero */
  .hero-content { padding: 90px 16px 50px; }
  .hero-title { font-size: 32px !important; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-sub { font-size: 15px; }
  
  /* Buttons */
  .btn-primary, .btn-outline {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  /* Stats */
  .stat-val { font-size: 24px; }
  .stat-lbl { font-size: 11px; }
  
  /* Price */
  .amount { font-size: 56px; }
  .currency { font-size: 24px; }
  .price-card { padding: 28px 20px; }
  
  /* Advantage cards */
  .adv-card {
    padding: 24px 20px;
  }
  .adv-icon { font-size: 32px; }
  .adv-card h3 { font-size: 16px; }
  .adv-card p { font-size: 13px; }
  
  /* Info cards */
  .info-card {
    padding: 16px 18px;
  }
  .info-icon { font-size: 22px; }
  .info-val { font-size: 15px; }
  
  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 24px !important; }
  .section-label { font-size: 11px; }
}

/* ===== FIX HORIZONTAL SCROLL ===== */
* {
  max-width: 100%;
}

body {
  overflow-x: hidden;
  position: relative;
}

.hero, .about, .advantages, .specs, .price, .contact {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure no element creates horizontal scroll */
.container, .nav-container {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, canvas {
  max-width: 100%;
  height: auto;
}

/* ===== TOUCH FRIENDLY ===== */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn-primary, .btn-outline, .nav-links a, button, a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Disable hover effects on touch devices */
  .adv-card:hover,
  .spec-row:hover,
  .info-card:hover,
  .price-list li:hover {
    transform: none;
  }
  
  /* Better active states */
  .btn-primary:active,
  .btn-outline:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
}


/* ===== FIX HEADER/NAV OVERFLOW ON MOBILE ===== */

/* Base fixes for all devices */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.navbar {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.nav-container {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ===== PREMIUM MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
  /* Navbar - compact and clean */
  .navbar {
    width: 100% !important;
    max-width: 100vw;
    padding: 12px 0;
  }
  
  .nav-container {
    width: 100% !important;
    max-width: 100%;
    padding: 0 20px;
    flex-wrap: nowrap;
    gap: 16px;
  }
  
  /* Logo - elegant size */
  .logo {
    flex-shrink: 0;
  }
  
  .logo-img {
    height: 38px;
  }
  
  .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
  }
  
  /* Navigation button - hide on mobile */
  .btn-nav {
    display: none;
  }
  
  /* Burger menu - premium style */
  .burger {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 1002;
    position: relative;
  }
  
  /* Premium Full-Screen Mobile Menu */
  .nav-links {
    /* Hidden by default */
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* Full screen overlay */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    
    /* Premium glass effect */
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Layout */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 32px 60px;
    margin: 0;
    
    /* Layering - over everything */
    z-index: 1001;
    
    /* Smooth animation */
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Open state with fade-in animation */
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Menu items container */
  .nav-links li {
    width: 100%;
    max-width: 400px;
    list-style: none;
    opacity: 0;
    transform: translateY(20px);
    animation: none;
  }
  
  /* Staggered fade-in for menu items */
  .nav-links.open li {
    animation: menuItemFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .nav-links.open li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.15s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.2s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.25s; }
  .nav-links.open li:nth-child(5) { animation-delay: 0.3s; }
  
  @keyframes menuItemFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Premium menu links */
  .nav-links a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
  }
  
  /* Elegant separator between items */
  .nav-links li:not(:last-child) a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.1) 50%,
      transparent
    );
  }
  
  /* Hover/Active state */
  .nav-links a:hover,
  .nav-links a:active {
    color: #fff;
    background: rgba(139, 26, 26, 0.15);
    transform: scale(1.02);
  }
  
  .nav-links a.active {
    color: #ff8080;
    background: rgba(139, 26, 26, 0.2);
  }
  
  /* Burger icon animation to X */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /* Fix for scrolled state */
  .navbar.scrolled {
    padding: 10px 0;
  }
  
  .navbar.scrolled .nav-container {
    padding: 0 20px;
  }
}

/* ===== EXTRA SMALL PHONES ===== */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
    gap: 8px;
  }
  
  .logo-img {
    height: 32px;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .burger {
    padding: 6px;
  }
  
  .burger span {
    width: 20px;
  }
  
  .nav-links {
    top: 56px;
    padding: 16px 12px;
  }
  
  .nav-links a {
    padding: 12px 14px;
    font-size: 14px;
  }
}
