/* ==========================================================================
   Smart Car Touchscreen Landing Page - Stylesheet
   Dark Mode with Neon Red Accents (#E50914) & Full Arabic RTL Support
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Reset
   -------------------------------------------------------------------------- */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #121212;
  --bg-card-hover: #181818;
  --bg-glass: rgba(18, 18, 18, 0.75);
  
  --neon-red: #E50914;
  --neon-red-hover: #ff1f2d;
  --neon-red-glow: rgba(229, 9, 20, 0.5);
  --neon-red-soft: rgba(229, 9, 20, 0.15);
  --neon-red-border: rgba(229, 9, 20, 0.35);

  --text-white: #ffffff;
  --text-silver: #a0a5ad;
  --text-muted: #737882;
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-primary: 'Cairo', 'Tajawal', sans-serif;
  --font-tajawal: 'Tajawal', sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --border-radius-card: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  direction: rtl;
  text-align: right;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* --------------------------------------------------------------------------
   2. Background Grid & Ambient Glow Orbs
   -------------------------------------------------------------------------- */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-orb-1 {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, transparent 70%);
}

.glow-orb-2 {
  bottom: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
}

/* Scroll Progress Bar at the top */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff1f2d, var(--neon-red));
  width: 0%;
  z-index: 2000;
  box-shadow: 0 0 10px var(--neon-red);
  transition: width 0.1s ease;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. Header & Glassmorphism Sticky Navbar
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid rgba(229, 9, 20, 0.2);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(229, 9, 20, 0.3);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo .logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.5));
}

.brand-logo .logo-name {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: var(--text-silver);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-red);
  box-shadow: 0 0 8px var(--neon-red);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  padding: 0;
  background: transparent;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--neon-red-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1500;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-drawer {
  font-size: 2rem;
  line-height: 1;
  color: var(--text-silver);
  transition: var(--transition-smooth);
}

.close-drawer:hover {
  color: var(--neon-red);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: auto;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-silver);
  padding: 0.5rem 0;
  display: block;
}

.drawer-link:hover {
  color: var(--neon-red);
  padding-right: 0.5rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges (Glowing Red & Glass)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85rem 1.8rem;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #ff1f2d, var(--neon-red));
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, var(--neon-red-hover), #b8050e);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.8), 0 6px 20px rgba(0,0,0,0.5);
  color: #fff;
}

.btn-outline-glow {
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid var(--neon-red);
  color: var(--text-white);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
}

.btn-outline-glow:hover {
  background: var(--neon-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
  color: var(--text-white);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  backdrop-filter: blur(8px);
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.15rem 2.6rem;
  font-size: 1.15rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.arrow-down-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-secondary-glass:hover .arrow-down-icon {
  transform: translateY(3px);
}

/* Pulsing Red Glow Animation (WhatsApp CTA) */
.btn-pulse {
  animation: pulse-red-glow 2.4s infinite;
}

@keyframes pulse-red-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7), 0 0 18px rgba(229, 9, 20, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(229, 9, 20, 0), 0 0 28px rgba(229, 9, 20, 0.7);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0), 0 0 18px rgba(229, 9, 20, 0.4);
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ff9da1;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
  animation: blink-dot 1.5s infinite ease-in-out;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.4rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.text-neon-red {
  color: var(--neon-red);
  text-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-silver);
  margin-bottom: 2.2rem;
  line-height: 1.8;
  max-width: 580px;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--text-silver);
}

.spec-pill:hover {
  border-color: rgba(229, 9, 20, 0.4);
  background: rgba(229, 9, 20, 0.05);
}

/* Hero Visual / Screen Preview */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screen-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 1rem;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.5) 0%, rgba(10, 10, 10, 0.8) 100%);
  border-radius: 24px;
  border: 1px solid rgba(229, 9, 20, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.2);
  transition: transform 0.4s ease;
}

.hero-screen-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(229, 9, 20, 0.35);
}

.screen-frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.6), transparent 50%, rgba(229, 9, 20, 0.3));
  pointer-events: none;
  z-index: 1;
}

.screen-badge-live {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(229, 9, 20, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff9da1;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-red);
  box-shadow: 0 0 8px var(--neon-red);
}

.hero-product-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

/* Floating feature badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(229, 9, 20, 0.2);
  z-index: 6;
  animation: float-badge 4s infinite ease-in-out;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}

.badge-bottom-left {
  bottom: -15px;
  left: -15px;
  animation-delay: -2s;
}

.floating-icon {
  font-size: 1.4rem;
}

.floating-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-white);
}

.floating-text small {
  font-size: 0.72rem;
  color: var(--text-silver);
}

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

/* --------------------------------------------------------------------------
   6. Interactive Product Showcase Section (Crucial Feature)
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0e0e0e 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '—';
  margin: 0 0.5rem;
  opacity: 0.6;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-silver);
  line-height: 1.7;
}

/* View switcher buttons */
.showcase-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-silver);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.view-btn svg {
  width: 18px;
  height: 18px;
}

