/* ============================================================
   NEOVATE TECHNOLOGIES — Production Stylesheet
   Reference: Stripe, Linear, Vercel, Atlassian
   ============================================================ */

:root {
  /* Brand */
  --navy:       #0a1628;
  --blue:       #0066FF;
  --blue-dark:  #0052CC;
  --blue-light: #EBF2FF;

  /* Neutral palette */
  --white:      #ffffff;
  --surface:    #f7f8fa;
  --border:     #e4e7ec;
  --border-mid: #d0d5dd;

  /* Text */
  --text-900:   #0a1628;
  --text-700:   #344054;
  --text-500:   #667085;
  --text-300:   #98a2b3;

  /* Footer */
  --footer-bg:  #0a1628;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--text-900);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  color: var(--text-900);
}

a { text-decoration: none; color: inherit; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
/* ONE solid color for all gradient text — no fades */
.gradient-text {
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   HEADER — Pure white, no tint whatsoever
   ============================================================ */
.glass-nav {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

/* Nav links */
.nav-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-700);
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover { background: var(--surface); color: var(--text-900); }
.nav-link.active { background: var(--blue-light); color: var(--blue); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--navy);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #162236;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,22,40,0.22);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--blue);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,102,255,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: var(--text-700);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

/* For use on dark backgrounds */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Legacy aliases used in some pages */
.btn-cyan { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--blue); color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; border-radius: 8px; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.btn-cyan:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,102,255,0.35); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
}
.card-flat:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,102,255,0.08);
  transform: translateY(-2px);
}

/* ============================================================
   HERO BADGE
   ============================================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--blue-light);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* ============================================================
   PAGE HERO BAND
   ============================================================ */
.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
}

/* Hero color blobs */
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.blob-1 { width: 480px; height: 480px; background: rgba(0,102,255,0.06); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: rgba(0,102,255,0.04); bottom: -60px; left: -60px; }

/* Float animation for mockup */
.floating-mockup { animation: float 5s ease-in-out infinite; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   STAT COUNTER
   ============================================================ */
.stat-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1;
}

/* ============================================================
   SOCIAL ICONS
   ============================================================ */
.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.social-icon:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ============================================================
   TECH BADGE
   ============================================================ */
.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-700);
  transition: all 0.15s;
}
.tech-badge:hover {
  background: var(--blue-light);
  border-color: rgba(0,102,255,0.3);
  color: var(--blue);
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */
.filter-btn {
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-500);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn.active, .filter-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-light);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-field {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-900);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.form-field::placeholder { color: var(--text-300); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--blue); }

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-900);
  border: none;
  transition: background 0.15s;
}
.faq-btn:hover { background: var(--surface); }

.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-content.open { max-height: 300px; }

/* ============================================================
   CARDS — specific variants
   ============================================================ */
.value-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.value-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,102,255,0.08);
  transform: translateY(-2px);
}

.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}
.career-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.leader-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.leader-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s;
}
.testimonial-card:hover {
  background: var(--white);
  border-color: var(--border-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.insight-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.insight-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.subsidiary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: box-shadow 0.2s;
}
.subsidiary-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Solutions page */
.solution-row {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.solution-row:last-child { border-bottom: none; }

.capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-700);
}

.stat-chip {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.solution-feature:hover { background: var(--surface); }

/* ============================================================
   FOOTER — dark navy, ALL text must be light
   ============================================================ */
.footer-dark {
  background: var(--footer-bg);
}

/* Footer newsletter input — dark bg specific */
.footer-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
  font-family: 'Inter', sans-serif;
}
.footer-input:focus { border-color: rgba(0,102,255,0.6); }
.footer-input::placeholder { color: rgba(255,255,255,0.35); }

.footer-send-btn {
  padding: 10px 14px;
  background: var(--blue);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.footer-send-btn:hover { background: var(--blue-dark); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
#mobile-menu {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: rgba(0,102,255,0.15); color: var(--text-900); }

/* ============================================================
   UTILITY
   ============================================================ */
.section-divider { height: 1px; background: var(--border); }
