/* ============================================================
   BrightCore Systems LLC — Core Design System
   style.css | Version 1.0
   © 2026 BrightCore Systems LLC. All Rights Reserved.
   ============================================================ */

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

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors */
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #3B82F6;
  --secondary:      #60A5FA;
  --accent:         #06B6D4;
  --accent-dark:    #0891B2;
  --success:        #22C55E;
  --warning:        #F59E0B;
  --danger:         #EF4444;

  /* Backgrounds */
  --bg:             #F8FAFC;
  --section-bg:     #EFF6FF;
  --card-bg:        #FFFFFF;
  --gray:           #F1F5F9;
  --gray-dark:      #E2E8F0;

  /* Text */
  --heading:        #1E293B;
  --text:           #475569;
  --text-light:     #94A3B8;
  --text-muted:     #CBD5E1;

  /* Glassmorphism */
  --glass-bg:       rgba(255, 255, 255, 0.15);
  --glass-bg-solid: rgba(255, 255, 255, 0.85);
  --glass-border:   rgba(255, 255, 255, 0.35);
  --glass-shadow:   0 8px 32px rgba(37, 99, 235, 0.12);

  /* Gradients */
  --gradient-primary:   linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --gradient-hero:      linear-gradient(135deg, rgba(37,99,235,0.95) 0%, rgba(6,182,212,0.85) 100%);
  --gradient-soft:      linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  --gradient-card:      linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);
  --gradient-mesh:      radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 60%),
                        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 60%);

  /* Typography */
  --font-primary:   'Manrope', sans-serif;
  --font-secondary: 'Outfit', sans-serif;

  /* Font Sizes (fluid) */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  /* Spacing */
  --spacing-xs:   0.5rem;
  --spacing-sm:   1rem;
  --spacing-md:   1.5rem;
  --spacing-lg:   2rem;
  --spacing-xl:   3rem;
  --spacing-2xl:  4rem;
  --spacing-3xl:  6rem;

  /* Border Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md:  0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-lg:  0 20px 40px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.04);
  --shadow-xl:  0 30px 60px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.06);
  --shadow-blue: 0 10px 40px rgba(37, 99, 235, 0.25);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.20);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;
  --z-loading: 600;

  /* Container */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 2rem);

  /* Header */
  --header-h: 80px;
}

/* ── Dark Mode Variables ──────────────────────────────────── */
[data-theme="dark"] {
  --bg:             #0F172A;
  --section-bg:     #1E293B;
  --card-bg:        #1E293B;
  --gray:           #334155;
  --gray-dark:      #475569;
  --heading:        #F1F5F9;
  --text:           #CBD5E1;
  --text-light:     #94A3B8;
  --glass-bg:       rgba(30, 41, 59, 0.6);
  --glass-bg-solid: rgba(15, 23, 42, 0.90);
  --glass-border:   rgba(148, 163, 184, 0.15);
  --gradient-soft:  linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --gradient-card:  linear-gradient(145deg, #1E293B 0%, #162032 100%);
  --gradient-mesh:  radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.10) 0%, transparent 60%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.loading {
  overflow: hidden;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { line-height: 1.75; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover { color: var(--primary-dark); }

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-primary);
  font-size: var(--text-base);
}

/* ── Utility Classes ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section--alt {
  background: var(--section-bg);
}

.section--gray {
  background: var(--gray);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

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

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: scaleX(1);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(37, 99, 235, 0.40);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
}

/* Ripple effect */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-slow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.15);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ── Badge / Tag ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-accent {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* ── Loading Screen ──────────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loading);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  margin-bottom: 2rem;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: loadingBar 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.loading-text {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: var(--text-light);
  font-weight: 500;
  font-family: var(--font-secondary);
}

