/* CNC Industrial Modern Design System */

:root {
  /* Industrial Color Palette */
  --primary-dark: #1a1f2e;
  --primary-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-orange: #f97316;
  --neutral-gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --dark-surface: #0f172a;
  --border-light: #e2e8f0;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--primary-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Typography Hierarchy */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--neutral-gray);
  margin-bottom: var(--space-sm);
}

/* Header Styles */
.header-area,
.header-area.background-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.header-area .container {
  max-width: 1600px !important;
  width: 100% !important;
  padding: 0 2rem !important;
}

.main-nav {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative;
}

.main-nav .logo img {
  height: 48px;
  width: auto;
  filter: none;
  transition: transform 0.3s ease;
  display: block;
}

.main-nav .logo:hover img {
  transform: scale(1.05);
}

/* ==========================================
   DESKTOP NAVIGATION (992px and up)
   ========================================== */
@media (min-width: 992px) {
  .main-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: auto !important;
  }

  .main-nav .logo {
    float: none !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .main-nav .nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: var(--space-lg) !important;
    align-items: center !important;
    float: none !important;
    width: auto !important;
  }
}

@media (max-width: 991px) {
  .main-nav .menu-trigger {
    display: block !important;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1001; 
  }
  
  .main-nav .menu-trigger span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: var(--primary-dark) !important;
    position: absolute !important;
    left: 0 !important;
    transition: all 0.3s ease !important;
  }

  .main-nav .menu-trigger span:nth-child(1) { top: 4px !important; }
  .main-nav .menu-trigger span:nth-child(2) { top: 14px !important; }
  .main-nav .menu-trigger span:nth-child(3) { top: 24px !important; }

  .main-nav .menu-trigger.active span:nth-child(1) {
    top: 14px !important;
    transform: rotate(45deg);
  }
  .main-nav .menu-trigger.active span:nth-child(2) { opacity: 0; }
  .main-nav .menu-trigger.active span:nth-child(3) {
    top: 14px !important;
    transform: rotate(-45deg);
  }

  /* Floating Side-Panel Nav */
  .main-nav .nav {
    display: none;
    position: absolute !important;
    top: calc(100% + 20px); /* 0 distance? Offset for "boşluk" */
    right: 20px !important;
    left: auto !important;
    width: 280px !important;
    max-width: 85vw !important;
    background: rgba(26, 31, 46, 0.98) !important; /* Premium Dark */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    z-index: 999;
    padding: 1.5rem !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    gap: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: menuSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .main-nav .nav li {
    width: 100%;
    border: none !important;
    padding: 0 !important;
  }

  .main-nav .nav li a {
    display: block !important;
    width: 100% !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease !important;
    padding: 0.8rem 1.2rem !important;
    text-align: left !important;
    background: transparent !important;
    border-radius: var(--radius-sm);
  }

  .main-nav .nav a:hover,
  .main-nav .nav a.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding-left: 1.8rem !important;
  }

  /* Left accent line for active item */
  .main-nav .nav a.active::before {
    content: '';
    display: block !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--accent-orange);
    border-radius: 2px;
  }
}

.main-nav .nav li {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.main-nav .nav a {
  text-decoration: none !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  line-height: normal !important;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.main-nav .nav a:hover,
.main-nav .nav a.active {
  color: var(--primary-blue) !important;
}

@media (min-width: 992px) {
  .main-nav .nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 2px;
  }
}

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

.main-red-button-hover a {
  background: transparent;
  color: var(--accent-orange) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-orange);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-red-button-hover a::after {
  display: none;
}

.main-red-button-hover a:hover {
  background: var(--accent-orange);
  color: var(--white) !important;
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}


/* ==========================================
   HERO SECTION - Premium Full-Screen Design
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(26, 31, 46, 0.85) 40%,
      rgba(15, 23, 42, 0.75) 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: heroGridDrift 30s linear infinite;
}

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

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

/* Floating Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.particle-1 {
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  top: 20%;
  left: 15%;
  animation-duration: 12s;
  opacity: 0.6;
}

.particle-2 {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  top: 60%;
  left: 80%;
  animation-duration: 15s;
  opacity: 0.4;
}

.particle-3 {
  width: 3px;
  height: 3px;
  background: var(--primary-blue);
  top: 40%;
  left: 50%;
  animation-duration: 10s;
  opacity: 0.5;
}

.particle-4 {
  width: 5px;
  height: 5px;
  background: var(--accent-cyan);
  top: 75%;
  left: 25%;
  animation-duration: 18s;
  opacity: 0.3;
}

.particle-5 {
  width: 4px;
  height: 4px;
  background: var(--accent-orange);
  top: 10%;
  left: 70%;
  animation-duration: 14s;
  opacity: 0.5;
}

.particle-6 {
  width: 3px;
  height: 3px;
  background: var(--white);
  top: 85%;
  left: 60%;
  animation-duration: 20s;
  opacity: 0.2;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(100px, -200px) rotate(360deg);
    opacity: 0;
  }
}

/* Hero Layout */
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: calc(100vh - 100px);
}

