:root {
  color-scheme: dark;
  --bg: #0d0d0f;
  --bg-soft: #121216;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(25, 24, 31, 0.9);
  --text: #f4f0ff;
  --muted: #a19cac;
  --dim: #736c80;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #7b2cff;
  --violet: #a262ff;
  --blue: #35a8ff;
  --green: #28e59f;
  --radius: 8px;
  --max: 1110px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(123, 44, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(53, 168, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #0b0b0e 0%, #101013 100%);
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(10, 10, 13, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  font-size: 14px;
  font-weight: 800;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 0 38%, #fff 38% 48%, transparent 48%),
    linear-gradient(135deg, var(--purple), #d4b3ff);
  box-shadow: 0 0 20px rgba(123, 44, 255, 0.82);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #c7c2d2;
  font-size: 13px;
}

.nav-links a {
  opacity: 0.76;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  opacity: 1;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 17px;
  border-radius: 999px;
  color: #141019;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 44px rgba(135, 75, 255, 0.22);
}

.pill-btn.dark {
  color: #f7f1ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  padding: 92px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d8d2e8;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

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

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  font-weight: 800;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-panel,
.card,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.hero-panel {
  min-height: 270px;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 18%, rgba(53, 168, 255, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(40, 38, 52, 0.92), rgba(16, 15, 22, 0.96));
}

.hero-panel strong {
  display: block;
  font-size: 13px;
  color: #f2eff8;
}

.hero-panel span,
.card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.panel-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.panel-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.panel-lines i:nth-child(2) {
  width: 78%;
}

.panel-lines i:nth-child(3) {
  width: 58%;
}

.section {
  padding: 54px 0 96px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.section-title p {
  margin-top: 14px;
  color: var(--muted);
}

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

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

.card {
  min-height: 180px;
  padding: 22px;
}

.card h3 {
  font-size: 19px;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.feature-panel {
  padding: 26px;
  margin-top: 16px;
  background: var(--panel-strong);
}

.feature-panel p + p {
  margin-top: 14px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.service-list span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #d8d2e8;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: #d8d2e8;
  font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.contact-form select option {
  color: #141019;
  background: #fff;
}

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

.contact-form button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #141019;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .grid,
  .grid.two,
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .grid,
  .grid.two,
  .service-list {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    display: none;
  }
}
