*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #003175;
  --navy-mid:    #00419C;
  --navy-bright: #0050BE;
  --blue:        #007CE8;
  --blue-light:  #0093FC;
  --blue-pale:   #00B0FC;
  --black:       #000000;
  --gray:        #808080;
  --gray-light:  #D3D3D3;
  --white:       #FFFFFF;
  --paper:       #F4F7FC;
  --rule:        rgba(0,49,117,0.12);
  --sans:        'Barlow', sans-serif;
  --condensed:   'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 60px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; gap: 40px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  color: var(--white) !important;
  background: var(--navy);
  padding: 10px 24px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue) !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 60px;
  padding-top: 100px;
  background: var(--white);
  overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 60px; padding-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px; font-weight: 600;
}
.hero-h1 {
  font-family: var(--condensed);
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 28px;
}
.hero-h1 .slash { color: var(--blue); }
.hero-sub {
  font-size: 1.05rem; color: var(--gray);
  max-width: 440px; line-height: 1.75; margin-bottom: 48px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 14px 32px; font-family: var(--sans); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-ghost {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); font-weight: 500; text-decoration: none;
  border-bottom: 2px solid var(--rule); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }

.hero-right {
  position: relative; display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 1.2s ease 0.3s forwards;
}
.hero-graphic { position: relative; width: 100%; max-width: 500px; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 48px;
  border-radius: 2px;
}
.hero-vis-inner { position: relative; padding: 48px 24px 40px; }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 192px; border-left: 2px solid #555; border-bottom: 2px solid #555; padding-left: 10px; }
.bar {
  width: 38px; flex-shrink: 0; opacity: 0;
  animation: growBar 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.bar:nth-child(1) { height: 25%;  background: var(--navy);       animation-delay: 0.5s; }
.bar:nth-child(2) { height: 75%;  background: var(--blue);        animation-delay: 0.65s; }
.bar:nth-child(3) { height: 50%;  background: var(--navy-mid);    animation-delay: 0.8s; }
.bar:nth-child(4) { height: 100%; background: var(--blue-light);  animation-delay: 0.95s; }
.bar:nth-child(5) { height: 50%;  background: var(--navy);        animation-delay: 1.1s; }
.bar:nth-child(6) { height: 75%;  background: var(--blue);        animation-delay: 1.25s; }
.bar:nth-child(7) { height: 100%; background: var(--navy-bright); animation-delay: 1.4s; }
.bar-label-row {
  display: flex; gap: 10px; padding-top: 10px; padding-left: 12px;
}
.bar-label { width: 38px; flex-shrink: 0; text-align: center; font-size: 0.58rem; color: var(--gray); letter-spacing: 0.05em; text-transform: uppercase; }

.hero-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--navy); color: var(--white);
  padding: 18px 22px; opacity: 0;
  animation: fadeUp 0.6s ease 1.6s forwards;
}
.hero-badge-num { font-family: var(--condensed); font-size: 2.4rem; font-weight: 700; line-height: 1; display: block; }
.hero-badge-label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: block; margin-top: 4px; }

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden; padding: 16px 0;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex; animation: marquee 28s linear infinite; white-space: nowrap;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 28px; padding: 0 28px;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500;
}
.marquee-dot { width: 4px; height: 4px; background: var(--blue); border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ─── SECTION COMMONS ─── */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 18px; display: block;
}
.section-h2 {
  font-family: var(--condensed); font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.05;
  color: var(--navy); margin-bottom: 24px; letter-spacing: 0.01em;
}
.section-h2 .accent { color: var(--blue); }

/* ─── PROBLEM ─── */
.problem { background: var(--navy); }
.problem .section-label { color: var(--blue-pale); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem .section-h2 { color: var(--white); }
.problem .section-h2 .accent { color: var(--blue-pale); }
.problem-body { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.problem-body strong { color: var(--white); font-weight: 500; }
.problem-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.08); }
.pillar { background: var(--navy); padding: 30px; transition: background 0.3s; }
.pillar:hover { background: var(--navy-mid); }
.pillar-num { font-family: var(--condensed); font-size: 1.8rem; font-weight: 700; color: var(--blue); display: block; margin-bottom: 8px; }
.pillar-title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--white); margin-bottom: 8px; }
.pillar-text { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ─── SERVICES ─── */
.services { background: var(--paper); }
.services-header { display: grid; grid-template-columns: auto 1fr; gap: 60px; margin-bottom: 80px; align-items: center; }
.services-intro { font-size: 1.15rem; color: var(--gray); line-height: 1.8; }
.services-list { list-style: none; }
.service-item {
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 40px; padding: 36px 0; align-items: start;
  background: var(--paper); transition: background 0.2s;
}
.service-item:last-child { border-bottom: 1px solid var(--rule); }
.service-item:hover { background: rgba(0,124,232,0.04); }
.service-index { font-size: 1rem; letter-spacing: 0.12em; color: var(--gray); padding-top: 10px; font-weight: 500; text-align: right; }
.service-name { font-family: var(--condensed); font-size: 1.7rem; font-weight: 700; margin-bottom: 12px; transition: color 0.2s; }
.service-item:hover .service-name { color: var(--blue); }
.service-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.75; }
.service-tags { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; padding-top: 4px; padding-right: 16px; }
.tag {
  font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); border: 1px solid rgba(0,124,232,0.3);
  padding: 4px 10px; white-space: nowrap; font-weight: 600;
}