/* Hero Content (Left) */
.hero-content {
  color: var(--white);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--accent-orange);
  display: block;
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--white);
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

.title-gradient {
  display: block;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #fbbf24 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: fadeSlideUp 0.8s ease-out 0.4s both, gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  max-width: 540px;
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.8s ease-out 0.8s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--accent-orange);
  color: var(--white);
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

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

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

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(249, 115, 22, 0.4);
  background: #ea580c;
  border-color: #ea580c;
  color: var(--white);
}

.btn-hero-primary svg {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.15);
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  gap: var(--space-md);
  animation: fadeSlideUp 0.8s ease-out 1s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.trust-item svg {
  flex-shrink: 0;
}

/* Stats Panel (Right) */
.hero-stats-panel {
  animation: fadeSlideLeft 1s ease-out 0.6s both;
}

.stats-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
}

.stats-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-block {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.5rem !important;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  width: 100%;
}

.stat-block:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.stat-icon {
  width: 52px;
  height: 52px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.stat-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  flex: 0 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stat-value-wrapper {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  margin-bottom: 2px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-mono);
  line-height: 1;
  margin: 0 !important;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  line-height: 1;
  margin: 0 !important;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 !important;
  padding: 0 !important;
}

.stat-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-mono);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    top: 6px;
    opacity: 1;
  }

  50% {
    top: 18px;
    opacity: 0.3;
  }
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hero Responsive */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    min-height: auto;
    padding: var(--space-lg) 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }

  .hero-stats-panel {
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .hero .container {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .scroll-indicator {
    display: none;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section Styles */
section {
  padding: var(--space-xl) 0;
}

.section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-heading h2 {
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

.section-heading h2 span {
  color: var(--accent-orange);
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--neutral-gray);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan), var(--primary-blue));
}

.products-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 40px; /* Space for the navigation arrows */
}

.products-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: var(--space-md);
  padding: var(--space-md) 5px; /* Spacing to allow shadow to not be clipped */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-slider::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 calc(25% - 18px);
  min-width: 220px;
  scroll-snap-align: start;
  height: auto;
}

/* Slider Controls */
.slider-controls {
  /* No need for flex here since we absolute position the arrows */
  width: 100%;
}

.slider-btn {
  position: absolute;
  top: 45%; /* Vertically center relative to the images */
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--accent-orange);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.prev-btn {
  left: -20px; /* Pull it slightly out to the left */
}

.next-btn {
  right: -20px; /* Pull it slightly out to the right */
}

.slider-btn:hover {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 12px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1; /* highly visible light-medium grey */
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: #94a3b8; /* darker grey on hover */
}

.slider-dot.active {
  background: var(--accent-orange);
  transform: scale(1.3);
}

.product-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--dark-surface);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

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

.product-image {
  position: relative;
  aspect-ratio: 1 / 1; /* Perfect square shape */
  width: 100%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 40%,
      rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

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

.product-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-overlay h3 {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .product-image {
    height: 300px;
  }
}

/* ==========================================
   CONTACT SECTION - Premium Corporate
   ========================================== */

.contact-section {
  position: relative;
  background: #f8fafc; /* Light gray background to make white cards pop */
  padding: calc(var(--space-xl) * 2) 0;
  overflow: hidden;
}

.contact-section .section-heading h2 {
  color: var(--primary-dark);
}

.contact-section .section-heading p {
  color: var(--neutral-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--space-xl) * 1.5);
  align-items: stretch;
}

