/* ==========================================
   KRAFTOR 3D – GLOBAL STYLES (LOGO GREEN)
   Modern, Futuristic, 3D-Themed Design
   ========================================== */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Brand background */
  --primary-bg: #0d0d0d;
  --secondary-dark: #111418;

  /* Brand colors (from logo) */
  --primary-accent: #28c397;
  /* main logo green */
  --secondary-accent: #00f5d4;
  /* neon/teal accent */

  /* Text */
  --heading-text: #ffffff;
  --body-text: #d7d7d7;

  /* Legacy mappings for compatibility */
  --primary: #28c397;
  --primary-dark: #1e8c70;
  --primary-light: #00f5d4;
  --secondary: #28c397;
  --accent: #00f5d4;

  /* Neutrals */
  --dark: #0d0d0d;
  --dark-light: #111418;
  --dark-lighter: #1a1f26;
  --gray: #6b7280;
  --gray-light: #d7d7d7;
  --light: #f0f4f8;
  --white: #ffffff;

  /* Gradients & glows */
  --gradient-primary: linear-gradient(135deg,
      var(--primary-accent) 0%,
      var(--secondary-accent) 100%);
  --gradient-dark: linear-gradient(180deg,
      var(--dark) 0%,
      var(--dark-light) 100%);
  --gradient-glow: linear-gradient(135deg,
      rgba(40, 195, 151, 0.2) 0%,
      rgba(0, 245, 212, 0.2) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(40, 195, 151, 0.35);
  --shadow-glow-accent: 0 0 30px rgba(0, 245, 212, 0.35);

  /* Typography */
  --font-primary: "Segoe UI", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Segoe UI", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --section-padding: 60px;
  --container-width: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.alt-bg {
  background-color: var(--dark-light);
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
}

.logo-img {
  height: 55px;
  width: auto;
  display: block;

  /* Stronger clarity shadow */
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 5px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 12px rgba(40, 195, 151, 0.30));
}


/* Tagline under logo */
.brand-tagline {
  font-size: 0.55rem;
  font-weight: 300;
  color: var(--gray-light);
  letter-spacing: 0.02em;
  opacity: 0.85;
  margin-left: 2px;
}


/* =====================
   BASE NAVIGATION
===================== */

.nav {
  display: flex;
  position: relative;
  /* anchor for mega menus */
}

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

.nav-item {
  position: static;
  /* required for full-width mega menu */
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
  padding: 8px 0;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

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

.dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 6px;
  opacity: 0.8;
}

/* =====================
   MEGA MENU WRAPPER
===================== */

.has-mega {
  position: static;
}

/* hidden by default */
.mega-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;

  z-index: 999;
}


.has-mega:hover>.mega-wrapper {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


/* =====================
   MEGA MENU PANEL
===================== */

.mega-menu {
  width: 100%;
  padding: 28px 28px;


  background:
    linear-gradient(180deg,
      rgba(40, 195, 151, 0.05),
      rgba(0, 0, 0, 0)),
    var(--dark-lighter);


  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 48px;

  border-top: 1px solid rgba(40, 195, 151, 0.25);
  border-radius: 0 0 16px 16px;
  overflow: hidden;

  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}


/* column presets */
.mega-menu.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-menu.one-col {
  grid-template-columns: 1fr;
}

/* =====================
   COLUMN STRUCTURE
===================== */

.mega-column {
  position: relative;
  padding-left: 12px;
  white-space: nowrap;
  min-width: 0;
  /* prevents text stretching */

}

.mega-column::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom,
      var(--primary),
      transparent);
  opacity: 0.6;
}

/* =====================
   COLUMN HEADINGS
===================== */

.mega-column h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

/* =====================
   BRAND LABELS
===================== */

.mega-group strong {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 4px;
  opacity: 0.9;
}

/* =====================
   PRODUCT LINKS
===================== */

