/* ===================================================
   SACH SYSTEMS — style.css
   Premium Enterprise Technology Website
   =================================================== */

/* -------------------- CSS VARIABLES -------------------- */
:root {
  --clr-bg:        #05070d;
  --clr-bg-2:      #0a0d16;
  --clr-bg-card:   #0d101b;
  --clr-bg-card2:  #121525;
  --clr-border:    rgba(255,255,255,0.07);
  --clr-border-hover: rgba(37,99,235,0.45);

  --clr-primary:   #2563eb;
  --clr-primary-2: #3b82f6;
  --clr-accent:    #06b6d4;
  --clr-accent-2:  #60a5fa;
  --clr-green:     #10b981;
  --clr-amber:     #f59e0b;

  --grad-main:   linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-hero:   linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-dark:   linear-gradient(180deg, #05070d 0%, #0a0d16 100%);
  --grad-card:   linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(6,182,212,0.06) 100%);

  --clr-text:      #f1f5f9;
  --clr-text-muted: #8c96a8;
  --clr-text-dim:  #4a5568;

  --font-display:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-card:   0 4px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow:   0 0 40px rgba(37,99,235,0.25);
  --shadow-glow-sm:0 0 20px rgba(37,99,235,0.15);

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* -------------------- LIGHT MODE -------------------- */
[data-theme="light"] {
  --clr-bg:        #ffffff;
  --clr-bg-2:      #eef3fe;
  --clr-bg-card:   #ffffff;
  --clr-bg-card2:  #f2f6fe;
  --clr-border:    rgba(15,23,42,0.10);
  --clr-border-hover: rgba(37,99,235,0.45);

  --clr-text:      #0f172a;
  --clr-text-muted: #4b5563;
  --clr-text-dim:  #94a3b8;

  --mesh-blue:   #2563eb;
  --mesh-indigo: #4f46e5;
  --mesh-cyan:   #06b6d4;
  --mesh-sky:    #38bdf8;

  --shadow-card:   0 4px 24px rgba(30,64,175,0.10), 0 1px 0 rgba(255,255,255,0.85) inset;
  --shadow-glow:   0 0 40px rgba(37,99,235,0.18);
  --shadow-glow-sm:0 0 20px rgba(37,99,235,0.14);
}

/* Theme transition for all elements */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
  letter-spacing: 0;
}

img { max-width: 100%; }

a { text-decoration: none; }

p { line-height: 1.7; letter-spacing: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

/* -------------------- UTILITY -------------------- */
.section-pad { padding: 100px 0; position: relative; }
.section-pad > .container { position: relative; z-index: 1; }

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

.gradient-text-bright {
  background: linear-gradient(135deg, #06b6d4 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-primary-2);
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-label-light {
  color: var(--clr-accent);
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.25);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 0;
  line-height: 1.7;
  letter-spacing: 0;
}

.section-body {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 600px;
  margin-bottom: 20px;
}

/* -------------------- NAVBAR -------------------- */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(7,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom-color: var(--clr-border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

[data-theme="light"] #mainNav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

/* Logo support */
.brand-logo {
  height: 36px;
  width: auto;
  display: none;
  object-fit: contain;
}

.brand-logo-dark { display: block; }

[data-theme="light"] .brand-logo-dark { display: none; }
[data-theme="light"] .brand-logo-light { display: block; }

/* Footer background is always dark, so its logo mark is always the white version */
.footer-logo { display: block !important; }

/* Theme toggle button */
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  transform: rotate(20deg) scale(1.05);
  box-shadow: var(--shadow-glow-sm);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: var(--shadow-glow-sm);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.01em;
}

.brand-accent {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted) !important;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--clr-text) !important;
  background: rgba(255,255,255,0.05);
}

.btn-nav-cta {
  background: var(--grad-main);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px !important;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-glow-sm);
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.toggler-icon {
  color: var(--clr-text);
  font-size: 1.1rem;
}

.navbar-toggler { border: none; box-shadow: none !important; }

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  bottom: -50px; right: 100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

.hero-content { padding-top: 100px; padding-bottom: 60px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Custom Software Highlight */
.custom-sw-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--clr-primary-2);
  font-family: var(--font-display);
  font-weight: 500;
  animation: fadeSlideUp 0.65s 0.05s ease both;
  flex-wrap: wrap;
}