/* Map Style */
.contact-map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: var(--white);
  height: 400px;
  padding: 1rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-xl) - 0.5rem);
  filter: grayscale(10%) contrast(1.05);
  transition: all 0.4s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* Contact Details - Structured Cards */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: calc(var(--space-xl));
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(26, 31, 46, 0.08); /* slight navy tint shadow */
  border-color: rgba(6, 182, 212, 0.3); /* cyan border */
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--primary-dark);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text h4 {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-gray);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-text p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.4;
  word-break: break-word; /* Prevent weird number wrapping */
}

/* Premium Form Card */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-dark)); /* Logo colors */
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.industrial-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  position: relative;
}

/* Solid Premium Inputs */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--primary-dark);
  background: #f1f5f9;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1); /* Cyan focus glow */
}

.form-group label {
  display: none;
}

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

.success-message {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.success-icon {
  width: 36px;
  height: 36px;
  background: #10b981;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.success-message p {
  color: #065f46;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.contact-form .btn-primary,
.contact-form button.btn-primary {
  width: 100%;
  padding: 1.2rem;
  text-align: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: var(--font-primary);
  background: #1e3a8a !important; /* True Navy Blue (Lacivert) */
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius-md);
  display: inline-flex;
  transition: all 0.3s ease;
  margin-top: var(--space-sm);
}

.contact-form .btn-primary:hover,
.contact-form button.btn-primary:hover {
  background: var(--white) !important;
  color: #1e3a8a !important;
  border: 2px solid #1e3a8a !important;
  padding: calc(1.2rem - 2px);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--space-xl) * 1.5);
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}

/* Grid Layouts */
.grid-container {
  display: grid;
  gap: var(--space-md);
  margin: 0 auto;
}

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Components */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-orange);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: translateX(0);
}

.card h3 {
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--neutral-gray);
  margin-bottom: var(--space-md);
}

/* Industrial Accents */
.industrial-badge {
  display: inline-block;
  background: var(--accent-cyan);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.technical-spec {
  font-family: var(--font-mono);
  background: var(--light-gray);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent-orange);
}

/* Button Styles */
.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-banner {
    padding: calc(80px + var(--space-md)) 0 var(--space-md);
  }

  .container {
    padding: 0 var(--space-sm);
  }

  section {
    padding: var(--space-lg) 0;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* ==========================================
   MACHINES SECTION
   ========================================== */

.machines-section {
  background: #0f131f;
  /* Deeper dark for contrast with hero */
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: calc(var(--space-xl) * 1.5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.machines-section .section-heading h2 {
  color: var(--white);
}

.machines-section .section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.machine-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.machine-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.machine-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.machine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.machine-card:hover .machine-img {
  transform: scale(1.06);
}

.machine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.machine-card:hover .machine-overlay {
  opacity: 1;
}

.machine-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.machine-card:hover .machine-specs {
  transform: translateY(0);
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.machine-info {
  padding: var(--space-md);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.machine-header {
  margin-bottom: var(--space-md);
}

.machine-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.machine-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.machine-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.machine-capabilities .capability-tag {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.machine-card:hover .capability-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .machines-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

/* ==========================================
   ABOUT SECTION - High-Tech Asymmetric (Light Mode)
   ========================================== */

.about-section-alt {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-xl) * 2) 0;
  z-index: 1;
  color: var(--primary-dark);
}

/* Blueprint Grid Background */
.blueprint-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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);
  background-size: 40px 40px;
  background-position: center center;
  z-index: -2;
}

.blueprint-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--white) 80%);
  pointer-events: none;
}

/* Vertical Title */
.vertical-title {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

/* Header */
.about-header {
  max-width: 100%;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.about-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  margin: 0;
}

.highlight-text {
  color: transparent;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Body Layout */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: calc(var(--space-xl) * 1.5);
  align-items: start;
}

/* Info Side */
.about-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--neutral-gray);
  margin: 0;
  border-left: 2px solid rgba(6, 182, 212, 0.3);
  padding-left: var(--space-md);
}

.telemetry-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.t-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
}

.t-plus {
  color: var(--accent-orange);
  font-size: 1.5rem;
}

.t-label {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tech-stack-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neutral-gray);
  transition: background 0.3s ease;
}