/* ─── PROCESS ─── */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.step {
  background: var(--paper); padding: 48px 40px; position: relative; overflow: hidden;
}
.step::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step:hover::after { transform: scaleX(1); }
.step-num { font-family: var(--condensed); font-size: 4rem; font-weight: 700; color: var(--gray-light); line-height: 1; margin-bottom: 24px; }
.step-title { font-family: var(--condensed); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--navy); }
.step-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.75; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-card { background: var(--navy); color: var(--white); padding: 56px; position: relative; }
.about-card::after { content: ''; position: absolute; bottom: -16px; right: -16px; width: 100px; height: 100px; border: 2px solid var(--blue); z-index: -1; }
.about-card-quote { font-size: 1.4rem; font-style: italic; font-weight: 300; line-height: 1.55; margin-bottom: 28px; color: rgba(255,255,255,0.9); }
.about-card-attr { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-pale); font-weight: 600; }
.about-body { font-size: 1rem; color: var(--gray); line-height: 1.85; margin-bottom: 28px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid var(--rule); }
.about-stat-num { font-family: var(--condensed); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; display: block; }
.about-stat-label { font-size: 0.75rem; color: var(--gray); display: block; margin-top: 6px; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--navy); }
.testimonials .section-h2 { color: var(--white); }
.testimonials .section-label { color: var(--blue-pale); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.testi-card { background: rgba(255,255,255,0.04); padding: 40px; transition: background 0.3s; }
.testi-card:hover { background: rgba(255,255,255,0.07); }
.testi-accent { display: block; width: 24px; height: 3px; background: var(--blue); margin-bottom: 24px; }
.testi-quote { font-size: 0.93rem; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 28px; font-style: italic; font-weight: 300; }
.testi-name { font-size: 0.82rem; font-weight: 600; color: var(--white); letter-spacing: 0.04em; }
.testi-role { font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; margin-top: 4px; }

/* ─── CTA ─── */
.cta-section { text-align: center; padding: 140px 60px; background: var(--paper); }
.cta-section .section-label { display: block; text-align: center; margin-bottom: 24px; }
.cta-section .section-h2 { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.cta-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 20px;
}
.cta-input {
  order: 1;
  flex: 1 1 280px;
  min-width: 0;
  padding: 14px 20px;
  border: 1px solid var(--rule);
  background: var(--white); font-family: var(--sans); font-size: 0.85rem;
  color: var(--navy); outline: none; transition: border-color 0.2s;
}
.cta-input:focus { border-color: var(--blue); }
.cta-input::placeholder { color: var(--gray); }
.cta-form .btn-primary {
  order: 2;
  flex: 0 0 auto;
}
.cf-turnstile {
  order: 3;
  flex: 0 0 100%;
  width: min(300px, 100%);
  margin: 2px auto 0;
  opacity: 0.75;
}
.cta-note { font-size: 0.75rem; color: var(--gray); text-align: center; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--rule); padding: 40px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
}
.footer-logo img { height: 36px; width: auto; }
.footer-copy { font-size: 0.73rem; color: var(--gray); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes growBar {
  from { opacity:0; transform:scaleY(0); transform-origin:bottom; }
  to   { opacity:1; transform:scaleY(1); transform-origin:bottom; }
}
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ─── TOAST NOTIFICATION ─── */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--navy); color: var(--white);
  padding: 24px 32px; z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  max-width: 360px;
}
.toast-visible {
  transform: translateY(0); opacity: 1;
}
.toast-title {
  font-family: var(--condensed); font-size: 1.2rem;
  font-weight: 700; margin-bottom: 6px;
}
.toast-msg {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
