/* =====================================================
   INNOVAT ELECTRATECH - Styles CSS Premium
   Effets magiques & animations avancées
   ===================================================== */

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-electric), var(--color-accent));
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
  transition: width 0.1s;
  box-shadow: 0 0 10px var(--color-secondary), 0 0 20px var(--color-electric);
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-glow {
  position: fixed; width: 20px; height: 20px;
  border-radius: 50%; pointer-events: none; z-index: 9998;
  background: radial-gradient(circle, rgba(0,190,220,0.6) 0%, rgba(0,190,220,0) 70%);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border-radius: 50%; pointer-events: none; z-index: 9997;
  border: 1.5px solid rgba(0,190,220,0.5);
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.23,1,0.32,1), height 0.4s cubic-bezier(0.23,1,0.32,1), transform 0.1s;
}
body:hover .cursor-glow { opacity: 1; }


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;600;700;800&display=swap');


:root {
  --color-primary: #05050A;
  --color-secondary: #00BEDC;
  --color-accent: #7C5CFC;
  --color-electric: #5AE3FF;
  --color-white: #FFFFFF;
  --color-heading: #FFFFFF;
  --color-bg: #020208;
  --card-bg: rgba(30, 30, 45, 0.4);
  --card-border: rgba(255,255,255,0.1);
  --color-grey-light: rgba(255,255,255,0.03);
  --color-grey: rgba(255,255,255,0.06);
  --nav-bg: rgba(5, 5, 10, 0.7);
  --nav-scrolled-bg: rgba(5, 5, 10, 0.95);
  --color-sand: #020208;
  --color-text: #F2F2F6;
  --color-text-muted: #A0A0C0;
  --color-gradient-start: #020208;
  --color-gradient-end: #0A0A15;
  --font-main: 'Inter', 'Outfit', sans-serif;
  --spacer: 1rem;
  --card-radius: 12px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-hover: 0 15px 40px rgba(0,190,220,0.3);
  --max-width: 1280px;
}

html.light-mode {
  --color-primary: #FFFFFF;
  --color-white: #0a0e14;
  --color-heading: #1A2530;
  --color-bg: #F4F7FB;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.98);
  --color-sand: #FFFFFF;
  --color-text: #2C3E50;
  --color-text-muted: #5C6E80;
  --color-gradient-start: #F4F7FB;
  --color-gradient-end: #E2E8F0;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Fix navbar background */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== GLOBAL COSMIC VOID BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 190, 220, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(124, 92, 252, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: cosmicBreathe 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
@keyframes cosmicBreathe {
  0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
  100% { transform: scale(1.1) rotate(3deg); opacity: 1; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-primary); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 4px; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--color-secondary); color: #000; padding: 0.5rem 1rem; font-weight: 600; z-index: 9999; transition: top 0.3s; }
.skip-link:focus { top: 1rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-main); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { font-size: 1rem; line-height: 1.7; }
.text-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-secondary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 0.95rem; font-weight: 600;
  border: 2px solid transparent; border-radius: 4px;
  cursor: pointer; text-decoration: none; transition: var(--transition);
  font-family: var(--font-main); position: relative; overflow: hidden;
}
/* Shimmer effect on buttons */
.btn::before {
  content: ''; position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn:hover::before { animation: shimmer 0.6s ease forwards; }
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 160%; }
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #009AB5);
  color: var(--color-primary); border-color: var(--color-secondary);
  box-shadow: 0 4px 15px rgba(0,190,220,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-electric), var(--color-secondary));
  border-color: var(--color-electric); transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,190,220,0.5);
}
.btn-secondary {
  background: rgba(255,255,255,0.06); color: var(--color-white); border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14); transform: translateY(-3px); border-color: rgba(255,255,255,0.8);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}
