:root {
  --ink: #171b32;
  --muted: #5f6778;
  --deep: #272264;
  --green: #85c759;
  --aqua: #2aa7a5;
  --red: #d85d4f;
  --gold: #e6b84c;
  --paper: #ffffff;
  --mist: #f5f8fb;
  --line: #dfe6ee;
  --shadow: 0 18px 48px rgba(28, 36, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(247, 250, 252, 0.92);
  border-bottom: 1px solid rgba(39, 34, 100, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 34px;
  object-fit: contain;
}

.brand-wordmark {
  width: 176px;
  height: auto;
}

.brand img,
.panel-logo img,
.footer-brand img {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover {
  background: #edf3f7;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 38px;
  align-items: center;
  padding: 58px 20px 66px;
}

.hero-copy h1,
.section h2,
.demo-copy h2 {
  margin: 0;
  color: var(--deep);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-strip {
  margin-top: 18px;
  color: var(--deep);
  font-weight: 700;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), #53a85f);
}

.button.secondary {
  background: var(--deep);
}

.hero-panel {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 34, 100, 0.95), rgba(33, 119, 142, 0.92)),
    var(--deep);
  box-shadow: var(--shadow);
  padding: 28px;
  color: #fff;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.panel-logo {
  position: absolute;
  inset: 50%;
  width: 230px;
  height: 170px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.panel-logo img {
  width: 170px;
}

.panel-logo span {
  color: var(--deep);
  font-weight: 800;
  font-size: 13px;
}

.module-orbit span {
  position: absolute;
  min-width: 118px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.module-orbit span:nth-child(1) { left: 28px; top: 58px; background: #7356c4; }
.module-orbit span:nth-child(2) { right: 36px; top: 74px; background: #4c9c5f; }
.module-orbit span:nth-child(3) { left: 42px; top: 178px; background: #d85d4f; }
.module-orbit span:nth-child(4) { right: 30px; top: 190px; background: #2aa7a5; }
.module-orbit span:nth-child(5) { left: 36px; bottom: 64px; background: #3c83bc; }
.module-orbit span:nth-child(6) { right: 40px; bottom: 64px; background: #6146b4; }
.module-orbit span:nth-child(7) { left: 50%; bottom: 22px; transform: translateX(-50%); background: #c7505c; }
.module-orbit span:nth-child(8) { left: 50%; top: 20px; transform: translateX(-50%); background: #e6b84c; color: #30273f; }

.section,
.demo-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px;
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.section h2,
.demo-copy h2 {
  font-size: 34px;
}

.problem-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.module-grid article,
.expert-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(28, 36, 61, 0.06);
}

.problem-grid h3,
.module-grid h3 {
  margin: 0 0 8px;
  color: var(--deep);
}

.problem-grid p,
.module-grid p,
.demo-copy p {
  margin: 0;
  color: var(--muted);
}

.modules {
  background: var(--paper);
  max-width: none;
}

.modules > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0 auto;
}

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

.module-grid article {
  border-top: 4px solid var(--green);
}

.demo-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.demo-copy p {
  margin-top: 14px;
  font-size: 17px;
}

.expert-card {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  background: #f8fbfd;
}

.expert-card strong {
  color: var(--deep);
}

.expert-card a {
  color: var(--aqua);
  font-weight: 800;
  text-decoration: none;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.demo-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: #111827;
  background: #fff;
}

.demo-form textarea {
  resize: vertical;
}

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

.form-status {
  min-height: 20px;
  margin: 0;
  color: #d9f7cf;
  font-weight: 800;
}

.footer {
  padding: 34px 20px;
  color: #fff;
  background: var(--deep);
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand img:first-child {
  width: 150px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.footer-brand img:last-child {
  width: 122px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .intro,
  .demo-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy h1,
  .section h2,
  .demo-copy h2 {
    font-size: 34px;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-wordmark {
    width: 148px;
  }

  .hero-copy h1,
  .section h2,
  .demo-copy h2 {
    font-size: 30px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .panel-logo {
    width: 190px;
  }

  .module-orbit span {
    min-width: 104px;
    font-size: 13px;
  }

  .problem-grid,
  .module-grid,
  .demo-form {
    grid-template-columns: 1fr;
  }
}
