:root {
  --bg: #071423;
  --bg-alt: #0d2238;
  --panel: rgba(12, 32, 52, 0.84);
  --text: #ebf6ff;
  --muted: #aec5d8;
  --accent: #22d3b6;
  --accent-2: #ff9a3d;
  --accent-soft: #7de9ff;
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 20%, #153657 0%, #0b2238 48%, #06111e 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-text {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

p {
  margin: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 360px;
  height: 360px;
  background: #21d0b2;
  top: -140px;
  right: -120px;
}

.ambient-two {
  width: 360px;
  height: 360px;
  background: #ff9a3d;
  bottom: -160px;
  left: -140px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(4, 14, 26, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

.brand-text {
  font-weight: 700;
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

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

.menu-toggle {
  display: none;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  text-decoration: none;
  color: #04313a;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 211, 182, 0.36);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--stroke);
  background: transparent;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
}

.eyebrow {
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero {
  padding-top: 5.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.6rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.65rem, 3.1vw, 2.7rem);
  max-width: 22ch;
}

.hero-copy .subtext {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.micro-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-constellation {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 1.2rem;
  background: radial-gradient(circle at 30% 20%, rgba(125, 233, 255, 0.1), rgba(12, 32, 52, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.constellation-label {
  color: var(--accent-2);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.constellation-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(34, 211, 182, 0.26), rgba(125, 233, 255, 0.22));
  border: 1px solid rgba(125, 233, 255, 0.45);
}

.constellation-core span {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.orbit {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 96px;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 233, 255, 0.42);
  background: rgba(125, 233, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e9f7ff;
}

.orbit-one {
  left: 10%;
  top: 30%;
  animation: floatA 5.8s ease-in-out infinite;
}

.orbit-two {
  right: 10%;
  top: 23%;
  animation: floatB 6.2s ease-in-out infinite;
}

.orbit-three {
  left: 14%;
  bottom: 22%;
  animation: floatC 5.4s ease-in-out infinite;
}

.orbit-four {
  right: 13%;
  bottom: 26%;
  animation: floatD 6s ease-in-out infinite;
}

.constellation-footer {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.constellation-footer span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  color: var(--muted);
}

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes floatC {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes floatD {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.hero-panel,
.card,
.step,
.labs,
.faq-item,
.contact-form {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.hero-panel h2 {
  font-size: 1.03rem;
  margin-bottom: 0.8rem;
}

.hero-panel ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text);
}

.hero-panel li + li {
  margin-top: 0.55rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-stats div {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
}

.hero-stats strong {
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  display: block;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.panel-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.section-head {
  max-width: 72ch;
  margin-bottom: 1.4rem;
}

.section-head h2 + p,
.section-head p + h2 {
  margin-top: 0.8rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-section:nth-child(even) {
  background: var(--panel);
}

.service-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-main h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-main p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.service-main .btn {
  margin-top: 1rem;
}

.service-meta {
  display: grid;
  gap: 0.9rem;
}

.service-meta h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #dff0ff;
}

.service-points {
  margin: 0;
  padding-left: 1.05rem;
}

.service-points li {
  color: var(--muted);
}

.service-points li + li {
  margin-top: 0.38rem;
}

.experience-note {
  color: #d5e8f8;
  font-size: 0.95rem;
}

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

.ai-offer-panel {
  margin-top: 0.25rem;
}

.experience-lanes {
  display: grid;
  gap: 1rem;
}

.experience-lane {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(120deg, rgba(12, 31, 50, 0.9), rgba(20, 51, 81, 0.66));
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.lane-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.lane-head p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.lane-kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.client-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
  color: #e7f5ff;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card p,
.step p,
.labs p,
.faq-item p,
.split p {
  color: var(--muted);
}

.card h3,
.step h3 {
  margin: 0 0 0.7rem;
}

.split {
  background: linear-gradient(180deg, rgba(125, 233, 255, 0.03), rgba(255, 154, 61, 0.05));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.2rem;
}

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

.vertical-list span {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.tech-card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.tech-card img {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 0.75rem;
}

.tech-card h3 {
  margin: 0 0 0.55rem;
}

.tech-card p {
  color: var(--muted);
}

.card:hover,
.step:hover,
.labs:hover,
.faq-item:hover,
.contact-form:hover,
.hero-panel:hover,
.service-section:hover,
.experience-lane:hover {
  transform: translateY(-2px) scale(0.988);
  border-color: rgba(125, 233, 255, 0.6);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.service-section:hover,
.experience-lane:hover {
  background: linear-gradient(120deg, rgba(17, 42, 66, 0.95), rgba(22, 57, 91, 0.72));
}

.tech-card:hover {
  transform: translateY(-2px) scale(0.988);
  border-color: rgba(125, 233, 255, 0.6);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  background: linear-gradient(120deg, rgba(17, 42, 66, 0.95), rgba(22, 57, 91, 0.72));
}

.vertical-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 233, 255, 0.6);
  background: rgba(125, 233, 255, 0.14);
}

.client-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 233, 255, 0.75);
  background: rgba(125, 233, 255, 0.16);
}

.nav-links a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.step-no {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.labs ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.labs li + li {
  margin-top: 0.55rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: "Sora", sans-serif;
}

.faq-item {
  align-self: start;
}

.faq-item p {
  margin-top: 0.7rem;
}

.contact {
  padding-bottom: 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

label {
  font-weight: 600;
  color: #d8eaf9;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 0.75rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(125, 233, 255, 0.58);
  border-color: transparent;
}

.site-footer {
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
}

.footer-wrap a {
  color: var(--accent);
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(125, 233, 255, 0.45);
  background: rgba(9, 27, 43, 0.92);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  z-index: 30;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: rgba(125, 233, 255, 0.85);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .btn,
  .hero-panel,
  .card,
  .step,
  .labs,
  .faq-item,
  .contact-form,
  .service-section,
  .experience-lane,
  .vertical-list span,
  .client-chip,
  .nav-links a,
  .back-to-top {
    transition: none !important;
  }

  .card:hover,
  .step:hover,
  .labs:hover,
  .faq-item:hover,
  .contact-form:hover,
  .hero-panel:hover,
  .service-section:hover,
  .experience-lane:hover,
  .vertical-list span:hover,
  .client-chip:hover {
    transform: none !important;
  }

  .orbit-one,
  .orbit-two,
  .orbit-three,
  .orbit-four {
    animation: none !important;
  }
}

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

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

  .service-section {
    grid-template-columns: 1fr;
  }

  .agent-grid {
    grid-template-columns: 1fr;
  }

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

  .experience-lane {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 5.8vw, 2.2rem);
    max-width: none;
  }

  .hero-constellation {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: "Sora", sans-serif;
  }

  .nav-links {
    position: absolute;
    right: 4vw;
    top: 70px;
    width: min(86vw, 340px);
    display: none;
    grid-template-columns: 1fr;
    padding: 0.9rem;
    border-radius: 12px;
    background: rgba(5, 16, 29, 0.96);
    border: 1px solid var(--stroke);
  }

  .nav-links.open {
    display: grid;
  }

  .services-grid,
  .agent-grid,
  .tech-grid,
  .faq-grid,
  .vertical-list,
  .timeline,
  .hero-stats,
  .service-meta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.7rem 0;
  }
}
