/* ============================================================
   TECHBRANIUM — Design System & Global Styles
   ============================================================ */

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

/* ---- Design Tokens ---------------------------------------- */
:root {
  --bg-base:       #08080F;
  --bg-surface:    #0D0D1A;
  --bg-card:       #111122;
  --bg-card-hover: #161630;
  --bg-nav:        rgba(8, 8, 15, 0.85);

  --border:        rgba(255, 255, 255, 0.07);
  --border-active: rgba(139, 47, 201, 0.45);

  /* Brand gradient: pink → purple → blue */
  --pink:          #D4237A;
  --purple:        #8B2FC9;
  --blue:          #1B56C7;
  --blue-light:    #2F6BD4;
  --blue-pale:     #7EB3F7;
  --blue-glow:     rgba(27, 86, 199, 0.16);
  --blue-glow-lg:  rgba(27, 86, 199, 0.08);
  --pink-glow:     rgba(212, 35, 122, 0.12);

  --teal:          #06B6D4;
  --teal-glow:     rgba(6, 182, 212, 0.15);

  --white:         #FFFFFF;
  --text-primary:  #F1F5F9;
  --text-secondary:#94A3B8;
  --text-muted:    #cbd5e1;

  --gradient-brand: linear-gradient(135deg, #D4237A 0%, #8B2FC9 50%, #1B56C7 100%);
  --gradient-blue:  linear-gradient(135deg, #D4237A 0%, #8B2FC9 50%, #1B56C7 100%);
  --gradient-text:  linear-gradient(135deg, #FFFFFF 0%, #D67FE8 40%, #7EB3F7 100%);
  --gradient-hero:  radial-gradient(ellipse 80% 60% at 60% 40%, rgba(139,47,201,0.10) 0%, transparent 70%);

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

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-blue: 0 8px 40px rgba(37,99,235,0.25);
  --shadow-glow: 0 0 60px rgba(37,99,235,0.15);

  --nav-height: 158px;
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ---- Background texture ----------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6,182,212,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Navigation ------------------------------------------- */
.nav {
  position: relative;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

/* nav-container is the inner wrapper used on all pages */
.nav-inner,
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* nav-brand: the logo link */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* btn-nav: pill CTA in nav */
.btn-nav {
  background: var(--gradient-brand) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.btn-nav:hover {
  opacity: 0.88;
  background: var(--gradient-brand) !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo svg { width: 40px; height: 40px; }

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

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

.nav-links a.active { color: var(--blue-pale); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-phone:hover { color: var(--text-secondary); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139,47,201,0.30);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E02888 0%, #9B3FD9 50%, #2566D9 100%);
  box-shadow: 0 8px 32px rgba(139,47,201,0.40);
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-pale);
  padding: 12px 0;
}

.btn-ghost:hover { color: var(--white); }

.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}

.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}

/* ---- Layout ----------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
}

.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* ---- Typography ------------------------------------------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(212,35,122,0.15), 0 0 80px rgba(27,86,199,0.10);
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(212,35,122,0.15), 0 0 80px rgba(27,86,199,0.10);
}

.display-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 0 40px rgba(212,35,122,0.15), 0 0 80px rgba(27,86,199,0.10);
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
  color: var(--white);
}

.subheading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-pale);
}

.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

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

.text-blue { color: var(--blue-pale); }
.text-muted { color: var(--text-muted); }

/* ---- Cards ------------------------------------------------ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

/* ---- Icon box --------------------------------------------- */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-glow);
  border: 1px solid rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-pale);
}

.icon-box-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
}

.icon-box-teal {
  background: var(--teal-glow);
  border-color: rgba(6,182,212,0.2);
  color: var(--teal);
}

/* ---- Badge ----------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid;
  letter-spacing: 0.02em;
}

.badge-blue {
  background: var(--blue-glow);
  border-color: rgba(37,99,235,0.3);
  color: var(--blue-pale);
}

.badge-teal {
  background: var(--teal-glow);
  border-color: rgba(6,182,212,0.3);
  color: var(--teal);
}

.badge-pink {
  background: rgba(212,35,122,0.12);
  border-color: rgba(212,35,122,0.3);
  color: #f472b6;
}

.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

/* ---- Gradient text utility -------------------------------- */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(212,35,122,0.4));
}

/* ---- Section headers -------------------------------------- */
.section-header {
  margin-bottom: 56px;
}

.section-header-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-header .subheading { margin-bottom: 8px; }

/* Shared eyebrow / title / sub used across inner pages */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
}

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

/* ---- Divider --------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* ---- Stat items ------------------------------------------ */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ---- Partner logos --------------------------------------- */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.partner-logo:hover { opacity: 1; }

.partner-logo svg,
.partner-logo img { height: 32px; width: auto; display: block; }

.partner-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--white);
}

/* Logo rail scroll */
.logo-rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, white 15%, white 85%, transparent);
}

.logo-rail-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: railScroll 28s linear infinite;
  width: max-content;
}

@keyframes railScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Testimonial ----------------------------------------- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 72px;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--blue);
  font-family: Georgia, serif;
  margin-right: 4px;
  opacity: 0.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 2px solid rgba(37,99,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-pale);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- Process steps --------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  gap: 16px;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-pale);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(37,99,235,0.2);
}

