:root {
  --aqua: #31e4de;
  --azure: #14b4da;
  --deep-blue: #2558d7;
  --navy: #07101a;
  --navy-2: #0b1724;
  --mist: #f4fafd;
  --white: #ffffff;
  --steel: #506a7d;
  --steel-2: #7d93a4;
  --line: rgba(80, 106, 125, 0.22);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(7, 16, 26, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--mist);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 16, 26, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(49, 228, 222, 0.3);
  border-radius: 22px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.brand-mark {
  width: 48px;
  height: 48px;
  padding: 3px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .nav-cta {
  margin-left: 6px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--aqua), var(--azure));
  box-shadow: 0 12px 28px rgba(20, 180, 218, 0.24);
}

.nav-links .nav-cta:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #a8f6f3, var(--aqua));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(49, 228, 222, 0.26), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(37, 88, 215, 0.34), transparent 28%),
    linear-gradient(140deg, #07101a 0%, #0b1825 58%, #04080d 100%);
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: auto -12% -35% auto;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(49, 228, 222, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 228, 222, 0.16), transparent 60%);
  pointer-events: none;
}

.hero-grid,
.page-hero-inner,
.section,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: 720px;
  padding-top: 72px;
  padding-bottom: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions,
.section-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--aqua), var(--azure));
  box-shadow: 0 20px 40px rgba(20, 180, 218, 0.24);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
}

.btn-light {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.hero-panel img {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  object-position: left top;
}

.identity-card {
  position: absolute;
  right: -18px;
  bottom: 30px;
  width: min(300px, 78%);
  border: 1px solid rgba(49, 228, 222, 0.26);
  border-radius: 24px;
  padding: 20px;
  color: var(--white);
  background: rgba(7, 16, 26, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.identity-card small,
.metric small,
.feature-card small,
.screenshot-card small {
  display: block;
  color: var(--steel-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.identity-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.4rem;
  line-height: 1.05;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.signal-row span {
  min-height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--deep-blue));
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: -42px auto 0;
  padding: 0 24px;
}

.metric {
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 22px;
  color: var(--white);
  background: rgba(7, 16, 26, 0.88);
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.spline-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(49, 228, 222, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 38px);
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(49, 228, 222, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(37, 88, 215, 0.22), transparent 34%),
    linear-gradient(145deg, #07101a, #03070d);
  box-shadow: var(--shadow);
}

.spline-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.spline-copy .section-lead {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
}

.spline-scene {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(49, 228, 222, 0.12), transparent 50%),
    rgba(255, 255, 255, 0.04);
}

.spline-scene::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(49, 228, 222, 0.16);
  border-radius: 22px;
  pointer-events: none;
  z-index: 1;
}

.spline-scene spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section.compact {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section.dark {
  max-width: none;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(49, 228, 222, 0.16), transparent 28%),
    linear-gradient(145deg, var(--navy), #03070d);
}

.section.dark > .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--azure);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section h2,
.section h3,
.page-hero h1 {
  color: inherit;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-lead {
  max-width: 620px;
  color: var(--steel);
  font-size: 1.05rem;
}

.dark .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.grid-3,
.grid-2,
.screenshot-grid,
.pillar-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.feature-card,
.pillar-card,
.contact-card,
.timeline-card,
.raas-card,
.vision-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(7, 16, 26, 0.07);
}

.dark .feature-card,
.dark .pillar-card,
.dark .raas-card,
.dark .vision-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.feature-card p,
.pillar-card p,
.timeline-card p,
.raas-card p,
.vision-card p {
  margin-top: 14px;
  color: var(--steel);
}

.dark .feature-card p,
.dark .pillar-card p,
.dark .raas-card p,
.dark .vision-card p {
  color: rgba(255, 255, 255, 0.68);
}

.icon-badge {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(135deg, var(--aqua), var(--azure));
}

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

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.screenshot-card.featured {
  grid-column: span 2;
}

.screenshot-frame {
  overflow: hidden;
  background: var(--navy);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.screenshot-caption {
  padding: 22px;
}

.screenshot-caption p {
  margin-top: 8px;
  color: var(--steel);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(49, 228, 222, 0.2), transparent 26%),
    linear-gradient(145deg, var(--navy), #03070d);
}

.page-hero-inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.16rem;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.split-panel {
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(49, 228, 222, 0.22), transparent 35%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.stack-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.stack-list article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.stack-list strong {
  display: block;
  color: var(--aqua);
}

.stack-list span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: timeline;
}

.timeline-card {
  position: relative;
  padding-left: 86px;
}

.timeline-card::before {
  position: absolute;
  left: 26px;
  top: 26px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  counter-increment: timeline;
  content: counter(timeline);
  border-radius: 14px;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(135deg, var(--aqua), var(--azure));
}

.quote-panel {
  border-left: 5px solid var(--aqua);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0b1825);
  box-shadow: var(--shadow);
}

.quote-panel p {
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.quote-panel span {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
}

.raas-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.raas-flow div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.raas-flow strong {
  display: block;
  color: var(--aqua);
  font-size: 1.2rem;
}

.raas-flow span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-card h3 {
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  color: var(--steel);
}

.contact-card a:hover {
  color: var(--azure);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--navy);
  font: inherit;
  background: var(--mist);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--azure);
  outline: 3px solid rgba(20, 180, 218, 0.18);
}

.form-note {
  color: var(--steel);
  font-size: 0.92rem;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.future-portal {
  overflow: hidden;
  border: 1px solid rgba(49, 228, 222, 0.26);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(49, 228, 222, 0.24), transparent 28%),
    linear-gradient(145deg, var(--navy), #04080d);
  box-shadow: var(--shadow);
}

.future-portal-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

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

.portal-actions .btn {
  min-width: 148px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links strong {
  color: var(--white);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-layout,
  .spline-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .spline-copy,
  .spline-scene {
    min-height: 360px;
  }

  .metric-strip,
  .grid-3,
  .pillar-grid,
  .raas-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .section-header,
  .future-portal-inner {
    display: grid;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 14px;
    background: rgba(7, 16, 26, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }

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

  .nav-links a,
  .nav-links .nav-cta {
    margin: 0;
  }

  .hero-grid,
  .page-hero-inner,
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.06em;
  }

  .metric-strip,
  .grid-2,
  .grid-3,
  .pillar-grid,
  .screenshot-grid,
  .raas-flow,
  .form-row {
    grid-template-columns: 1fr;
  }

  .screenshot-card.featured {
    grid-column: auto;
  }

  .identity-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .timeline-card {
    padding-left: 26px;
    padding-top: 82px;
  }

  .footer-inner,
  .footer-bottom-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    display: grid;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-grid,
  .page-hero-inner,
  .section,
  .section.dark > .section-inner,
  .footer-inner,
  .footer-bottom-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-actions,
  .section-actions,
  .contact-actions,
  .portal-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .metric-strip {
    padding-right: 18px;
    padding-left: 18px;
  }
}
