/* ===================================================
   TESLA LED - Официјална Веб Страна
   Дизајн: Темна тема со LED glow ефекти
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:      #0d1b6e;
  --dark-navy: #070e3d;
  --red:       #e31837;
  --green:     #00a651;
  --blue:      #0071ce;
  --yellow:    #f5c218;
  --white:     #ffffff;
  --light:     #e8eaf6;
  --dark-bg:   #050810;
  --card-bg:   #0a1240;
  --section-bg:#0c1550;
  --text-muted:#8892b0;
  --glow-blue: 0 0 10px #0071ce, 0 0 20px #0071ce, 0 0 40px #0071ce;
  --glow-red:  0 0 10px #e31837, 0 0 20px #e31837;
  --glow-yellow:0 0 10px #f5c218, 0 0 20px #f5c218;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background-color: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* Prevent horizontal overflow */
body, html {
  overflow-x: hidden;
}

/* Touch-friendly tap targets */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* Smooth scroll on iOS */
* {
  -webkit-overflow-scrolling: touch;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================================================
   KEYFRAME ANIMATIONS
   =================================================== */

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 5px var(--blue), 0 0 15px var(--blue), 0 0 30px var(--blue); }
  50%       { text-shadow: 0 0 10px var(--blue), 0 0 30px var(--blue), 0 0 60px var(--blue); }
}

@keyframes glow-border {
  0%, 100% { box-shadow: 0 0 5px var(--blue), 0 0 10px var(--blue), inset 0 0 5px rgba(0,113,206,0.1); }
  50%       { box-shadow: 0 0 15px var(--blue), 0 0 30px var(--blue), inset 0 0 15px rgba(0,113,206,0.2); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink-cursor {
  0%, 100% { border-right-color: var(--yellow); }
  50%       { border-right-color: transparent; }
}

@keyframes pulse-btn {
  0%   { box-shadow: 0 0 0 0 rgba(245, 194, 24, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(245, 194, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 194, 24, 0); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slide-bg {
  0%   { opacity: 1; }
  18%  { opacity: 1; }
  25%  { opacity: 0; }
  93%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes rgb-shift {
  0%   { color: var(--red); }
  33%  { color: var(--green); }
  66%  { color: var(--blue); }
  100% { color: var(--red); }
}

@keyframes scanline {
  0%   { top: -10%; }
  100% { top: 110%; }
}

@keyframes counter-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

@keyframes nav-glow {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

@keyframes particle-float {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
  25%  { transform: translateY(-30px) translateX(10px) scale(1.2); opacity: 1; }
  50%  { transform: translateY(-15px) translateX(-10px) scale(0.9); opacity: 0.6; }
  75%  { transform: translateY(-40px) translateX(5px) scale(1.1); opacity: 0.9; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
}

/* ===================================================
   SCROLL REVEAL
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===================================================
   NAVIGATION
   =================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 14px 0;
  background: rgba(5, 8, 16, 0.0);
  backdrop-filter: blur(0px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 113, 206, 0.3);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,113,206,0.15);
}

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

.nav-logo img {
  height: 44px;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(0,113,206,0.5));
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 15px rgba(0,113,206,0.9));
  transform: scale(1.05);
}

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

.nav-links a {
  color: var(--light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--yellow);
  background: rgba(245,194,24,0.08);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue)) !important;
  border: 1px solid var(--blue) !important;
  color: white !important;
  animation: glow-border 3s infinite;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue), #00c3ff) !important;
  transform: translateY(-1px);
  box-shadow: var(--glow-blue) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
  z-index: 1000;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

.hamburger:hover,
.hamburger.active {
  background: rgba(0,113,206,0.12);
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.35s ease, opacity 0.2s ease, background 0.2s ease;
  border-radius: 2px;
}

.hamburger.active span { background: var(--yellow); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO SECTION
   =================================================== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,8,16,0.85) 0%,
    rgba(7,14,61,0.75) 50%,
    rgba(5,8,16,0.9) 100%
  );
  z-index: 2;
}

/* Scanline effect */
.hero-scanline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,113,206,0.5), transparent);
  z-index: 3;
  animation: scanline 4s linear infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,113,206,0.15);
  border: 1px solid rgba(0,113,206,0.5);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: glow-border 3s infinite, fadeInUp 0.8s ease both;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-title .line1 {
  display: block;
  color: var(--white);
}

.hero-title .line2 {
  display: block;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow-pulse 3s infinite;
  filter: brightness(1.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--light);
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.1s ease 0.6s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #e6a800);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 38px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse-btn 2.5s infinite, float 4s ease-in-out infinite;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(245,194,24,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 35px rgba(245,194,24,0.55);
  background: linear-gradient(135deg, #ffe040, var(--yellow));
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 38px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,113,206,0.1);
  box-shadow: var(--glow-blue);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--blue);
  border-radius: 3px;
  animation: float 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px var(--blue);
}

/* ===================================================
   SECTION COMMONS
   =================================================== */
section {
  padding: 90px 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 16px;
  border: 1px solid rgba(0,113,206,0.4);
  border-radius: 50px;
  background: rgba(0,113,206,0.08);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(90deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  margin: 0 auto 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--blue);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===================================================
   PRODUCTS OVERVIEW CARDS
   =================================================== */
#proizvodi {
  background: var(--dark-bg);
  position: relative;
}

#proizvodi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent);
}

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

.product-card {
  background: var(--card-bg);
  border: 1px solid rgba(0,113,206,0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,113,206,0.05), rgba(0,166,81,0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 16px;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(0,113,206,0.25), 0 0 0 1px rgba(0,113,206,0.3);
}

.product-card:hover::before {
  opacity: 1;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.1);
}

.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(10,18,64,0.95));
}

.card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: rgba(0,113,206,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 12px rgba(0,113,206,0.5);
  z-index: 2;
  transition: var(--transition);
}

.card-icon i {
  font-size: 1rem;
  color: #fff;
  line-height: 1;
}

.product-card:hover .card-icon {
  background: rgba(0,113,206,0.95);
  box-shadow: 0 0 20px rgba(0,113,206,0.7);
  transform: scale(1.1) rotate(5deg);
}

.card-body {
  padding: 22px 24px 26px;
  position: relative;
  z-index: 1;
}

.card-body h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
  transition: color 0.3s ease;
}

