@font-face {
  font-family: "Geist Local";
  src: local("Geist"), local("Arial");
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: local("Inter"), local("Arial");
  font-display: swap;
}

:root {
  --bg: #0a0e1a;
  --surface: #101415;
  --surface-soft: #191c1e;
  --surface-card: rgba(255, 255, 255, 0.055);
  --surface-card-strong: rgba(255, 255, 255, 0.085);
  --text: #e0e3e5;
  --muted: #c7c6cc;
  --muted-2: #909096;
  --cyan: #00dbe7;
  --cyan-soft: #74f5ff;
  --purple: #d1bcff;
  --purple-strong: #8d58ff;
  --line: rgba(255, 255, 255, 0.11);
  --shadow-cyan: 0 0 28px rgba(0, 219, 231, 0.18);
  --shadow-purple: 0 0 28px rgba(141, 88, 255, 0.16);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1280px;
  --gutter: 24px;
  --page-x: clamp(20px, 5vw, 64px);
  --font-head: "Geist Local", "Inter Local", system-ui, sans-serif;
  --font-body: "Inter Local", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #161b2c 0%, var(--bg) 54%, #070a12 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 14%, rgba(0, 219, 231, 0.14), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(141, 88, 255, 0.16), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(116, 245, 255, 0.08), transparent 45%),
    #0a0e1a;
}

.star-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.container {
  width: min(100% - (var(--page-x) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section-tight {
  padding-block: clamp(48px, 7vw, 88px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 18px rgba(0, 219, 231, 0.08);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(180px, 22vw, 280px);
  height: 58px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan-soft);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  background: var(--text);
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  background: var(--text);
  transform: rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #061315;
  background: linear-gradient(135deg, var(--purple-strong), var(--cyan));
  color: white;
  box-shadow: var(--shadow-cyan);
}

.btn-secondary {
  color: var(--cyan-soft);
  border: 1px solid rgba(116, 245, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn-solid {
  color: #002022;
  background: var(--cyan-soft);
}

.hero {
  position: relative;
  min-height: clamp(680px, 92vh, 920px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding-block: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(116, 245, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-title {
  margin-top: 28px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 850;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-actions.start {
  justify-content: flex-start;
}

.mt-22 {
  margin-top: 22px;
}

.hero-visual {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: min(100%, 1180px);
  height: 360px;
  transform: translateX(-50%);
  opacity: 0.28;
  overflow: hidden;
  mask-image: linear-gradient(to top, black 40%, transparent 100%);
}

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

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.section-heading.center {
  text-align: center;
  align-items: center;
}

.section-kicker {
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
}

.section-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: var(--gutter);
}

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

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

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

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

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-card);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.18);
}

.card::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -80px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(0, 219, 231, 0.1);
  filter: blur(34px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.metric-card,
.service-card,
.feature-card,
.tech-card,
.story-card,
.advantage-card,
.waterfall-card {
  padding: clamp(24px, 4vw, 40px);
}

.metric-value {
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 850;
  line-height: 1;
}

.metric-label,
.card-title {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 750;
}

.card-copy,
.muted {
  color: var(--muted);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(116, 245, 255, 0.22);
  background: rgba(0, 219, 231, 0.08);
  color: var(--cyan-soft);
  font-size: 28px;
  margin-bottom: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  color: #002022;
  background: var(--cyan-soft);
  font-size: 12px;
  font-weight: 900;
}

.advantage-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: rgba(116, 245, 255, 0.35);
  box-shadow: var(--shadow-cyan);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(116, 245, 255, 0.24);
  background: rgba(0, 219, 231, 0.08);
  color: var(--cyan-soft);
  font-size: 30px;
  filter: drop-shadow(0 0 8px rgba(116, 245, 255, 0.35));
}

.advantage-icon.text-mark {
  display: flex;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 850;
}

.advantage-icon.text-mark span {
  align-self: center;
  font-size: 14px;
  font-weight: 800;
}

.advantage-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.waterfall-timeline {
  position: relative;
  display: grid;
  gap: 36px;
  padding-block: 8px;
}

.waterfall-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(0, 219, 231, 0.15), rgba(209, 188, 255, 0.52), rgba(0, 219, 231, 0.12));
}

.waterfall-step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 72px;
}

.waterfall-step:nth-child(odd) .waterfall-card {
  grid-column: 2;
}

.waterfall-step:nth-child(even) .waterfall-card {
  grid-column: 1;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--cyan-soft);
  box-shadow: 0 0 18px rgba(116, 245, 255, 0.65);
}

.waterfall-step:nth-child(even) .timeline-dot {
  background: var(--purple);
  box-shadow: 0 0 18px rgba(209, 188, 255, 0.55);
}

.waterfall-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.waterfall-card:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 245, 255, 0.3);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.step-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 12px;
  background: rgba(0, 219, 231, 0.09);
  color: var(--cyan-soft);
  font-size: 22px;
}