.view-btn:hover {
  color: var(--text-white);
  background: rgba(229, 9, 20, 0.1);
  border-color: rgba(229, 9, 20, 0.4);
}

.view-btn.active {
  background: var(--neon-red);
  color: var(--text-white);
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

/* 3D Showcase Viewport */
.showcase-viewport {
  perspective: 1600px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  cursor: grab;
}

.showcase-viewport:active {
  cursor: grabbing;
}

.product-3d-card {
  position: relative;
  width: 100%;
  aspect-ratio: 840 / 380;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotateY(0deg);
}

.product-3d-card.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  background: radial-gradient(ellipse at center, rgba(35, 35, 35, 0.7) 0%, rgba(12, 12, 12, 0.95) 100%);
  border: 1px solid var(--neon-red-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(229, 9, 20, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-face.face-back {
  transform: rotateY(180deg);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.8));
  user-select: none;
  pointer-events: none;
}

.product-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%, rgba(229, 9, 20, 0.08) 70%, transparent 100%);
  pointer-events: none;
  border-radius: 20px;
}

/* Hotspot Interactive Pins */
.hotspot-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(50%, -50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.4);
  animation: pulse-ring 2s infinite ease-out;
}

.hotspot-core {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neon-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--neon-red);
  transition: transform 0.25s ease;
}

.hotspot-pin:hover .hotspot-core {
  transform: scale(1.2);
  background: #ff2a38;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Dynamic Tooltip Box */
.hotspot-tooltip-box {
  margin: 1.5rem auto 0;
  max-width: 650px;
  padding: 0.8rem 1.4rem;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--neon-red-border);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 9, 20, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.tooltip-icon {
  font-size: 1.2rem;
}

.showcase-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. Quick Specs Stats Banner
   -------------------------------------------------------------------------- */
.quick-banner-section {
  padding: 2.5rem 0;
  background: #0e0e0e;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.quick-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.quick-stat-card {
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.quick-stat-card:hover {
  border-color: rgba(229, 9, 20, 0.4);
  background: rgba(229, 9, 20, 0.04);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--neon-red);
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
  margin-bottom: 0.3rem;
  direction: ltr;
  display: inline-block;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-silver);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Product Features & Specifications (All 12 Features Grid)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 5.5rem 0;
  position: relative;
}

.features-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-silver);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-white);
  border-color: rgba(229, 9, 20, 0.4);
}

.tab-btn.active {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--neon-red);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.35);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.8rem;
}

/* Feature Cards with Red Neon Glow on Hover */
.feature-card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.85) 0%, rgba(14, 14, 14, 0.95) 100%);
  border-radius: var(--border-radius-card);
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-glow-border {
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-card);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(229, 9, 20, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.85);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.45), 0 15px 35px rgba(0, 0, 0, 0.7);
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.9) 0%, rgba(18, 18, 18, 0.98) 100%);
}

.feature-card:hover .card-glow-border {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-red);
  transition: var(--transition-smooth);
}

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

.feature-card:hover .feature-icon-box {
  background: var(--neon-red);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.7);
  transform: scale(1.08);
}

.feature-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  font-family: monospace;
}

.feature-card:hover .feature-number {
  color: rgba(229, 9, 20, 0.5);
}

.feature-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.feature-text {
  font-size: 0.96rem;
  color: var(--text-silver);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-tag {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-silver);
}

.feature-card:hover .feature-tag {
  color: #ff9da1;
  border-color: rgba(229, 9, 20, 0.35);
  background: rgba(229, 9, 20, 0.08);
}

/* --------------------------------------------------------------------------
   9. Steps / Installation Section
   -------------------------------------------------------------------------- */
.steps-section {
  padding: 5.5rem 0;
  background: #0d0d0d;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.step-badge {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--neon-red);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--neon-red);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-silver);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5.5rem 0;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.25);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--neon-red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.6rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
  color: var(--text-silver);
  font-size: 0.96rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   11. Call to Action Banner Section
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 4.5rem 0;
}

.cta-banner-box {
  position: relative;
  background: radial-gradient(circle at center, rgba(35, 35, 35, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
  border-radius: 24px;
  border: 1px solid var(--neon-red-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 9, 20, 0.3);
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-glow-effect {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-silver);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.footer-about {
  color: var(--text-silver);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 380px;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--neon-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-silver);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--neon-red);
  padding-right: 0.4rem;
}

.contact-desc {
  color: var(--text-silver);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.contact-phone-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
}

.phone-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.phone-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--neon-red);
  letter-spacing: 0.5px;
}