/* ── Header ──────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: var(--z-sticky);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

#site-header.scrolled {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  transition: color var(--transition-base);
}

.logo-tagline {
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

#site-header.scrolled .logo-name { color: var(--heading); }
#site-header.scrolled .logo-tagline { color: var(--text-light); }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 1.75rem);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

#site-header.scrolled .nav-link {
  color: var(--text);
}

#site-header.scrolled .nav-link:hover,
#site-header.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.nav-link .nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 700px;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-dark);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-dropdown);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  color: var(--text);
}

.mega-menu-item:hover {
  background: var(--section-bg);
  color: var(--primary);
  transform: translateX(4px);
}

.mega-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: all var(--transition-base);
}

.mega-menu-item:hover .mega-menu-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.mega-menu-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 0.1rem;
}

.mega-menu-text span {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-dark);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: var(--z-dropdown);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  text-decoration: none;
}

.dropdown-link:hover {
  background: var(--section-bg);
  color: var(--primary);
  padding-left: 1.25rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.header-search-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

#site-header.scrolled .header-search-btn {
  border-color: var(--gray-dark);
  background: var(--gray);
  color: var(--text);
}

#site-header.scrolled .header-search-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.dark-toggle:hover {
  background: rgba(255,255,255,0.2);
}

#site-header.scrolled .dark-toggle {
  border-color: var(--gray-dark);
  background: var(--gray);
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  padding: 0.625rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: all 0.35s ease;
}

#site-header.scrolled .hamburger {
  border-color: var(--gray-dark);
  background: var(--gray);
}

#site-header.scrolled .hamburger span {
  background: var(--heading);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 90vw);
  height: 100vh;
  background: var(--card-bg);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-dark);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition-base);
  background: var(--gray);
}

.mobile-nav-close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0.5rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading);
  border-bottom: 1px solid var(--gray);
  text-decoration: none;
  transition: color var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero Section ────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 28, 65, 0.88) 0%,
    rgba(30, 64, 175, 0.75) 40%,
    rgba(6, 182, 212, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  padding-top: var(--header-h);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 680px;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.9s ease 0.6s both;
  font-family: var(--font-secondary);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.9s ease 0.8s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  animation: fadeInUp 0.9s ease 1.0s both;
}

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

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-secondary);
  margin-top: 0.25rem;
}

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

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary), transparent);
  top: -200px;
  right: -200px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent), transparent);
  bottom: -150px;
  left: 5%;
  animation: floatShape 10s ease-in-out infinite reverse;
  opacity: 0.10;
}

/* ── Futuristic Hero Orbit Animation ───────────────────── */
.hero-orbit-wrap {
  position: absolute;
  top: 18%;
  right: 22%;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
}

.hero-orbit-outer {
  inset: 0;
  border: 1.5px dashed rgba(96, 165, 250, 0.45);
  animation: spinOrbit 28s linear infinite;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
}

.hero-orbit-inner {
  inset: 32px;
  border: 1.5px solid rgba(52, 211, 153, 0.35);
  animation: spinOrbitReverse 18s linear infinite;
}

.hero-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.65) 0%, rgba(37, 99, 235, 0) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

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

@keyframes spinOrbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(-360deg); }
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.95; }
}

@media (max-width: 991px) {
  .hero-orbit-wrap {
    display: none;
  }
}

/* Hero slider controls */
.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 30px;
  background: #fff;
  border-color: #fff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
  animation: fadeIn 1s ease 2s both;
}

.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 1.5s ease infinite;
}

/* Hero floating card */
.hero-float-card {
  position: absolute;
  right: clamp(1rem, 8%, 10rem);
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  z-index: 5;
  animation: floatCard 6s ease-in-out infinite, fadeInRight 1s ease 0.5s both;
}

.float-card-title {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.float-card-stat {
  margin-bottom: 1.25rem;
}

.float-card-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.float-card-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
}

.float-card-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  overflow: hidden;
}

.float-card-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent), var(--secondary));
  animation: barFill 2s ease 1.5s both;
  width: 0;
}

/* ── About Section ───────────────────────────────────────── */
#about {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

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

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
  text-align: center;
}

.about-badge-num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-text {
  font-size: var(--text-xs);
  opacity: 0.85;
  font-family: var(--font-secondary);
  margin-top: 0.2rem;
}

.about-content {
  padding-right: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--section-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.about-feature:hover .about-feature-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.about-feature-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.2rem;
}

.about-feature-text span {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* ── Services & About Detail Grids ──────────────────────── */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-dark);
}

.service-stat-box {
  background: var(--section-bg);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  border: 1px solid var(--gray-dark);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Services Section ────────────────────────────────────── */
#services {
  padding: var(--spacing-3xl) 0;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

/* ── Services Bento Grid ─────────────────────────────────── */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.bento-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  border: 1px solid var(--gray-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--service-accent, var(--gradient-primary));
  transform: scaleX(0.25);
  transition: transform var(--transition-slow), height 0.3s ease;
  transform-origin: center;
}

