/* ============================================
   ALUSTRIAL MÉXICO — Design System
   Cleanroom Premium Aesthetic
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Primary Colors */
  --primary-900: #020617;
  --primary-800: #0A1628;
  --primary-700: #0F2044;
  --primary-600: #1A3266;
  --primary-500: #1E40AF;
  --primary-400: #3B82F6;
  
  /* Accent Colors */
  --accent-cyan: #06B6D4;
  --accent-teal: #0D9488;
  --accent-cyan-light: #67E8F9;
  --accent-glow: rgba(6, 182, 212, 0.3);
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0A1628 30%, #1A3266 70%, #0F2044 100%);
  --gradient-accent: linear-gradient(135deg, #1E40AF 0%, #06B6D4 100%);
  --gradient-accent-reverse: linear-gradient(135deg, #06B6D4 0%, #1E40AF 100%);
  --gradient-dark: linear-gradient(180deg, #0A1628 0%, #020617 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  --gradient-card: linear-gradient(135deg, rgba(30,64,175,0.08), rgba(6,182,212,0.08));
  --gradient-text: linear-gradient(135deg, #3B82F6 0%, #06B6D4 50%, #0D9488 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(6,182,212,0.15);
  --shadow-glow-strong: 0 0 60px rgba(6,182,212,0.25);
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;
  --container-padding: 0 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-800);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

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

/* --- Typography --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-title--light {
  color: var(--primary-800);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray-400);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle--light {
  color: var(--gray-600);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.btn-outline--dark {
  color: var(--primary-700);
  border-color: var(--primary-500);
}

.btn-outline--dark:hover {
  background: var(--primary-500);
  color: var(--white);
  border-color: var(--primary-500);
}

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

/* --- Glass Card --- */
.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 6px 0;
  box-shadow: var(--shadow-lg);
}

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

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-base);
  filter: drop-shadow(0 0 20px rgba(6,182,212,0.2)) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 28px rgba(6,182,212,0.4)) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transform: scale(1.04);
}

.header.scrolled .logo-img {
  height: 60px;
}

.footer .logo-img {
  height: 90px;
  filter: drop-shadow(0 0 16px rgba(6,182,212,0.2)) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Hero watermark logo */
.hero-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  height: 55vh;
  width: auto;
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: grayscale(100%) brightness(2);
}

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

.nav a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav a.active {
  color: var(--accent-cyan);
}

.nav-cta {
  margin-left: 16px;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-300);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-900);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-cleanroom.png') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
  animation: heroImageReveal 2s ease both;
}

@keyframes heroImageReveal {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 0.3; transform: scale(1); }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(2,6,23,0.92) 0%, rgba(10,22,40,0.75) 40%, rgba(30,64,175,0.3) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.12) 0%, transparent 60%);
  z-index: 1;
}

/* Decorative glow orbs */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,64,175,0.15) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 1;
  animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
  position: relative;
  display: inline;
  color: var(--accent-cyan);
}

.hero-title .highlight::after {
  display: none;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* Hero Visual / Showcase */
.hero-visual {
  position: relative;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(6,182,212,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-showcase img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,6,23,0.7) 100%);
}

.hero-showcase-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-showcase-label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}

.hero-showcase-label .label-badge {
  background: rgba(6,182,212,0.2);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Floating mini cards around showcase */
.hero-float-card {
  position: absolute;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  z-index: 3;
}

.hero-float-card--top {
  top: -16px;
  right: -20px;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card--bottom {
  bottom: -16px;
  left: -20px;
  animation: float 7s ease-in-out infinite 1s;
}

.hero-float-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-icon svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.hero-float-text {
  font-size: 0.78rem;
  color: var(--gray-300);
  font-weight: 500;
  line-height: 1.3;
}

.hero-float-text strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.5s both;
  backdrop-filter: blur(12px);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: all var(--transition-base);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

.stat-item:hover {
  background: rgba(6, 182, 212, 0.06);
}

.stat-item:hover::after {
  width: 60%;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   ABOUT / PLANTA SECTION
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

.about-content {
  position: relative;
}

.about-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.about-feature:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.about-feature h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.about-img--large {
  grid-row: span 2;
}

.about-img--large img {
  height: 100%;
}

.about-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.about-floating-badge .badge-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-floating-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30,64,175,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--gradient-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.service-card:hover {
  border-color: rgba(6, 182, 212, 0.2);
  background: linear-gradient(135deg, rgba(30,64,175,0.12), rgba(6,182,212,0.08));
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.15);
  letter-spacing: 0.3px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
}

.products-header {
  text-align: center;
  margin-bottom: 64px;
}

.products-header .section-subtitle {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
  transform: translateY(-8px);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--primary-800);
}

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

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

.product-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.product-body {
  padding: 28px;
}

.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--primary-500);
  font-weight: 600;
}

.product-spec svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--section-padding);
  background: var(--primary-800);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg, transparent, rgba(2,6,23,0.5));
}