.btn-outline {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary); color: var(--color-heading);
}
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
#navbar.scrolled {
  background: var(--nav-scrolled-bg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 1px 0 rgba(0,190,220,0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--color-white);
}
.nav-logo-bg {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 6px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-bg { box-shadow: 0 4px 16px rgba(0,190,220,0.35); }
.nav-logo-img { height: 36px; width: auto; display: block; }
.nav-logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.nav-logo-text span { color: var(--color-secondary); }
.nav-logo-sub { font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none; padding: 0.5rem 0.9rem;
  font-size: 0.9rem; font-weight: 500; border-radius: 4px;
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--color-secondary); background: rgba(0,190,220,0.08); }
.nav-links a.active { color: var(--color-secondary); }
.nav-cta { margin-left: 1rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--color-primary);
  padding-top: 68px;
}

/* Aurora blobs */
.aurora {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: auroraFloat ease-in-out infinite;
}
.aurora-1 {
  width: 600px; height: 600px; top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(0,190,220,0.12) 0%, transparent 70%);
  animation-duration: 12s;
}
.aurora-2 {
  width: 400px; height: 400px; bottom: -50px; left: 20%;
  background: radial-gradient(circle, rgba(0,215,160,0.08) 0%, transparent 70%);
  animation-duration: 16s; animation-delay: -4s;
}
.aurora-3 {
  width: 300px; height: 300px; top: 40%; right: 30%;
  background: radial-gradient(circle, rgba(90,227,255,0.1) 0%, transparent 70%);
  animation-duration: 10s; animation-delay: -2s;
}
@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

/* Floating tech icons */
.tech-float {
  position: absolute; font-size: 2rem; opacity: 0; pointer-events: none;
  animation: techFloat linear infinite;
  filter: drop-shadow(0 0 8px var(--color-secondary));
}
@keyframes techFloat {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  5% { opacity: 0.25; }
  95% { opacity: 0.25; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #000028 0%, #001A49 50%, #000F30 100%);
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('images/hero_banner.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,40,0.92) 0%, rgba(0,0,40,0.6) 60%, rgba(0,0,40,0.15) 100%);
}
/* Animated particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--color-secondary); opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Grid lines */
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,190,220,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,190,220,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content-wrap { position: relative; z-index: 2; padding: 5rem 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,190,220,0.12); border: 1px solid rgba(0,190,220,0.3);
  color: var(--color-secondary); padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title { color: var(--color-white); margin-bottom: 1.2rem; max-width: 720px; }
.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-electric), var(--color-accent), var(--color-secondary));
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientText 4s ease infinite;
}
@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: var(--color-secondary); margin-left: 4px;
  animation: blink 0.8s step-end infinite; vertical-align: middle;
  box-shadow: 0 0 8px var(--color-secondary);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 580px; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat { border-left: 3px solid var(--color-secondary); padding-left: 1rem; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--color-white); line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite; }
.hero-scroll svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.4); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SECTION BASE ===== */
.section { padding: 6rem 0; position: relative; z-index: 10;}
.section-sm { padding: 4rem 0; position: relative; z-index: 10;}
.section-dark { background: transparent; color: var(--color-text); }
.section-grey { background: transparent; }
.section-header { max-width: 720px; margin: 0 auto 3.5rem; }
.section-header.text-center { text-align: center; }
.section-header .text-kicker { margin-bottom: 0.75rem; display: block; }
.section-title { margin-bottom: 1rem; color: var(--color-heading); }
.section-desc { color: var(--color-text-muted); font-size: 1.05rem; }
.section-dark .section-desc { color: var(--color-text-muted); }

/* ===== ABOUT / MISSION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow); }
.about-image-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--color-secondary); color: var(--color-primary);
  padding: 1.5rem; border-radius: var(--card-radius);
  text-align: center; font-weight: 700; box-shadow: var(--shadow);
}
.about-image-badge .num { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-image-badge .lbl { font-size: 0.75rem; display: block; margin-top: 0.25rem; }
.about-content .text-kicker { margin-bottom: 0.75rem; display: block; }
.about-content h2 { margin-bottom: 1.25rem; color: var(--color-heading); }
.about-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.about-values { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2rem; }
.about-value { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-value-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0,190,220,0.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--color-secondary); font-size: 1.25rem;
}
.about-value h4 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--color-heading); }
.about-value p { font-size: 0.88rem; margin: 0; color: var(--color-text-muted); }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius); overflow: hidden;
  transition: var(--transition); cursor: pointer; position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
.product-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0,190,220,0.15), 0 0 0 1px var(--color-secondary);
  border-color: var(--color-secondary);
}
/* Glowing top border on hover */
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-electric), var(--color-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover::after { transform: scaleX(1); }
.product-card-image { position: relative; overflow: hidden; }
.product-card-image img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--color-secondary); color: var(--color-primary);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 100px;
}
.product-card-body { padding: 1.5rem; }
.product-card-tag { font-size: 0.72rem; color: var(--color-secondary); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--color-heading); }
.product-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.product-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--color-secondary); font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: gap 0.2s;
}
.product-card-link:hover { gap: 0.7rem; }
.product-card-link svg { width: 18px; height: 18px; }