.custom-sw-tag {
  background: var(--grad-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text);
  letter-spacing: -0.4px;
  margin-bottom: 28px;
  max-width: 600px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  line-height: 1.7;
  letter-spacing: 0;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.btn-hero-primary {
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.55);
  color: #fff;
  filter: brightness(1.08);
}

.btn-hero-ghost {
  background: transparent;
  color: var(--clr-text);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
  color: var(--clr-text);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}

.stat-item { text-align: left; padding: 0 24px 0 0; }
.stat-item:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-border);
  margin: 0 24px;
}

/* Hero Visual */
.hero-visual { padding-top: 100px; display: flex; align-items: center; }

.hero-card-stack {
  position: relative;
  height: 500px;
  width: 100%;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  min-width: 240px;
  transition: var(--transition);
}

.floating-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-1 { top: 40px; right: 20px; animation: floatCard1 5s ease-in-out infinite; }
.card-2 { top: 160px; right: 80px; animation: floatCard2 6s ease-in-out infinite; }
.card-3 { top: 280px; right: 10px; animation: floatCard3 7s ease-in-out infinite; }

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-icon {
  width: 40px; height: 40px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; flex-shrink: 0;
}

.fc-info { flex: 1; }

.fc-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
}

.fc-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.fc-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  flex-shrink: 0;
}

/* Hero central graphic */
.hero-central-graphic {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
}

.hcg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}

.ring-1 {
  width: 140px; height: 140px;
  border-color: rgba(37,99,235,0.3);
  animation: ringRotate 8s linear infinite;
}

.ring-2 {
  width: 100px; height: 100px;
  border-color: rgba(6,182,212,0.25);
  animation: ringRotate 12s linear infinite reverse;
}

.ring-3 {
  width: 60px; height: 60px;
  border-color: rgba(96,165,250,0.2);
  animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hcg-core {
  width: 52px; height: 52px;
  background: var(--grad-main);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: var(--shadow-glow);
  z-index: 1;
  animation: coreGlow 3s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: var(--shadow-glow); }
  50% { box-shadow: 0 0 60px rgba(37,99,235,0.5); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--clr-primary-2);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* -------------------- MARQUEE -------------------- */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}

.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 16px;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  gap: 0;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  white-space: nowrap;
  text-transform: uppercase;
}

.marquee-inner span i {
  color: var(--clr-primary-2);
  font-size: 0.9rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------- ABOUT SECTION -------------------- */
.about-section { background: var(--clr-bg); position: relative; overflow: hidden; }

.about-visual { position: relative; }

.about-grid-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.agc-row { display: flex; gap: 12px; }

.agc-cell {
  flex: 1;
  background: var(--clr-bg-card2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: var(--transition);
}

.agc-cell.highlight {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.25);
}

.agc-cell i {
  font-size: 1.4rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agc-cell span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.agc-cell:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-3px);
}

.about-badge-float {
  position: absolute;
  bottom: -16px;
  right: 16px;
  z-index: 2;
  background: var(--grad-main);
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
  border: 3px solid var(--clr-bg);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.pillar-icon { color: var(--clr-green); font-size: 1rem; }

/* -------------------- PRODUCTS SECTION -------------------- */
.products-section {
  background: var(--clr-bg-2);
  position: relative;
}

.section-bg-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-main);
  opacity: 0.4;
}

.ems-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--clr-green);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-top: 16px;
}

