@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@600;700;800&display=swap');

:root {
  --bg: #0b1320;
  --bg-2: #142338;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(157, 196, 255, 0.11);
  --glass-hover: rgba(96, 161, 255, 0.42);
  --accent: #5ea2ff;
  --text: #e8edf5;
  --text-secondary: #9aadc6;
  --text-muted: #647892;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  color: var(--text);
  background:
    radial-gradient(1200px 680px at 10% -10%, rgba(94, 162, 255, 0.22), transparent 60%),
    radial-gradient(900px 520px at 88% 4%, rgba(72, 139, 255, 0.16), transparent 58%),
    radial-gradient(760px 420px at 50% 100%, rgba(44, 110, 220, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
}

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

.shell {
  width: min(1080px, calc(100vw - 48px));
  margin: 0 auto;
}

.shell-tight {
  width: min(820px, calc(100vw - 48px));
}

.section {
  padding: 7rem 0;
}

.section-sm {
  padding: 4.5rem 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 142, 247, 0.3), transparent);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 40px rgba(7, 20, 44, 0.18);
}

.kicker {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-size: 0.72rem;
  display: inline-block;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.72rem, 2.6vw, 2.28rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.section-copy {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 56ch;
  line-height: 1.75;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.8rem 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-wrap.scrolled {
  background: rgba(12, 20, 33, 0.76);
  border-bottom: 1px solid rgba(157, 196, 255, 0.09);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  color: #eef6ff;
  font-weight: 600;
  padding: 0.88rem 1.45rem;
  letter-spacing: -0.02em;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%),
    linear-gradient(180deg, rgba(18, 42, 78, 0.94) 0%, rgba(10, 24, 48, 0.96) 100%);
  border-color: rgba(142, 196, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 0 0 1px rgba(94, 162, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.22);
}

.btn-primary:not(.btn-sm)::after {
  content: "\2192";
  margin-left: 0.4em;
  font-size: 0.88em;
  font-weight: 500;
  opacity: 0.75;
}

.btn-primary:hover {
  color: #fff;
  border-color: rgba(178, 218, 255, 0.55);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, rgba(26, 58, 108, 0.95) 0%, rgba(14, 38, 72, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(94, 162, 255, 0.12),
    0 6px 20px rgba(8, 30, 68, 0.38);
}

.btn-ghost {
  padding: 0.92rem 1.26rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--glass-border);
}

.btn-ghost:hover {
  border-color: var(--glass-hover);
}

.btn-sm {
  padding: 0.7rem 1rem;
  font-size: 0.93rem;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
}

.hero-inner {
  text-align: center;
  max-width: 940px;
}

.eyebrow {
  display: inline-flex;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  color: #d4e3ff;
  padding: 0.54rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.35rem, 5.8vw, 4.15rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 13.5ch;
  margin: 0 auto;
  text-wrap: balance;
}

.hero p {
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 1.35rem auto 2.6rem;
  font-size: clamp(1.03rem, 1.75vw, 1.15rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.problem {
  text-align: center;
}

.problem h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.3rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill {
  border-radius: 999px;
  padding: 0.62rem 0.98rem;
  color: #c3d5ef;
  font-size: 0.94rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.8rem;
}

.credential-card {
  padding: 1.2rem;
}

.cred-row {
  display: flex;
  gap: 0.7rem;
  padding: 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cred-row + .cred-row {
  margin-top: 0.75rem;
}

.cred-row h3,
.service-card h3,
.mini-card h3,
.step h3,
.why-card h3 {
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.cred-row p,
.service-card p,
.mini-card p,
.step p,
.why-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
  max-width: 34ch;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  padding: 1.55rem;
}

.tag {
  display: inline-flex;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  color: #d0e1ff;
  padding: 0.33rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(150, 190, 255, 0.34);
  background: rgba(94, 162, 255, 0.12);
}

.service-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: #c9dcff;
  font-weight: 500;
}

.service-link:hover {
  color: #dce8ff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.mini-card {
  padding: 1.35rem;
  min-height: 220px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.step {
  padding: 1.4rem;
}

.step-no {
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  color: #e0ebff;
  background: rgba(94, 162, 255, 0.2);
  border: 1px solid rgba(94, 162, 255, 0.35);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.72rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.why-card {
  padding: 1.35rem;
}

.cta {
  text-align: center;
}

.cta h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.72rem, 3.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 15ch;
  margin: 0 auto;
}

.cta p {
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0.8rem auto 1.1rem;
  line-height: 1.72;
}

.cta small {
  color: var(--text-muted);
  display: block;
  margin-top: 0.7rem;
}

.contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 999px;
  color: #d6e5fb;
  font-size: 0.9rem;
  font-weight: 500;
  /* Opaque layer only: blur + translucent fills wash out black icon art */
  background: #0b1628;
  border: 1px solid rgba(110, 155, 220, 0.28);
  box-shadow: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.contact-link:hover {
  color: #eef4ff;
  background: #0f1e35;
  border-color: rgba(140, 188, 255, 0.38);
}

.contact-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  /* Solid pad so WebP alpha / black glyps never composite over page blur */
  background: #060d16;
  border: 1px solid rgba(90, 130, 200, 0.22);
}

.contact-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  opacity: 1;
  mix-blend-mode: normal;
  /* Black raster assets → crisp white on dark UI */
  filter: brightness(0) invert(1);
  transform: translateZ(0);
}

.contact-text {
  line-height: 1.25;
}

.footer {
  border-top: 1px solid rgba(79, 142, 247, 0.2);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  margin-top: 1rem;
  padding: 1.45rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.8rem;
  align-items: center;
}

.footer-brand {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-copy,
.footer-right,
.footer-bottom,
.footer-nav {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-right {
  text-align: right;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .glass {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  }

  .glass:hover {
    border-color: var(--glass-hover);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 20px 40px rgba(14, 40, 84, 0.22),
      0 0 28px rgba(94, 162, 255, 0.08);
  }
}

@media (max-width: 980px) {
  .about-grid,
  .two-col,
  .services-grid,
  .step-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-right,
  .footer-nav {
    text-align: left;
    justify-content: flex-start;
  }

  .cred-row p,
  .service-card p,
  .mini-card p,
  .step p,
  .why-card p {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem;
    background: rgba(10, 16, 25, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 4.2rem;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 30px;
  }

  .section {
    padding: 5rem 0;
  }

  .shell,
  .shell-tight {
    width: min(100vw - 28px, 100%);
  }

  .hero h1 {
    line-height: 1.04;
  }
}