.process-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.process-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Feature check list ---------------------------------- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 1px solid rgba(37,99,235,0.3);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='%2360A5FA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---- Industry grid --------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.industry-item {
  background: var(--bg-card);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--transition);
  border: 1px solid transparent;
}

.industry-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

.industry-icon {
  flex-shrink: 0;
  color: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.industry-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

/* ---- Hero section ---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 65% 50%, rgba(37,99,235,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(6,182,212,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid dots pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge { margin-bottom: 8px; }

.hero-title { margin: 0; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ---- Network illustration -------------------------------- */
.net-illustration {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  position: relative;
}

.net-illustration svg {
  width: 100%;
  height: 100%;
}

/* ---- CTA banner ------------------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.cta-banner-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ---- Footer ---------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--text-secondary); }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Page hero (inner pages) ----------------------------- */
.page-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -20%, rgba(37,99,235,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  max-width: 720px;
}

/* ---- Service detail card --------------------------------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.service-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card-capabilities {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-card-capabilities-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ---- Why choose grid ------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-item {
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  gap: 20px;
}

.why-item:hover { background: var(--bg-card-hover); }

.why-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Team card ------------------------------------------- */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition-slow);
}

.team-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-glow), var(--teal-glow));
  border: 2px solid rgba(37,99,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--blue-pale);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.team-title {
  font-size: 13px;
  color: var(--blue-pale);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Contact form ---------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select option { background: var(--bg-card); }

.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15) !important;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

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

/* ---- Info card (contact page) ---------------------------- */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-card-content { flex: 1; }

.info-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-card-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
}

.info-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes nodePulse {
  0%, 100% { r: 6; opacity: 0.6; }
  50%       { r: 9; opacity: 1; }
}

@keyframes dashFlow {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}

.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .net-illustration { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-lg { padding: 96px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-item { padding: 18px 14px; gap: 10px; }
  .industry-name { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hero — hide decorative SVG, stack CTAs full-width */
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; align-items: center; }
  .lead { text-align: center; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .process-steps { grid-template-columns: 1fr; }
  .page-hero { padding: 80px 0 48px; }
}

/* ---- Government certifications strip --------------------- */
.cert-bar {
  background: linear-gradient(90deg, rgba(212,35,122,0.08) 0%, rgba(139,47,201,0.10) 50%, rgba(27,86,199,0.08) 100%);
  border-top: 1px solid rgba(139,47,201,0.2);
  border-bottom: 1px solid rgba(139,47,201,0.2);
  padding: 14px 0;
}

.cert-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.cert-badge:last-child { border-right: none; }

.cert-badge-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cert-badge-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.cert-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Cert bar responsive — must appear after base styles to win the cascade */
@media (max-width: 768px) {
  .cert-bar { overflow: hidden; }
  .cert-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0 16px;
  }
  .cert-bar-inner::-webkit-scrollbar { display: none; }
  .cert-badge { flex-shrink: 0; padding: 8px 14px; }
  .cert-badge-sub { display: none; }
}

/* ---- Nav: hamburger only on phones (≤480px) -------------- */
@media (max-width: 480px) {
  :root { --nav-height: 106px; }

  body.nav-open { overflow: hidden; }

  .nav {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(8, 8, 15, 0.96);
    box-shadow: 0 12px 36px rgba(0,0,0,0.34);
  }

  .nav-inner,
  .nav-container {
    padding: 0 18px;
    gap: 16px;
  }

  .nav .nav-logo img,
  .nav .nav-brand img {
    height: 96px !important;
  }

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

  .nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 2002;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    padding: 18px 18px max(24px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(13,13,26,0.98) 0%, rgba(8,8,15,0.98) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(139,47,201,0.24);
    box-shadow: 0 24px 56px rgba(0,0,0,0.5);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 2001;
  }

  .nav-links.open li {
    width: 100%;
    list-style: none;
  }

  .nav-links.open a {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 15px;
    font-weight: 700;
  }

  .nav-links.open a:hover,
  .nav-links.open a.active {
    color: var(--white);
    background: rgba(126,179,247,0.12);
    border-color: rgba(126,179,247,0.24);
  }

  .nav-links.open .btn-nav {
    min-height: 52px;
    margin-top: 4px;
    border: none;
    font-size: 15px;
    box-shadow: 0 12px 32px rgba(139,47,201,0.28);
  }
}

/* ---- Staffing model cards -------------------------------- */
.staffing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
}

.staffing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition);
}

.staffing-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 0 48px rgba(139,47,201,0.12);
}

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

.staffing-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag-gradient {
  background: var(--gradient-brand);
  color: var(--white);
}

/* ---- Reassurance strip without emojis -------------------- */
.reassure-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-glow);
  border: 1px solid rgba(27,86,199,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-pale);
  flex-shrink: 0;
}

/* ---- Technology/Partner page specific -------------------- */
.tech-category {
  margin-bottom: 48px;
}

.tech-category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition-slow);
}

.partner-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.partner-card-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.partner-card-type {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.partner-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--blue-pale);
}
