:root {
  --bg: #090913;
  --surface: #111126;
  --surface-2: #17172f;
  --text: #f7f4ff;
  --muted: #c8c1dd;
  --purple: #8b5cf6;
  --violet: #5b2ee6;
  --cyan: #49d8ff;
  --mint: #54f2c2;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(7, 7, 20, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.24), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(73, 216, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #090913 0%, #0d0d1d 44%, #0a0a14 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 19, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.metric-strip,
.proof-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #060610;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.38);
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.nav-action,
.button,
.contact-form button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 700;
}

.nav-action {
  padding: 12px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 92px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.4rem, 12vw, 9rem);
  line-height: 0.86;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  max-width: 800px;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary,
.contact-form button {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #070711;
  border: 0;
  box-shadow: 0 18px 44px rgba(91, 46, 230, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 48%, black, transparent 74%);
}

.core-orbit {
  position: absolute;
  inset: 80px 58px;
  border: 1px solid rgba(73, 216, 255, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.core-orbit::before {
  content: "";
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f7f4ff 0 8%, var(--cyan) 9% 18%, var(--violet) 42%, transparent 70%);
  box-shadow: 0 0 80px rgba(73, 216, 255, 0.42);
}

.core-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 22px var(--mint);
}

.core-orbit span:nth-child(1) {
  top: 14%;
  left: 24%;
}

.core-orbit span:nth-child(2) {
  right: 12%;
  top: 48%;
  background: var(--cyan);
}

.core-orbit span:nth-child(3) {
  bottom: 16%;
  left: 50%;
  background: var(--purple);
}

.metric-strip {
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.metric-strip div,
.proof-list div {
  display: grid;
  gap: 6px;
}

.metric-strip strong {
  font-size: 1.6rem;
}

.metric-strip span,
.proof-list span,
.service-card p,
.about-content p,
.contact-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.about,
.proof,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-content {
  display: grid;
  gap: 22px;
  font-size: 1.05rem;
}

.about-panel,
.service-card,
.pricing-card,
.contact-form,
.chat-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.about-panel {
  padding: 26px;
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(73, 216, 255, 0.12);
  color: var(--cyan);
  font-weight: 800;
}

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.proof-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list div:last-child {
  border-bottom: 0;
}

.pricing-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(84, 242, 194, 0.46);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(73, 216, 255, 0.07)),
    rgba(255, 255, 255, 0.055);
}

.package-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(84, 242, 194, 0.12);
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 8px 0 14px;
  color: var(--text);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 800;
}

.pricing-card p:not(.price),
.pricing-card li {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card ul {
  margin: auto 0 0;
  padding-left: 18px;
}

.pricing-card li + li {
  margin-top: 9px;
}

.spreadsheet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(73, 216, 255, 0.34);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(73, 216, 255, 0.08);
}

.contact {
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(7, 7, 17, 0.74);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 50px;
  cursor: pointer;
  font: inherit;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer span {
  font-weight: 800;
}

.footer p {
  margin-bottom: 0;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: min(390px, calc(100vw - 28px));
}

.chat-launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58px;
  height: 58px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #070711;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  box-shadow: 0 16px 42px rgba(91, 46, 230, 0.44);
  font-weight: 900;
  cursor: pointer;
}

.chat-panel {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(23, 23, 47, 0.98), rgba(10, 10, 20, 0.98)),
    var(--surface);
}

.chat-header {
  min-height: 70px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(73, 216, 255, 0.07);
}

.chat-header span,
.chat-header small {
  display: block;
}

.chat-header span {
  font-weight: 800;
}

.chat-header small {
  margin-top: 4px;
  color: var(--muted);
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
  cursor: pointer;
}

.chat-messages {
  height: 270px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.message {
  max-width: 86%;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--text);
  line-height: 1.45;
  font-size: 0.92rem;
}

.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
}

.message.user {
  align-self: flex-end;
  color: #070711;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.quick-prompts {
  padding: 0 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-prompts button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
}

.chat-form {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: rgba(7, 7, 17, 0.82);
  font: inherit;
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  color: #070711;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chat-widget.is-minimized {
  width: 58px;
  height: 58px;
}

.chat-widget.is-minimized .chat-panel {
  display: none;
}

.chat-widget.is-minimized .chat-launcher {
  display: grid;
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero,
  .about,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

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

  .nav-links {
    font-size: 0.86rem;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 280px;
  }

  .core-orbit {
    inset: 54px 34px;
  }

  .metric-strip,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .section {
    padding: 72px 0;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-messages {
    height: 230px;
  }
}