.mega-column a {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  color: #cfd8dc;
  padding: 2px 0;
  margin-left: 6px;

  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-column a::before {
  content: "›";
  position: absolute;
  left: -12px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mega-column a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.mega-column a:hover::before {
  opacity: 1;
}

/* =====================
   RESPONSIVE (MOBILE)
===================== */

@media (max-width: 900px) {

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  /* Mobile Mega Menu - Accordion Style */
  .mega-wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-left: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    /* Hidden by default */
    padding-top: 10px;
    z-index: 1;
  }

  /* Disable hover, enable active class */
  .has-mega:hover>.mega-wrapper {
    display: none;
  }

  .has-mega.active>.mega-wrapper {
    display: block;
  }

  .mega-menu {
    padding: 0 0 0 15px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mega-menu.two-col,
  .mega-menu.three-col {
    grid-template-columns: 1fr;
  }

  .mega-column {
    padding-left: 0;
  }

  .mega-column::before {
    display: none;
  }

  .mega-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .mega-column a {
    font-size: 0.95rem;
    padding: 8px 0;
    color: var(--gray-light);
  }
}


/* ===========================
   HAMBURGER (NO CHANGE)
=========================== */

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

.hamburger-line {
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* ==========================================
   HERO – 3D BACKGROUND
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--primary-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* 3D Perspective Grid */
.grid-3d {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  overflow: hidden;
}

.grid-floor {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(40, 195, 151, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(40, 195, 151, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(75deg);
  transform-origin: center top;
  animation: gridMove 20s linear infinite;
}

.grid-ceiling {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(0, 245, 212, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 245, 212, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: rotateX(-75deg);
  transform-origin: center bottom;
  animation: gridMove 25s linear infinite reverse;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 60px;
  }
}

/* Floating 3D Cubes */
.hero-3d-elements {
  position: absolute;
  inset: 0;
  perspective: 1200px;
}

.floating-cube {
  position: absolute;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
}

.floating-cube .cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(40, 195, 151, 0.4);
  background: rgba(40, 195, 151, 0.05);
  backdrop-filter: blur(5px);
}

.floating-cube .front {
  transform: translateZ(40px);
}

.floating-cube .back {
  transform: rotateY(180deg) translateZ(40px);
}

.floating-cube .left {
  transform: rotateY(-90deg) translateZ(40px);
}

.floating-cube .right {
  transform: rotateY(90deg) translateZ(40px);
}

.floating-cube .top {
  transform: rotateX(90deg) translateZ(40px);
}

.floating-cube .bottom {
  transform: rotateX(-90deg) translateZ(40px);
}

.cube-1 {
  top: 15%;
  left: 10%;
  animation: floatCube1 12s ease-in-out infinite;
}

.cube-2 {
  top: 60%;
  right: 15%;
  width: 60px;
  height: 60px;
  animation: floatCube2 15s ease-in-out infinite;
}

.cube-2 .cube-face {
  width: 60px;
  height: 60px;
  border-color: rgba(0, 245, 212, 0.4);
  background: rgba(0, 245, 212, 0.05);
}

.cube-3 {
  bottom: 25%;
  left: 20%;
  width: 50px;
  height: 50px;
  animation: floatCube3 10s ease-in-out infinite;
}

.cube-3 .cube-face {
  width: 50px;
  height: 50px;
  border-color: rgba(40, 195, 151, 0.3);
  background: rgba(40, 195, 151, 0.03);
}

.cube-3 .front {
  transform: translateZ(25px);
}

.cube-3 .back {
  transform: rotateY(180deg) translateZ(25px);
}

.cube-3 .left {
  transform: rotateY(-90deg) translateZ(25px);
}

.cube-3 .right {
  transform: rotateY(90deg) translateZ(25px);
}

.cube-3 .top {
  transform: rotateX(90deg) translateZ(25px);
}

.cube-3 .bottom {
  transform: rotateX(-90deg) translateZ(25px);
}

@keyframes floatCube1 {

  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }

  25% {
    transform: translateY(-30px) rotateX(90deg) rotateY(45deg);
  }

  50% {
    transform: translateY(-20px) rotateX(180deg) rotateY(90deg);
  }

  75% {
    transform: translateY(-40px) rotateX(270deg) rotateY(135deg);
  }
}

@keyframes floatCube2 {

  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }

  33% {
    transform: translateY(-50px) rotateX(120deg) rotateY(60deg);
  }

  66% {
    transform: translateY(-25px) rotateX(240deg) rotateY(120deg);
  }
}

@keyframes floatCube3 {

  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0);
  }

  50% {
    transform: translateY(-35px) rotateX(180deg) rotateY(180deg) rotateZ(45deg);
  }
}

/* Glow orbs & particles */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseGlow 6s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(40, 195, 151, 0.15);
  top: 0;
  left: -10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 245, 212, 0.12);
  bottom: 10%;
  right: -5%;
  animation-delay: -3s;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Particle Field */