/* EMS Overview Card */
.ems-overview-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ems-overview-left {
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border-right: 1px solid var(--clr-border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ems-overview-left-centered {
  align-items: center;
  text-align: center;
}

.ems-logo-area-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ems-tags-centered {
  justify-content: center;
}

.ems-icon-wrap {
  width: 64px; height: 64px;
  background: var(--grad-main);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}

.ems-overview-left h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.ems-overview-left p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.ems-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.ems-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  padding: 4px 12px;
  border-radius: 6px;
}

.ems-overview-right { padding: 48px 40px; }

.ems-overview-desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.ems-quick-stat {
  background: var(--clr-bg-card2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.eq-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eq-label {
  font-size: 0.75rem;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Module Cards */
.module-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}

.module-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.module-card.featured {
  border-color: rgba(37,99,235,0.3);
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--clr-bg-card) 100%);
}

.mc-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(var(--mc-color, 37,99,235), 0.12);
  border: 1px solid rgba(var(--mc-color, 37,99,235), 0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--mc-color, #2563eb);
  margin-bottom: 18px;
  transition: var(--transition);
}

/* Override with direct color since CSS doesn't parse custom property hex in rgba */
.module-card:nth-child(1) .mc-icon-wrap { color: #3b82f6; background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.2); }
.module-card:nth-child(2) .mc-icon-wrap { color: #0ea5e9; background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.2); }
.module-card:nth-child(3) .mc-icon-wrap { color: #10b981; background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.2); }
.module-card:nth-child(4) .mc-icon-wrap { color: #f59e0b; background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); }
.module-card:nth-child(5) .mc-icon-wrap { color: #ef4444; background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.2); }
.module-card:nth-child(6) .mc-icon-wrap { color: #06b6d4; background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.2); }

.module-card:hover .mc-icon-wrap { transform: scale(1.1); }

.mc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.mc-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.mc-features {
  list-style: none;
  padding: 0;
}

.mc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--clr-border);
}

.mc-features li:last-child { border-bottom: none; }

.mc-features li i {
  font-size: 0.65rem;
  color: var(--clr-primary-2);
}

/* Module Wide Card */
.module-card-wide {
  padding: 32px 36px;
}

.report-feat {
  background: var(--clr-bg-card2);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.report-feat:hover {
  border-color: var(--clr-border-hover);
  background: rgba(37,99,235,0.08);
}

.report-feat i {
  font-size: 1.1rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.report-feat span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* -------------------- UPCOMING PRODUCTS -------------------- */
.upcoming-section { background: var(--clr-bg); position: relative; overflow: hidden; }

.upcoming-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.upcoming-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}

.upcoming-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.uc-soon-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--clr-amber);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  width: fit-content;
}

.uc-badge-ai {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.25);
  color: var(--clr-primary-2);
}

.uc-icon {
  font-size: 2rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.uc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.uc-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.uc-progress {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.ucp-bar {
  height: 100%;
  width: var(--prog, 0%);
  background: var(--grad-main);
  border-radius: 2px;
  transition: width 1s ease;
}

.uc-prog-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
}

.uc-featured {
  border-color: rgba(37,99,235,0.3);
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--clr-bg-card) 100%);
}

.uc-placeholder {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.uc-placeholder .uc-icon { color: var(--clr-text-dim); }
.uc-placeholder .uc-icon i { -webkit-text-fill-color: var(--clr-text-dim); }

.btn-outline-glow {
  background: transparent;
  border: 1px solid rgba(37,99,235,0.4);
  color: var(--clr-primary-2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-outline-glow:hover {
  background: rgba(37,99,235,0.1);
  border-color: var(--clr-primary);
  color: var(--clr-primary-2);
  box-shadow: var(--shadow-glow-sm);
}

/* -------------------- AI SECTION -------------------- */
.ai-section {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}

.ai-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.ai-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: -150px; left: -100px;
}

.ai-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: -100px; right: -50px;
}

.opacity-80 { opacity: 0.8; }

.ai-features-list { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }

.ai-feat-item { display: flex; gap: 18px; }

.ai-feat-icon {
  width: 44px; height: 44px;
  background: var(--grad-main);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-sm);
}

.ai-feat-text h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ai-feat-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.ai-cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.ai-cap-card:hover {
  border-color: rgba(6,182,212,0.3);
  background: rgba(6,182,212,0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.1);
}

.ai-cap-icon {
  font-size: 1.4rem;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.ai-cap-card h5 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ai-cap-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}

.ai-cap-featured {
  grid-column: span 1;
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.25);
}

/* -------------------- SERVICES SECTION -------------------- */
.services-section { background: var(--clr-bg); position: relative; overflow: hidden; }

.service-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.sc-number {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(37,99,235,0.07);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover .sc-number { color: rgba(37,99,235,0.15); }

.sc-icon {
  font-size: 1.6rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin: 0;
}

.sc-featured {
  border-color: rgba(37,99,235,0.3);
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--clr-bg-card) 100%);
}

