:root {
  --bg: #06070d;
  --bg-soft: #0b1020;
  --surface: rgba(15, 20, 40, 0.72);
  --surface-strong: #11172b;
  --surface-border: rgba(168, 130, 255, 0.18);
  --text: #f5f7ff;
  --text-soft: #c7cee6;
  --text-muted: #92a0c9;
  --primary: #8e6cff;
  --primary-strong: #744dff;
  --secondary: #45d0ff;
  --success: #5fd69f;
  --danger: #ff8ca1;
  --shadow: 0 28px 80px rgba(1, 4, 15, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --nav-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(142, 108, 255, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(69, 208, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #080a12 0%, #06070d 45%, #090d18 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

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

.section-tight {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 108, 255, 0.25);
  background: rgba(142, 108, 255, 0.12);
  color: #d6cbff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 18px rgba(69, 208, 255, 0.55);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-header h2,
.section-header h1,
.hero-copy h1,
.cta-panel h2,
.page-hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-header h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-header p,
.hero-copy p,
.page-hero-copy p,
.card p,
.split-panel p,
.cta-panel p,
.footer-copy p,
.contact-method p,
.pricing-note p,
.lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.lead {
  max-width: 70ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(142, 108, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  background: rgba(6, 8, 16, 0.86);
}

.nav-shell {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-mark strong {
  font-size: 1rem;
}

.brand-mark span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.button-link:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #9479ff 55%, var(--secondary));
  color: #03050c;
  box-shadow: 0 12px 30px rgba(116, 77, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(116, 77, 255, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 4.8rem 0 5rem;
  overflow: hidden;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid,
.about-grid,
.process-grid,
.two-column-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  max-width: 11ch;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.metric-pill {
  padding: 0.95rem 1rem;
  min-width: 155px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.metric-pill strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.metric-pill span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-visual,
.page-hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 36px;
  border: 1px solid rgba(142, 108, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(11, 16, 32, 0.9), rgba(8, 10, 18, 0.88)),
    radial-gradient(circle at top, rgba(142, 108, 255, 0.16), transparent 50%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 88%);
  opacity: 0.42;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.7;
}

.orb-one {
  width: 240px;
  height: 240px;
  top: 10%;
  right: -4%;
  background: rgba(142, 108, 255, 0.38);
}

.orb-two {
  width: 200px;
  height: 200px;
  bottom: 12%;
  left: -8%;
  background: rgba(69, 208, 255, 0.28);
}

.wave-stack {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
}

.wave-stack span {
  position: absolute;
  left: -6%;
  right: -6%;
  border-top: 1px solid rgba(142, 108, 255, 0.24);
  border-radius: 50%;
  animation: waveFloat 10s ease-in-out infinite;
}

.wave-stack span:nth-child(1) {
  bottom: 10%;
  height: 160px;
  animation-delay: 0s;
}

.wave-stack span:nth-child(2) {
  bottom: 18%;
  height: 200px;
  animation-delay: -2s;
}

.wave-stack span:nth-child(3) {
  bottom: 28%;
  height: 240px;
  animation-delay: -4s;
}

.wave-stack span:nth-child(4) {
  bottom: 38%;
  height: 280px;
  animation-delay: -6s;
}

@keyframes waveFloat {
  0%,
  100% {
    transform: translateY(0px) scaleX(1);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-12px) scaleX(1.03);
    opacity: 0.72;
  }
}

.panel-card {
  position: absolute;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(12, 18, 36, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.panel-card strong,
.card h3,
.split-panel h3,
.process-step h3,
.contact-card h3,
.stat-card strong,
.value-card h3,
.outcome-card h3,
.solution-card h3,
.pricing-note h3,
.contact-method h3 {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.panel-card p,
.card p,
.split-panel p,
.process-step p,
.contact-card p,
.value-card p,
.outcome-card p,
.solution-card p,
.pricing-note p,
.contact-method p,
.footer-copy p,
.footer-links a,
.footer-meta {
  color: var(--text-soft);
}

.panel-card small,
.process-step span,
.kicker,
.muted {
  color: var(--text-muted);
}

.panel-card-top {
  top: 9%;
  left: 8%;
  max-width: 240px;
}

.panel-card-bottom {
  right: 8%;
  bottom: 10%;
  max-width: 260px;
}

.hero-console {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 16%;
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(5, 8, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.console-dots {
  display: flex;
  gap: 0.4rem;
}

.console-dots span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.console-dots span:first-child {
  background: #ff798f;
}

.console-dots span:nth-child(2) {
  background: #ffd168;
}

.console-dots span:nth-child(3) {
  background: #61d59b;
}

.console-lines {
  display: grid;
  gap: 0.7rem;
}

.console-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(142, 108, 255, 0.35));
}

.console-line.short {
  width: 52%;
}

.console-line.medium {
  width: 68%;
}

.console-line.long {
  width: 88%;
}

.cards-grid,
.solution-grid,
.value-grid,
.outcomes-grid,
.contact-methods,
.footer-grid,
.service-cards,
.stat-grid,
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-grid,
.solution-grid,
.value-grid,
.outcomes-grid,
.service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.solution-card,
.value-card,
.outcome-card,
.split-panel,
.contact-card,
.pricing-note,
.stat-card,
.process-step,
.contact-method {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.card-icon,
.solution-icon,
.value-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(142, 108, 255, 0.18), rgba(69, 208, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.1rem;
  color: #d9d0ff;
  font-weight: 700;
}

.split-grid,
.about-grid,
.contact-grid,
.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.split-panel ul,
.contact-card ul,
.footer-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.bullet-list li,
.footer-links a,
.process-list li,
.check-list li,
.contact-card li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bullet-list li::before,
.process-list li::before,
.check-list li::before,
.contact-card li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 14px rgba(116, 77, 255, 0.45);
}

.page-hero {
  padding: 4.4rem 0 4rem;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
}

.page-hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  max-width: 11ch;
}

.page-hero-visual {
  min-height: 420px;
}

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

.stack-list .stack-item {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.stack-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

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

.process-step {
  position: relative;
  padding-top: 4.2rem;
}

.process-number {
  position: absolute;
  left: 1.5rem;
  top: 1.4rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #070914;
  font-weight: 800;
}

.stat-grid,
.pricing-grid,
.contact-methods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card strong {
  font-size: 2.3rem;
  margin-bottom: 0.25rem;
}

.pricing-note {
  background: linear-gradient(180deg, rgba(19, 27, 50, 0.82), rgba(10, 13, 24, 0.88));
}

.cta-panel {
  position: relative;
  padding: 2.5rem;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(142, 108, 255, 0.25);
  background:
    radial-gradient(circle at top left, rgba(142, 108, 255, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(17, 23, 43, 0.94), rgba(8, 11, 20, 0.96));
  box-shadow: var(--shadow);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 208, 255, 0.18), transparent 66%);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

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

.contact-sidebar {
  display: grid;
  gap: 1.25rem;
  align-self: start;
}

.contact-card,
.form-shell {
  min-height: 100%;
}

.form-shell {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 14, 28, 0.86);
  border: 1px solid rgba(142, 108, 255, 0.2);
  box-shadow: var(--shadow);
}

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

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

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

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8190bb;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(142, 108, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(142, 108, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

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

.field-hint,
.form-response,
.privacy-note,
.small-copy {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.15rem;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 140, 161, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 140, 161, 0.12);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
}

.checkbox label {
  font-weight: 500;
  color: var(--text-soft);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-response {
  min-height: 1.4rem;
}

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

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

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

.contact-methods {
  margin-top: 1.4rem;
}

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

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  align-items: start;
}

.footer-copy .brand {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-soft);
}

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

.footer-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

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

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

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid,
  .two-column-grid,
  .cards-grid,
  .solution-grid,
  .value-grid,
  .outcomes-grid,
  .service-cards,
  .footer-grid,
  .process-grid,
  .stat-grid,
  .pricing-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: fixed;
    inset: var(--nav-height) 1rem auto;
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(9, 12, 22, 0.96);
    border: 1px solid rgba(142, 108, 255, 0.22);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow);
  }

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

  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 76px;
  }

  .section,
  .hero,
  .page-hero {
    padding: 4rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: none;
  }

  .cta-panel,
  .hero-visual,
  .page-hero-visual,
  .form-shell,
  .contact-card {
    border-radius: 24px;
  }

  .panel-card-top {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    max-width: none;
  }

  .panel-card-bottom {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .hero-console {
    left: 1rem;
    right: 1rem;
    bottom: 8rem;
  }

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

  .hero-actions,
  .cta-actions,
  .form-actions,
  .hero-metrics {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .button-link {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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