.footer-bottom {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.made-with {
  color: var(--text-silver);
}

/* --------------------------------------------------------------------------
   13. Floating WhatsApp Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1200;
}

.whatsapp-float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff1f2d, var(--neon-red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.7);
  transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--neon-red);
  animation: pulse-ring-anim 2s infinite ease-out;
}

@keyframes pulse-ring-anim {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 18, 18, 0.95);
  color: var(--text-white);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--neon-red-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.whatsapp-float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* --------------------------------------------------------------------------
   14. Scroll-Driven Animations ([data-reveal])
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  transform: translateY(35px);
}

[data-reveal="fade-left"] {
  transform: translateX(-35px);
}

[data-reveal="fade-right"] {
  transform: translateX(35px);
}

[data-reveal="zoom-in"] {
  transform: scale(0.92);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* --------------------------------------------------------------------------
   15. Comprehensive Multi-Device Responsive Design
   Optimized for: Compact Mobile (320-375px), Standard Mobile (376-480px),
   Phablets/Small Tablets (481-768px), Tablets (769-1024px), Desktops (1025-1440px),
   and Large 4K Displays (>1440px).
   -------------------------------------------------------------------------- */

/* Safe area support for iOS and modern notch devices */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .header {
    padding-top: env(safe-area-inset-top);
  }
  .footer-bottom {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .floating-whatsapp-widget {
    bottom: max(25px, env(safe-area-inset-bottom) + 12px);
    left: max(25px, env(safe-area-inset-left) + 12px);
  }
}

/* Large Screens & 4K (> 1440px) */
@media (min-width: 1441px) {
  .container {
    max-width: 1360px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .showcase-viewport {
    max-width: 900px;
  }
}

/* Desktops & Small Laptops (1025px - 1280px) */
@media (max-width: 1280px) {
  .hero-container {
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .features-grid {
    gap: 1.4rem;
  }
}

/* Standard Tablets & Small Screens (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-specs-row {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .footer-container {
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
  }

  .footer-col.contact-col {
    grid-column: span 2;
  }
}

/* Small Tablets & Phablets (481px - 768px) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.82rem;
  }

  .section-desc {
    font-size: 0.98rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 2rem;
  }

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

  .quick-stat-card:last-child {
    grid-column: span 2;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-col.brand-col,
  .footer-col.contact-col {
    grid-column: span 1;
  }

  /* Make floating badges friendly for tablets */
  .floating-badge {
    padding: 0.5rem 0.8rem;
  }
  .floating-icon {
    font-size: 1.1rem;
  }
  .floating-text strong {
    font-size: 0.78rem;
  }
  .floating-text small {
    font-size: 0.68rem;
  }

  .cta-banner-box {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

/* Standard Mobile Devices (376px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  .nav-container {
    padding: 0.75rem 1.1rem;
  }

  .brand-logo .logo-icon {
    width: 38px;
    height: 38px;
  }

  .brand-logo .logo-name {
    height: 26px;
  }

  .nav-actions .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -0.3px;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-specs-row {
    gap: 0.5rem;
  }

  .spec-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }

  /* Keep hero visual compact on mobile */
  .hero-screen-wrap {
    padding: 0.75rem;
    border-radius: 18px;
  }

  .floating-badge {
    position: static;
    margin: 0.6rem 0;
    width: 100%;
    justify-content: center;
    animation: none;
  }

  /* 3D Showcase on Mobile */
  .showcase-section {
    padding: 3.5rem 0;
  }

  .showcase-controls {
    gap: 0.5rem;
  }

  .view-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .view-btn svg {
    width: 15px;
    height: 15px;
  }

  .product-3d-card {
    border-radius: 16px;
  }

  .card-face {
    border-radius: 16px;
    padding: 0.5rem;
  }

  .hotspot-pin {
    width: 24px;
    height: 24px;
  }

  .hotspot-core {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .hotspot-tooltip-box {
    font-size: 0.84rem;
    padding: 0.65rem 1rem;
    text-align: center;
  }

  /* Features Grid Single Column */
  .features-section {
    padding: 3.5rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .feature-card {
    padding: 1.5rem 1.3rem;
  }

  .feature-title {
    font-size: 1.12rem;
  }

  .feature-text {
    font-size: 0.92rem;
  }

  .features-tabs {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .tab-btn {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }

  /* Steps Section */
  .steps-section {
    padding: 3.5rem 0;
  }

  .step-card {
    padding: 2rem 1.4rem;
  }

  /* FAQ Accordion */
  .faq-section {
    padding: 3.5rem 0;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }

  /* CTA Banner */
  .cta-banner-section {
    padding: 3rem 0;
  }

  .cta-banner-box {
    padding: 2.5rem 1.2rem;
    border-radius: 18px;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  /* Footer */
  .footer {
    padding-top: 3.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-whatsapp-widget {
    bottom: max(16px, env(safe-area-inset-bottom) + 8px);
    left: max(16px, env(safe-area-inset-left) + 8px);
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
  }

  .float-icon {
    width: 28px;
    height: 28px;
  }
}

/* Compact Mobile Devices (<= 360px: iPhone SE, Galaxy Mini) */
@media (max-width: 360px) {
  .nav-actions .btn-sm span {
    display: none;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .view-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
  }

  .stat-number {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }
}

/* Touch screen improvements (disable hover lock) */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover {
    transform: none;
  }
  .feature-card:active {
    transform: scale(0.99);
  }
}
