:root {
  --ink: #0b0d10;
  --ink-soft: #1c2229;
  --paper: #f7f4ee;
  --white: #ffffff;
  --muted: #67707c;
  --line: rgba(20, 24, 28, 0.12);
  --glass: rgba(255, 255, 255, 0.12);
  --emerald: #28d59d;
  --gold: #d7aa51;
  --aqua: #54c7ec;
  --rose: #e07183;
  --shadow: 0 28px 90px rgba(8, 11, 16, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 12px 0 18px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(9, 12, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 12, 15, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 12px rgba(40, 213, 157, 0.2))
    drop-shadow(0 0 8px rgba(84, 199, 236, 0.18));
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nav-cta {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}

.nav-cta svg,
.button svg,
.service-card svg,
.api-points svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 14%, rgba(40, 213, 157, 0.22), transparent 26%),
    radial-gradient(circle at 16% 84%, rgba(215, 170, 81, 0.14), transparent 24%),
    linear-gradient(145deg, #07080a 0%, #101417 55%, #050607 100%);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 34px;
  padding: 104px max(28px, calc((100vw - var(--max)) / 2)) 16px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(247, 244, 238, 0.05));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.18;
}

.hero-lede {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.04rem, 1.55vw, 1.34rem);
}

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

.button-primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.15);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 490px;
  margin-top: 28px;
}

.metric-strip div {
  min-height: 70px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.metric-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: clamp(420px, 42vw, 640px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: 0 52px 140px rgba(0, 0, 0, 0.48);
}

.hero-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-pill,
.hero-message-card,
.route-pill {
  position: absolute;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.quality-stack {
  position: absolute;
  z-index: 4;
  top: 10.5%;
  left: 6%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quality-pill,
.route-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.quality-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.hero-message-stack {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 5.8%;
  width: min(58%, 390px);
  display: grid;
  gap: 9px;
}

.hero-message-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  min-height: 70px;
  padding: 11px 14px;
  border-radius: 16px;
}

.hero-message-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.83rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.otp-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.otp-heading strong {
  display: inline;
  margin-bottom: 0;
}

.hero-message-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  line-height: 1.28;
}

.hero-message-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #07100c;
  font-size: 0.85rem;
  font-weight: 900;
}

.icon-otp,
.icon-wa {
  background: var(--emerald);
}

.icon-ad {
  background: var(--aqua);
}

.icon-rcs {
  background: #7c6cff;
}

.icon-email {
  background: var(--gold);
}

.message-code {
  display: inline;
  color: #28d59d;
  font-weight: 900;
}

.otp-line {
  display: block;
  white-space: nowrap;
}

.routing-stack {
  position: absolute;
  z-index: 4;
  left: 6%;
  right: 6%;
  bottom: 4.8%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.route-pill {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  justify-content: center;
}

.route-pill svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.card-top {
  top: 11%;
  left: 3%;
}

.card-bottom {
  right: 0;
  bottom: 15%;
}

.intro-band {
  padding: 30px 24px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  line-height: 1.14;
  font-weight: 750;
  text-align: center;
}

.section {
  padding: 112px max(24px, calc((100vw - var(--max)) / 2));
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.coverage-copy h2,
.api-copy h2,
.contact-inner h2 {
  color: inherit;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 252px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 20px 70px rgba(19, 24, 31, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(40, 213, 157, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 34px;
  color: var(--ink);
}

.service-card p,
.coverage-copy p,
.country-panel p,
.api-copy p,
.process-row p,
.contact-inner p {
  color: var(--muted);
}

.service-card-accent {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(40, 213, 157, 0.92), rgba(19, 68, 62, 0.96)),
    var(--ink);
}

.service-card-accent p,
.service-card-accent svg {
  color: rgba(255, 255, 255, 0.78);
}

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: 56px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #111315;
}

.coverage-copy {
  max-width: 560px;
}

.country-panel {
  display: grid;
  gap: 12px;
}

.country-panel article {
  position: relative;
  min-height: 138px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.country-panel h3,
.country-panel p {
  grid-column: 2;
}

.country-panel h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.country-panel p {
  margin-bottom: 0;
}

.country-dot {
  position: relative;
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05);
}

.dot-ph {
  background: linear-gradient(to bottom, #0038a8 0 50%, #ce1126 50% 100%);
}

.dot-ph::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.dot-ph::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 23%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fcd116;
  box-shadow: 0 0 0 2px rgba(252, 209, 22, 0.18);
  transform: translate(-50%, -50%);
}

.dot-in {
  background: linear-gradient(to bottom, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
}

.dot-in::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #000080;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 128, 0.2);
  transform: translate(-50%, -50%);
}

.dot-id {
  background: linear-gradient(to bottom, #ce1126 0 50%, #ffffff 50% 100%);
}

.api-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
}

.api-copy {
  max-width: 620px;
}

.api-points {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.api-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.code-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(4, 6, 9, 0.7);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.38);
}

.code-panel-header {
  display: flex;
  gap: 7px;
  height: 44px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-panel-header span {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
}

.code-panel-header span:nth-child(2) {
  background: #ffd166;
}

.code-panel-header span:nth-child(3) {
  background: #28d59d;
}

.code-panel-header strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.code-demo-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.code-demo {
  background: rgba(4, 6, 9, 0.86);
}

.code-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px 0;
}

.code-label span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 28px;
  padding: 0 10px;
  color: #07100d;
  border-radius: 999px;
  background: #28d59d;
  font-size: 0.75rem;
  font-weight: 900;
}