.step-head h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
}

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

.step-output {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin-top: clamp(56px, 8vw, 112px);
}

.case-row:first-child {
  margin-top: 0;
}

.case-image {
  position: relative;
}

.case-image::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 28px;
  background: rgba(0, 219, 231, 0.12);
  filter: blur(28px);
  opacity: 0.75;
}

.case-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.case-meta {
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-title {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 44px);
}

.case-copy {
  margin-top: 22px;
  color: var(--muted);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
}

.stat-value {
  color: var(--cyan-soft);
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
}

.stat-label {
  color: var(--muted-2);
  font-size: 13px;
}

.band {
  background: rgba(25, 28, 30, 0.52);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-card {
  min-height: 156px;
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.tech-icon {
  font-size: 42px;
  color: var(--cyan-soft);
}

.tech-name {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.cta-panel {
  position: relative;
  padding: clamp(36px, 7vw, 72px);
  text-align: center;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(0, 219, 231, 0.08), transparent 48%, rgba(141, 88, 255, 0.08));
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 46px);
}

.cta-copy {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 14, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--gutter);
  padding-block: 56px;
}

.footer-brand {
  color: var(--cyan-soft);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
}

.footer-copy {
  max-width: 320px;
  color: var(--muted);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cyan-soft);
}

.footer-bottom {
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.form-inline {
  display: grid;
  gap: 10px;
}

.form-inline input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.form-inline input:focus {
  border-color: var(--cyan-soft);
}

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

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

.split-hero {
  min-height: auto;
  text-align: left;
  display: block;
  padding-block: clamp(82px, 12vw, 150px);
}

.split-hero .hero-inner {
  max-width: 760px;
  padding-block: 0;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 36px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.timeline-item {
  padding-left: 28px;
  border-left: 1px solid rgba(116, 245, 255, 0.25);
}

.timeline-year {
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .header-actions .btn {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px var(--page-x) 24px;
    background: rgba(10, 14, 26, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links a.active::after {
    display: none;
  }

  .grid-2,
  .grid-3,
  .case-row,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .waterfall-timeline::before {
    left: 8px;
    transform: none;
  }

  .waterfall-step {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 34px;
  }

  .waterfall-step:nth-child(odd) .waterfall-card,
  .waterfall-step:nth-child(even) .waterfall-card {
    grid-column: 1;
  }

  .timeline-dot {
    left: 8px;
  }

  .waterfall-card {
    min-height: auto;
  }

  .case-row.reverse .case-image {
    order: -1;
  }

  .split-hero {
    text-align: center;
  }

  .split-hero .hero-inner {
    margin-inline: auto;
  }

  .hero-actions.start {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 20px;
    --gutter: 18px;
  }

  .navbar {
    min-height: 66px;
  }

  .brand {
    width: 178px;
    height: 48px;
  }

  .nav-links {
    top: 66px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    padding-block: 72px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    height: 260px;
  }

  .grid-4,
  .grid-5,
  .grid-6,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card {
    min-height: 190px;
  }

  .waterfall-timeline {
    gap: 24px;
  }

  .waterfall-step {
    padding-left: 28px;
  }

  .step-head {
    align-items: flex-start;
  }

  .case-image img {
    height: 260px;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    text-align: center;
  }
}
