:root {
  --purple: #841db8;
  --magenta: #e10ac8;
  --blue: #292da4;
  --teal: #4564a5;
  --slate: #3c3c3c;
  --light: #ededed;
  --white: #ffffff;
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Source Sans 3", "DM Sans", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, var(--glow-a), transparent 34rem),
    radial-gradient(circle at 80% 10%, var(--glow-b), transparent 36rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

.preloader {
  display: none;
}

.has-js .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 48%, var(--preloader-glow), transparent 22rem),
    var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.has-js body:not(.is-loaded) .site-shell {
  opacity: 0;
}

.has-js body.is-loaded .site-shell {
  opacity: 1;
  transition: opacity 260ms ease;
}

.has-js body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader img {
  width: min(220px, 58vw);
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(132, 29, 184, 0.28));
  animation: preloader-mark 1300ms ease-in-out infinite;
}

body.theme-dark {
  --bg: #070812;
  --bg-2: #101326;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(225, 10, 200, 0.32);
  --text: #f8f7ff;
  --muted: rgba(248, 247, 255, 0.7);
  --muted-2: rgba(248, 247, 255, 0.52);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --glow-a: rgba(132, 29, 184, 0.32);
  --glow-b: rgba(225, 10, 200, 0.22);
  --nav: rgba(7, 8, 18, 0.78);
  --preloader-glow: rgba(225, 10, 200, 0.2);
}

body.theme-light {
  --bg: #fbfbfe;
  --bg-2: #eef1f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --border: rgba(41, 45, 164, 0.14);
  --border-strong: rgba(132, 29, 184, 0.22);
  --text: #17172a;
  --muted: rgba(23, 23, 42, 0.72);
  --muted-2: rgba(23, 23, 42, 0.56);
  --shadow: 0 22px 64px rgba(41, 45, 164, 0.13);
  --glow-a: rgba(132, 29, 184, 0.16);
  --glow-b: rgba(225, 10, 200, 0.12);
  --nav: rgba(255, 255, 255, 0.82);
  --preloader-glow: rgba(132, 29, 184, 0.16);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

.theme-dark .site-shell::before {
  --grid-line: rgba(255, 255, 255, 0.035);
}

.theme-light .site-shell::before {
  --grid-line: rgba(41, 45, 164, 0.045);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--nav);
  backdrop-filter: blur(18px);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 178px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.button.primary {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  box-shadow: 0 14px 38px rgba(132, 29, 184, 0.3);
}

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

.hero {
  position: relative;
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 0 20px rgba(225, 10, 200, 0.75);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.gradient-text {
  background: linear-gradient(120deg, var(--text) 8%, var(--magenta) 48%, var(--purple) 74%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.product-visual {
  position: relative;
  min-height: 520px;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 38px;
  background: conic-gradient(from 160deg, rgba(132, 29, 184, 0.12), rgba(225, 10, 200, 0.24), rgba(69, 100, 165, 0.12), rgba(132, 29, 184, 0.12));
  filter: blur(4px);
}

.dashboard {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.dash-dots {
  display: flex;
  gap: 7px;
}

.dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
}

.dash-title {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash-body {
  padding: 20px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric {
  min-height: 118px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.05em;
}

.metric span,
.module span {
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.45;
}

.flow {
  position: relative;
  height: 88px;
  margin: 20px 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent, rgba(225, 10, 200, 0.18), transparent),
    var(--surface);
  overflow: hidden;
}

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--magenta), var(--teal));
}

.flow::before {
  top: 30px;
}

.flow::after {
  top: 56px;
  opacity: 0.55;
}

.module-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.module {
  min-height: 122px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.module strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.logo-mark {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 154px;
  opacity: 0.12;
}

.strip {
  padding: 24px 0 48px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.strip-item,
.card,
.process-step,
.launch-panel,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.strip-item {
  padding: 18px;
  min-height: 104px;
}

.strip-item strong {
  display: block;
  margin-bottom: 8px;
}

.strip-item span {
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: 84px 0;
}

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

.section-kicker {
  margin-bottom: 12px;
  color: var(--magenta);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-header p,
.lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

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

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

.card {
  padding: 24px;
  box-shadow: none;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  line-height: 1.62;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  background: linear-gradient(135deg, rgba(132, 29, 184, 0.12), rgba(225, 10, 200, 0.09));
}

.philosophy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.quote-card {
  position: sticky;
  top: 104px;
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(132, 29, 184, 0.16), rgba(225, 10, 200, 0.08)),
    var(--surface);
}

.quote-card p {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 850;
}

.principles {
  display: grid;
  gap: 12px;
}

.principle {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.principle strong {
  display: block;
  margin-bottom: 6px;
}

.principle span {
  color: var(--muted);
  line-height: 1.55;
}

.launch-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 30px;
  padding: clamp(26px, 5vw, 48px);
}

.launch-panel::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 40%;
  height: 280px;
  background: radial-gradient(circle, rgba(225, 10, 200, 0.26), transparent 68%);
  pointer-events: none;
}

.launch-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--magenta));
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.launch-logo {
  width: 138px;
  display: block;
  margin-bottom: 24px;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list span {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-strong);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  padding: 22px;
  box-shadow: none;
}

.process-step span {
  display: block;
  margin-bottom: 30px;
  color: var(--magenta);
  font-weight: 900;
}

.process-step p {
  color: var(--muted);
  line-height: 1.58;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  padding: clamp(24px, 5vw, 44px);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
}

.contact-links a {
  text-decoration: none;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background: var(--surface-strong);
  font: inherit;
  outline: 0;
}

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

input:focus,
textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(225, 10, 200, 0.1);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer img {
  width: 160px;
}

.footer p {
  margin: 10px 0 0;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
}

.footer-links a {
  text-decoration: none;
}

.copyright {
  color: var(--muted-2);
  font-size: 0.9rem;
}

@keyframes preloader-mark {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.985);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .has-js .preloader,
  .has-js body.is-loaded .site-shell {
    transition: none;
  }

  .preloader img {
    animation: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links.open {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 13px 12px;
  }

  .hero-grid,
  .philosophy,
  .launch-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: auto;
  }

  .quote-card {
    position: relative;
    top: auto;
  }

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

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

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

  .nav-inner {
    min-height: 68px;
  }

  .brand img {
    width: 144px;
  }

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

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.3rem);
  }

  .strip-grid,
  .grid-3,
  .grid-2,
  .process-grid,
  .metric-row,
  .module-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
