:root {
  --bg: #070a12;
  --bg-soft: #0d1324;
  --text: #f7fbff;
  --muted: #a9b7ca;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(12, 19, 36, 0.58);
  --glass-strong: rgba(17, 27, 49, 0.76);
  --cyan: #27d7ff;
  --blue: #5877ff;
  --green: #4dffbd;
  --pink: #ff5fc8;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(39, 215, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 0%, rgba(255, 95, 200, 0.12), transparent 28rem),
    linear-gradient(180deg, #060914 0%, #0a0f1d 42%, #05070d 100%);
  color: var(--text);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 12, 22, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 22, 0.86);
  border-color: rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(39, 215, 255, 0.16);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 9, 20, 0.94) 0%, rgba(6, 9, 20, 0.7) 47%, rgba(6, 9, 20, 0.86) 100%),
    linear-gradient(180deg, rgba(6, 9, 20, 0.28), var(--bg) 94%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.signal-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 6.3vw, 5.9rem);
  line-height: 0.9;
  font-weight: 800;
}

.hero-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-right: 0.16em;
  line-height: 0.94;
  background:
    linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, 0.82) 28%, transparent 44%),
    linear-gradient(115deg, #f7fbff 0%, #27d7ff 22%, #4dffbd 45%, #ff5fc8 68%, #f7fbff 92%);
  background-size: 220% 100%, 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(39, 215, 255, 0.16);
  animation: titleGradientFlow 6s ease-in-out infinite;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lede {
  max-width: 680px;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-actions,
.footer-inner,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 21px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), var(--green), var(--pink));
  content: "";
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(39, 215, 255, 0.24), rgba(88, 119, 255, 0.34), rgba(255, 95, 200, 0.22));
  box-shadow: 0 16px 34px rgba(39, 215, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
}

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

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

@media (max-width: 620px) {
  .hero-copy {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-panel {
  border-radius: 26px;
  padding: 26px;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(77, 255, 189, 0.62);
  animation: pulse 1.8s infinite;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.metric-grid div {
  min-height: 96px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-grid strong {
  display: block;
  font-size: 2rem;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list span,
.about-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe8f8;
  font-size: 0.84rem;
  font-weight: 700;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
}

.product-card::after {
  position: absolute;
  inset: auto -60px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 215, 255, 0.22), transparent 70%);
  content: "";
}

.card-index {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--green);
  font-weight: 800;
}

.product-card p {
  margin-bottom: 22px;
}

.btn-product {
  margin-top: auto;
  min-height: 42px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}

.split-layout,
.about-grid,
.contact-grid,
.ai-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.image-rail {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: end;
  gap: 16px;
}

.image-rail img,
.ai-visual img,
.about-card img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.image-rail img:first-child {
  height: 460px;
}

.image-rail img:last-child {
  height: 320px;
  transform: translateY(38px);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  border-left: 2px solid rgba(77, 255, 189, 0.78);
  padding: 7px 0 7px 20px;
}

.service-item p {
  margin-bottom: 0;
}

.ai-band {
  background: linear-gradient(90deg, rgba(39, 215, 255, 0.08), rgba(255, 95, 200, 0.08));
}

.ai-grid {
  grid-template-columns: 1fr 0.9fr;
}

.ai-visual img {
  height: 390px;
}

.about-card {
  border-radius: 26px;
  padding: 14px;
}

.about-card img {
  height: 320px;
  box-shadow: none;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 4px 4px;
}

.contact {
  padding-bottom: 90px;
}

.contact-grid {
  align-items: start;
}

.contact-methods {
  align-items: flex-start;
  flex-direction: column;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods span {
  color: #dbe8f8;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: 26px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  color: #dbe8f8;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  outline: 0;
  background: rgba(3, 6, 17, 0.58);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(77, 255, 189, 0.7);
  box-shadow: 0 0 0 4px rgba(77, 255, 189, 0.08);
}

.form-note {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.footer-inner {
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--green);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease var(--delay, 0ms), transform 700ms ease var(--delay, 0ms);
}

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(77, 255, 189, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 255, 189, 0);
  }
}

@keyframes titleGradientFlow {
  0% {
    background-position: 180% 50%, 0% 50%;
    filter: drop-shadow(0 0 14px rgba(39, 215, 255, 0.12));
  }
  50% {
    background-position: 35% 50%, 100% 50%;
    filter: drop-shadow(0 0 22px rgba(255, 95, 200, 0.18));
  }
  100% {
    background-position: -80% 50%, 0% 50%;
    filter: drop-shadow(0 0 14px rgba(39, 215, 255, 0.12));
  }
}

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

@media (max-width: 900px) {
  .site-header {
    border-radius: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 90px;
    left: 14px;
    right: 14px;
    z-index: 49;
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 12, 22, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }



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

  .hero-grid,
  .split-layout,
  .about-grid,
  .contact-grid,
  .ai-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .hero-panel {
    max-width: none;
    justify-self: stretch;
  }

  .image-rail img:first-child,
  .image-rail img:last-child,
  .ai-visual img,
  .about-card img {
    height: 300px;
  }

  .image-rail img:last-child {
    transform: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.8rem);
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-panel {
    justify-self: center;
    margin: 0 auto;
    width: 100%;
    max-width: none;
  }

  .metric-grid,
  .image-rail {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-title {
    width: auto;
  }
}
