/* ============================================================
   SHASTRA CYBER SYSTEMS — Premium Enterprise Stylesheet
   Glass Morphism + Animated Gradients + Neon Accent System
   CEO-grade UI/UX — Mobile-first, WCAG AA
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Premium light palette */
  --bg:        #fafbfd;
  --bg2:       #f3f5f8;
  --bg3:       #eaeff4;
  --surface:   rgba(255,255,255,0.75);
  --surface2:  rgba(255,255,255,0.9);
  --border:    rgba(0,0,0,0.06);
  --border2:   rgba(0,0,0,0.10);

  /* Neon accent system — electric teal + vivid cyan */
  --accent:    #00d4aa;
  --accent2:   #06b6d4;
  --accent-dk: #00b894;
  --teal:      #00d4aa;
  --teal-dk:   #00b894;
  --teal-glow: rgba(0,212,170,0.18);
  --cyan-glow: rgba(6,182,212,0.12);

  /* Premium gradients */
  --grad:      linear-gradient(135deg, #00d4aa 0%, #06b6d4 100%);
  --grad-dk:   linear-gradient(135deg, #00b894 0%, #0891b2 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,212,170,0.08) 0%, rgba(6,182,212,0.05) 100%);
  --grad-mesh: linear-gradient(135deg, #fafbfd 0%, #f0f7f5 30%, #f0f5fa 70%, #fafbfd 100%);

  /* Text — deep slate for premium feel */
  --text:      #0f172a;
  --text2:     #64748b;
  --text3:     #94a3b8;
  --white:     #0f172a;
  --green:     #10b981;
  --red:       #ef4444;

  /* Typography — DM Serif Display headings + Inter body */
  --font-head: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container:  1180px;
  --radius:     12px;
  --radius-lg:  20px;

  /* Shadows — colored for premium depth */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-glow: 0 8px 32px rgba(0,212,170,0.15), 0 0 0 1px rgba(0,212,170,0.05);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
h5 { font-family: 'Space Grotesk', var(--font-body); font-weight: 700; }
p  { color: var(--text2); font-size: 1rem; line-height: 1.75; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: inline-block;
}
.section-title { margin-bottom: 18px; }
.section-desc  { max-width: 580px; margin-bottom: 52px; font-size: 1.05rem; }

/* ── BUTTONS — Premium with animated gradient ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0,212,170,0.25);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0,212,170,0.35), 0 0 60px rgba(0,212,170,0.12);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0,212,170,0.2);
}
.btn-outline {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
  backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ── NAVIGATION — Frosted glass ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 251, 253, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#navbar.scrolled {
  background: rgba(250, 251, 253, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-logo-img { height: 48px; max-width: 170px; }
}
@media (max-width: 480px) {
  .nav-logo-img { height: 40px; max-width: 140px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; right: 50%;
  height: 2px;
  background: var(--grad);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a:hover::after,
.nav-links a.active::after { left: 0; right: 0; }
.nav-cta { margin-left: 20px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--teal); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ═══════════════════════════════════
   HERO — Dark Celestial + Nebula
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: #020810;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,212,170,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(6,182,212,0.05) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(2, 8, 16, 0.5) 0%,
      rgba(2, 8, 16, 0.2) 30%,
      rgba(2, 8, 16, 0.3) 60%,
      rgba(2, 8, 16, 0.92) 100%
    );
}

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

.hero-grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
}

/* Nebula orbs */
.hero::before {
  content: '';
  position: absolute;
  top: 5%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, rgba(6,182,212,0.04) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: nebula1 12s ease-in-out infinite;
  filter: blur(60px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, rgba(0,212,170,0.03) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: nebula2 10s ease-in-out infinite;
  filter: blur(50px);
}
@keyframes nebula1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.15); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}
@keyframes nebula2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -20px) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,170,0.06);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #00d4aa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d4aa;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(0,212,170,0.6);
}

/* Hero text — light on dark */
.hero h1 { margin-bottom: 24px; color: #f1f5f9; letter-spacing: -0.03em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #00d4aa 0%, #06b6d4 50%, #00d4aa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(148,163,184,0.9);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.85;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(148,163,184,0.7);
  margin-top: 6px;
  font-weight: 500;
}

/* ── SECTIONS ── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section-alt {
  background: var(--bg2);
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* Subtle mesh gradient on alternating sections */
.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 10% 50%, rgba(0,212,170,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 90% 30%, rgba(6,182,212,0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* ── CARDS — Glass morphism ── */
.card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  will-change: transform;
}
.card:hover {
  border-color: rgba(0,212,170,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 0 40px rgba(0,212,170,0.06);
}
/* Gradient top line */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 0 2px 2px;
}
.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--grad-soft);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
  transition: all 0.3s;
}
.card:hover .card-icon {
  box-shadow: 0 4px 16px rgba(0,212,170,0.15);
  border-color: rgba(0,212,170,0.3);
}
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p  { font-size: 0.92rem; line-height: 1.75; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-link:hover { gap: 12px; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── WHAT WE DO ── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* ── VIDEO SECTION ── */
.video-section {
  background: var(--bg2);
  padding: var(--section-py) 0;
  position: relative;
}
.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,212,170,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text2);
}
.video-play-btn {
  width: 76px; height: 76px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,212,170,0.3);
}
.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 48px rgba(0,212,170,0.4);
}
.video-play-btn::before,
.video-play-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,170,0.25);
  animation: playPulse 2.5s ease-out infinite;
}
.video-play-btn::after { animation-delay: 0.6s; }