.particle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  left: 50%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  left: 60%;
  animation-delay: 4s;
}

.particle:nth-child(6) {
  left: 70%;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  left: 80%;
  animation-delay: 6s;
}

.particle:nth-child(8) {
  left: 90%;
  animation-delay: 7s;
}

@keyframes particleFloat {
  0% {
    bottom: -10%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    bottom: 110%;
    opacity: 0;
  }
}

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

.hero-title {
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.1rem;
  letter-spacing: -0.03em;
  color: var(--heading-text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary-accent);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--body-text);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--gray);
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll-indicator p {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================
   PAGE HERO (INNER PAGES)
   ========================================== */
.page-hero {
  padding: 120px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(40, 195, 151, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 245, 212, 0.12) 0%, transparent 50%);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-light);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--dark);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 245, 212, 0.3);
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--primary);
}

/* ==========================================
   ABOUT BRIEF + 3D CUBE
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.visual-card {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.card-3d {
  perspective: 1000px;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 20s linear infinite;
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--primary);
  background: rgba(0, 245, 212, 0.06);
  backdrop-filter: blur(10px);
}

.front {
  transform: translateZ(100px);
}

.back {
  transform: rotateY(180deg) translateZ(100px);
}

.right {
  transform: rotateY(90deg) translateZ(100px);
}

.left {
  transform: rotateY(-90deg) translateZ(100px);
}

.top {
  transform: rotateX(90deg) translateZ(100px);
}

.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

/* ==========================================
   PRODUCTS BRIEF (HOME)
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.product-card {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: var(--shadow-glow);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.card-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.product-card:hover .card-icon {
  background: var(--gradient-primary);
}

.product-card:hover .card-icon svg {
  color: var(--dark);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.card-description {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-light);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray-light);
}

.comparison-table th {
  background: var(--dark-lighter);
  font-weight: 600;
  color: var(--white);
}

.row-title {
  text-align: left;
  color: var(--white);
}

.section-header td {
  background: var(--dark-lighter);
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  padding-top: 20px;
}

/* ==========================================
   PRODUCTS OVERVIEW PAGE (products.html)
   ========================================== */

/* ---- PRODUCT OVERVIEW SECTION ---- */
.product-section .product-item {
  display: flex;
  align-items: center;
  min-height: 260px;
  background: linear-gradient(180deg,
      rgba(40, 195, 151, 0.06),
      rgba(0, 0, 0, 0)),
    var(--dark-lighter);
  margin-bottom: 30px;
}

/* hover enhancement */
.product-section .product-item:hover {
  box-shadow: 0 0 35px rgba(40, 195, 151, 0.35);

}

/* spacing inside */
.product-section .product-info {
  max-width: 720px;
}

/* section title */
.product-section .product-info h3 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

/* description */
.product-section .product-info p {
  font-size: 1.05rem;
  max-width: 600px;
}

/* feature bullets */
.product-section .product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  margin: 1rem 0 1.5rem;
  padding-left: 1rem;
}

.product-section .product-specs li {
  list-style: disc;
}

/* CTA button alignment */
.product-section .btn-outline {
  font-size: 0.95rem;
  padding: 12px 28px;
}

/* ---- INDUSTRY / USE CASE GRID ---- */
.features-grid .feature-item {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  cursor: default;
}

/* subtle glow on hover */
.features-grid .feature-item:hover {
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

/* ---- PAGE HERO TEXT CENTER FIX ---- */
.page-hero .container.text-center {
  max-width: 900px;
}


/* remove extra gap after last item */
.product-section .product-item:last-child {
  margin-bottom: 0;
}



/* ==========================================
   CATEGORY PAGE – 3D SCANNERS (REFERENCE STYLE)
   ========================================== */

/* ----- CATEGORY LAYOUT ----- */
.category-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* ----- LEFT SIDEBAR ----- */
.category-sidebar {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 120px;
}

.category-sidebar h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--white);
}

.sidebar-points {
  list-style: none;
  padding-left: 0;
}

.sidebar-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.sidebar-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ----- PRODUCT LIST ----- */
.category-products {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ----- PRODUCT CARD ----- */
.category-product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  background: var(--dark-lighter);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-normal);
}

