/* =====================================================
   M Vision — Premium AV & LED Solutions
   Dark Luxury Theme | Version 1.0
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #f0a500;
  --gold-light: #ffd166;
  --gold-dark: #c07800;
  --orange: #ff6b00;
  --purple: #8b00ff;
  --cyan: #00d4ff;
  --green: #00e5a0;

  --bg-darkest: #050508;
  --bg-dark: #080b12;
  --bg-card: #0d1117;
  --bg-card2: #111520;
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(240,165,0,0.3);

  --text-primary: #f0f0f0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --gradient-primary: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  --gradient-hero: linear-gradient(135deg, var(--orange) 0%, var(--purple) 60%, var(--cyan) 100%);
  --gradient-text: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(240,165,0,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-deep: 0 24px 60px rgba(0,0,0,0.6);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }
select, input, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-darkest);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 6px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.preloader-logo span { color: var(--gold); }

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-fill {
  height: 100%;
  background: var(--gradient-primary);
  animation: preload 1.8s ease forwards;
}

@keyframes preload {
  from { width: 0; }
  to { width: 100%; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(240,165,0,0.5);
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-outline.hovered {
  width: 60px;
  height: 60px;
  border-color: var(--gold);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-eyebrow::before { display: none; }

.section-header .section-desc { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(240,165,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,165,0,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(5,5,8,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text-primary);
}

.nav-logo span { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 10px 24px;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(240,165,0,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: -100px;
  left: -100px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  animation: particle-rise linear infinite;
  opacity: 0;
}

@keyframes particle-rise {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.25);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.brand-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.brand-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

.hero-scroll span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ===== STATS ===== */
#stats {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.stat-card:last-child { border-right: none; }

.stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  gap: 2px;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-suffix {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--gold);
  display: inline-block;
  padding-top: 4px;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== ABOUT ===== */
#about {
  background: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  height: 100%;
  padding: 16px;
}

.ab {
  border-radius: 8px;
  animation: ab-pulse 3s ease-in-out infinite;
}

