@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3a6b;
  --blue: #1e90d4;
  --blue-light: #4db8ff;
  --blue-glow: rgba(30, 144, 212, 0.15);
  --white: #ffffff;
  --off-white: #f4f7fb;
  --gray: #8899aa;
  --gray-light: #e8eef5;
  --text: #1a2a3a;
  --text-light: #4a6080;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-top: 70px;
}

/* ================================================
   NAV — FIXED
   ================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 144, 212, 0.2);
  height: 70px;
}


.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 16px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-links a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--blue-light); background: rgba(30,144,212,0.08); }
.nav-links a.active { color: var(--blue-light); }

.nav-cta {
  margin-left: 6px;
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-light) !important;
  color: var(--navy) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem;
    gap: 4px;
    border-bottom: 1px solid rgba(30,144,212,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 0.9rem; }
  .nav-cta { text-align: center; margin-left: 0 !important; margin-top: 8px; }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-1px);
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--navy);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ================================================
   LAYOUT
   ================================================ */
section { padding: 5rem 2rem; }

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

.section-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-family: 'Barlow', sans-serif; font-weight: 700; }

.accent { color: var(--blue); }

/* CARDS */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--gray-light);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--blue); transform: translateY(-3px); }

.card-dark {
  background: var(--navy-mid);
  border: 1px solid rgba(30, 144, 212, 0.2);
  color: var(--white);
}

.card-dark:hover { border-color: var(--blue); }
.card-dark p { color: rgba(255,255,255,0.7); }

/* STATS BAR */
.stats-bar { background: var(--navy); padding: 3rem 2rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  font-family: 'Barlow', sans-serif;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0d2545 100%);
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,144,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,144,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* PAIN POINTS */
.pain-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
  margin-bottom: 1rem;
}

.pain-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.pain-item h3 { margin-bottom: 0.3rem; font-size: 1rem; }
.pain-item p { font-size: 0.9rem; color: var(--text-light); }

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step h3 { margin-bottom: 0.5rem; color: var(--navy); }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* FEATURE ICONS */
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* DIVIDER */
.divider {
  width: 60px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ================================================
   SPLIT SECTIONS (text + photo side by side)
   ================================================ */
.split-section { padding: 5rem 2rem; }

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

.split-grid-reverse .split-content { order: 1; }
.split-grid-reverse .split-image  { order: 2; }

.split-image {
  border-radius: 12px;
  overflow: hidden;
  height: 560px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content h2 { margin-bottom: 1.5rem; }

@media (max-width: 900px) {
  .split-grid,
  .split-grid-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-grid-reverse .split-content { order: 2; }
  .split-grid-reverse .split-image  { order: 1; }
  .split-image { height: 320px; }
}

/* ================================================
   HERO WITH BACKGROUND IMAGE
   ================================================ */
.hero {
  position: relative;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.25;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,34,64,0.85) 60%, rgba(13,37,69,0.9) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-logo-lockup {
  margin-bottom: 2rem;
}

.hero-logo {
  height: 100px;
  width: auto;
  display: block;
}

/* ================================================
   CTA SECTION WITH BACKGROUND IMAGE
   ================================================ */
.cta-bg {
  position: relative;
  overflow: hidden;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.2;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(17,34,64,0.92) 100%);
  z-index: 1;
}