/* ── INDUSTRIES ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.industry-tile {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.industry-tile:hover {
  border-color: rgba(0,212,170,0.3);
  background: rgba(255,255,255,0.9);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.industry-tile-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.industry-tile h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ── PRODUCTS / SOLUTIONS ── */
.products-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all 0.3s;
}
.tab-btn:hover { border-color: var(--border2); color: var(--text); }
.tab-btn.active {
  background: var(--grad-soft);
  border-color: rgba(0,212,170,0.3);
  color: var(--accent);
}

/* ── CTA BANNER — Premium glass gradient ── */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(0,212,170,0.06) 0%, rgba(6,182,212,0.04) 100%),
    rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: var(--radius-lg);
  padding: 68px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: orbFloat 6s ease-in-out infinite reverse;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p  { max-width: 500px; }
.cta-banner-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── MODAL — Frosted glass ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.3);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 44px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
.modal-close {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.modal h2 { font-size: 1.8rem; margin-bottom: 6px; }
.modal-sub { font-size: 0.88rem; color: var(--text2); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all 0.25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,212,170,0.08);
  background: #fff;
}
.form-group select option { background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 15px; font-size: 0.95rem; margin-top: 6px; }
.form-success {
  display: none;
  text-align: center;
  padding: 36px 0;
}
.form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* ── ABOUT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.06) 0%, transparent 70%);
}
.about-points { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,212,170,0.3);
}

/* ── FOOTER — Dark premium ── */
footer {
  background: #0a1628;
  border-top: none;
  padding: 72px 0 36px;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,170,0.3) 50%, transparent 100%);
}
footer h5, .footer-col h5 {
  color: #f1f5f9;
}
footer p {
  color: #64748b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-top: 14px; }
.footer-col h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: #64748b;
  padding: 5px 0;
  transition: all 0.25s;
}
.footer-col a:hover {
  color: #00d4aa;
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: #64748b;
  margin-bottom: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #475569; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #00d4aa; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 148px 0 88px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 40%, rgba(0,212,170,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(6,182,212,0.03) 0%, transparent 50%);
}
.page-hero .container { position: relative; }

/* ── SOLUTIONS PAGE — Card images + dividers + animations ── */
.sol-card-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  margin: -24px -24px 20px -24px;
  width: calc(100% + 48px);
  position: relative;
}
.sol-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sol-card:hover .sol-card-img img {
  transform: scale(1.08);
}
.sol-card {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

/* Animated section divider — reusable across pages */
.section-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  overflow: hidden;
}
.section-sep-line {
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  opacity: 0.6;
}
.section-sep-line.in-view { width: 120px; transition: width 1s cubic-bezier(0.16,1,0.3,1); }

/* Animated divider between solution sections (wider) */
.sol-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.sol-divider-line {
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sol-divider-line.active {
  width: 200px;
}

/* Solution section scroll animation states */
.sol-section { overflow: hidden; }
.sol-title, .sol-desc { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.sol-title.in-view, .sol-desc.in-view { opacity: 1; transform: translateY(0); }
.sol-desc.in-view { transition-delay: 0.1s; }

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.35s; }
.fade-up-4 { animation-delay: 0.5s; }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -18px); }
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,170,0.12); }
  50% { box-shadow: 0 0 40px rgba(0,212,170,0.25); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge { animation: badgeGlow 3s ease-in-out infinite; }

/* ── UTILITIES ── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text2); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 52px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-py: 68px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .cyber-stats-bar { flex-wrap: wrap; gap: 16px; padding: 24px 20px; }
  .cyber-stat-divider { display: none; }
  .cyber-stat { min-width: 120px; }
  .threat-map-legend { flex-wrap: wrap; gap: 12px; }

  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner { flex-direction: column; padding: 44px 28px; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .offerings-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .modal { padding: 28px 20px; }
}

/* Smooth page transitions */
main {
  animation: pageIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── CONTACT PAGE ── */
.contact-info-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.full-form {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

/* ── CYBER STATS BAR ── */
.cyber-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
}
.cyber-stat {
  text-align: center;
  flex: 1;
  padding: 0 20px;
}
.cyber-stat-num {
  font-family: 'Space Grotesk', var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #0c4a6e;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cyber-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text2);
  margin-top: 8px;
  text-transform: uppercase;
}
.cyber-stat-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  margin-top: 6px;
  letter-spacing: 0.08em;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}
.cyber-stat-divider {
  width: 1px;
  height: 52px;
  background: var(--border2);
  flex-shrink: 0;
}

/* ── THREAT MAP ── */
.threat-map-wrap {
  background: #0a1628;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.threat-map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(10,22,40,0.95);
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── PARTNERS MARQUEE ── */
.partners-marquee-wrap {
  overflow: hidden;
  padding: 20px 0 0;
}
.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 32px;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}
.partner-card-sq {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  width: 180px;
  height: 180px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  flex-shrink: 0;
}
.partner-card-sq:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.partner-card-sq img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}
.partner-fallback {
  width: 64px;
  height: 64px;
  background: var(--grad-soft);
  border: 1px solid rgba(0,212,170,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}
.partner-card-sq span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  text-align: center;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

/* ── INDUSTRY PAGE SECTIONS ── */
.industry-section {
  border-bottom: 1px solid var(--border);
}

/* ── SERVICE CARDS ── */
.service-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.service-card:hover {
  border-color: rgba(0,212,170,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 0 40px rgba(0,212,170,0.06);
}
