/* ================================================
   APEX ENGINEERS — INDUSTRIAL DESIGN SYSTEM
   ================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors — Dark (default) */
  --black: #0a0a0a;
  --black-light: #1e1e1e; /* Theme 8 Dark Gray */
  --gunmetal: #2a2d2e;
  --gunmetal-light: #36454f; /* Theme 4 Charcoal */
  --steel: #708090; /* Theme 4 Slate Gray */
  --silver: #d3d3d3; /* Theme 4 Light Gray */
  --silver-light: #e0e0e0;
  --white: #ffffff; /* Theme 4 & 8 White */
  --accent: #00ffff; /* Theme 8 Neon Cyan */
  --accent-dark: #0066ff; /* Theme 8 Electric Blue */
  --spark: #ff6b35;
  --card-border: rgba(112, 128, 144, 0.2);
  --card-border-hover: rgba(0, 255, 255, 0.4);
  --card-shadow: rgba(0, 0, 0, 0.6);
  --overlay-bg: rgba(10, 10, 10, 0.9);
  --divider: rgba(112, 128, 144, 0.2);

  /* Typography */
  --font-body: 'Manrope', sans-serif;
  --font-heading: 'Syne', sans-serif;

  /* Spacing */
  --section-padding: 140px 0;
  --container-width: 1300px;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- Light Mode ---------- */