/* ===== FEATURES / WHY US ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-item {
  text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);
  background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
/* Neon border animation on hover */
.feature-item::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--card-radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(0,190,220,0.5) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  background-size: 300% 300%;
}
.feature-item:hover::before { opacity: 1; animation: neonBorder 2s linear infinite; }
@keyframes neonBorder {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 300%; }
}
.feature-item:hover {
  background: rgba(0, 190, 220, 0.08);
  border-color: rgba(0,190,220,0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(0,190,220,0.15);
}
.feature-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(0,190,220,0.12); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.75rem;
  border: 1px solid rgba(0,190,220,0.25); transition: var(--transition);
}
.feature-item:hover .feature-icon {
  background: rgba(0,190,220,0.25);
  box-shadow: 0 0 20px rgba(0,190,220,0.4), 0 0 40px rgba(0,190,220,0.2);
  transform: scale(1.1) rotate(5deg);
}
.feature-item h3 { font-size: 1rem; color: var(--color-white); margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== TECHNOLOGIES — Illustrated Architecture ===== */

/* Layer colour palette (neon variants) */
[data-layer="hardware"]  { --layer-neon: #00e5ff; --layer-rgb: 0, 229, 255; }
[data-layer="plc"]       { --layer-neon: #ff5e00; --layer-rgb: 255, 94, 0; }
[data-layer="ai"]        { --layer-neon: #a2ff00; --layer-rgb: 162, 255, 0; }
[data-layer="protocol"]  { --layer-neon: #9d00ff; --layer-rgb: 157, 0, 255; }
[data-layer="backend"]   { --layer-neon: #00ffaa; --layer-rgb: 0, 255, 170; }
[data-layer="dashboard"] { --layer-neon: #ffb700; --layer-rgb: 255, 183, 0; }

.tech-dark-mode {
  background-color: #05050A;
  color: var(--color-heading);
  position: relative;
  overflow: hidden;
}

.tech-dark-mode::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.08), transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(157, 0, 255, 0.08), transparent 50%);
  pointer-events: none; z-index: 0;
}

.tech-dark-mode .container { position: relative; z-index: 1; }
.tech-dark-mode .section-title { color: var(--color-heading); text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.tech-dark-mode .section-desc { color: rgba(255,255,255,0.6); }
.tech-dark-mode .text-kicker { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }

.tech-arch { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }

/* Each layer row */
.tech-arch-layer {
  display: flex; flex-direction: row; align-items: stretch;
  background: rgba(20, 20, 25, 0.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--layer-neon);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 900px) { .tech-arch-layer { flex-direction: column; } }

.tech-arch-layer::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--layer-rgb), 0.1), transparent 50%);
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}

.tech-arch-layer:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(var(--layer-rgb), 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--layer-rgb), 0.1) !important;
  z-index: 10;
}
.tech-arch-layer:hover::before { opacity: 1; }

/* Left label column */
.tech-arch-label {
  display: flex; flex-direction: column; justify-content: center;
  flex: 0 0 280px; padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .tech-arch-label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); flex: auto; padding: 2rem; } }