.projects-header {
  text-align: center;
  margin-bottom: 64px;
}

.projects-header .section-subtitle {
  margin: 0 auto;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  group: true;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,6,23,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background var(--transition-base);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(180deg, rgba(30,64,175,0.2) 0%, rgba(2,6,23,0.95) 100%);
}

.project-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.project-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.project-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic portfolio elements loaded from ERP CMS */
.project-card-featured {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.project-card-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.project-card:hover .project-card-meta {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PROJECT LIGHTBOX / GALLERY
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.lightbox-main-image {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-info {
  text-align: center;
  color: #e2e8f0;
}

.lightbox-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lightbox-info .lightbox-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lightbox-info p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.lightbox-counter {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}

.lightbox-nav.prev { left: -3.5rem; }
.lightbox-nav.next { right: -3.5rem; }

.lightbox-thumbnails {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.lightbox-thumb {
  width: 56px;
  height: 56px;
  border-radius: 0.4rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.2s;
  flex-shrink: 0;
}

.lightbox-thumb.active {
  border-color: var(--accent-cyan);
  opacity: 1;
}

.lightbox-thumb:hover {
  opacity: 0.8;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
  .lightbox-close { top: -2rem; right: 0.5rem; }
  .lightbox-thumb { width: 44px; height: 44px; }
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
  padding: 80px 0;
  background: var(--primary-900);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cert-text {
  flex-shrink: 0;
}

.cert-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 4px;
}

.cert-text p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.cert-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: all var(--transition-base);
  min-width: 120px;
}

.cert-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.06);
  transform: translateY(-2px);
}

.cert-item svg {
  width: 36px;
  height: 36px;
  color: var(--accent-cyan);
}

.cert-item span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-300);
  text-align: center;
  letter-spacing: 0.5px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: var(--primary-800);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(30,64,175,0.12) 0%, transparent 60%);
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 60px;
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.15;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
}

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

.contact-info {
  position: relative;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-800);
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.contact-item:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.contact-item-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.06);
  transform: translateY(-2px);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.06);
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-900);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

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

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

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); }
  50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.4); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ============================================
   CHATBOT WIDGET
   ============================================ */
.chatbot {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(6,182,212,0.08);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.chatbot.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(30,64,175,0.3), rgba(6,182,212,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chatbot-header-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.chatbot-header-status {
  font-size: 0.72rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-glow-dot 2s ease infinite;
}

@keyframes pulse-glow-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.chatbot-close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 340px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: fadeInUp 0.3s ease;
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(6,182,212,0.15);
}

.chat-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-msg--user .chat-msg-avatar {
  background: rgba(30,64,175,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 260px;
  word-wrap: break-word;
}

.chat-msg--bot .chat-bubble {
  background: rgba(255,255,255,0.06);
  color: var(--gray-200);
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-bubble {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-cyan));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  animation: fadeInUp 0.3s ease 0.15s both;
}

.chat-quick-btn {
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.chat-quick-btn:hover {
  background: rgba(6,182,212,0.2);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  align-items: center;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--gray-500);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.chatbot-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-base);
}

.chatbot-input::placeholder {
  color: var(--gray-500);
}

.chatbot-input:focus {
  border-color: rgba(6,182,212,0.4);
}

.chatbot-send {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.chatbot-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(6,182,212,0.3);
}

.chatbot-send svg {
  width: 18px;
  height: 18px;
}

/* Toggle Button */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-cyan));
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(6,182,212,0.35);
  transition: all var(--transition-base);
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(6,182,212,0.5);
}

.chatbot-toggle-icon {
  width: 28px;
  height: 28px;
  position: absolute;
  transition: all 0.3s ease;
}

.chatbot-toggle-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.chatbot-toggle.active .chatbot-toggle-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.chatbot-toggle.active .chatbot-toggle-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #EF4444;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-900);
  animation: pulse-glow 2s ease infinite;
  transition: all var(--transition-base);
}

.chatbot-badge.hidden {
  opacity: 0;
  transform: scale(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .hero-showcase img {
    height: 300px;
  }

  .hero-float-card--top {
    right: -10px;
  }

  .hero-float-card--bottom {
    left: -10px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .cert-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cert-logos {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }
  
  /* Navigation */
  .nav {
    display: none;
  }
  
  .nav-cta.desktop-only {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }

  .logo-img {
    height: 70px;
  }

  .hero-watermark {
    display: none;
  }
  
  /* Hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 500px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    justify-content: center;
  }
  
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .about-images {
    max-height: 400px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  /* Projects */
  .projects-showcase {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    height: 300px;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 28px;
  }
  
  /* CTA */
  .cta-box {
    padding: 50px 28px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  /* Certifications */
  .cert-logos {
    gap: 16px;
  }
  
  .cert-item {
    padding: 14px 18px;
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  
  .stat-item {
    padding: 20px 12px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-900);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: rgba(6, 182, 212, 0.3);
  color: var(--white);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  animation: pulse-glow 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}