[data-theme="light"] {
  --black: #f8f9fa;
  --black-light: #ffffff;
  --gunmetal: #f1f3f5;
  --gunmetal-light: #e9ecef;
  --steel: #495057;
  --silver: #343a40;
  --silver-light: #212529;
  --white: #121212;
  --card-border: rgba(0, 0, 0, 0.08);
  --card-border-hover: rgba(0, 102, 255, 0.5);
  --card-shadow: rgba(0, 0, 0, 0.05);
  --overlay-bg: rgba(248, 249, 250, 0.95);
  --divider: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-title span {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .map-container iframe {
  filter: grayscale(100%) contrast(120%) brightness(130%);
}

[data-theme="light"] .nav-logo img {
  filter: invert(1);
}

[data-theme="light"] .gradient-1 { background: linear-gradient(135deg, #e9ecef, #f8f9fa, #dee2e6); }
[data-theme="light"] .gradient-2 { background: linear-gradient(135deg, #e0e0e0, #f5f5f5, #d6d6d6); }
[data-theme="light"] .gradient-3 { background: linear-gradient(135deg, #e2e8f0, #f8fafc, #cbd5e1); }
[data-theme="light"] .gradient-4 { background: linear-gradient(135deg, #dbeafe, #eff6ff, #bfdbfe); }
[data-theme="light"] .gradient-5 { background: linear-gradient(135deg, #e4e4e7, #fafafa, #d4d4d8); }
[data-theme="light"] .gradient-6 { background: linear-gradient(135deg, #f1f5f9, #f8fafc, #e2e8f0); }

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

html {
  scroll-behavior: auto; /* Lenis handles this */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--silver);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ---------- Video Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  background:
    radial-gradient(circle at 15% 12%, rgba(35, 47, 63, 0.42), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(20, 34, 50, 0.35), transparent 48%),
    #05070a;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

#preloaderVideo {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

@supports (height: 100dvh) {
  #preloader {
    height: 100dvh;
  }
}

@supports (height: 100svh) {
  #preloader {
    min-height: 100svh;
  }
}

.preloader-loading-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.preloader-loading-bar .progress {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
  background: linear-gradient(90deg, #4a90ff 0%, #86d7ff 65%, #d2f2ff 100%);
}

.preloader-sound-cta {
  position: absolute;
  left: 50%;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 3;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 10, 16, 0.62);
  color: #e8f4ff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.preloader-sound-cta:hover {
  border-color: #9ad9ff;
  background: rgba(10, 18, 28, 0.78);
  transform: translateX(-50%) translateY(-2px);
}

/* ---------- Logo Preloader (Non-Index Pages) ---------- */
#logo-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  z-index: 10000;
  background: radial-gradient(circle at 50% 35%, #2f343a 0%, #1b2026 42%, #0b0f13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#logo-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#logo-preloader-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#logo-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

#logo-fallback img {
  width: clamp(180px, 28vw, 360px);
  height: auto;
  opacity: 0.88;
}

@media (max-width: 768px) {
  #preloader {
    background: #04070b;
  }

  #preloaderVideo {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    object-position: center center;
    background: #04070b;
  }

  .preloader-loading-bar {
    height: 3px;
  }

  .preloader-sound-cta {
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    padding: 10px 14px;
    width: min(90vw, 360px);
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-align: center;
  }

  #logo-fallback img {
    width: clamp(150px, 52vw, 260px);
  }
}

@media (max-width: 420px) {
  .preloader-sound-cta {
    width: min(92vw, 320px);
    font-size: 0.63rem;
    padding: 9px 12px;
  }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  /* Ensure navbar stays above hero video */
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 65px;
  width: auto;
  transition: var(--transition-fast);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gunmetal);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--silver);
  transition: var(--transition);
  margin-left: 10px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.nav-logo:hover img {
  filter: brightness(1.2);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

/* Updated hover underline animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--silver);
  transition: var(--transition);
}

.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 Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--black);
}

.hero-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .hero-bg-texture {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.hero-wrapper {
  position: relative;
  z-index: 4;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* VIDEO BACKGROUND & OVERLAY */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(10,10,10,0.6) 0%, var(--black) 100%);
}

[data-theme="light"] .hero-video {
  opacity: 0.15;
}
[data-theme="light"] .video-overlay {
  background: radial-gradient(circle at center, rgba(248,249,250,0.6) 0%, var(--bg-color) 100%);
}

/* LEFT: HERO TEXT */
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding-right: 20px;
}

/* RIGHT: SVG CNC SEQUENCE */
.hero-visual {
  position: relative;
  z-index: 3;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-part-layer {
  transform-origin: center center;
  will-change: transform;
}

/* Animated SVG Toolpath Line under text */
.anim-toolpath {
  animation: svgDash 3s linear infinite;
}

@keyframes svgDash {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* RESPONSIVE HERO */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    padding-right: 0;
  }
  .hero-accent-line {
    margin: 0 auto 30px auto;
  }
  .sound-toggle {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    height: 350px;
  }
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -2px;
  position: relative;
}

/* Hero Stamping Animation Classes */
.hero-stamp {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  filter: blur(10px);
}

/* Sound Toggle Button */
.sound-toggle {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--silver);
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.sound-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

/* Initial industrial grid overlay */
.hero-industrial-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0; /* Brutalist rigid shape */
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-dark);
  color: var(--white);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
  color: var(--black);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--steel);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  transition: var(--transition);
  z-index: -1;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline:hover::before {
  left: 0;
}

/* Metal Glow Interaction */
.metal-hover::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  transition: none; /* Instant reset when not hovered */
}

.metal-hover:hover::after {
  left: 200%;
  transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.8;
}

/* ---------- Divider ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gunmetal-light), transparent);
}

/* ---------- About Preview ---------- */
.about-preview {
  background: var(--black-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 0; /* Brutalist */
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gunmetal), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-icon {
  width: 100px;
  height: 100px;
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.about-image-icon svg {
  width: 100%;
  height: 100%;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(113, 121, 126, 0.2);
  border-radius: 8px;
  z-index: 1;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-text p {
  color: var(--steel);
  line-height: 1.9;
  margin-bottom: 30px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--black);
  border-radius: 0;
  border: 1px solid rgba(112, 128, 144, 0.15);
  border-left: 2px solid var(--accent);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--accent);
  background: var(--gunmetal);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

/* ---------- Bestseller Product ---------- */
.bestseller-section {
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 180, 216, 0.09), transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(74, 144, 255, 0.11), transparent 45%),
    linear-gradient(145deg, #0b1118 0%, #111a24 60%, #121c28 100%);
  overflow: hidden;
}

.bestseller-shell {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 42px;
  align-items: stretch;
}

.bestseller-media {
  position: relative;
  border: 1px solid rgba(122, 159, 196, 0.35);
  background: linear-gradient(160deg, rgba(10, 18, 27, 0.95), rgba(21, 29, 41, 0.95));
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 28px rgba(74, 144, 255, 0.22);
}

.bestseller-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(118, 192, 255, 0.18), transparent 52%);
  pointer-events: none;
}

.bestseller-badge {
  position: absolute;
  top: 18px;
  right: -42px;
  transform: rotate(32deg);
  background: linear-gradient(90deg, #ff8c2f, #ffd166);
  color: #111;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 48px;
  z-index: 2;
}

.bestseller-render {
  position: relative;
  height: 360px;
  border: 1px solid rgba(130, 160, 190, 0.24);
  background: radial-gradient(circle at 50% 28%, rgba(93, 171, 230, 0.2), rgba(8, 13, 20, 0.95) 60%);
  overflow: hidden;
}

.bestseller-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.08) contrast(1.05);
}

.render-roof-sheet {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 36px;
  height: 76px;
  background: repeating-linear-gradient(
    90deg,
    #2c333c 0,
    #2c333c 16px,
    #1d232c 16px,
    #1d232c 32px
  );
  border: 1px solid rgba(167, 183, 198, 0.26);
  transform: perspective(460px) rotateX(56deg);
}

.render-screw {
  position: absolute;
  left: 50%;
  bottom: 88px;
  width: 16px;
  height: 170px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, #d9e3ec, #8f9dac);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(198, 219, 241, 0.35);
}

.render-screw::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -10px;
  width: 36px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5fbff, #9fb0c2);
}