.tech-arch-num {
  font-size: 5rem; font-weight: 900; line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--layer-rgb), 0.5);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: -4px;
  text-shadow: 0 0 20px rgba(var(--layer-rgb), 0.2);
}
.tech-arch-title {
  font-size: 1.25rem; font-weight: 800; color: var(--color-heading);
  line-height: 1.2; margin-bottom: 0.3rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.tech-arch-sub {
  font-size: 0.8rem; color: var(--layer-neon);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
}

/* Right chips column */
.tech-arch-chips {
  flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; padding: 0;
  background: rgba(255,255,255,0.02);
}

/* Individual technology chip */
.tech-chip {
  display: flex; flex-direction: column;
  padding: 2rem;
  background: rgba(20, 20, 25, 0.4);
  position: relative;
  transition: all 0.4s ease;
  z-index: 1;
}
.tech-chip:hover {
  background: rgba(var(--layer-rgb), 0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--layer-rgb), 0.4);
  z-index: 3;
}

/* Futuristic Apple-style floating icon for the emoji */
.tech-chip-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.5s, background 0.4s, border-color 0.4s;
  color: var(--color-heading);
}
.tech-chip:hover .tech-chip-icon {
  transform: scale(1.2) translateY(-8px) rotate(-10deg);
  background: rgba(var(--layer-rgb), 0.2);
  border-color: rgba(var(--layer-rgb), 0.5);
  box-shadow: 0 15px 30px rgba(var(--layer-rgb), 0.3), inset 0 0 20px rgba(var(--layer-rgb), 0.2);
}

.tech-chip-name {
  font-size: 1.05rem; font-weight: 800; color: var(--color-heading);
  margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.tech-chip-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin-bottom: 1.5rem; flex: 1;
}

/* Skill bar - Neon style */
.tech-chip-bar-wrap {
  height: 4px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden;
}
.tech-chip-bar {
  height: 100%; width: 0; border-radius: 99px;
  background: var(--layer-neon);
  box-shadow: 0 0 10px var(--layer-neon);
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.tech-chip-bar.animated { width: var(--pct); }

/* Level badge */
.tech-chip-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.8rem;
  border-radius: 99px; 
  color: var(--color-heading);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; transform: translateY(-10px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.tech-chip:hover .tech-chip-badge { 
  opacity: 1; transform: translateY(0) scale(1); 
  border-color: var(--layer-neon); 
  background: rgba(var(--layer-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--layer-rgb), 0.4);
}

/* Summary pills row */
.tech-summary {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; padding: 3rem 0 0;
}
.tech-pill {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  background: rgba(20,20,25,0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border); 
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-size: 0.95rem; font-weight: 600; color: var(--color-heading);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.tech-pill:hover {
  border-color: #00BEDC;
  background: rgba(0, 190, 220, 0.1);
  box-shadow: 0 10px 40px rgba(0,190,220,0.3), inset 0 0 20px rgba(0,190,220,0.1);
  transform: translateY(-5px) scale(1.05);
}
.tech-pill-icon { font-size: 1.4rem; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.tech-pill strong { color: #00BEDC; font-weight: 900; font-size: 1.1rem; text-shadow: 0 0 10px rgba(0,190,220,0.5); }

/* ===== SOLUTIONS TABS ===== */
.tabs-nav { 
  display: flex; gap: 1rem; margin-bottom: 3.5rem; overflow-x: auto; 
  padding-bottom: 1rem; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; padding: 0.8rem 1.5rem; 
  background: rgba(40, 40, 50, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); cursor: pointer;
  font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.6); border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.tab-btn:hover { 
  color: var(--color-heading); 
  border-color: #00BEDC;
  background: rgba(0, 190, 220, 0.1);
  box-shadow: 0 8px 24px rgba(0,190,220,0.2);
  transform: translateY(-2px);
}
.tab-btn.active { 
  color: var(--color-heading); 
  background: rgba(0, 190, 220, 0.2); 
  border-color: #00BEDC; 
  box-shadow: 0 8px 24px rgba(0,190,220,0.4), inset 0 0 10px rgba(0,190,220,0.2); 
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tab-panel-image { position: relative; }
.tab-panel-image img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); }

/* ===== ALBUM CAROUSEL ===== */
.album-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,40,0.15);
  background: #05050A;
}
.album-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 5s ease-out;
  pointer-events: none;
}
.album-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* YouTube thumbnail cliquable */
.yt-thumb-link { display: block; text-decoration: none; }
.yt-thumb-wrap {
  position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,40,0.2), 0 0 0 1px rgba(0,190,220,0.15);
  cursor: pointer;
}
.yt-thumb-wrap img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  display: block; transition: transform 0.4s ease;
}
.yt-thumb-link:hover .yt-thumb-wrap img { transform: scale(1.04); }
.yt-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.yt-thumb-link:hover .yt-play-btn { transform: translate(-50%, -50%) scale(1.15); }
.yt-watch-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--color-heading); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; text-align: center;
  transition: opacity 0.3s;
}
.tab-panel-content .text-kicker { margin-bottom: 0.75rem; display: block; }
.tab-panel-content h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--color-heading); }
.tab-panel-content p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.tab-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; color: var(--color-heading); }
.tab-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.tab-features li::before { content: '✓'; width: 20px; height: 20px; background: var(--color-accent); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; padding: 1rem; }
.team-card {
  background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); border-radius: var(--card-radius);
  padding: 2rem; text-align: center; transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.team-card:hover { 
  transform: translateY(-8px); 
  border-color: #00BEDC; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(0,190,220,0.15); 
  background: rgba(0, 190, 220, 0.08);
}
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-electric));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--color-primary);
  text-transform: uppercase;
}
.team-card h4 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--color-heading); }
.team-card .role { font-size: 0.82rem; color: var(--color-secondary); font-weight: 600; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.team-card p { font-size: 0.87rem; color: var(--color-text-muted); line-height: 1.6; }

/* ===== STATS BAND ===== */
.stats-band {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0099B8 100%);
  padding: 4rem 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  animation: statsShine 3s ease-in-out infinite;
}
@keyframes statsShine {
  0%, 100% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
.stats-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--color-primary);
  line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.stat-item:hover .stat-num { transform: scale(1.1); }