.product-card:hover .card-body h3 {
  color: var(--yellow);
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.product-card:hover .card-link {
  color: var(--yellow);
  gap: 10px;
}

.product-card:hover .card-link::after {
  transform: translateX(4px);
}

/* ===================================================
   PRODUCT DETAIL SECTIONS
   =================================================== */
.product-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Alternating subtle backgrounds */
.product-section:nth-child(odd) {
  background: var(--dark-bg);
}
.product-section:nth-child(even) {
  background: #070d2e;
}

/* Top accent line */
.product-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,113,206,0.5) 40%, rgba(0,166,81,0.4) 60%, transparent 100%);
}

/* Subtle dot-grid background texture */
.product-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,113,206,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.product-section .container {
  position: relative;
  z-index: 1;
}

/* Two-column layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.product-layout.reverse {
  direction: rtl;
}
.product-layout.reverse > * {
  direction: ltr;
}

/* ── GLASS CONTENT CARD ── */
.product-text {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

/* Accent corner glow */
.product-text::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,113,206,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.product-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
  color: var(--white);
}

.product-text h2 span {
  background: linear-gradient(90deg, var(--yellow), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-text .lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── FEATURE LIST — card rows ── */
.feature-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--light);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.feature-list li:hover {
  background: rgba(0,113,206,0.08);
  border-color: rgba(0,113,206,0.25);
  transform: translateX(4px);
}

.feature-list li strong {
  color: var(--white);
  font-weight: 700;
}

.feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, #0d1b6e, var(--blue));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,113,206,0.35);
  transition: var(--transition);
}

.feature-icon i {
  font-size: 0.8rem;
  color: #fff;
}

.feature-list li:hover .feature-icon {
  background: linear-gradient(135deg, var(--blue), #00c3ff);
  box-shadow: 0 4px 16px rgba(0,113,206,0.55);
}

/* ── SPECS TABLE ── */
.table-wrap {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
}

.specs-table,
.lighting-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.specs-table th,
.lighting-table th {
  background: rgba(0,113,206,0.18);
  color: var(--blue);
  padding: 11px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,113,206,0.25);
}

.specs-table td,
.lighting-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--light);
  vertical-align: top;
}

