:root {
  --bg: #05030b;
  --bg-soft: rgba(18, 10, 34, 0.82);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(196, 144, 255, 0.18);
  --text: #f6f2ff;
  --muted: #c7bddf;
  --accent: #8f3dff;
  --accent-soft: #c38bff;
  --accent-2: #611dbe;
  --shadow: 0 24px 80px rgba(72, 15, 140, 0.35);
  --max-width: 1180px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --grid-gap: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(167, 89, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(107, 37, 221, 0.32), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(90, 20, 175, 0.18), transparent 35%),
    linear-gradient(160deg, #020204 0%, #090512 48%, #05030b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
}

body::before {
  top: 90px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(143, 61, 255, 0.16);
  border-radius: 50%;
}

body::after {
  right: -120px;
  bottom: 80px;
  width: 320px;
  height: 320px;
  background: rgba(95, 29, 190, 0.12);
  border-radius: 50%;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 3, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner,
.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(195, 139, 255, 0.95), rgba(97, 29, 190, 0.85));
  box-shadow: 0 10px 30px rgba(127, 44, 233, 0.35);
  color: #fff;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-toggle-line {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.nav a {
  color: var(--muted);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: 0.25s ease;
  font-size: 0.96rem;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.page-shell {
  padding-bottom: 2rem;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero {
  padding: 6rem 0 4rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(195, 139, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero h1,
.page-hero h1 {
  margin: 1.25rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
}

.page-hero h1 {
  max-width: 12ch;
}

.hero p,
.page-hero p,
.section-heading p,
.feature-card p,
.contact-panel p,
.contact-item span,
.footer p,
.lead-card p,
.list-card li,
.detail-card p,
.detail-card li {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.hero p,
.page-hero p {
  max-width: 60ch;
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: 0 16px 40px rgba(137, 61, 255, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(137, 61, 255, 0.24);
  outline: none;
}

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

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

.hero-stats,
.metric-grid,
.feature-grid,
.detail-grid,
.process-grid,
.contact-layout {
  display: grid;
  gap: var(--grid-gap);
}

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

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

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

.contact-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.glass-card,
.stat-card,
.feature-card,
.lead-card,
.detail-card,
.contact-panel,
.site-map {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stat-card,
.feature-card,
.lead-card,
.detail-card,
.contact-panel,
.site-map {
  padding: 1.7rem;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-panel {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  min-height: 530px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 10%, rgba(196, 144, 255, 0.28), transparent 32%);
  z-index: 0;
}

.panel-grid {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  gap: 1rem;
  align-content: space-between;
}

.mini-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(5, 3, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card h3,
.section-heading h2,
.contact-panel h3,
.site-map h3,
.feature-card h3,
.lead-card h3,
.detail-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.mini-card p,
.mini-card li {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.mini-card ul,
.list-card ul,
.detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.mini-card li::before,
.list-card li::before,
.detail-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 18px rgba(195, 139, 255, 0.5);
}

section {
  padding: 2rem 0 1.5rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.8rem;
}

.section-heading span,
.feature-card strong,
.lead-card strong,
.detail-card strong {
  display: inline-flex;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.85rem;
}

.lead-card {
  min-height: 100%;
}

.process-card {
  padding: 1.7rem;
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 139, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(195, 139, 255, 0.26), rgba(143, 61, 255, 0.2));
  color: var(--accent-soft);
  border: 1px solid rgba(195, 139, 255, 0.14);
}

.process-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

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

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 1rem 1rem;
  font: inherit;
  resize: vertical;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(199, 189, 223, 0.7);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(195, 139, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-hint,
.form-status {
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.5rem;
}

.form-status.is-success {
  color: #d7b5ff;
}

.value-strip {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.value-item {
  padding: 0.95rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.value-item:first-child {
  border-left: 0;
}

.value-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.value-item span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-item label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-item a,
.contact-item address {
  color: var(--text);
  font-style: normal;
  line-height: 1.7;
  font-size: 1rem;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  filter: saturate(1.1) contrast(1.05);
}

.footer {
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.06em;
}

.legal-layout {
  display: grid;
  gap: 1.25rem;
}

.legal-card,
.glass-card.legal-card {
  padding: 1.8rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.legal-card h2 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 0.8rem;
}

.legal-meta {
  color: var(--accent-soft);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .contact-layout,
  .feature-grid,
  .detail-grid,
  .metric-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

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

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

  .value-item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 0.9rem 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .js-enabled .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .js-enabled .nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .js-enabled .nav.is-open {
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.5rem 0 0.2rem;
  }

  .nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-radius: 0;
  }

  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

  .hero-stats,
  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .topbar-inner,
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .button {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
  }

  .footer-links {
    gap: 0.75rem 1rem;
  }
}