.code-demo:nth-child(2) .code-label span {
  background: #54c7ec;
}

.code-label small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 700;
}

pre {
  margin: 0;
  padding: 18px 20px 24px;
  overflow-x: auto;
  color: #c7f8e7;
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  line-height: 1.58;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-row article {
  min-height: 228px;
  padding: 28px;
  border-top: 1px solid var(--line);
}

.process-row span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-section {
  padding: 112px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 213, 157, 0.2), transparent 32%),
    #07080a;
}

.contact-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
}

.contact-inner .button {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.64);
  background: #07080a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  filter:
    drop-shadow(0 0 10px rgba(40, 213, 157, 0.18))
    drop-shadow(0 0 8px rgba(84, 199, 236, 0.14));
}

.site-footer .footer-brand {
  color: var(--white);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header.nav-open .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    padding: 14px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(8, 10, 13, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }

  .site-header.nav-open .nav-links a {
    padding: 14px 16px;
  }

  .hero,
  .coverage,
  .api-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-card {
    width: 100%;
    border-radius: 24px;
  }

  .coverage,
  .api-section {
    gap: 38px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-panel,
  .api-section {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), var(--max));
    height: 56px;
    padding-left: 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 54px;
    gap: 36px;
  }

  .hero-copy,
  .hero-lede {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .service-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .metric-strip div {
    min-height: 74px;
    padding: 13px 12px;
  }

  .metric-strip strong {
    font-size: 1.25rem;
  }

  .metric-strip span {
    font-size: 0.76rem;
  }

  .hero-visual {
    display: grid;
    gap: 10px;
  }

  .hero-message-stack {
    top: 18%;
    left: 4%;
    width: 62%;
    gap: 6px;
  }

  .hero-message-card {
    grid-template-columns: 28px 1fr;
    min-height: 54px;
    padding: 8px;
  }

  .hero-message-card strong {
    font-size: 0.68rem;
  }

  .hero-message-card span {
    font-size: 0.52rem;
  }

  .hero-message-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  .quality-pill {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .quality-pill svg {
    width: 14px;
    height: 14px;
  }

  .route-pill {
    min-width: 210px;
    min-height: 42px;
    font-size: 0.76rem;
  }

  .section,
  .contact-section {
    padding: 78px 18px;
  }

  .intro-band {
    padding: 24px 18px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 218px;
    padding: 24px;
  }

  .coverage {
    padding-right: 18px;
    padding-left: 18px;
  }

  .country-panel article {
    min-height: 128px;
    grid-template-columns: 42px 1fr;
    padding: 20px;
  }

  .country-dot {
    width: 42px;
    height: 42px;
  }

  pre {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