.t-pill:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.t-pill:hover .pill-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Vision Area (Image UI) */
.about-vision {
  position: relative;
}

.vision-frame {
  position: relative;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  height: 550px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.vision-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
}

/* UI Overlays inside Image */
.crosshair {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-cyan);
  border-style: solid;
  border-width: 0;
  z-index: 5;
}

.crosshair.tl { top: 2rem; left: 2rem; border-top-width: 2px; border-left-width: 2px; }
.crosshair.tr { top: 2rem; right: 2rem; border-top-width: 2px; border-right-width: 2px; }
.crosshair.bl { bottom: 2rem; left: 2rem; border-bottom-width: 2px; border-left-width: 2px; }
.crosshair.br { bottom: 2rem; right: 2rem; border-bottom-width: 2px; border-right-width: 2px; }

.vision-scan-line {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
  z-index: 4;
  animation: scan 4s linear infinite;
  opacity: 0.7;
}

@keyframes scan {
  0% { transform: translateY(0); }
  50% { transform: translateY(500px); }
  100% { transform: translateY(0); }
}

.hud-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  z-index: 5;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.hud-box.top-right {
  top: 1rem;
  right: 1rem;
  border-right: 0;
  border-top: 0;
}

.hud-box.bottom-left {
  bottom: 1rem;
  left: 1rem;
  border-left: 0;
  border-bottom: 0;
}

/* Rotating Stamp Badge */
.rotating-stamp {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rotating-stamp svg {
  width: 100%;
  height: 100%;
  animation: rotateText 15s linear infinite;
}

.rotating-stamp text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  fill: var(--primary-dark);
  letter-spacing: 3px;
}

.stamp-center {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

@keyframes rotateText {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .about-body {
    grid-template-columns: 1fr;
  }
  
  .vertical-title {
    display: none;
  }
  
  .vision-frame {
    height: 450px;
    margin-top: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .telemetry-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .rotating-stamp {
    left: 10px;
    bottom: -20px;
    width: 100px;
    height: 100px;
  }
  
  .stamp-center {
    width: 40px;
    height: 40px;
  }
  
  .about-header h2 {
    font-size: 2.2rem;
  }
}

/* ==========================================
   FOOTER SECTION - Industrial Design
   ========================================== */

.industrial-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: calc(var(--space-xl) * 1.5) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.industrial-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan), var(--primary-blue));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
  filter: brightness(0) invert(1) sepia(1) hue-rotate(340deg) saturate(8);
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 400;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.footer-contact a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer-contact svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-contact a:hover svg {
  opacity: 1;
  color: var(--accent-orange);
}

/* Footer Sections */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
  width: 60px;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-orange);
  padding-left: 20px;
}

.footer-link:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  margin-bottom: var(--space-md);
}

.copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

/* Footer Decoration */
.footer-dec {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 200px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.footer-dec img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .industrial-footer {
    padding: var(--space-xl) 0 var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section:hover .footer-title::after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-link {
    text-align: center;
  }
  
  .footer-link:hover {
    padding-left: 0;
    transform: translateY(-2px);
  }
  
  .footer-link::before {
    display: none;
  }
  
  .footer-contact {
    justify-content: center;
  }
  
  .footer-contact a:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .industrial-footer {
    padding: calc(var(--space-lg) * 1.5) 0 var(--space-md);
  }
  
  .footer-logo img {
    height: 40px;
  }
  
  .footer-tagline {
    font-size: 0.9rem;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
  }
  
  .copyright p {
    font-size: 0.85rem;
  }
  
  .footer-dec {
    width: 200px;
    height: 150px;
  }
}

/* Footer Animation on Scroll */
.industrial-footer {
  animation: footerFadeIn 1s ease-out;
}

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

/* ==========================================
   REFERENCES SECTION
   ========================================== */

.references-section {
  background: var(--dark-surface);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.references-section .section-heading h2 {
  color: var(--white);
}

.references-section .section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.reference-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.reference-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reference-logo-container {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.reference-card:hover .reference-logo-container {
  transform: scale(1.05);
}

.ref-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s ease;
}

.reference-card:hover .ref-logo-img {
  filter: grayscale(0%);
}

.reference-info {
  text-align: center;
  width: 100%;
}

.ref-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reference-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.status-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

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