/* -------------------- INDUSTRIES SECTION -------------------- */
.industries-section {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}

.industry-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(37,99,235,0.06) 0%, transparent 70%);
}

.industry-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.industry-card.ic-alt {
  background: rgba(37,99,235,0.04);
  border-color: rgba(37,99,235,0.12);
}

.ic-icon {
  font-size: 2rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}

.industry-card h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------------------- WHY CHOOSE US -------------------- */
.why-section { background: var(--clr-bg); position: relative; overflow: hidden; }

.why-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  opacity: 0;
  transition: var(--transition);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

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

.why-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.why-icon {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  display: block;
}

.why-card h4 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.why-card p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin: 0;
}

.wc-featured {
  border-color: rgba(37,99,235,0.3);
  background: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, var(--clr-bg-card) 100%);
}

/* -------------------- CONTACT SECTION -------------------- */
.contact-section {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}

.contact-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.ci-item:hover {
  border-color: var(--clr-border-hover);
  background: rgba(37,99,235,0.06);
}

.ci-icon {
  width: 40px; height: 40px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ci-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 4px;
}

.ci-value {
  display: block;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

a.ci-value:hover { color: var(--clr-primary-2); }

.social-links { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-sm);
}

/* Contact Form */
.contact-form-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-text);
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 6px;
}

.contact-input {
  background: var(--clr-bg-card2) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: 10px !important;
  color: var(--clr-text) !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
  font-family: var(--font-body) !important;
  transition: var(--transition) !important;
}

.contact-input:focus {
  border-color: rgba(37,99,235,0.5) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
  outline: none !important;
  background: var(--clr-bg-card) !important;
}

.contact-input::placeholder { color: var(--clr-text-dim) !important; }

.contact-input option {
  background: var(--clr-bg-card2);
  color: var(--clr-text);
}

.btn-contact-submit {
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: 12px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
  letter-spacing: 0.02em;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37,99,235,0.5);
  color: #fff;
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: #050608;
  border-top: 1px solid var(--clr-border);
  padding-top: 72px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--clr-primary-2); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  margin: 0;
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--clr-primary-2); }

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 991px) {
  .section-pad { padding: 72px 0; }
  .hero-content { padding-top: 80px; }
  .ems-overview-left { border-right: none; border-bottom: 1px solid var(--clr-border); }
  .about-badge-float { position: static; margin-top: 16px; }
  .ai-cards-grid { grid-template-columns: 1fr 1fr; }
  .ai-cap-featured { grid-column: span 2; }
  .hero-title { max-width: 100%; }
}

@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }
  .hero-title { font-size: 2.1rem; max-width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { text-align: center; }
  .about-pillars { grid-template-columns: 1fr; }
  .ems-overview-left, .ems-overview-right { padding: 28px 24px; }
  .contact-form-card { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .industry-card { padding: 20px 16px; }
  .ai-cards-grid { grid-template-columns: 1fr 1fr; }
  .ai-cap-featured { grid-column: span 2; }
  .custom-sw-highlight { font-size: 0.82rem; }
  .section-subtitle { max-width: 100%; }
}

@media (max-width: 575px) {
  .agc-row { flex-direction: column; }
  .ai-cards-grid { grid-template-columns: 1fr; }
  .ai-cap-featured { grid-column: span 1; }
  .section-title { font-size: 1.8rem; }
  .hero-title { font-size: 1.9rem; }
}

/* -------------------- LIGHT MODE — COLORFUL VECTOR MESH BACKGROUND SYSTEM -------------------- */
/* Angular parallelogram accents echo the brand mark; layered radial-gradient
   meshes give every section genuine color instead of flat white/gray bands. */

[data-theme="light"] .hero-section::before,
[data-theme="light"] .hero-section::after,
[data-theme="light"] .about-section::before,
[data-theme="light"] .about-section::after,
[data-theme="light"] .products-section::before,
[data-theme="light"] .products-section::after,
[data-theme="light"] .upcoming-section::before,
[data-theme="light"] .upcoming-section::after,
[data-theme="light"] .services-section::before,
[data-theme="light"] .services-section::after,
[data-theme="light"] .industries-section::before,
[data-theme="light"] .industries-section::after,
[data-theme="light"] .why-section::before,
[data-theme="light"] .why-section::after,
[data-theme="light"] .contact-section::before,
[data-theme="light"] .contact-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
}