.render-cap {
  position: absolute;
  left: 50%;
  bottom: 238px;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 7px solid #3ec6ff;
  background: radial-gradient(circle at 45% 35%, #d5f4ff, #3aa4d8 70%);
  box-shadow: 0 0 20px rgba(92, 205, 255, 0.5);
  animation: capSeat 2.4s ease-in-out infinite;
}

.bestseller-icon-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bestseller-icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d6e6f6;
  border: 1px solid rgba(150, 184, 214, 0.3);
  background: rgba(19, 33, 47, 0.82);
  padding: 8px 12px;
}

.bestseller-icon-chip svg {
  opacity: 0.88;
  animation: iconDrift 2.8s ease-in-out infinite;
}

.bestseller-content {
  background: rgba(10, 16, 24, 0.9);
  border: 1px solid rgba(106, 141, 172, 0.24);
  padding: 34px;
}

.bestseller-desc {
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 24px;
}

.bestseller-benefits {
  margin: 0 0 28px;
  padding: 0;
}

.bestseller-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #d0dae5;
  line-height: 1.6;
}

.bestseller-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #53cfff, #2f7dea);
  box-shadow: 0 0 8px rgba(83, 207, 255, 0.6);
}

.bestseller-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Promo Strip ---------- */
.promo-strip {
  border-top: 1px solid rgba(120, 146, 170, 0.2);
  border-bottom: 1px solid rgba(120, 146, 170, 0.2);
  background: linear-gradient(90deg, #0f1722, #182334 40%, #101926);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 170, 210, 0.5) transparent;
}

.promo-strip-track {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px 24px;
}

.promo-strip-copy {
  margin: 0;
  color: #d8e9fb;
  font-family: var(--font-heading);
  letter-spacing: 1.2px;
  font-size: 0.82rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-fit-animation {
  position: relative;
  width: 86px;
  height: 34px;
  flex: 0 0 auto;
}

.promo-fit-screw {
  position: absolute;
  left: 44px;
  bottom: 3px;
  width: 8px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(180deg, #dbe6ef, #7e8d9c);
}

.promo-fit-screw::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 18px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f0f6ff, #98a7b7);
}

.promo-fit-cap {
  position: absolute;
  left: 34px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 4px solid #45c8ff;
  background: rgba(125, 223, 255, 0.2);
  animation: capClip 1.9s ease-in-out infinite;
}

.promo-strip-btn {
  padding: 10px 18px;
  font-size: 0.68rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ---------- Security Warning ---------- */
.about-contact-panel {
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(8, 13, 18, 0.68);
  border: 1px solid rgba(115, 134, 152, 0.3);
}

.about-contact-label {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #cde9ff;
}

.about-contact-numbers {
  margin: 0 0 12px;
  color: #e6eff8;
  font-size: 0.95rem;
}

.about-contact-numbers a {
  color: #d9e8f8;
  transition: var(--transition-fast);
}

.about-contact-numbers a:hover {
  color: var(--accent);
}

.security-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid #f5b23a;
  background: rgba(245, 178, 58, 0.12);
}

.security-warning-icon {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #ffd27f;
}

.security-warning p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #f0f3f8;
}

.footer-security-li {
  margin-top: 10px;
}

.security-warning-footer {
  margin-right: 8px;
}

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

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

@keyframes capClip {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(7px); }
}

