/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --navy:        #0B2052;
  --navy-mid:    #162D6E;
  --blue:        #2364C8;
  --blue-light:  #4F8FE8;
  --blue-pale:   #E0ECF8;
  --off-white:   #F5F7FA;
  --white:       #FFFFFF;

  --text-dark:   #0B2052;
  --text-mid:    #3A4F72;
  --text-light:  #6B82A8;

  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(11,32,82,0.08);
  --shadow-lg:   0 12px 48px rgba(11,32,82,0.15);
  --transition:  0.2s ease;

  --container:   1100px;
  --gutter:      clamp(1.25rem, 5vw, 2.5rem);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.875rem;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--pale { color: rgba(255,255,255,0.5); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}
.section-header h2 { color: var(--text-dark); margin-bottom: 1rem; }
.section-header--light h2 { color: var(--white); }

.section-sub { font-size: 1.0625rem; color: var(--text-mid); }
.section-sub--light { color: rgba(255,255,255,0.65); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 1.75rem;
  border-radius: 8px;
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: #1A53B8;
  border-color: #1A53B8;
  box-shadow: 0 6px 24px rgba(35,100,200,0.4);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
}

.btn--nav-cta {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
  font-size: 0.875rem;
  padding: 0.5rem 1.125rem;
}
.btn--nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}
.nav.scrolled .btn--nav-cta {
  color: var(--navy);
  border-color: rgba(11,32,82,0.3);
}
.nav.scrolled .btn--nav-cta:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn--sm { font-size: 0.875rem; padding: 0.5rem 1.125rem; }
.btn--full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(11,32,82,0.07), var(--shadow);
  backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  /* White on dark hero */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

/* Full colour on white nav */
.nav.scrolled .nav__logo-img {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav__links a:hover { color: white; }
.nav.scrolled .nav__links a { color: var(--text-mid); }
.nav.scrolled .nav__links a:hover { color: var(--navy); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav.scrolled .nav__toggle span { background: var(--navy); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--blue-pale);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 0.9rem var(--gutter);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--blue-pale);
  transition: background var(--transition);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { background: var(--off-white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 700px 600px at 75% 30%, rgba(35,100,200,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 15% 75%, rgba(79,143,232,0.1) 0%, transparent 70%),
    linear-gradient(145deg, #081840 0%, #0B2052 45%, #162D6E 100%);
  display: flex;
  align-items: center;
}

.hero__inner {
  padding-top: 9rem;
  padding-bottom: 7rem;
  max-width: 740px;
}

.hero h1 { color: white; margin-bottom: 1.375rem; }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.68);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  background: var(--off-white);
  padding: 6rem 0;
}

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

.problem__text .eyebrow { margin-bottom: 1rem; }
.problem__text h2 { color: var(--text-dark); margin-bottom: 1.375rem; }
.problem__text p  { font-size: 1.0625rem; margin-bottom: 1.125rem; }
.problem__text p:last-child { margin-bottom: 0; }

.symptom-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.symptom {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius);
  padding: 0.9375rem 1.25rem;
}

.symptom::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--white);
  padding: 6rem 0;
}

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

.service-card {
  background: var(--off-white);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 1.875rem;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.service-card:hover {
  background: var(--white);
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.125rem;
  flex-shrink: 0;
}

.service-card h3 { color: var(--text-dark); margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9375rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   PACKAGES
   ============================================================ */
.packages {
  background: var(--off-white);
  padding: 6rem 0;
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.package-card {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.package-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.package-card--featured {
  background: linear-gradient(145deg, #0B2052 0%, #162D6E 100%);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.package-card--featured:hover { transform: translateY(-12px); }

.package__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(35,100,200,0.15);
  border-radius: 100px;
  padding: 0.3125rem 0.875rem;
  margin-bottom: 1.25rem;
}

.package__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.package-card--featured .package__name { color: white; }

.package__price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.package__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  line-height: 1;
}
.package-card--featured .package__amount { color: white; }
.package__currency {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 500;
}
.package-card--featured .package__currency { color: rgba(255,255,255,0.5); }

.package__desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11,32,82,0.07);
}
.package-card--featured .package__desc {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.1);
}

.package__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.package__features li {
  font-size: 0.9375rem;
  color: var(--text-mid);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.5;
}
.package__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.package-card--featured .package__features li { color: rgba(255,255,255,0.75); }
.package-card--featured .package__features li::before { background: var(--blue-light); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,32,82,0.25);
}
.btn--outline:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ============================================================
   VALUES
   ============================================================ */