[data-theme="light"] .hero-section {
  background:
    radial-gradient(1100px 650px at 6% -10%, rgba(37,99,235,0.44), transparent 60%),
    radial-gradient(900px 620px at 98% 4%, rgba(6,182,212,0.40), transparent 60%),
    radial-gradient(760px 520px at 46% 108%, rgba(79,70,229,0.26), transparent 62%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}
[data-theme="light"] .hero-section::before {
  width: 380px; height: 460px;
  top: -140px; right: 6%;
  background: linear-gradient(140deg, rgba(37,99,235,0.28), rgba(6,182,212,0.16));
  transform: rotate(-8deg);
}
[data-theme="light"] .hero-section::after {
  width: 260px; height: 340px;
  bottom: -110px; left: 2%;
  background: linear-gradient(140deg, rgba(79,70,229,0.26), rgba(37,99,235,0.13));
  transform: rotate(12deg);
}

[data-theme="light"] .hero-grid-bg {
  background-image:
    linear-gradient(rgba(37,99,235,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.14) 1px, transparent 1px);
}

[data-theme="light"] .ai-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-theme="light"] .about-section {
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(6,182,212,0.30), transparent 60%),
    radial-gradient(600px 500px at -5% 100%, rgba(37,99,235,0.26), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}
[data-theme="light"] .about-section::before {
  width: 220px; height: 280px;
  top: 40px; right: -40px;
  background: linear-gradient(140deg, rgba(6,182,212,0.26), rgba(37,99,235,0.14));
  transform: rotate(-10deg);
}
[data-theme="light"] .about-section::after { content: none; }

