:root {
  --navy: #0d1a33;
  --navy-2: #111f3a;
  --blue: #2d5bea;
  --blue-dark: #1f44c0;
  --teal: #2ec5c9;
  --ink: #15203a;
  --muted: #5b6680;
  --muted-on-dark: #9aa7c0;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --bg-light: #f4f6fb;
  --radius: 12px;
  --max-width: 1140px;
  --header-height: 72px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  margin-bottom: 1em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--blue), #2a8fe0);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(45, 91, 234, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-on-dark);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--teal);
  box-shadow: none;
}

.btn-small { padding: 0.5em 1.1em; font-size: 0.92rem; }
.btn-large { padding: 1em 1.8em; font-size: 1.1rem; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border-color: #25d366;
  color: #fff;
}

.btn-whatsapp svg { width: 22px; height: 22px; fill: #25d366; }

.btn-whatsapp:hover {
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover svg { fill: #fff; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--muted-on-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 26, 51, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.scrolled { border-color: var(--line-on-dark); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link { display: block; }
.logo { display: block; width: auto; height: 40px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #dfe6f3;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover { color: var(--teal); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(46, 197, 201, 0.16), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(45, 91, 234, 0.22), transparent 45%),
    var(--navy);
}

.hero .eyebrow { color: var(--teal); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.lead {
  max-width: 540px;
  font-size: 1.15rem;
  color: #c3cde0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Route graphic */
.route {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line-on-dark);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.route svg { display: block; width: 100%; height: auto; }

.dot { fill: rgba(255, 255, 255, 0.09); }

.arc-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}

.arc-flow {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 18;
  animation: flow 1.6s linear infinite;
}

@keyframes flow {
  to { stroke-dashoffset: -32; }
}

.fan path {
  stroke: rgba(46, 197, 201, 0.55);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.customers circle { fill: var(--teal); opacity: 0.85; }

.customers text {
  fill: var(--teal);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.node circle { fill: #fff; }

.node text {
  fill: #dfe6f3;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.node-hub circle { fill: var(--teal); }
.node-hub text { fill: #fff; font-size: 21px; }

.pulse {
  fill: rgba(46, 197, 201, 0.25) !important;
  transform-origin: 300px 120px;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* How we work */
.section { padding: 96px 0; }

#how-we-work { background: var(--bg-light); }

#how-we-work h2 { max-width: 620px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 32px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 26, 51, 0.06), 0 12px 32px rgba(13, 26, 51, 0.06);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -20px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.step-num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step p { margin: 0; color: var(--muted); }

.finance-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
}

.finance-note strong { color: var(--ink); }

.finance-note svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Contact */
.section-contact {
  color: #fff;
  background:
    radial-gradient(circle at 90% 100%, rgba(46, 197, 201, 0.14), transparent 40%),
    var(--navy-2);
}

.section-contact .eyebrow { color: var(--teal); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
}

.contact-lead {
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 1.1rem;
  color: #c3cde0;
}

.company {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line-on-dark);
  border-radius: 16px;
}

.company div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-dark);
}

.company dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.company dd { margin: 4px 0 0; font-weight: 500; }

address { font-style: normal; }

/* Footer */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line-on-dark);
  background: var(--navy-2);
  color: var(--muted-on-dark);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted-on-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arc-flow, .pulse { animation: none; }
}

@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .route { max-width: 560px; }
}

@media (max-width: 720px) {
  .nav-link { display: none; }
  .logo { height: 34px; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step:not(:last-child)::after { display: none; }
  .btn-large { width: 100%; text-align: center; font-size: 1rem; }
}