.values {
  background: linear-gradient(145deg, #0B2052 0%, #162D6E 100%);
  padding: 6rem 0;
}

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

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 1.875rem 1.625rem;
  transition: background var(--transition), border-color var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(35,100,200,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7DB8F8;
  margin-bottom: 1.125rem;
}

.value-card h3 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.58); line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  background: var(--off-white);
  padding: 6rem 0;
}

.how__steps {
  display: flex;
  align-items: flex-start;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}
.step:first-of-type { padding-left: 0; }
.step:last-of-type  { padding-right: 0; }

.step__number {
  font-size: 3.75rem;
  font-weight: 700;
  color: rgba(35,100,200,0.13);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.875rem;
}

.step h3 { color: var(--text-dark); margin-bottom: 0.625rem; }
.step p  { font-size: 0.9375rem; color: var(--text-light); line-height: 1.65; }

.step__connector {
  flex-shrink: 0;
  width: 64px;
  height: 2px;
  background: var(--blue-pale);
  margin-top: 2.5rem;
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-pale);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--white);
  padding: 6rem 0;
}

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

.about__text .eyebrow { margin-bottom: 1rem; }
.about__text h2 { color: var(--text-dark); margin-bottom: 1.375rem; }
.about__text p  { margin-bottom: 1.125rem; font-size: 1.0625rem; }

.about__visual { display: flex; justify-content: center; }

.about__card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, #0B2052, #1A3A7A);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.about__quote {
  font-size: 1.3125rem;
  font-weight: 700;
  color: white;
  line-height: 1.35;
  margin-bottom: 2.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--blue-light);
}

.about__stats { display: flex; flex-direction: column; gap: 1.125rem; }

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.about__stat:last-child { border-bottom: none; padding-bottom: 0; }

.about__stat-num   { font-size: 1.1875rem; font-weight: 700; color: white; }
.about__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(145deg, #081840 0%, #0B2052 55%, #162D6E 100%);
  padding: 6rem 0;
}

.contact__inner { max-width: 660px; margin: 0 auto; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.form__field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}

.form__field input,
.form__field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  padding: 0.8125rem 1rem;
  color: white;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(255,255,255,0.28); }
.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.1);
}
.form__field textarea { resize: vertical; min-height: 136px; }

.form__error {
  font-size: 0.875rem;
  color: #F87171;
  margin-top: -0.25rem;
}

.form__success {
  text-align: center;
  padding: 3rem 1rem;
  color: white;
}
.form__success svg {
  margin: 0 auto 1.25rem;
  color: #60AAFC;
}
.form__success h3 { color: white; font-size: 1.5rem; margin-bottom: 0.625rem; }
.form__success p  { color: rgba(255,255,255,0.65); font-size: 1.0625rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060F2E;
  padding: 2.75rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer__logo { pointer-events: none; }
.footer__logo-img  { filter: brightness(0) invert(1); opacity: 0.85; }

.footer__domains {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

.footer__links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer__links a:hover { color: white; }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  width: 100%;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.services__grid .fade-in:nth-child(1) { transition-delay: 0.00s; }
.services__grid .fade-in:nth-child(2) { transition-delay: 0.07s; }
.services__grid .fade-in:nth-child(3) { transition-delay: 0.14s; }
.services__grid .fade-in:nth-child(4) { transition-delay: 0.21s; }
.services__grid .fade-in:nth-child(5) { transition-delay: 0.28s; }
.services__grid .fade-in:nth-child(6) { transition-delay: 0.35s; }

.values__grid .fade-in:nth-child(1) { transition-delay: 0.00s; }
.values__grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.values__grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.values__grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.values__grid .fade-in:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .values__grid    { grid-template-columns: repeat(3, 1fr); }
  .packages__grid  { grid-template-columns: 1fr; }
  .package-card--featured { transform: none; }
  .package-card--featured:hover { transform: translateY(-3px); }
  .problem__inner  { grid-template-columns: 1fr; gap: 3rem; }
  .about__inner    { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual   { order: -1; }
  .about__card     { max-width: 100%; }
}

@media (max-width: 720px) {
  .how__steps       { flex-direction: column; gap: 2.5rem; }
  .step             { text-align: left; padding: 0; }
  .step__connector  { display: none; }
}

@media (max-width: 640px) {
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .values__grid   { grid-template-columns: 1fr; }
  .form__row      { grid-template-columns: 1fr; }
  .hero__ctas     { flex-direction: column; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }
  .footer__inner  { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