.category-product-card:hover {
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.category-product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ----- PRODUCT CARD CONTENT ----- */
.product-card-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.product-card-info p {
  font-size: 0.95rem;
  color: var(--gray-light);
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ----- COMPARISON STRIP ----- */
.compare-strip {
  margin: 60px auto;
  padding: 40px;
  background: var(--gradient-glow);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-strip h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
}

.compare-strip p {
  color: var(--gray-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

@media (max-width: 1024px) {
  .category-layout {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 900px) {
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
  }

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

  .category-product-card img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .category-sidebar {
    padding: 22px;
  }

  .compare-strip {
    padding: 28px;
  }

  .compare-strip h3 {
    font-size: 1.5rem;
  }
}


/* ==========================================
   RESPONSIVE TWEAKS (PRODUCTS PAGE ONLY)
   ========================================== */

@media (max-width: 900px) {
  .product-section .product-item {
    min-height: auto;
  }

  .product-section .product-info h3 {
    font-size: 1.6rem;
  }

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

@media (max-width: 480px) {
  .product-section .product-info h3 {
    font-size: 1.4rem;
  }

  .product-section .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   PRODUCT OVERVIEW – GALLERY PREVIEW STYLE
   ========================================== */

/* layout: content left, image right */
.product-section .product-item.product-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

/* gallery box */
.product-gallery-box {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

/* image */
.product-gallery-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(13, 13, 13, 0.15),
      rgba(13, 13, 13, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(40, 195, 151, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(40, 195, 151, 0.6);
}

/* hover interaction */
.product-gallery-box:hover img {
  transform: scale(1.08);
}

.product-gallery-box:hover .gallery-overlay {
  opacity: 1;
}

/* Product Series / Popular Links */
.product-series {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.product-series a {
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.product-series a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* mobile stacking */
@media (max-width: 900px) {
  .product-section .product-item.product-gallery {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-gallery-box img {
    height: 220px;
  }
}



/* ================================
   COMPARISON SECTION + TOGGLE
   ================================ */

.comparison-section {
  padding-top: 40px;
}

/* Toggle button */
.comparison-toggle {
  width: 100%;
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
  font-size: 0.98rem;
  color: var(--white);
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.comparison-toggle:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.comparison-toggle span {
  display: inline-flex;
  align-items: center;
}

.comparison-toggle .toggle-icon {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.comparison-toggle.open {
  background: rgba(40, 195, 151, 0.08);
  border-color: var(--primary);
}

.comparison-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

/* ================================
   COLLAPSIBLE WRAPPER
   ================================ */

.comparison-table-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    margin-top 0.3s ease;
}

/* when JS adds .open */
.comparison-table-wrapper.open {
  max-height: 2200px;
  /* enough to show full table */
  opacity: 1;
  margin-top: 20px;
}

/* Horizontal scroll container */
.comparison-table-container {
  overflow-x: auto;
  width: 100%;
  border-radius: 12px;
}

/* Optional: nicer scrollbars on modern browsers */
.comparison-table-container::-webkit-scrollbar {
  height: 6px;
}

.comparison-table-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.comparison-table-container::-webkit-scrollbar-thumb {
  background: rgba(40, 195, 151, 0.7);
  border-radius: 4px;
}

/* ================================
   TABLE STYLING
   ================================ */

.comparison-table {
  min-width: 720px;
  /* forces horizontal scroll on small screens */
  border-collapse: collapse;
  background: var(--dark-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--dark-lighter);
  color: var(--white);
  font-weight: 600;
  text-align: center;
}

.comparison-table td {
  color: var(--gray-light);
  text-align: center;
}

.comparison-table .row-title {
  text-align: left;
  font-weight: 500;
  color: var(--white);
}


.comparison-section {
  padding-top: 10px;
}


/* Section header rows (Import / Export, Alignment, etc.) */
.comparison-table .section-header td {
  background: var(--dark-lighter);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Zebra effect for readability */
.comparison-table tbody tr:nth-child(odd):not(.section-header) {
  background: rgba(255, 255, 255, 0.01);
}

/* Small screen tweaks */
@media (max-width: 768px) {
  .comparison-toggle {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .comparison-table {
    min-width: 640px;
  }
}


/* ==========================================
   WHO WE ARE / FEATURES
   ========================================== */
.who-we-are {
  background: var(--dark-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.feature-item {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-item:hover .feature-icon {
  background: var(--gradient-primary);
}

.feature-item:hover .feature-icon svg {
  color: var(--dark);
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.feature-item p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================
   CTA
   ========================================== */
.cta-section {
  background: var(--gradient-glow);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-content p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* ==========================================
   PRODUCTS PAGE
   ========================================== */
.product-section {
  padding: 40px 0 50px;
}

.section-header {
  margin-bottom: 2rem;
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-item {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.product-item:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: var(--shadow-glow);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-item:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-price {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.product-specs {
  margin: 0 0 1rem 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--body-text);
}

.product-specs li {
  margin-bottom: 4px;
  list-style: disc;
}


.product-badge.new {
  background: var(--secondary);
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.product-info p {
  color: var(--gray-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================
   ABOUT PAGE – VISION / MISSION / STATS / CEO
   ========================================== */
.about-company .about-grid {
  gap: 20px;
}

.about-company .about-content p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 0.2rem;
}



.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vm-card {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-normal);
}

.vm-card:hover {
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: var(--shadow-glow);
}

.vm-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.vm-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.vm-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.vm-list {
  list-style: none;
}

.vm-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--gray-light);
  line-height: 1.7;
}

.vm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Stats */
.stats-section {
  background: var(--gradient-glow);
  padding: 50px 0;
}

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

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--gray-light);
  margin-top: 8px;
  font-size: 1rem;
}

/* CEO */
.ceo-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 50px;
  margin-top: 3rem;
  transition: var(--transition-normal);
}

.ceo-card:hover {
  box-shadow: var(--shadow-glow);
}

.ceo-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ceo-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.ceo-title {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 1.5rem;
}

.ceo-info p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.ceo-social {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
}

/* Album Slider */
.album-slider {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.slider-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-slider:hover .slide img {
  transform: scale(1.02);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.slider-btn.prev {
  left: -25px;
}

.slider-btn.next {
  right: -25px;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form-wrapper {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 50px;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--white);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
}

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

.error-message {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 6px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
}

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

.success-message {
  display: none;
  text-align: center;
  padding: 40px;
}

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

.success-message svg {
  width: 80px;
  height: 80px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.success-message p {
  color: var(--gray-light);
}

/* Contact Info */
.info-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.info-description {
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}

.info-content a,
.info-content p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-content a:hover {
  color: var(--primary);
}

/* Map */
.map-section {
  padding-bottom: var(--section-padding);
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--dark-light);
  padding: 60px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Grid Layout Stay Same */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-legal-lines {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.5;
}

/* Clickable Logo */
.footer-brand a.footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

/* Logo Image */
.footer-brand .footer-logo-img {
  height: 55px;
  width: auto;
  margin-bottom: 10px;

  /* Same visibility boost as navbar */
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 6px rgba(40, 195, 151, 0.25));
}

/* Tagline under Logo */
.footer-brand .footer-brand-tagline {
  font-size: 0.55rem;
  font-weight: 300;
  color: var(--gray-light);
  letter-spacing: 0.02em;
  opacity: 0.85;
  margin-left: 2px;
}

/* Footer small description */
.footer-brand .footer-description {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
}

/* ---------------------------
      Footer Columns
---------------------------- */
.footer h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
}

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

.footer ul li a,
.footer-contact ul li {
  color: var(--gray-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--primary);
}

/* ---------------------------
       Footer Bottom Bar
---------------------------- */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Footer contact items */
.footer-contact-list {
  padding-left: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;

}



.contact-item a,
.contact-item span {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Icons */
.contact-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--primary);
}

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

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: var(--dark);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ==========================================
   ANIMATIONS HELPER
   ========================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

  .ceo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ceo-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .ceo-social {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark-light);
    padding: 100px 40px 40px;
    transition: var(--transition-normal);
    z-index: 1000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link {
    display: block;
    padding: 18px 0;
    font-size: 1.1rem;
  }

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

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

  .about-visual {
    order: -1;
  }

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

  .products-showcase {
    grid-template-columns: 1fr;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }
}

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

  .header-container {
    height: 70px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }

  .hero {
    padding-top: 70px;
  }

  .page-hero {
    padding: 140px 0 70px;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 30px;
  }

  .ceo-card {
    padding: 30px;
  }

  .slide img {
    height: 300px;
  }

  .footer-legal-lines {
    text-align: left;
  }


}


@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

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

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





/* ======================================================
   PRODUCT DETAIL PAGE – ENTERPRISE STYLES
   (Geomagic for SOLIDWORKS)
====================================================== */

/* ---------- HERO LAYOUT ---------- */
.product-detail-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 20% 30%,
      rgba(40, 195, 151, 0.08) 0%,
      transparent 50%),
    var(--dark);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---------- HERO TEXT ---------- */
.product-detail-title {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.product-detail-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  font-size: 1.05rem;
  color: var(--gray-light);
  line-height: 1.8;
  max-width: 620px;
}

/* ---------- METRICS ---------- */
.product-metrics {
  display: flex;
  gap: 18px;
  margin: 2.2rem 0;
  flex-wrap: wrap;
}

.metric-box {
  background: var(--dark-lighter);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  min-width: 160px;
  transition: var(--transition-normal);
}

.metric-box:hover {
  background: rgba(40, 195, 151, 0.08);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(40, 195, 151, 0.15);
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 6px;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* ---------- HERO ACTIONS ---------- */
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.sales-note {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--gray-light);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.sales-note:hover {
  background: rgba(40, 195, 151, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(40, 195, 151, 0.2);
  transform: translateY(-2px);
}

/* ---------- HERO IMAGE ---------- */
.product-detail-image {
  background: linear-gradient(180deg,
      rgba(40, 195, 151, 0.15),
      rgba(0, 0, 0, 0)),
    var(--dark-lighter);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Floating animation for the hero image */
.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ======================================================
   FEATURE GRID
====================================================== */

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.product-feature {
  background: var(--dark-lighter);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-normal);
}

.product-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 195, 151, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(40, 195, 151, 0.1);
  background: linear-gradient(145deg, var(--dark-lighter), rgba(40, 195, 151, 0.05));
}

.product-feature h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.product-feature p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ======================================================
   TAG GRID (APPLICATIONS)
====================================================== */

.tag-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tag-item {
  padding: 10px 18px;
  background: rgba(40, 195, 151, 0.12);
  border: 1px solid rgba(40, 195, 151, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: default;
}

.tag-item:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(40, 195, 151, 0.4);
  transform: scale(1.05);
}

/* ======================================================
   FAQ
====================================================== */

.product-faq {
  max-width: 900px;
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ======================================================
   FINAL CTA
====================================================== */

.product-cta {
  padding: 90px 20px;
  background: var(--gradient-glow);
  text-align: center;
}

.product-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.product-cta p {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

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

@media (max-width: 1024px) {
  .product-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    order: -1;
  }
}

@media (max-width: 480px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .metric-box {
    width: 100%;
  }
}

/* ==========================================
   BROCHURE MODAL
   ========================================== */
.brochure-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.brochure-modal.active {
  opacity: 1;
  visibility: visible;
}

.brochure-content {
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  background: var(--dark-lighter);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.brochure-modal.active .brochure-content {
  transform: scale(1);
}

.brochure-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark);
}

.brochure-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.brochure-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.close-modal {
  background: none;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
}

.close-modal:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.brochure-body {
  flex: 1;
  background: #333;
  position: relative;
}

/* ==========================================
   PRODUCT GALLERY (GRID LAYOUT)
   ========================================== */
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--dark-lighter);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* First item spans 2 rows and 2 columns (large image) */
.gallery-item.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 900px) {
  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item.item-large {
    grid-column: span 2;
    height: 300px;
  }

  .gallery-item {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .product-gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item.item-large {
    grid-column: span 1;
    height: 250px;
  }
}

/* ==========================================
   WORKFLOW SECTION (COLORFUL & INTERACTIVE)
   ========================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 3rem;
}

.workflow-card {
  background: var(--dark-lighter);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Step Colors */
.workflow-card:nth-child(1) {
  --step-accent: #00f5d4;
}

/* Teal */
.workflow-card:nth-child(2) {
  --step-accent: #4cc9f0;
}

/* Light Blue */
.workflow-card:nth-child(3) {
  --step-accent: #4361ee;
}

/* Blue */
.workflow-card:nth-child(4) {
  --step-accent: #7209b7;
}

/* Purple */
.workflow-card:nth-child(5) {
  --step-accent: #f72585;
}

/* Pink */

/* Hover Effects */
.workflow-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 20px -5px var(--step-accent);
  border-color: var(--step-accent);
}

/* Step Number Styling */
.workflow-step-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--step-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 10px;
  transition: all 0.4s ease;
  display: block;
}

.workflow-card:hover .workflow-step-num {
  opacity: 1;
  transform: scale(1.1) translateY(-5px);
  text-shadow: 0 0 15px var(--step-accent);
}