.stat-label { font-size: 0.85rem; font-weight: 600; color: rgba(0,0,40,0.7); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--color-primary); padding: 6rem 0;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #000028 0%, #001A49 100%);
}
/* Animated rotating gradient circle */
.cta-banner::after {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,190,220,0.15), rgba(0,215,160,0.1), rgba(90,227,255,0.12), rgba(0,190,220,0.15));
  animation: rotateCone 12s linear infinite;
}
@keyframes rotateCone { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* Floating dots in CTA */
.cta-floating {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,190,220,0.4); pointer-events: none;
}
.cta-banner-content { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--color-heading); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info p { color: var(--color-text-muted); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,190,220,0.08); border: 1px solid rgba(0,190,220,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.contact-item h4 { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.95rem; color: rgba(255,255,255,0.9); margin: 0; }
.contact-form { 
  background: rgba(20, 20, 25, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05); border-radius: var(--card-radius); padding: 2.5rem; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.87rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.875rem 1rem;
  border: 1px solid var(--card-border); border-radius: 8px;
  font-family: var(--font-main); font-size: 0.95rem; color: var(--color-heading);
  background: rgba(0, 0, 0, 0.2); transition: all 0.3s ease; outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus, .form-textarea:focus, .form-select:focus { 
  border-color: #00BEDC; background: rgba(0, 190, 220, 0.05); 
  box-shadow: 0 0 15px rgba(0, 190, 220, 0.2); 
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== FOOTER ===== */
#footer { 
  background: #05050A; border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; position: relative; overflow: hidden;
}
#footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,190,220,0.3), transparent);
  box-shadow: 0 0 20px rgba(0,190,220,0.2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; position: relative; z-index: 1; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-social a:hover { 
  background: rgba(0,190,220,0.1); color: #00BEDC; 
  border-color: #00BEDC; box-shadow: 0 5px 15px rgba(0,190,220,0.3); transform: translateY(-3px); 
}
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-secondary); text-shadow: 0 0 10px rgba(0,190,220,0.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--color-secondary); text-shadow: 0 0 10px rgba(0,190,220,0.4); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.85); transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.scale-in.visible { opacity: 1; transform: scale(1); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== MOBILE MENU OPEN ===== */
body.menu-open { overflow: hidden; }
.nav-links.open {
  display: flex !important; flex-direction: column; position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--color-primary); padding: 2rem;
  border-top: 1px solid rgba(0,190,220,0.2); z-index: 999;
  gap: 0.5rem; overflow-y: auto;
}
.nav-links.open a { font-size: 1.2rem; padding: 1rem; border-radius: 6px; }

/* ===== PARTNERS SECTION ===== */
.partners-section { padding: 5rem 0 3rem; background: #05050A; overflow: hidden; position: relative; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Marquee scrolling band */
.partners-marquee-wrap {
  position: relative; overflow: hidden; margin: 0 0 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.partners-track {
  display: flex; gap: 1.5rem;
  animation: marqueeScroll 45s linear infinite;
  width: max-content;
}
.partners-marquee-wrap:hover .partners-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual partner card */
.partner-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; min-width: 200px; padding: 1.25rem 1.75rem;
  background: rgba(40, 40, 50, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); border-radius: 14px;
  text-align: center; cursor: pointer; flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
.partner-logo:hover {
  border-color: #00BEDC;
  box-shadow: 0 8px 30px rgba(0,190,220,0.25), 0 0 0 1px #00BEDC;
  transform: translateY(-5px);
  background: rgba(0, 190, 220, 0.08);
}
.plogo-icon { font-size: 1.75rem; }
.plogo-img {
  height: 56px; width: auto; max-width: 140px;
  object-fit: contain; display: block;
}
.plogo-name {
  font-size: 0.95rem; font-weight: 800; color: var(--color-heading);
  letter-spacing: -0.01em; line-height: 1.2; text-align: center; margin-top: 0.5rem;
}
.plogo-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.5);
  font-weight: 500; line-height: 1.3; max-width: 160px;
}

/* Accessible static grid (hidden visually, readable by screen readers) */
.partners-grid-static {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  font-size: 0.01px; color: transparent; height: 0; overflow: hidden;
  visibility: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-arch-chips { grid-template-columns: repeat(2, 1fr); }
  .tech-chip:nth-child(2n) { border-right: none; }
  .tech-chip:nth-child(1), .tech-chip:nth-child(2) { border-bottom: 1px solid #f0f0f6; }
}

@media (max-width: 768px) {
  .about-grid, .tab-panel.active, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: block; }
  .nav-links:not(.open) { display: none; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-badge { right: 0; bottom: -1rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Tech arch responsive */
  .tech-arch-layer { grid-template-columns: 1fr; }
  .tech-arch-label { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 1rem 1.25rem; flex-direction: row; align-items: center; gap: 1rem; }
  .tech-arch-num { font-size: 1.5rem; }
  .tech-arch-chips { grid-template-columns: repeat(2, 1fr); }
  .tech-chip:nth-child(2n) { border-right: none; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .btn-group { flex-direction: column; }
  .tech-arch-chips { grid-template-columns: 1fr; }
  .tech-chip { border-right: none; border-bottom: 1px solid #f0f0f6; }
  .tech-chip:last-child { border-bottom: none; }
}

/* ===== LANGUAGE SWITCHER (Custom UI) ===== */
.lang-switcher {
  position: relative; margin: 0 1rem; display: inline-flex;
}
.lang-btn {
  background: rgba(255, 255, 255, 0.05); color: var(--color-heading);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px;
  padding: 0.5rem 1rem; cursor: pointer; font-family: var(--font-main);
  font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.lang-btn:hover {
  background: rgba(0, 190, 220, 0.2); border-color: #00BEDC;
}
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--nav-scrolled-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); border-radius: 8px;
  min-width: 130px; list-style: none; margin: 0; padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); opacity: 0; visibility: hidden;
  transform: translateY(-10px); transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  z-index: 9999;
}
.lang-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li a {
  display: block; padding: 0.6rem 1rem; color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.lang-dropdown li a:hover, .lang-dropdown li a.active {
  background: rgba(0, 190, 220, 0.1); color: #00BEDC;
}

/* ===== GOOGLE TRANSLATE OVERRIDES ===== */
body { top: 0 !important; }
.skiptranslate iframe,
.goog-te-banner-frame { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ===== ARABIC RTL MODE ===== */
body.rtl-mode { direction: rtl; text-align: right; }
body.rtl-mode .nav-logo, body.rtl-mode .btn, body.rtl-mode .feature-item { text-align: right; }
body.rtl-mode .nav-links { margin-right: auto; margin-left: 0; }
body.rtl-mode .hero-title, body.rtl-mode .section-title { font-family: 'Inter', sans-serif; }
body.rtl-mode .team-card, body.rtl-mode .product-card, body.rtl-mode .contact-form, body.rtl-mode .tech-chip { text-align: right; }

/* ===== ROBOT CHATBOT WIDGET ===== */
#robot-chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-main);
}

/* 3D Robot Head Button */
.robot-3d-head {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: robotHover 4s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.robot-3d-head:hover {
  transform: scale(1.1) translateY(-10px);
}
.robot-3d-head.active {
  transform: scale(0.9) translateY(0);
  animation: none;
  opacity: 0.7;
}

@keyframes robotHover {
  0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(0deg); }
  50% { transform: translateY(-15px) rotateX(15deg) rotateY(-10deg); }
}

.robot-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1c28, #05050A);
  border-radius: 30px; /* Slight squircle */
  border: 2px solid rgba(0, 190, 220, 0.5);
  box-shadow: 0 10px 30px rgba(0, 190, 220, 0.3), inset 0 0 20px rgba(0, 190, 220, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}
.robot-face::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  border-radius: 10px;
}

.robot-eyes {
  display: flex;
  gap: 12px;
  margin-top: -10px;
}
.robot-eye {
  width: 22px;
  height: 26px;
  background: #000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 6px rgba(0,0,0,0.8);
  overflow: hidden;
}
.eye-glow {
  width: 12px;
  height: 14px;
  background: var(--color-electric);
  border-radius: 5px;
  box-shadow: 0 0 15px var(--color-electric), 0 0 30px var(--color-secondary);
  animation: eyeBlink 4s infinite;
}
@keyframes eyeBlink {
  0%, 96%, 98%, 100% { transform: scaleY(1); }
  97% { transform: scaleY(0.1); }
}

.robot-mouth {
  width: 24px;
  height: 4px;
  background: rgba(0, 190, 220, 0.3);
  border-radius: 2px;
  margin-top: 12px;
  box-shadow: 0 0 8px rgba(0, 190, 220, 0.5);
  animation: talk 2s infinite alternate;
}
@keyframes talk {
  0% { width: 24px; }
  100% { width: 14px; }
}

.robot-ears .ear {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 24px;
  background: #333;
  border-radius: 4px;
  transform: translateY(-50%);
  z-index: 1;
}
.robot-ears .left-ear { left: -6px; }
.robot-ears .right-ear { right: -6px; }

.robot-antenna {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 4px;
  height: 20px;
  background: #444;
  transform: translateX(-50%);
  z-index: 1;
}
.antenna-ball {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--color-accent);
  animation: pulseColor 2s infinite alternate;
}
@keyframes pulseColor {
  0% { background: var(--color-accent); box-shadow: 0 0 10px var(--color-accent); }
  100% { background: var(--color-electric); box-shadow: 0 0 20px var(--color-electric); }
}

/* Chat Window */
.chat-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
.chat-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#robot-chat-window {
  width: 350px;
  height: 480px;
  background: rgba(15, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 190, 220, 0.2);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 190, 220, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

.chat-header {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(0, 190, 220, 0.1) 0%, rgba(124, 92, 252, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header-info { display: flex; align-items: center; gap: 0.8rem; }
.robot-avatar-mini {
  width: 32px; height: 32px;
  background: #1c1c28;
  border-radius: 8px;
  display: flex; gap: 4px; align-items: center; justify-content: center;
  border: 1px solid var(--color-secondary);
}
.robot-eye-mini {
  width: 6px; height: 8px;
  background: var(--color-electric);
  border-radius: 2px;
  box-shadow: 0 0 5px var(--color-electric);
}
.chat-header h4 { font-size: 1rem; color: var(--color-heading); margin-bottom: 0.1rem; text-align: left; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #00ffaa; border-radius: 50%; box-shadow: 0 0 5px #00ffaa; }
.chat-header-info small { color: rgba(255,255,255,0.6); font-size: 0.75rem; display: inline-flex; align-items: center; }
#close-chat-btn { background: none; border: none; color: var(--color-heading); font-size: 1.5rem; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; }
#close-chat-btn:hover { opacity: 1; color: var(--color-accent); }

.chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(0, 190, 220, 0.3); border-radius: 10px; }

.msg {
  max-width: 85%;
  padding: 0.8rem 1.2rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msgPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes msgPop {
  0% { transform: translateY(10px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.robot-msg {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-heading);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  text-align: left;
}
.user-msg {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-electric));
  color: #05050A;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  text-align: left;
}

.typing-indicator span {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  animation: typing 1s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-area {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
}
#chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.8rem 1.2rem;
  color: var(--color-heading);
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s;
}
#chat-input:focus { border-color: var(--color-secondary); background: rgba(0, 190, 220, 0.05); }
#send-chat-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: none;
  color: #05050A;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
#send-chat-btn svg { width: 20px; height: 20px; }
#send-chat-btn:hover {
  transform: scale(1.1);
  background: var(--color-electric);
  box-shadow: 0 0 15px rgba(0, 190, 220, 0.4);
}

@media (max-width: 480px) {
  #robot-chat-window {
    width: calc(100vw - 2rem); height: 450px; right: 0; bottom: 5rem;
  }
}

/* =====================================================
   LIGHT MODE TARGETED OVERRIDES
   ===================================================== */
html.light-mode .nav-links a { color: #1E293B; }
html.light-mode .nav-links a:hover, html.light-mode .nav-links a.active { color: var(--color-secondary); background: rgba(0, 190, 220, 0.08); }
html.light-mode .lang-dropdown { background: #FFFFFF; border: 1px solid #E2E8F0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
html.light-mode .lang-dropdown li a { color: #1E293B; }
html.light-mode .lang-dropdown li a:hover, html.light-mode .lang-dropdown li a.active { background: #F0F9FF; color: var(--color-secondary); }

html.light-mode .contact-item h4 { color: #64748B; }
html.light-mode .contact-item p { color: #1E293B; }
html.light-mode .form-label { color: #334155; text-shadow: none; }
html.light-mode .form-input, html.light-mode .form-textarea, html.light-mode .form-select { 
  background: #FFFFFF; border: 1px solid #CBD5E1; color: #1E293B; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
html.light-mode .form-input::placeholder, html.light-mode .form-textarea::placeholder { color: #94A3B8; }

html.light-mode .tab-btn { color: #64748B; background: #FFFFFF; border-color: #E2E8F0; }
html.light-mode .tab-btn:hover { color: #1E293B; background: #F8FAFC; border-color: var(--color-secondary); }
html.light-mode .tab-btn.active { color: #FFFFFF; background: var(--color-secondary); border-color: var(--color-secondary); }
html.light-mode .tab-features li { color: #475569; }

html.light-mode .partners-section { background: var(--color-bg); border-bottom: 1px solid var(--card-border); }
html.light-mode .marquee-item { filter: invert(1) opacity(0.7); }

html.light-mode .cta-banner-bg { background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%); }
html.light-mode .cta-banner p { color: #475569; }

html.light-mode .about-content h2, html.light-mode .about-value h4, html.light-mode .product-card h3 { color: var(--color-heading); }
html.light-mode .product-card p { color: #475569; }

/* In Light mode, keep Hero elements white because the hero background is dark/video */
html.light-mode .hero h1, html.light-mode .hero p, html.light-mode .hero .hero-stat h3, html.light-mode .hero .hero-stat p, html.light-mode .hero .btn-outline {
  color: #FFFFFF !important;
}
html.light-mode .hero .btn-outline {
  border-color: rgba(255,255,255,0.4) !important;
}
html.light-mode .hero .btn-outline:hover {
  background: rgba(255,255,255,0.1) !important;
}

