@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Brand colors taken from the MbóiSoft logo */
:root {
  color-scheme: dark;
  --bg: #050814;
  --bg-alt: #080d1c;
  --surface: #0c1325;
  --surface-2: #111b33;
  --text: #eaf2f5;
  --muted: #93a3b5;
  --border: #1a2540;
  --teal: #1de9d0;
  --green: #19d49a;
  --gradient: linear-gradient(100deg, var(--green), var(--teal));
  --on-accent: #03131a;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .stat strong, .timeline .year, .carriers li {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}
h1, h2 { letter-spacing: -0.02em; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 20, 0.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 56px; height: auto; }
.brand .llc {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  padding-left: 10px;
  border-left: 1px solid rgba(29, 233, 208, 0.45);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.nav-cta {
  color: var(--on-accent);
  background: var(--gradient);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav a.nav-cta:hover { color: var(--on-accent); filter: brightness(1.08); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--gradient);
  color: var(--on-accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(29, 233, 208, 0.3); }
.btn-ghost {
  background: rgba(5, 8, 20, 0.7);
  color: var(--text);
  border: 1px solid rgba(234, 242, 245, 0.22);
  margin-left: 10px;
}
.btn-ghost:hover { background: rgba(234, 242, 245, 0.06); box-shadow: none; }

/* Light streaks like in the logo artwork */
.streaks { position: relative; overflow: hidden; isolation: isolate; }
.streaks::before,
.streaks::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 160%;
  height: 2px;
  left: -30%;
  top: 62%;
  transform: rotate(-32deg);
  background: linear-gradient(90deg, transparent 0%, rgba(29, 233, 208, 0.0) 20%, rgba(29, 233, 208, 0.75) 48%, rgba(29, 233, 208, 0.0) 70%, transparent 100%);
  box-shadow: 0 0 18px 2px rgba(29, 233, 208, 0.25);
}
.streaks::after {
  top: 78%;
  left: -10%;
  opacity: 0.45;
  background: linear-gradient(90deg, transparent 10%, rgba(25, 212, 154, 0.7) 40%, transparent 65%);
}

/* Hero */
.hero {
  padding: 104px 0 72px;
  background:
    radial-gradient(ellipse 55% 60% at 82% 38%, rgba(29, 233, 208, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(25, 212, 154, 0.08), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gradient);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 24px;
  color: #fff;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.hero-mark {
  width: 100%;
  height: auto;
  max-width: 420px;
  justify-self: end;
  filter: drop-shadow(0 0 40px rgba(29, 233, 208, 0.25));
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 19, 37, 0.7);
  backdrop-filter: blur(6px);
}
.stat { padding: 24px 26px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { display: block; font-size: 26px; font-weight: 700; line-height: 1.2; color: #fff; }
.stat span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; margin-top: 6px; }

/* Carrier strip */
.carriers {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.carriers .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.carriers .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.carriers ul {
  display: flex;
  gap: 44px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.carriers li { font-size: 21px; font-weight: 700; color: #c5d2dc; opacity: 0.7; }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 48px; }
section h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; margin: 0 0 14px; color: #fff; }
section .intro { color: var(--muted); margin: 0; font-size: 18px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.grid.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 233, 208, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(29, 233, 208, 0.1);
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 233, 208, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card.featured {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(140deg, rgba(25, 212, 154, 0.8), rgba(29, 233, 208, 0.25) 60%, var(--border)) border-box;
  border: 1px solid transparent;
}
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.steps { counter-reset: step; }
.steps .card h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.6;
}

/* About */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.about p { margin: 0 0 18px; color: #c9d5de; }
.about .name-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  font-size: 16px;
  color: var(--muted);
}
.about .name-note strong { color: #fff; }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  border-left: 2px dashed rgba(29, 233, 208, 0.35);
}
.timeline li { position: relative; padding: 0 0 34px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--teal);
}
.timeline li:last-child::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 14px rgba(25, 212, 154, 0.6); }
.timeline .year { font-weight: 700; font-size: 18px; color: #fff; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }

/* Contact CTA */
.cta {
  border-radius: 24px;
  padding: 64px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(29, 233, 208, 0.16), transparent 70%),
    var(--surface);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta .intro { margin-bottom: 32px; }
.cta dl { margin: 0; }
.cta dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cta dd { margin: 4px 0 22px; font-size: 17px; color: #fff; }
.cta dd:last-child { margin-bottom: 0; }
.cta .details {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border);
}
address { font-style: normal; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: 40px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.legal h2 { font-size: 21px; margin: 40px 0 8px; color: #fff; }
.legal p, .legal address { color: #c9d5de; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 26px; }
.site-footer nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.site-footer nav a:hover { color: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-mark { order: -1; max-width: 220px; justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav { gap: 18px; }
  .nav a.hide-sm { display: none; }
  .brand { font-size: 19px; gap: 10px; }
  .brand img { width: 46px; }
  .brand .llc { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-mark { max-width: 170px; }
  .stats { grid-template-columns: 1fr; margin-top: 48px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--border); }
  section { padding: 64px 0; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
  .carriers ul { gap: 28px; }
  .carriers li { font-size: 18px; }
}
