*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #05070f;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(124, 150, 255, 0.14);
  --line-strong: rgba(124, 150, 255, 0.3);
  --text: #e9edf9;
  --muted: #96a2c0;
  --c1: #4f8cff;
  --c2: #a56bff;
  --success: #54d6a0;
  --error: #ff7d92;
  --radius: 18px;
  --wrap: 1120px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 8%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 8%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 14% 4%, rgba(79, 140, 255, 0.22), transparent 70%),
    radial-gradient(55% 40% at 88% 10%, rgba(165, 107, 255, 0.2), transparent 72%),
    radial-gradient(70% 50% at 50% 100%, rgba(79, 140, 255, 0.1), transparent 75%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--c1), var(--c2));
  color: #04060f;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 15, 0.78);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 0 18px rgba(79, 140, 255, 0.55);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--c1);
}

.hero {
  padding: clamp(3.2rem, 9vw, 7rem) 0 clamp(2.6rem, 6vw, 4.5rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.08);
  color: #9db4ff;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.1rem;
  max-width: 22ch;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.grad {
  background: linear-gradient(100deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 62ch;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.5rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--c1), var(--c2));
  color: #050813;
  box-shadow: 0 12px 32px -14px rgba(99, 120, 255, 0.95);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(120, 140, 255, 1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(150, 175, 255, 0.55);
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  position: relative;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014));
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 255, 0.7), transparent);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #bcd0ff, var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(124, 150, 255, 0.1);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.inquiry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: 0 40px 90px -70px rgba(120, 150, 255, 0.95);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.req {
  color: #ff9bb0;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 10, 22, 0.85);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #69748f;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(120, 160, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.22);
  background: rgba(10, 16, 32, 0.95);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-hint {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

:focus-visible {
  outline: 2px solid #8fb4ff;
  outline-offset: 3px;
  border-radius: 8px;
}

.site-footer {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 20, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--text);
  font-weight: 600;
}

.footer-inner a {
  color: #a9baff;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .inquiry {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.7rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .form-actions {
    align-items: stretch;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