.specs-table td:first-child,
.lighting-table td:first-child {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.specs-table tr:last-child td,
.lighting-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td,
.lighting-table tr:hover td {
  background: rgba(0,113,206,0.07);
}

/* ── APPLICATION CHIPS ── */
.applications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--light);
  font-size: 0.77rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.app-chip:hover {
  background: rgba(0,113,206,0.15);
  border-color: rgba(0,113,206,0.45);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ===================================================
   IMAGE GALLERY / CAROUSEL
   =================================================== */
.gallery-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,113,206,0.2);
}

.gallery-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--red), var(--blue));
  border-radius: 18px;
  z-index: -1;
  opacity: 0.4;
  animation: spin-slow 8s linear infinite;
  background-size: 300% 300%;
}

.carousel {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dark-navy);
  border-radius: 14px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,113,206,0.6);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
  transform: scale(1.3);
}

/* ===================================================
   3D SECTION SPECIAL
   =================================================== */
#reklami-3d {
  background: radial-gradient(ellipse at center, rgba(7,14,61,0.8) 0%, var(--dark-bg) 70%);
}

.glow-text-3d {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue), var(--red));
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  text-align: center;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 20px rgba(0,113,206,0.5));
}

.lighting-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}
.lighting-table th {
  background: linear-gradient(90deg, rgba(227,24,55,0.2), rgba(0,113,206,0.2));
  color: var(--yellow);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lighting-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--light);
}
.lighting-table tr:last-child td { border-bottom: none; }
.lighting-table tr:hover td { background: rgba(245,194,24,0.05); }

/* ===================================================
   VIDEO SECTION
   =================================================== */
.video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(0,113,206,0.3);
}

.video-wrap video {
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* ===================================================
   STATS COUNTER SECTION
   =================================================== */
#statistiki {
  background: linear-gradient(135deg, var(--dark-navy) 0%, rgba(13,27,110,0.6) 50%, var(--dark-navy) 100%);
  border-top: 1px solid rgba(0,113,206,0.2);
  border-bottom: 1px solid rgba(0,113,206,0.2);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}

#statistiki::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,113,206,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(10,18,64,0.5);
  border: 1px solid rgba(0,113,206,0.2);
  border-radius: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--green));
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 15px 40px rgba(0,113,206,0.2);
}

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

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 16px rgba(0,113,206,0.35);
  animation: float 3s ease-in-out infinite;
  transition: var(--transition);
}

.stat-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, var(--blue), #00c3ff);
  box-shadow: 0 0 24px rgba(0,113,206,0.6);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  animation: counter-bounce 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(245,194,24,0.4);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
#kontakt {
  background: var(--dark-bg);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-info h2 span {
  color: var(--yellow);
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(0,113,206,0.12);
  border: 1px solid rgba(0,113,206,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item-icon i {
  font-size: 1.1rem;
  color: var(--blue);
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon i {
  color: #fff;
}

.contact-item:hover .contact-item-icon {
  background: rgba(0,113,206,0.3);
  box-shadow: 0 0 15px rgba(0,113,206,0.3);
  transform: scale(1.05);
}

.contact-item-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Contact Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid rgba(0,113,206,0.2);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--yellow);
}

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

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

.form-group label {
  display: block;
  color: var(--light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,113,206,0.25);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.93rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(0,113,206,0.08);
  box-shadow: 0 0 0 3px rgba(0,113,206,0.1), 0 0 10px rgba(0,113,206,0.15);
}

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

.form-group select option {
  background: var(--dark-navy);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--blue), #00c3ff);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-submit:hover::before {
  left: 100%;
}

/* ===================================================
   FOOTER
   =================================================== */
#footer {
  background: #030509;
  border-top: 1px solid rgba(0,113,206,0.2);
  padding: 50px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 6px rgba(0,113,206,0.5));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '▸';
  color: var(--blue);
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-col ul li a:hover::before {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-copy span {
  color: var(--blue);
  font-weight: 700;
}

.footer-made {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ===================================================
   LED DOT DECORATION
   =================================================== */
.led-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 20px 0;
}

.led-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.led-dot.r {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: glow-pulse 1.5s infinite;
}

.led-dot.g {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: glow-pulse 1.5s infinite 0.5s;
}

.led-dot.b {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: glow-pulse 1.5s infinite 1s;
}

.led-dot.y {
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  animation: glow-pulse 1.5s infinite 0.25s;
}

/* ===================================================
   MOBILE MENU
   =================================================== */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5,8,16,0.98);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  /* hidden by default on all sizes */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  padding: 80px 20px 40px;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  color: var(--white);
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border-radius: 10px;
  transition: var(--transition);
  text-transform: uppercase;
  width: 88%;
  max-width: 340px;
  text-align: center;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu a:active,