.ab-1 { background: linear-gradient(135deg, #ff6b00, #ff9500); animation-delay: 0s; }
.ab-2 { background: linear-gradient(135deg, #8b00ff, #c060ff); animation-delay: 0.3s; }
.ab-3 { background: linear-gradient(135deg, #00d4ff, #0090c0); animation-delay: 0.6s; }
.ab-4 { background: linear-gradient(135deg, #f0a500, #ffd166); animation-delay: 0.9s; }
.ab-5 { background: linear-gradient(135deg, #00e5a0, #00b070); animation-delay: 1.2s; }
.ab-6 { background: linear-gradient(135deg, #f43f5e, #c00035); animation-delay: 1.5s; }

@keyframes ab-pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.about-tag-1, .about-tag-2 {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  padding: 8px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: var(--shadow-card);
  color: var(--gold);
}

.about-tag-1 { top: -16px; right: 20px; }
.about-tag-2 { bottom: -16px; left: 20px; }

.about-content { }

.about-desc {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-desc strong { color: var(--text-primary); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== SOUND SECTION ===== */
#sound {
  background: var(--bg-darkest);
  overflow: hidden;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(240,165,0,0.04) 0%, transparent 60%),
                    radial-gradient(circle at 80% 50%, rgba(139,0,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.sound-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.sound-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.sound-card:hover {
  border-color: rgba(240,165,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.sound-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--bg-card2);
}

.sound-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.5s ease;
}

.sound-card:hover .sound-card-img img {
  transform: scale(1.05);
}

.sound-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(8,11,18,0.8) 0%, transparent 60%);
}

.sound-viz {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.viz-bar {
  width: 6px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
  height: var(--h);
  animation: viz-anim 1.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--h) * 0.01s);
}

.la-bar { background: var(--cyan); }

@keyframes viz-anim {
  from { height: 20%; }
  to { height: var(--h); }
}

.sound-card-body {
  padding: 28px;
}

.sound-brand-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jbl-badge {
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold);
}

.la-badge {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan);
}

.sound-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sound-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sound-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.sound-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  background: var(--bg-card2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.spec-item { display: flex; flex-direction: column; gap: 2px; }

.spec-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.sound-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sound-features-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.sound-features-list i { color: var(--gold); }

/* Sound Addons */
.sound-addons {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.addons-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.addons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.addon-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.addon-chip i { color: var(--gold); }

.addon-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240,165,0,0.08);
}

/* ===== LED SECTION ===== */
#led {
  background: var(--bg-dark);
}

/* LED Tabs */
.led-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.led-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.led-tab:hover {
  border-color: rgba(240,165,0,0.4);
  color: var(--text-primary);
}

.led-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(240,165,0,0.3);
}

/* LED Panels */
.led-panels { margin-bottom: 60px; }

.led-panel {
  display: none;
  animation: fadeInPanel 0.4s ease;
}

.led-panel.active { display: block; }

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LED Feature Card */
.led-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 480px;
}

.led-feature-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.led-feature-icon { margin-bottom: 20px; }

.icon-hexagon {
  width: 56px;
  height: 56px;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
}

.icon-sphere { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.3); color: #a855f7; }
.icon-touch { background: rgba(6,182,212,0.15); border-color: rgba(6,182,212,0.3); color: #06b6d4; }
.icon-transparent { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.3); color: #10b981; }
.icon-curved { background: rgba(244,63,94,0.15); border-color: rgba(244,63,94,0.3); color: #f43f5e; }
.icon-outdoor { background: rgba(234,179,8,0.15); border-color: rgba(234,179,8,0.3); color: #eab308; }

.led-product-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-kinetic { background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3); color: var(--orange); }
.badge-sphere { background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.3); color: #a855f7; }
.badge-touch { background: rgba(6,182,212,0.15); border: 1px solid rgba(6,182,212,0.3); color: #06b6d4; }
.badge-transparent { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10b981; }
.badge-curved { background: rgba(244,63,94,0.15); border: 1px solid rgba(244,63,94,0.3); color: #f43f5e; }
.badge-outdoor { background: rgba(234,179,8,0.15); border: 1px solid rgba(234,179,8,0.3); color: #eab308; }

.led-feature-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.led-feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.led-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.led-spec { text-align: center; }

.ls-val {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.ls-lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.led-highlights { display: flex; flex-direction: column; gap: 8px; }

.lh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.lh-item i { color: var(--gold); font-size: 12px; }

/* LED Feature Visual */
.led-feature-visual {
  background: var(--bg-card2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.kinetic-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Kinetic Grid Animation */
.kinetic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  width: 260px;
  height: 240px;
  perspective: 400px;
}

.kg-block {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 4px;
  animation: kinetic-move var(--d) ease-in-out infinite alternate;
  transform: translateZ(0);
  box-shadow: 0 0 10px rgba(255,107,0,0.3);
}

@keyframes kinetic-move {
  from { transform: translateZ(0); opacity: 0.6; }
  to { transform: translateZ(var(--depth)); opacity: 1; box-shadow: 0 0 20px rgba(255,107,0,0.6); }
}

/* Sphere Animation */
    .sphere-visual { background: radial-gradient(circle at center, rgba(168,85,247,0.1) 0%, transparent 60%); }

.sphere-3d {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sphere-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(168,85,247,0.5);
  animation: sphere-spin 4s linear infinite;
}

.r1 { width: 200px; height: 200px; border-color: rgba(168,85,247,0.6); animation-duration: 4s; }
.r2 { width: 160px; height: 160px; border-color: rgba(168,85,247,0.5); animation-duration: 3s; animation-direction: reverse; }
.r3 { width: 120px; height: 120px; border-color: rgba(240,165,0,0.4); animation-duration: 2.5s; transform: rotateX(60deg); }
.r4 { width: 80px; height: 80px; border-color: rgba(0,212,255,0.4); animation-duration: 2s; transform: rotateY(60deg); }
.r5 { width: 40px; height: 40px; border-color: rgba(168,85,247,0.3); animation-duration: 1.5s; }

.sphere-core {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(168,85,247,0.8) 0%, rgba(168,85,247,0.2) 70%, transparent 100%);
  border-radius: 50%;
  animation: sphere-pulse 2s ease-in-out infinite;
}

.sphere-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
}

@keyframes sphere-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sphere-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Touch Visual */
.touch-visual { background: radial-gradient(circle at center, rgba(6,182,212,0.08) 0%, transparent 60%); }

.touch-demo { position: relative; }

.touch-screen-frame {
  width: 220px;
  height: 180px;
  background: var(--bg-card);
  border: 2px solid rgba(6,182,212,0.4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.touch-ripple {
  position: absolute;
  border: 2px solid rgba(6,182,212,0.6);
  border-radius: 50%;
  animation: touch-expand 2s ease-out infinite;
}

.tr-1 { width: 20px; height: 20px; top: 40%; left: 30%; animation-delay: 0s; }
.tr-2 { width: 20px; height: 20px; top: 60%; left: 65%; animation-delay: 0.8s; }
.tr-3 { width: 20px; height: 20px; top: 25%; left: 60%; animation-delay: 1.5s; }

@keyframes touch-expand {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(4); opacity: 0; }
}

.touch-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  width: 100%;
}

.tc-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.tc-line.short { width: 60%; }

.tc-btn {
  width: 80px;
  height: 28px;
  background: rgba(6,182,212,0.3);
  border: 1px solid rgba(6,182,212,0.5);
  border-radius: 14px;
}

.touch-cursor {
  position: absolute;
  color: var(--cyan);
  font-size: 18px;
  animation: cursor-move 3s ease-in-out infinite;
}

.tc-1 { top: 35%; left: 25%; animation-delay: 0s; }
.tc-2 { top: 55%; left: 60%; animation-delay: 1.5s; }

@keyframes cursor-move {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  30%, 70% { opacity: 1; transform: scale(1); }
}

/* Transparent Visual */
.transparent-visual { background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, transparent 60%); }

.trans-frame {
  width: 220px;
  height: 180px;
  position: relative;
}

.trans-glass {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(16,185,129,0.4);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: rgba(16,185,129,0.03);
  backdrop-filter: blur(2px);
}

.trans-behind {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.tb-shape {
  border-radius: 4px;
  opacity: 0.3;
}

.s1 { width: 40px; height: 60px; background: #10b981; }
.s2 { width: 30px; height: 80px; background: #06b6d4; }
.s3 { width: 50px; height: 40px; background: #a855f7; }

.trans-content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.trans-pixel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 12px;
  height: 100%;
}

.trans-pixel-grid span {
  background: rgba(16,185,129,0.6);
  border-radius: 2px;
  animation: pixel-flash 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

.trans-pixel-grid span:nth-child(3n) {
  background: transparent;
  border: 1px solid rgba(16,185,129,0.2);
}

@keyframes pixel-flash {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Curved Visual */
.curved-visual { background: radial-gradient(circle at center, rgba(244,63,94,0.08) 0%, transparent 60%); }

.curved-demo {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curve-arc {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: curve-glow 2s ease-in-out infinite alternate;
}

.ca-1 { width: 200px; height: 100px; border-top: 2px solid rgba(244,63,94,0.7); top: 50px; animation-delay: 0s; }
.ca-2 { width: 160px; height: 80px; border-top: 2px solid rgba(244,63,94,0.5); top: 60px; animation-delay: 0.3s; }
.ca-3 { width: 120px; height: 60px; border-top: 2px solid rgba(240,165,0,0.5); top: 70px; animation-delay: 0.6s; }
.ca-4 { width: 80px; height: 40px; border-top: 2px solid rgba(0,212,255,0.5); top: 80px; animation-delay: 0.9s; }

.curve-center {
  width: 20px;
  height: 20px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(244,63,94,0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: sphere-pulse 2s ease-in-out infinite;
}

@keyframes curve-glow {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* Outdoor Visual */
.outdoor-visual { background: radial-gradient(circle at center top, rgba(234,179,8,0.1) 0%, transparent 60%); }

.outdoor-demo {
  position: relative;
  width: 220px;
  height: 200px;
}

.od-screen {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 120px;
  background: linear-gradient(135deg, rgba(234,179,8,0.3), rgba(255,107,0,0.3));
  border: 2px solid rgba(234,179,8,0.5);
  border-radius: 4px;
  animation: od-pulse 2s ease-in-out infinite;
}

.od-truss {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.od-leg {
  position: absolute;
  bottom: 20px;
  width: 8px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.od-leg-l { left: 35px; }
.od-leg-r { right: 35px; }

.od-ground {
  position: absolute;
  bottom: 18px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.od-sun {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: rgba(234,179,8,0.8);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(234,179,8,0.5);
  animation: sphere-pulse 3s ease-in-out infinite;
}

@keyframes od-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(234,179,8,0.2); }
  50% { box-shadow: 0 0 40px rgba(234,179,8,0.4); }
}

/* LED Mini Grid */
.led-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  text-align: center;
}

.mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--c, var(--gold));
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.mini-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  margin: 0 auto 16px;
}

.mini-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Outdoor Visual */
:root {
  --neon-blue: #00f2ff;
  --dark-chassis: #020b14;
  --width: 160px;
  --depth: 30px; /* This gives it the "Heavy" look */
}

.kinetic-totem-demo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  perspective: 1500px;
  width: var(--width);
  margin: 50px auto;
}

.kt-segment {
  height: 45px;
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  /* MECHANICAL TIMING: Heavy acceleration for smoothness */
  animation: fullRotation360 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: var(--delay);
  will-change: transform;
}

.kt-face {
  position: absolute;
  width: 100%;
  height: 100%;
  /* CRITICAL: Must be visible to see the 360 turn */
  backface-visibility: visible; 
  border: 1px solid rgba(0, 242, 255, 0.2);
}

/* FRONT: Neon LED Screen */
.kt-front {
  background: linear-gradient(135deg, #011a27, var(--neon-blue));
  transform: translateZ(calc(var(--depth) / 2));
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4), inset 0 0 10px rgba(0,0,0,0.5);
}

/* BACK: The Hardware Chassis (Visible at 180 deg) */
.kt-back {
  background: var(--dark-chassis);
  transform: rotateY(180deg) translateZ(calc(var(--depth) / 2));
  border: 1px solid var(--neon-blue);
}

/* SIDES: The Machined Metal (Visible at 90 and 270 deg) */
.kt-side-l, .kt-side-r {
  width: var(--depth);
  background: #050505;
  left: 50%;
  margin-left: calc(var(--depth) / -2);
}

.kt-side-l { transform: rotateY(-90deg) translateZ(calc(var(--width) / 2)); }
.kt-side-r { transform: rotateY(90deg) translateZ(calc(var(--width) / 2)); }

@keyframes fullRotation360 {
  0%   { transform: rotateY(0deg); }
  15%  { transform: rotateY(0deg); } /* Presentation Pause */
  100% { transform: rotateY(360deg); }
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: var(--bg-darkest);
  overflow: hidden;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(240,165,0,0.06) 0%, transparent 60%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-card:hover { transform: scale(1.02); }
.portfolio-card:hover .pc-overlay { opacity: 1; }

.pc-large {
  grid-column: span 2;
  height: 300px;
}

.pc-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-abstract {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.pa-1 { width: 300px; height: 300px; background: rgba(255,255,255,0.1); top: -50px; right: -50px; }
.pa-2 { width: 200px; height: 200px; background: rgba(255,255,255,0.1); bottom: -30px; left: -30px; }
.pa-3 { width: 250px; height: 250px; background: rgba(255,255,255,0.1); top: -80px; left: 50%; }
.pa-4 { width: 180px; height: 180px; background: rgba(255,255,255,0.1); top: -50px; right: -30px; }
.pa-5 { width: 220px; height: 220px; background: rgba(255,255,255,0.1); bottom: -60px; right: -60px; }

.pc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.pc-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}

.pc-overlay h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pc-overlay p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-track-wrapper { position: relative; overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex-shrink: 0;
  transition: var(--transition);
}

.testi-card:hover {
  border-color: rgba(240,165,0,0.2);
  transform: translateY(-4px);
}

.testi-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testi-author span {
  font-size: 12px;
  color: var(--text-muted);
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.testi-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.testi-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--bg-dark);
  overflow: hidden;
}


.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-glow-1, .contact-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.contact-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
}

.contact-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--purple);
  bottom: -50px;
  left: -50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.cd-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cd-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.cd-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.cd-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.cd-value:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: var(--bg-card2);
  color: var(--text-primary);
}

.form-group textarea { resize: vertical; }

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}

.checkbox-item:hover { color: var(--text-primary); }

.checkbox-item input[type="checkbox"] {
    appearance: checkbox;
    -webkit-appearance: black;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: var(--bg-card2);
  cursor: pointer;
  accent-color: var(--gold);
  padding: 0;
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.active { display: block; }

.form-success i {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.form-success h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-success p { color: var(--text-secondary); }

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--gold); }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.fbadge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links h5 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(240,165,0,0.4);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover { transform: translateY(-4px); }

/* ===== AOS OVERRIDE ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===== RESPONSIVE ===== */

/* --- GLOBAL RESPONSIVE SAFETY (Add this if not already there) --- */
html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* --- TABLET (1024px) --- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    display: none;
  }

  .sound-grid {
    grid-template-columns: 1fr;
  }

  .led-feature-card {
    grid-template-columns: 1fr;
  }

  .led-feature-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 200px;
  }

  .led-specs-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .led-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pc-large {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .testi-card {
    min-width: calc(50% - 12px);
  }
}

/* --- MOBILE (768px) --- */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  /* Navigation Menu Fix */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    /* Ensure it stays a flexbox */
  }

  .nav-menu.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  /* Hero Section Fixes */
  .hero-title {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: 1.1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Grid Fixes */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .led-specs-row,
  .led-mini-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .pc-large {
    grid-column: span 1;
    height: 240px;
  }

  .testi-card {
    min-width: 100%;
  }

  .form-row,
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  /* Clean up UI for touch */
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
}

/* --- SMALL MOBILE (480px) --- */
@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  /* Force single column for everything here */
  .led-mini-grid,
  .led-specs-row {
    grid-template-columns: 1fr !important;
  }

    /* --- Add this inside your 768px Media Query --- */
  
    .testimonials-container {
      display: flex;
      flex-direction: column;
      /* Stacks reviews vertically on mobile */
      align-items: center;
      gap: 24px;
      width: 100%;
      padding: 0 10px;
    }
  
    .testi-card {
      width: 100% !important;
      /* Forces card to fill screen width */
      min-width: 100% !important;
      margin: 0;
      padding: 24px;
      box-sizing: border-box;
      /* Ensures padding doesn't add to width */
    }
  
    /* If you have a slider or "wrapper" around the cards */
    .testi-wrapper {
      display: block;
      /* Disables horizontal sliding on mobile for easier reading */
      width: 100%;
    }
}