.bento-card:hover::before {
  transform: scaleX(1);
  height: 5px;
}

.bento-card--wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
}

.bento-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.bento-tag {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-family: var(--font-secondary);
}

@media (max-width: 991px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--wide {
    grid-column: span 1;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem 1.75rem;
  border: 1px solid var(--gray-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--service-accent, var(--gradient-primary));
  transform: scaleX(0.25);
  transition: transform var(--transition-slow), height 0.3s ease;
  transform-origin: center;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #ffffff;
  transition: all var(--transition-spring);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition-base);
}

.service-link:hover {
  gap: 0.625rem;
  color: var(--primary-dark);
}

/* ── Why Choose Us Dark Glassmorphism Redesign ──────────── */
#why-us.why-dark-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  color: #ffffff;
}

#why-us.why-dark-section .section-title {
  color: #ffffff;
}

#why-us.why-dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

#why-us.why-dark-section .section-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.3);
}

.why-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.why-glass-card {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 2.25rem 1.75rem 1.75rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.why-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.94) 100%);
  transition: background var(--transition-normal);
  z-index: 1;
}

.why-glass-card:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.why-glass-content {
  position: relative;
  z-index: 2;
}

.why-glass-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.35);
  backdrop-filter: blur(6px);
  margin-bottom: 1.25rem;
}

.why-glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
}

.why-glass-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.why-glass-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .why-glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .why-glass-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Why Choose Us ───────────────────────────────────────── */
#why-us {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 0;
}

.why-card {
  text-align: center;
  padding: 2.75rem 1.5rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-dark);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--gradient-primary));
  transform: scaleX(0.3);
  transition: transform var(--transition-slow), height 0.3s ease;
  transform-origin: center;
}

.why-card:hover::before {
  transform: scaleX(1);
  height: 5px;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.why-card-badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--gradient-soft);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-family: var(--font-secondary);
}

.why-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 1.5rem;
  transition: all var(--transition-spring);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.why-card:hover .why-icon {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.why-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.why-desc {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.65;
}

/* ── Industries ──────────────────────────────────────────── */
#industries {
  padding: var(--spacing-3xl) 0;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.industry-card {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.25rem 1.75rem;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-slow);
  cursor: pointer;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 12px 35px rgba(0, 0, 0, 0.35);
  border-color: rgba(96, 165, 250, 0.7);
}

.industry-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  letter-spacing: -0.01em;
}

.industry-count {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.04em;
}

/* ── Tech Stack Marquee ──────────────────────────────────── */
#tech-stack {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
  overflow: hidden;
}

.tech-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.tech-category-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1.5px solid var(--gray-dark);
  color: var(--text);
  background: var(--card-bg);
}

.tech-category-btn.active,
.tech-category-btn:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.tech-marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.tech-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.tech-marquee {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.tech-marquee:hover { animation-play-state: paused; }

.tech-marquee-2 {
  animation-direction: reverse;
  animation-duration: 25s;
}

.tech-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  min-width: 110px;
  flex-shrink: 0;
}

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

.tech-logo-icon {
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-logo-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ── Process Section ─────────────────────────────────────── */
#process {
  padding: var(--spacing-3xl) 0;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.process-timeline {
  position: relative;
  display: flex;
  gap: 0;
  margin-top: 4rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--gray-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-spring);
  box-shadow: var(--shadow-sm);
}

.process-step:hover .process-step-num {
  background: var(--gradient-primary);
  border-color: var(--primary);
  transform: scale(1.15);
  box-shadow: var(--shadow-blue);
}

.step-number {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: color var(--transition-base);
}

.step-icon {
  color: var(--primary);
  transition: color var(--transition-base);
  margin-top: 2px;
}

.process-step:hover .step-number,
.process-step:hover .step-icon {
  color: #fff;
}

.process-step-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: var(--text-xs);
  color: var(--text);
  line-height: 1.55;
}

/* ── Counters Section ────────────────────────────────────── */
#counters {
  padding: var(--spacing-3xl) 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

#counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
}

.counter-item {
  text-align: center;
  color: #fff;
}

.counter-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  backdrop-filter: blur(10px);
}

.counter-value {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.counter-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-secondary);
}

/* ── Testimonials ────────────────────────────────────────── */
#testimonials {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
  overflow: hidden;
}