/* ---------- Products Preview ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--black-light);
  border: 1px solid var(--card-border);
  border-radius: 0; /* Brutalist */
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.product-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-card-image .product-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: rgba(192, 192, 192, 0.15);
  transition: var(--transition);
}

.product-card-image .product-gradient svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
  transition: var(--transition);
}

.product-card:hover .product-gradient svg {
  transform: scale(1.1);
  opacity: 0.9;
  color: var(--white);
}

.product-card:hover .product-gradient {
  transform: scale(1.05);
}

.gradient-1 { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.gradient-2 { background: linear-gradient(135deg, #2d2d2d, #3a3a3a, #1a1a1a); }
.gradient-3 { background: linear-gradient(135deg, #1a1a1a, #2a2d2e, #3a3d3e); }
.gradient-4 { background: linear-gradient(135deg, #0a1628, #1a2a4a, #0d1b36); }
.gradient-5 { background: linear-gradient(135deg, #1c1c1c, #2e2e2e, #1a1a1a); }
.gradient-6 { background: linear-gradient(135deg, #1a2332, #253040, #1a2332); }

.product-card-body {
  padding: 28px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.7rem;
}

/* ---------- SEO Product Links ---------- */
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.seo-link-card {
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  padding: 28px;
  transition: var(--transition);
}

.seo-link-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.seo-link-card h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seo-link-card p {
  color: var(--steel);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.seo-link-card a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Product Landing Pages ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-media {
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  padding: 16px;
}

.product-detail-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-detail-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-detail-content p,
.product-detail-content li {
  color: var(--steel);
  font-size: 0.95rem;
}

.product-detail-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 18px;
}

.footer-seo-text {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 50px 30px;
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  border-radius: 0;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.feature-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: var(--black);
  border: 1px solid rgba(112, 128, 144, 0.2);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition: var(--transition);
  color: var(--white);
}

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

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--black);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ---------- Factory Process Timeline ---------- */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .process-timeline {
    flex-direction: row;
    gap: 30px;
    align-items: stretch; /* Make all steps equal height */
  }
}

.process-step {
  flex: 1; /* Distribute equal width to all 4 steps */
  background: var(--gunmetal);
  border: 1px solid var(--card-border);
  padding: 40px 30px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content inside */
  text-align: center;
}

.process-step:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--card-shadow);
}

.process-icon {
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  background: transparent;
  transition: transform 0.4s ease, filter 0.4s ease;
  z-index: 3;
}

.process-step:hover .process-icon {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 15px;
  text-align: center;
}

.process-desc {
  font-size: 0.95rem;
  color: var(--steel);
  text-align: center;
}

/* Connecting Line (SVG Toolpath wrapper) */
.process-line {
  position: absolute;
  z-index: 1;
}

/* Horizontal Line on Desktop */
@media (min-width: 992px) {
  .process-line {
    top: 85px; /* Center with the 90px SVG icons */
    left: 10%;
    width: 80%;
    height: 4px;
  }
}
/* Vertical Line on Mobile */
@media (max-width: 991px) {
  .process-line {
    display: none; /* Hide SVG dashed line on mobile to keep it clean */
  }
}

/* ---------- Product Filters ---------- */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--steel);
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

/* ---------- Quick View Modal ---------- */
.product-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-content {
  background: var(--gunmetal);
  border: 1px solid var(--accent);
  width: 90%;
  max-width: 900px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 255, 0.1);
}

.product-modal.show .product-modal-content {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none; color: var(--silver);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}
.product-modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.product-modal-body {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .product-modal-body { flex-direction: row; }
}

.product-modal-image {
  flex: 1;
  background: #111;
  min-height: 300px;
}
.product-modal-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-modal-details {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-modal-details h3 {
  font-family: var(--font-heading);
  font-size: 2rem; color: var(--white); margin-bottom: 20px;
}
.product-modal-details p {
  color: var(--steel); margin-bottom: 30px; font-size: 1.05rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--gunmetal), var(--black-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--steel);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--divider);
  padding: 100px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 55px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

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

.footer-col ul li a {
  color: var(--steel);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(113, 121, 126, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--steel);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--black-light);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 40%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--steel);
}

.breadcrumb a {
  color: var(--accent);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--gunmetal-light);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: var(--gunmetal);
  border: 1px solid rgba(113, 121, 126, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371797E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--gunmetal);
  color: var(--white);
}

.form-card {
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  border-radius: 0;
  padding: 60px;
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.show {
  display: block;
}

.form-success .checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--black);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.form-success p {
  color: var(--steel);
  font-size: 1rem;
}

.form-status {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: 0.85rem;
  color: var(--steel);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-status.show {
  opacity: 1;
}

.form-status.error {
  color: #ff8f8f;
}

/* ---------- Contact Info Cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--black-light);
  border: 1px solid rgba(113, 121, 126, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--accent);
  transform: translateX(5px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--gunmetal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--accent);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Map */
.map-section {
  padding: 0 0 100px;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 128, 144, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(92%) contrast(90%);
}

/* ---------- About Page Specific ---------- */
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(70, 85, 100, 0.35), rgba(70, 85, 100, 0.15));
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(83, 207, 255, 0.9), rgba(47, 125, 234, 0.65));
  box-shadow: 0 0 10px rgba(83, 207, 255, 0.35);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  border-radius: 0;
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: var(--accent);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #53cfff;
  border: 2px solid var(--black);
  box-shadow: 0 0 0 0 rgba(83, 207, 255, 0.6);
  animation: timelinePulse 2.2s ease-in-out infinite;
}

