:root {
  --bg: #090f1f;
  --panel: rgba(15, 23, 42, .72);
  --panel-strong: rgba(15, 23, 42, .92);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .2);
  --accent: #bfdbfe;
  --accent-2: #a7f3d0;
  --accent-3: #fef3c7;
  --dark: #08111f;
  --shadow: 0 24px 90px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(96, 165, 250, .18), transparent 30rem),
    radial-gradient(circle at 84% 4%, rgba(45, 212, 191, .12), transparent 28rem),
    linear-gradient(180deg, #090f1f 0%, #0d1428 46%, #090f1f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
}

a,
button {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .34;
  pointer-events: none;
}

.page-glow-one {
  top: -160px;
  left: -120px;
  background: rgba(96, 165, 250, .42);
}

.page-glow-two {
  right: -180px;
  top: 180px;
  background: rgba(45, 212, 191, .32);
}

.header,
.hero,
.section,
.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #08111f;
  background: linear-gradient(135deg, #dbeafe, #a7f3d0);
  font-weight: 950;
  box-shadow: 0 16px 44px rgba(96, 165, 250, .22);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: -.04em;
}

.brand-text small {
  color: var(--muted-2);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px);
}

.nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  font-size: 13px;
}

.hero-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(167, 243, 208, .75);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: .97;
  letter-spacing: -.065em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button.primary {
  color: #08111f;
  background: linear-gradient(135deg, #dbeafe, #a7f3d0);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.quick-stats div {
  min-width: 138px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}

.quick-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  letter-spacing: -.04em;
}

.quick-stats span {
  color: var(--muted-2);
  font-size: 13px;
}

.showcase {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),
    rgba(15, 23, 42, .74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -90px;
  border-radius: 999px;
  background: rgba(167, 243, 208, .16);
  filter: blur(20px);
}

.showcase-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.showcase-kicker {
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 13px;
}

.showcase h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.showcase-pill {
  padding: 8px 11px;
  border-radius: 999px;
  color: #08111f;
  background: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
}

.board-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.board-tab,
.chip,
.filter {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.045);
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.board-tab:hover,
.chip:hover,
.filter:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--line-strong);
}

.board-tab.is-active,
.chip.is-active,
.filter.is-active {
  color: #08111f;
  background: linear-gradient(135deg, #dbeafe, #a7f3d0);
}

.board-tab {
  padding: 10px 8px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 750;
}

.board-panel {
  position: relative;
  z-index: 1;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 17, 31, .44);
}

.board-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.board-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.board-list li {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.05);
}

.progress-block {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.progress-heading strong {
  color: var(--text);
}

.progress-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.progress-line span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dbeafe, #a7f3d0);
  transition: width .25s ease;
}

.section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p,
.final-section p {
  color: var(--muted);
  line-height: 1.72;
}

.services-layout,
.builder,
.split-section {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 18px;
  align-items: start;
}

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

.service-card,
.service-preview,
.brief-card,
.step,
.note,
.final-section {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.service-card {
  min-height: 220px;
  padding: 22px;
  border-radius: 28px;
  text-align: left;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.service-card:hover,
.service-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(191, 219, 254, .4);
  background:
    radial-gradient(circle at 12% 8%, rgba(191, 219, 254, .13), transparent 14rem),
    var(--panel);
}

.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #08111f;
  background: linear-gradient(135deg, #dbeafe, #a7f3d0);
  font-size: 12px;
  font-weight: 950;
}

.service-card p,
.service-preview p,
.step p,
.note p,
.brief-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.service-preview,
.brief-card {
  min-height: 300px;
  padding: 26px;
  border-radius: 30px;
}

.preview-kicker,
.brief-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 850;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.preview-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.06);
  font-size: 13px;
}

.builder-controls {
  display: grid;
  gap: 14px;
}

.control-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.045);
}

.control-group p {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
}

.chip,
.filter {
  margin: 0 6px 8px 0;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.brief-card small {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: var(--accent-2);
}

.copy-button {
  margin-top: 22px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  padding: 20px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-radius: 28px;
}

.step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #08111f;
  background: var(--accent-3);
  font-weight: 950;
}

.note-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.notes {
  display: grid;
  gap: 14px;
}

.note {
  padding: 22px;
  border-radius: 28px;
  transition: opacity .18s ease, transform .18s ease;
}

.note.is-hidden {
  display: none;
}

.note time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
}

.final-section {
  padding: 32px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-section div {
  max-width: 760px;
}

.final-section h2 {
  margin-bottom: 14px;
}

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero,
  .services-layout,
  .builder,
  .split-section {
    grid-template-columns: 1fr;
  }

  .showcase {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 74px;
  }

  .services-grid,
  .board-tabs,
  .final-section {
    grid-template-columns: 1fr;
  }

  .final-section {
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  .showcase,
  .service-card,
  .service-preview,
  .brief-card,
  .note,
  .final-section {
    border-radius: 24px;
  }

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