[data-theme="light"] .products-section {
  background:
    radial-gradient(900px 600px at 4% 0%, rgba(37,99,235,0.38), transparent 60%),
    radial-gradient(800px 600px at 100% 100%, rgba(6,182,212,0.34), transparent 60%),
    linear-gradient(180deg, #e7eefe 0%, #eef4ff 55%, #f5f9ff 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
[data-theme="light"] .products-section::before {
  width: 300px; height: 360px;
  top: -80px; left: 6%;
  background: linear-gradient(140deg, rgba(79,70,229,0.26), rgba(37,99,235,0.14));
  transform: rotate(10deg);
}
[data-theme="light"] .products-section::after {
  width: 240px; height: 300px;
  bottom: -100px; right: 8%;
  background: linear-gradient(140deg, rgba(6,182,212,0.28), rgba(56,189,248,0.14));
  transform: rotate(-14deg);
}

[data-theme="light"] .upcoming-section {
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(37,99,235,0.26), transparent 60%),
    radial-gradient(650px 520px at 0% 100%, rgba(245,158,11,0.14), transparent 60%),
    radial-gradient(600px 500px at 50% 0%, rgba(6,182,212,0.20), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}
[data-theme="light"] .upcoming-section::before {
  width: 220px; height: 260px;
  bottom: -60px; right: 4%;
  background: linear-gradient(140deg, rgba(37,99,235,0.22), rgba(79,70,229,0.14));
  transform: rotate(-9deg);
}
[data-theme="light"] .upcoming-section::after { content: none; }

[data-theme="light"] .services-section {
  background:
    radial-gradient(900px 600px at 96% -10%, rgba(79,70,229,0.32), transparent 60%),
    radial-gradient(800px 600px at 0% 110%, rgba(6,182,212,0.32), transparent 60%),
    linear-gradient(180deg, #e7eefe 0%, #f0f6ff 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
[data-theme="light"] .services-section::before {
  width: 260px; height: 320px;
  top: -70px; right: 10%;
  background: linear-gradient(140deg, rgba(37,99,235,0.26), rgba(79,70,229,0.16));
  transform: rotate(8deg);
}
[data-theme="light"] .services-section::after {
  width: 200px; height: 260px;
  bottom: -80px; left: 6%;
  background: linear-gradient(140deg, rgba(6,182,212,0.26), rgba(56,189,248,0.14));
  transform: rotate(-12deg);
}

[data-theme="light"] .industries-section {
  background:
    radial-gradient(700px 500px at 0% 0%, rgba(37,99,235,0.28), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(6,182,212,0.28), transparent 60%),
    radial-gradient(500px 400px at 50% 50%, rgba(79,70,229,0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

[data-theme="light"] .why-section {
  background:
    radial-gradient(900px 600px at 4% -10%, rgba(6,182,212,0.32), transparent 60%),
    radial-gradient(800px 600px at 98% 110%, rgba(79,70,229,0.28), transparent 60%),
    linear-gradient(180deg, #e7eefe 0%, #f0f6ff 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
[data-theme="light"] .why-section::before {
  width: 240px; height: 300px;
  top: -70px; left: 8%;
  background: linear-gradient(140deg, rgba(6,182,212,0.26), rgba(37,99,235,0.14));
  transform: rotate(-7deg);
}
[data-theme="light"] .why-section::after {
  width: 200px; height: 260px;
  bottom: -70px; right: 6%;
  background: linear-gradient(140deg, rgba(79,70,229,0.26), rgba(37,99,235,0.14));
  transform: rotate(11deg);
}

[data-theme="light"] .contact-section {
  background:
    radial-gradient(900px 600px at 100% -10%, rgba(37,99,235,0.36), transparent 60%),
    radial-gradient(800px 600px at 0% 110%, rgba(6,182,212,0.32), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #e7eefe 100%);
}
[data-theme="light"] .contact-section::before {
  width: 260px; height: 320px;
  top: -80px; right: 4%;
  background: linear-gradient(140deg, rgba(37,99,235,0.26), rgba(79,70,229,0.14));
  transform: rotate(9deg);
}
[data-theme="light"] .contact-section::after { content: none; }

[data-theme="light"] .footer { background: #0b1220; border-top-color: rgba(255,255,255,0.08); }

[data-theme="light"] .footer,
[data-theme="light"] .footer .footer-desc,
[data-theme="light"] .footer .footer-bottom,
[data-theme="light"] .footer .footer-bottom-links a { color: #cbd5e1; }

[data-theme="light"] .footer .brand-text,
[data-theme="light"] .footer .footer-heading { color: #ffffff; }

[data-theme="light"] .footer-links a { color: #94a3b8; }
[data-theme="light"] .footer-links a:hover { color: #ffffff; }

[data-theme="light"] .footer .social-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #cbd5e1;
}
[data-theme="light"] .footer .social-btn:hover { color: #fff; }

[data-theme="light"] .nav-link { color: #4b5563 !important; }
[data-theme="light"] .nav-link:hover { color: #111827 !important; background: rgba(0,0,0,0.04); }

[data-theme="light"] .marquee-section { background: var(--clr-bg-2); }

[data-theme="light"] .ems-overview-left {
  background: linear-gradient(135deg, rgba(37,99,235,0.16) 0%, rgba(6,182,212,0.08) 100%);
}

[data-theme="light"] .contact-input {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: rgba(0,0,0,0.12) !important;
}

[data-theme="light"] .contact-input::placeholder { color: #9ca3af !important; }

[data-theme="light"] .floating-card {
  background: rgba(255,255,255,0.97);
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 8px 32px rgba(15,23,42,0.14);
}

/* Crisper card borders/shadows, soft tinted fills, and a signature top accent bar so
   cards visibly lift off the colorful mesh backgrounds instead of reading as flat white islands */
[data-theme="light"] .module-card,
[data-theme="light"] .service-card,
[data-theme="light"] .why-card,
[data-theme="light"] .upcoming-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .ems-overview-card,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .about-grid-card {
  background: linear-gradient(165deg, #ffffff 0%, #f6f9ff 100%);
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 8px 28px rgba(30,64,175,0.10);
}

[data-theme="light"] .ai-cap-card {
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 8px 28px rgba(30,64,175,0.10);
}

[data-theme="light"] .module-card::before,
[data-theme="light"] .service-card::before,
[data-theme="light"] .why-card::before,
[data-theme="light"] .upcoming-card::before,
[data-theme="light"] .industry-card::before {
  opacity: 0.55;
}

[data-theme="light"] .module-card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .why-card:hover,
[data-theme="light"] .upcoming-card:hover,
[data-theme="light"] .industry-card:hover,
[data-theme="light"] .ai-cap-card:hover {
  box-shadow: 0 16px 36px rgba(30,64,175,0.16);
  border-color: var(--clr-border-hover);
}

[data-theme="light"] .module-card:hover::before,
[data-theme="light"] .service-card:hover::before,
[data-theme="light"] .why-card:hover::before,
[data-theme="light"] .upcoming-card:hover::before,
[data-theme="light"] .industry-card:hover::before {
  opacity: 1;
}

[data-theme="light"] .industry-card.ic-alt {
  background: linear-gradient(165deg, rgba(37,99,235,0.09) 0%, rgba(6,182,212,0.06) 100%);
}

[data-theme="light"] .module-card.featured,
[data-theme="light"] .service-card.sc-featured,
[data-theme="light"] .why-card.wc-featured {
  background: linear-gradient(150deg, rgba(37,99,235,0.12) 0%, #ffffff 65%);
}

[data-theme="light"] .ems-quick-stat {
  background: linear-gradient(165deg, #ffffff 0%, #eef4ff 100%);
}

[data-theme="light"] .uc-placeholder {
  background: linear-gradient(165deg, #ffffff 0%, #eef4ff 100%);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-title { color: #111827; }

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .section-body { color: #4b5563; }

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .brand-text { color: #111827; }

/* ===================== 404 PAGE ===================== */
.notfound-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 45%, #0a0e1a 100%);
}

.notfound-section .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}

.nf-content { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }

.nf-code {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: fadeSlideUp 0.7s ease both;
}

.nf-code-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 11vw, 92px);
  height: clamp(64px, 11vw, 92px);
  border-radius: 26px;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  transform: rotate(-8deg);
  margin: 0 4px;
  animation: nfFloat 4s ease-in-out infinite;
}

.nf-code-icon-wrap i {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
}

@keyframes nfFloat {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}

.nf-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}

.nf-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.nf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}

.nf-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border);
  padding: 9px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
}

.nf-link-pill:hover {
  color: var(--clr-text);
  border-color: var(--clr-border-hover);
  background: rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

.nf-link-pill i { color: var(--clr-accent); font-size: 0.78rem; }

[data-theme="light"] .notfound-section {
  background:
    radial-gradient(1100px 650px at 8% -10%, rgba(37,99,235,0.42), transparent 60%),
    radial-gradient(900px 620px at 96% 6%, rgba(6,182,212,0.38), transparent 60%),
    radial-gradient(760px 520px at 50% 110%, rgba(79,70,229,0.24), transparent 62%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

[data-theme="light"] .notfound-section .hero-grid-bg {
  background-image:
    linear-gradient(rgba(37,99,235,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.14) 1px, transparent 1px);
}

[data-theme="light"] .nf-link-pill {
  background: rgba(255,255,255,0.7);
  border-color: rgba(15,23,42,0.08);
  color: #4b5563;
}

[data-theme="light"] .nf-link-pill:hover {
  background: rgba(37,99,235,0.08);
  color: #111827;
}

@media (max-width: 600px) {
  .notfound-section { padding: 120px 0 60px; }
  .nf-actions { flex-direction: column; width: 100%; }
  .nf-actions .btn-hero-primary,
  .nf-actions .btn-hero-ghost { width: 100%; text-align: center; }
}