.testimonials-track {
  position: relative;
  overflow: hidden;
}

.testimonials-inner {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-dark);
  transition: all var(--transition-slow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: #F59E0B;
}

.testimonial-quote {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.4;
  position: absolute;
  top: -0.75rem;
  left: -0.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--section-bg);
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--heading);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 0.1rem;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.testimonials-prev,
.testimonials-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-dark);
  background: var(--card-bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.testimonials-prev:hover,
.testimonials-next:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-dot.active {
  width: 24px;
  background: var(--primary);
}

/* ── Blog Section ────────────────────────────────────────── */
#blog {
  padding: var(--spacing-3xl) 0;
  background: var(--section-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-dark);
  transition: all var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-img-wrap {
  overflow: hidden;
  height: 220px;
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-date {
  font-size: var(--text-xs);
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.875rem;
  line-height: 1.4;
  transition: color var(--transition-base);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition-base);
}

.blog-read-more:hover {
  gap: 0.625rem;
  color: var(--primary-dark);
}

/* ── FAQ Section ─────────────────────────────────────────── */
#faq {
  padding: var(--spacing-3xl) 0;
  background: var(--bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--card-bg);
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.05), var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading);
  gap: 1rem;
  user-select: none;
  transition: color var(--transition-base);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.75;
  border-top: 1px solid var(--gray);
  padding-top: 1.25rem;
}

/* ── CTA Section ─────────────────────────────────────────── */
#cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-secondary);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Contact Section ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.contact-info-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 1rem;
}

.contact-info-desc {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading);
}

.contact-detail-value a {
  color: var(--heading);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.map-embed {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-dark);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-card {
  background: var(--card-bg);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.form-label span {
  color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid var(--gray-dark);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--heading);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: all var(--transition-base);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-error-msg {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: 0.375rem;
  display: none;
}

.form-error-msg.show {
  display: block;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

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

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gray-dark);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.form-check label {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.6;
  cursor: pointer;
}

.form-check label a {
  color: var(--primary);
  font-weight: 600;
}

/* Form Submit */
.form-submit-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-submit-btn {
  position: relative;
  min-width: 200px;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-loading .btn-spinner {
  display: block;
}

.btn-loading .btn-text {
  display: none;
}

/* Success / Error popup */
.form-popup {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: 1.5rem;
}

.form-popup.show {
  display: flex;
}

.form-popup-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-popup-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

/* Honeypot */
.hp-field {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -9999px;
}

/* ── Footer ──────────────────────────────────────────────── */
#site-footer {
  background: var(--heading);
  color: rgba(255,255,255,0.75);
  padding-top: 5rem;
}

[data-theme="dark"] #site-footer {
  background: #070E1A;
}

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

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.75;
  margin: 1.25rem 0;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: #fff;
  padding-left: 6px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  outline: none;
  transition: all var(--transition-base);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-input:focus {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.15);
}

.newsletter-btn {
  padding: 0.75rem 1.25rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.newsletter-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom-link:hover {
  color: #fff;
}

/* ── Floating Elements ───────────────────────────────────── */
/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-spring);
  border: none;
}

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

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* WhatsApp */
#whatsapp-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: var(--z-overlay);
  text-decoration: none;
  transition: all var(--transition-spring);
  animation: waBounce 3s ease-in-out infinite;
}

#whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .cursor-glow {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
  mix-blend-mode: screen;
}

/* ── Search Modal ────────────────────────────────────────── */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-inner {
  background: var(--card-bg);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  width: min(600px, 90vw);
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform var(--transition-base);
}

.search-modal.open .search-modal-inner {
  transform: translateY(0);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1.5px solid var(--gray-dark);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  background: var(--bg);
  transition: border-color var(--transition-base);
}

.search-input-wrap:focus-within {
  border-color: var(--primary);
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-size: var(--text-lg);
  color: var(--heading);
  outline: none;
  font-family: var(--font-primary);
}

.search-input::placeholder { color: var(--text-muted); }

/* ── Page Hero (Inner Pages) ─────────────────────────────── */
.page-hero {
  background: var(--gradient-primary);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

.breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb-sep { opacity: 0.5; }

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-secondary);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

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

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

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

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ── Wave Dividers ───────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── Misc ────────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin: 1.25rem 0;
}

.divider-center {
  margin: 1.25rem auto;
}

.highlight-box {
  background: var(--section-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--text);
}