.mobile-menu a:hover {
  color: var(--yellow);
  border-color: rgba(245,194,24,0.35);
  background: rgba(245,194,24,0.07);
}

/* Close X button inside the overlay */
.mobile-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mobile-close:hover {
  background: rgba(227,24,55,0.25);
  border-color: var(--red);
  color: var(--red);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* ---- 1100px — Tablet landscape ---- */
@media (max-width: 1100px) {
  .product-layout,
  .product-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- 768px — Tablet portrait / large phones ---- */
@media (max-width: 768px) {

  /* NAV */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* HERO */
  #hero { min-height: 100svh; }
  .hero-content  { padding: 0 20px; max-width: 100%; }
  .hero-badge    { font-size: 0.65rem; padding: 5px 12px; letter-spacing: 0.1em; }
  .hero-title    { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-bottom: 14px; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 26px; line-height: 1.6; }
  .hero-buttons  { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary,
  .btn-secondary { width: 100%; max-width: 320px; text-align: center;
                   padding: 14px 24px; font-size: 0.9rem; }
  .hero-scroll   { display: none; }

  /* SECTIONS */
  section        { padding: 48px 0; }
  .container     { padding: 0 16px; }
  .section-header{ margin-bottom: 32px; }
  .section-tag   { font-size: 0.68rem; }
  .section-title { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 10px; }
  .section-divider { margin-bottom: 14px; }
  .section-desc  { font-size: 0.88rem; line-height: 1.65; }

  /* PRODUCT OVERVIEW CARDS */
  .products-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-img-wrap  { height: 140px; }
  .card-body      { padding: 14px 16px 18px; }
  .card-body h3   { font-size: 0.88rem; margin-bottom: 6px; }
  .card-body p    { font-size: 0.78rem; line-height: 1.5; margin-bottom: 10px; }
  .card-icon      { width: 34px; height: 34px; top: 10px; right: 10px; }
  .card-icon i    { font-size: 0.82rem; }
  .card-link      { font-size: 0.75rem; }

  /* PRODUCT SECTION TEXT */
  .product-text      { padding: 24px 20px; border-radius: 14px; }
  .product-text h2   { font-size: clamp(1.2rem, 4.5vw, 1.6rem); margin-bottom: 12px; }
  .product-text .lead{ font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }

  /* FEATURE LIST */
  .feature-list      { margin-bottom: 20px; }
  .feature-list li   { gap: 10px; padding: 7px 0; font-size: 0.85rem; }
  .feature-icon      { width: 28px; height: 28px; min-width: 28px; border-radius: 7px; }
  .feature-icon i    { font-size: 0.72rem; }

  /* TABLES — simplified two-column for mobile */
  .table-wrap        { margin: 14px 0; border-radius: 10px; }
  .specs-table,
  .lighting-table    { font-size: 0.8rem; }
  .specs-table th,
  .specs-table td,
  .lighting-table th,
  .lighting-table td { padding: 9px 10px; }
  /* wrap text instead of horizontal scroll */
  .specs-table,
  .lighting-table    { width: 100%; display: table; white-space: normal; }

  /* GALLERY / CAROUSEL */
  .gallery-wrap::before { display: none; }
  .gallery-wrap         { border-radius: 12px; }
  .carousel             { aspect-ratio: 4/3; border-radius: 10px; }
  .carousel-btn         { width: 34px; height: 34px; }
  .carousel-btn i       { font-size: 0.8rem; }
  .carousel-dots        { bottom: 8px; gap: 5px; }
  .carousel-dot         { width: 6px; height: 6px; }

  /* VIDEO */
  .video-wrap { border-radius: 10px; }

  /* STATS */
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card   { padding: 22px 10px; border-radius: 12px; }
  .stat-icon   { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
  .stat-icon i { font-size: 1.15rem; }
  .stat-number { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
  .stat-label  { font-size: 0.72rem; letter-spacing: 0.04em; }

  /* 3D SECTION */
  .glow-text-3d { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 6px; }
  .led-dots     { gap: 5px; }
  .led-dot      { width: 8px; height: 8px; }

  /* APPLICATION CHIPS */
  .applications { gap: 6px; margin-top: 14px; }
  .app-chip     { font-size: 0.72rem; padding: 5px 10px; }
  .app-chip i   { font-size: 0.68rem; }

  /* CONTACT */
  .contact-info h2   { font-size: clamp(1.2rem, 4vw, 1.5rem); }
  .contact-info p    { font-size: 0.88rem; margin-bottom: 20px; }
  .contact-items     { gap: 14px; }
  .contact-item-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; }
  .contact-item-icon i { font-size: 0.95rem; }
  .contact-item-text strong { font-size: 0.85rem; }
  .contact-item-text span   { font-size: 0.78rem; }
  .contact-form      { padding: 20px 16px; border-radius: 14px; }
  .contact-form h3   { font-size: 1rem; margin-bottom: 20px; }
  .form-row          { grid-template-columns: 1fr; gap: 0; }
  .form-group        { margin-bottom: 14px; }
  .form-group label  { font-size: 0.75rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 10px 13px; font-size: 0.88rem; }
  .btn-submit        { font-size: 0.9rem; padding: 14px; }

  /* FOOTER */
  .footer-top  { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-brand p     { font-size: 0.82rem; max-width: 100%; }
  .footer-col h4      { font-size: 0.75rem; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 0.82rem; }
  .footer-bottom      { flex-direction: column; text-align: center; gap: 8px; padding-top: 18px; }
  .footer-copy        { font-size: 0.76rem; }
  .footer-made        { font-size: 0.72rem; }
  #footer             { padding: 36px 0 20px; }

  /* SOCIAL BUTTONS */
  .social-btn { width: 38px; height: 38px; border-radius: 9px; }
}

/* ---- 480px — Small phones ---- */
@media (max-width: 480px) {
  .container    { padding: 0 14px; }
  section       { padding: 40px 0; }
  .section-header { margin-bottom: 26px; }

  /* Nav */
  .nav-logo img { height: 34px; }
  .nav-container { padding: 0 14px; }

  /* Hero */
  .hero-title   { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  /* Cards — single column */
  .products-grid { grid-template-columns: 1fr; gap: 10px; }
  .card-img-wrap { height: 170px; }
  .card-body     { padding: 16px; }
  .card-body h3  { font-size: 0.95rem; }
  .card-body p   { font-size: 0.82rem; }

  /* Stats — still 2 col */
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card   { padding: 18px 8px; }
  .stat-number { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .stat-label  { font-size: 0.65rem; }

  /* Tables — hide 3rd column on smallest screen */
  .specs-table th:nth-child(3),
  .specs-table td:nth-child(3) { display: none; }

  /* Product text */
  .product-text       { padding: 18px 16px; border-radius: 12px; }
  .product-text h2    { font-size: clamp(1.15rem, 5vw, 1.4rem); }
  .product-section    { padding: 0; }

  /* Carousel */
  .carousel { aspect-ratio: 1/1; }

  /* Contact */
  .contact-form { padding: 16px 14px; }

  /* Stat highlight */
  .stat-highlight-box { padding: 14px 16px; }
  .stat-highlight-num { font-size: 2rem; }
  .stat-highlight-label { font-size: 0.8rem; }

  /* Why box */
  .why-box    { padding: 16px; margin-top: 24px; }
  .why-list li{ font-size: 0.82rem; }

  /* Subheads */
  .subhead-blue,
  .subhead-yellow { font-size: 0.78rem; margin-bottom: 10px; }

  /* Quote */
  .product-quote { font-size: 0.85rem; padding: 14px 16px; }

  /* 3D text */
  .glow-text-3d { font-size: clamp(1.8rem, 10vw, 2.5rem); }
}

/* ---- 360px — Very small (SE, Galaxy A) ---- */
@media (max-width: 360px) {
  .container    { padding: 0 12px; }
  .hero-title   { font-size: 1.6rem; }
  .stats-grid   { gap: 8px; }
  .stat-card    { padding: 16px 6px; }
  .stat-number  { font-size: 1.3rem; }
  .card-body h3 { font-size: 0.85rem; }
  .mobile-menu a { font-size: 0.85rem; padding: 11px 16px; }
}

/* ---- Reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================
   REUSABLE COMPONENT CLASSES (замена за inline стилови)
   =================================================== */

/* Sub-headings inside product sections */
.subhead-blue {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subhead-yellow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 20px 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stat highlight box (Постери секција) */
.stat-highlight-box {
  background: linear-gradient(135deg, rgba(245,194,24,0.1), rgba(0,113,206,0.1));
  border: 1px solid rgba(245,194,24,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: center;
}

.stat-highlight-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(245,194,24,0.4);
  line-height: 1.1;
}

.stat-highlight-label {
  color: var(--light);
  font-size: 0.88rem;
  margin-top: 6px;
  line-height: 1.5;
}

/* "Зошто ТЕСЛА ЛЕД" box */
.why-box {
  margin-top: 32px;
  padding: 22px;
  background: rgba(0,113,206,0.08);
  border: 1px solid rgba(0,113,206,0.25);
  border-radius: 14px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.why-list li {
  color: var(--light);
  font-size: 0.88rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.why-list li i {
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Quote block */
.product-quote {
  font-style: italic;
  color: var(--light);
  font-size: 0.92rem;
  line-height: 1.7;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 20px;
  border-left: 3px solid;
  background: linear-gradient(135deg, rgba(0,166,81,0.08), rgba(0,113,206,0.08));
  border-color: rgba(0,166,81,0.4);
}

.product-quote--green {
  border-color: rgba(0,166,81,0.4);
  background: linear-gradient(135deg, rgba(0,166,81,0.08), rgba(0,113,206,0.08));
}

/* ===================================================
   SOCIAL BUTTONS (Footer)
   =================================================== */
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--light);
  font-size: 1rem;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #fff;
}

/* FA icons in mobile menu */
.mobile-menu a i {
  width: 22px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* App chip FA icons */
.app-chip i {
  font-size: 0.72rem;
  opacity: 0.85;
}

/* ===================================================
   UTILITY
   =================================================== */
.text-yellow { color: var(--yellow); }
.text-blue   { color: var(--blue); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-muted); }
.mb-0  { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* ===================================================
   PRODUCT MODAL
   =================================================== */
.pmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pmodal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pmodal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0d1a3a 0%, #060e22 100%);
  border: 1px solid rgba(0, 113, 206, 0.3);
  border-radius: 20px;
  padding: 44px 36px 36px;
  box-shadow: 0 0 60px rgba(0,113,206,0.18), 0 24px 80px rgba(0,0,0,0.6);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pmodal-overlay.open .pmodal-box {
  transform: translateY(0) scale(1);
}

/* Scrollbar inside modal */
.pmodal-box::-webkit-scrollbar { width: 4px; }
.pmodal-box::-webkit-scrollbar-track { background: transparent; }
.pmodal-box::-webkit-scrollbar-thumb { background: rgba(0,113,206,0.4); border-radius: 2px; }

.pmodal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--light);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.pmodal-close:hover {
  background: rgba(227,24,55,0.2);
  border-color: rgba(227,24,55,0.5);
  color: var(--red);
}

.pmodal-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,113,206,0.25), rgba(0,113,206,0.08));
  border: 1px solid rgba(0,113,206,0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0,113,206,0.2);
}
.pmodal-icon-wrap i {
  font-size: 1.35rem;
  color: var(--blue);
}

.pmodal-box h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--light);
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.pmodal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 22px;
}

.pmodal-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmodal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--light);
  line-height: 1.5;
  transition: background 0.2s, border-color 0.2s;
}
.pmodal-list li:hover {
  background: rgba(0,113,206,0.08);
  border-color: rgba(0,113,206,0.25);
}

.pmodal-list li i {
  color: var(--blue);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pmodal-cta {
  text-align: center;
}

.pmodal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--blue), #005bb5);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,113,206,0.35);
}
.pmodal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,113,206,0.5);
}

@media (max-width: 480px) {
  .pmodal-box       { padding: 36px 20px 24px; border-radius: 16px; }
  .pmodal-box h2    { font-size: 1rem; }
  .pmodal-subtitle  { font-size: 0.84rem; }
  .pmodal-list li   { font-size: 0.82rem; padding: 9px 12px; }
  .pmodal-btn       { font-size: 0.75rem; padding: 11px 22px; }
}