.timeline-item h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.7;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(83, 207, 255, 0.55); }
  50% { box-shadow: 0 0 0 9px rgba(83, 207, 255, 0); }
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 50px 40px;
  background: var(--black-light);
  border: 1px solid rgba(112, 128, 144, 0.15);
  border-radius: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.service-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Animations (GSAP targets) ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-grid,
  .about-full-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .navbar {
    padding: 15px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid var(--divider);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 5%;
    text-align: center;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .bestseller-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bestseller-media,
  .bestseller-content {
    padding: 20px;
  }

  .bestseller-render {
    height: 280px;
  }

  .bestseller-product-image {
    object-fit: contain;
    background: rgba(5, 9, 14, 0.65);
    padding: 8px;
  }

  .bestseller-badge {
    top: 14px;
    right: -44px;
    font-size: 0.6rem;
    padding: 6px 44px;
  }

  .bestseller-cta-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .promo-strip-track {
    justify-content: flex-start;
    min-width: max-content;
    gap: 14px;
    padding: 12px 16px;
  }

  .promo-strip-copy {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }

  .security-warning p {
    font-size: 0.74rem;
  }

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

  .stats-row {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 130px 0 60px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .btn {
    padding: 14px 28px;
    font-size: 0.7rem;
  }

  .bestseller-render {
    height: 240px;
  }

  .bestseller-product-image {
    padding: 6px;
  }

  .about-contact-panel {
    padding: 12px;
  }

  .security-warning {
    gap: 8px;
    padding: 8px 10px;
  }
}

/* ---------- Utility ---------- */
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-steel { color: var(--steel); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
