:root {
  --bg: #07111f;
  --bg-deep: #040913;
  --panel: rgba(11, 18, 34, 0.84);
  --panel-strong: rgba(13, 21, 39, 0.96);
  --line: rgba(150, 182, 255, 0.16);
  --line-strong: rgba(150, 182, 255, 0.28);
  --text: #f5f7ff;
  --muted: #afbddc;
  --muted-strong: #d7def1;
  --blue: #55a7ff;
  --cyan: #67e7ff;
  --violet: #8d7cff;
  --green: #4fd39b;
  --amber: #ffbf5b;
  --shadow: 0 32px 80px rgba(2, 7, 18, 0.5);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 163, 255, 0.16), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(140, 124, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #06101d 0%, #040913 100%);
}

body::before,
body::after,
.site-bg::before,
.site-bg::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: -2;
}

body::before {
  top: -10rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(85, 167, 255, 0.18);
}

body::after {
  top: 18rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  background: rgba(141, 124, 255, 0.16);
}

.site-bg::before {
  bottom: 8rem;
  left: 20%;
  width: 20rem;
  height: 20rem;
  background: rgba(103, 231, 255, 0.12);
}

.site-bg::after {
  bottom: 0;
  right: 18%;
  width: 18rem;
  height: 18rem;
  background: rgba(79, 211, 155, 0.12);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

a:hover,
button:hover {
  transform: translateY(-2px);
}

.page-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

[id] {
  scroll-margin-top: 122px;
}

.site-header,
.hero,
.setup-grid,
.steps-grid,
.pricing-grid,
.site-footer {
  display: grid;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background: rgba(5, 10, 19, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(2, 8, 18, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #31cfff 0%, #5177ff 52%, #8d7cff 100%);
  box-shadow: 0 18px 36px rgba(80, 121, 255, 0.36);
}

.brand-face,
.brand-face::before,
.brand-face::after {
  position: absolute;
  content: "";
}

.brand-face {
  inset: 11px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}

.brand-face::before,
.brand-face::after {
  top: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.brand-face::before {
  left: 10px;
}

.brand-face::after {
  right: 10px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy small,
.hero-note,
.section-heading p,
.info-card p,
.employee-card p,
.feature-card p,
.step-card p,
.pricing-card p,
.pricing-card li,
.faq-answer p,
.site-footer p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a,
.text-link {
  color: var(--muted-strong);
  font-weight: 600;
}

.site-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: #fff;
}

.header-actions,
.hero-actions,
.footer-links,
.final-cta__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
}

.primary-button {
  color: #08111f;
  background: linear-gradient(135deg, #91ebff 0%, #7db9ff 36%, #c9c1ff 100%);
  box-shadow: 0 18px 34px rgba(113, 188, 255, 0.26);
}

.secondary-button {
  color: #eef3ff;
  border-color: rgba(180, 202, 255, 0.18);
  background: rgba(11, 19, 36, 0.72);
}

.hero {
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 52px;
  align-items: center;
  padding: 78px 0 28px;
}

.eyebrow,
.section-label,
.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow,
.section-label {
  border: 1px solid rgba(128, 174, 255, 0.14);
  background: rgba(10, 18, 34, 0.78);
  color: #dce6ff;
}

.hero-copy h1,
.section-heading h2,
.final-cta__copy h2 {
  margin: 18px 0 18px;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(2.9rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-text {
  max-width: 34rem;
  margin: 0;
  color: #dce5f8;
  font-size: 1.15rem;
  line-height: 1.68;
}

.hero-actions {
  margin-top: 28px;
}

.hero-note {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.72;
  font-size: 1rem;
}

.hero-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.panel,
.info-card,
.employee-card,
.feature-card,
.step-card,
.pricing-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(95, 118, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(11, 18, 34, 0.94), rgba(8, 14, 27, 0.96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-visual {
  padding: 24px;
}

.core-list,
.setup-list,
.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.core-list li,
.setup-list li,
.pricing-card li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}

.core-list li + li,
.setup-list li + li,
.pricing-card li + li {
  margin-top: 10px;
}

.core-list li::before,
.setup-list li::before,
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 0 4px rgba(100, 167, 255, 0.1);
}

.hero-dashboard {
  display: grid;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(159, 189, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(101, 123, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 25, 46, 0.96), rgba(9, 16, 31, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 56px rgba(5, 10, 22, 0.3);
}

.hero-dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-dashboard__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.hero-dashboard__badge,
.hero-row__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-dashboard__badge {
  border: 1px solid rgba(131, 201, 160, 0.18);
  background: rgba(32, 71, 53, 0.42);
  color: #d8ffea;
}

.hero-dashboard__rows {
  display: grid;
  gap: 12px;
}

.hero-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(181, 205, 255, 0.1);
  border-radius: 18px;
  background: rgba(12, 20, 38, 0.76);
}

.hero-row__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(100, 167, 255, 0.08);
}

.hero-row__dot--cyan {
  background: var(--cyan);
}

.hero-row__dot--green {
  background: var(--green);
}

.hero-row__dot--amber {
  background: var(--amber);
}

.hero-row__dot--violet {
  background: var(--violet);
}

.hero-row__dot--blue {
  background: var(--blue);
}

.hero-row__copy {
  display: grid;
  gap: 5px;
}

.hero-row__copy strong,
.info-card h3,
.employee-card h3,
.feature-card h3,
.step-card h3,
.pricing-card h3,
.faq-question {
  color: var(--text);
}

.hero-row__copy span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.hero-row__status {
  border: 1px solid rgba(154, 181, 255, 0.14);
  background: rgba(18, 29, 51, 0.9);
  color: #d7e4ff;
}

.hero-dashboard__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.hero-dashboard__summary span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(159, 189, 255, 0.14);
  background: rgba(10, 17, 31, 0.82);
  color: #d7e4ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.section {
  margin-top: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.04;
}

.section-heading p {
  margin: 0;
  line-height: 1.72;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.employee-card,
.feature-card,
.step-card,
.pricing-card {
  padding: 24px;
}

.info-card h3,
.employee-card h3,
.feature-card h3,
.step-card h3,
.pricing-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.info-card p,
.employee-card p,
.feature-card p,
.step-card p,
.pricing-card p {
  margin: 0;
  line-height: 1.68;
}

.setup-section,
.workflow-section,
.final-cta {
  padding: 30px;
}

.setup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.setup-list {
  padding: 22px;
  border: 1px solid rgba(160, 190, 255, 0.12);
  border-radius: 22px;
  background: rgba(7, 14, 28, 0.56);
}

.steps-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #08111f;
  font-weight: 800;
  background: linear-gradient(135deg, #9cefff, #d1c8ff);
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card--featured {
  border-color: rgba(162, 193, 255, 0.34);
  background:
    radial-gradient(circle at top right, rgba(92, 160, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(15, 24, 45, 0.98), rgba(8, 14, 27, 0.98));
}

.pricing-badge {
  width: fit-content;
  color: #08111f;
  background: linear-gradient(135deg, #9cefff, #d1c8ff);
}

.price {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.pricing-card .primary-button,
.pricing-card .secondary-button {
  width: 100%;
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e7eeff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
}

.faq-item.is-open .faq-answer {
  max-height: 180px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  line-height: 1.72;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.final-cta__copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(173, 195, 255, 0.1);
}

.brand--footer {
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1210px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-text,
  .hero-note {
    max-width: 46rem;
  }

  .card-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--four,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    border-radius: 28px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    display: none;
    justify-content: flex-start;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    grid-area: actions;
    justify-content: flex-start;
  }

  .setup-grid,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 28px));
    padding-top: 16px;
  }

  .hero {
    gap: 24px;
    padding-top: 40px;
  }

  .hero-visual {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 7vw, 3.8rem);
  }

  .hero-dashboard {
    padding: 20px;
  }

  .hero-row {
    grid-template-columns: 1fr;
  }

  .card-grid--three,
  .card-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    margin-top: 68px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 20px));
    padding-bottom: 48px;
  }

  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-copy small {
    font-size: 0.84rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 2.95rem);
  }

  .hero-text,
  .section-heading p,
  .hero-note {
    font-size: 1rem;
  }

  .hero-row {
    padding: 14px;
    gap: 10px;
  }

  .card-grid--three,
  .card-grid--four,
  .card-grid--five,
  .pricing-grid,
  .steps-grid,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .hero-actions,
  .final-cta__actions {
    display: grid;
    width: 100%;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a,
  .text-link,
  .header-actions .primary-button,
  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .pricing-card .primary-button,
  .pricing-card .secondary-button,
  .final-cta__actions .primary-button,
  .final-cta__actions .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .setup-section,
  .workflow-section,
  .final-cta,
  .hero-visual {
    padding: 20px;
  }

  .hero-dashboard__summary span,
  .hero-row__status,
  .hero-dashboard__badge {
    width: fit-content;
  }

  .faq-question {
    padding: 18px 18px;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }

  .site-footer {
    gap: 18px;
  }
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(180, 202, 255, 0.18);
  border-radius: 14px;
  background: rgba(10, 17, 31, 0.78);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}
