:root {
  --bg: #f5f0ff;
  --bg-deep: #ece3fb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(129, 95, 212, 0.18);
  --line-strong: rgba(124, 86, 214, 0.26);
  --text: #1f1831;
  --muted: #6c5e81;
  --purple: #8b5cf6;
  --purple-deep: #6f43de;
  --purple-soft: #efe6ff;
  --purple-ink: #4b2c99;
  --green: #26b96d;
  --green-soft: #dff7ea;
  --red: #ef5b7f;
  --red-soft: #ffe5ec;
  --warning: #d38d2f;
  --warning-soft: #fff0db;
  --shadow-soft: 0 24px 60px rgba(89, 61, 143, 0.1);
  --shadow-strong: 0 36px 96px rgba(69, 46, 124, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(179, 138, 255, 0.2), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(148, 109, 255, 0.2), transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(206, 183, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #fffeff 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  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: 42px 42px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 82%);
  opacity: 0.24;
  pointer-events: none;
}

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

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  top: -10rem;
  right: -10rem;
  width: 26rem;
  height: 26rem;
  background: rgba(149, 103, 255, 0.26);
}

.ambient-two {
  left: -9rem;
  top: 28rem;
  width: 20rem;
  height: 20rem;
  background: rgba(215, 193, 255, 0.3);
}

.ambient-three {
  right: 10%;
  bottom: -9rem;
  width: 23rem;
  height: 23rem;
  background: rgba(114, 70, 202, 0.16);
}

.topbar,
.hero,
.section,
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.topbar {
  margin-top: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8f3ff, #eadcff);
  color: var(--purple-deep);
  font-size: 1.06rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
.hero h1,
.section-title h2,
.intro-card h2,
.metric-card strong,
.product-card h3,
.workflow-card h3,
.details-copy h2,
.about-panel h2,
.config-card strong,
.demo-title-wrap strong,
.cta-panel h2 {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav,
.topbar-actions,
.hero-actions,
.demo-top-actions,
.results-tools,
.config-pills,
.chip-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.ghost-btn,
.nav-cta,
.primary-btn,
.secondary-btn,
.sidebar-item,
.toolbar-btn,
.scan-trigger {
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.nav a:hover,
.ghost-btn:hover {
  color: var(--purple-deep);
}

.ghost-btn,
.secondary-btn,
.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--purple-ink);
  font-weight: 800;
}

.nav-cta,
.primary-btn,
.scan-trigger {
  background: linear-gradient(135deg, var(--purple), #9f6cff);
  color: #fff;
  box-shadow: 0 18px 34px rgba(139, 92, 246, 0.24);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.sidebar-item:hover,
.toolbar-btn:hover,
.scan-trigger:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 44px;
  align-items: center;
  padding: 84px 0 48px;
}

.section {
  padding: 72px 0 0;
}

.eyebrow,
.section-title span,
.cta-mark,
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(136, 93, 230, 0.14);
  color: var(--purple-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.56);
}

.hero h1,
.section-title h2,
.details-copy h2,
.cta-panel h2 {
  margin: 20px 0 0;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
}

.hero h1 span {
  display: block;
  color: #5d4a84;
}

.hero-text,
.product-card p,
.workflow-card p,
.details-copy p,
.details-list span,
.intro-card p,
.about-panel p,
.config-card p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
}

.primary-btn,
.secondary-btn {
  padding: 15px 22px;
}

.hero-strip,
.metric-ribbon,
.workflow-grid,
.product-grid,
.config-grid,
.about-points {
  display: grid;
  gap: 14px;
}

.hero-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.hero-strip article,
.product-card,
.workflow-card,
.details-shell,
.cta-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-strip span,
.card-kicker,
.metric-card span,
.scanner-footer-label,
.about-kicker,
.config-card span,
.results-toolbar-copy span,
.demo-caption,
.details-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.hero-scene {
  min-height: 760px;
}

.scene-panel {
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px);
}

.scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(143, 103, 231, 0.14);
  background: rgba(255, 255, 255, 0.56);
}

.scene-lights {
  display: flex;
  gap: 8px;
}

.scene-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.26);
}

.scene-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.scene-body {
  display: grid;
  grid-template-columns: 144px 1fr;
  min-height: 700px;
}

.scene-sidebar {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, #7545d8 0%, #5728b4 100%);
  color: #fff;
}

.sidebar-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 14px;
}

.sidebar-item {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.sidebar-item.active {
  background: #fff;
  color: var(--purple-deep);
  font-weight: 800;
}

.scene-content {
  padding: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(178, 145, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #fffdff 0%, #f7f0ff 100%);
}

.demo-topbar,
.results-toolbar,
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demo-topbar {
  margin-bottom: 18px;
}

.demo-title-wrap strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.demo-chip {
  background: rgba(255, 255, 255, 0.74);
}

.demo-chip-green {
  background: var(--green-soft);
  color: var(--green);
}

.demo-view {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}

.demo-view.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: viewIn 260ms ease;
}

.glass-card,
.metric-card {
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(145, 109, 226, 0.14);
  box-shadow: 0 22px 46px rgba(90, 64, 146, 0.08);
}

.intro-card,
.results-toolbar,
.results-frame,
.about-panel,
.config-card {
  padding: 20px;
}

.chip-row,
.config-pills,
.results-toolbar-actions {
  flex-wrap: wrap;
}

.chip-row span,
.config-pills span,
.toolbar-btn {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.intro-card h2,
.about-panel h2 {
  margin: 18px 0 0;
  font-size: 1.84rem;
  letter-spacing: -0.04em;
}

.intro-card p,
.about-panel p,
.config-card p {
  margin: 12px 0 0;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 14px;
  margin-top: 22px;
}

.search-field,
.scan-trigger {
  min-height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
}

.search-field {
  justify-content: space-between;
  padding: 0 18px;
  background: #f4eeff;
  border: 1px solid rgba(138, 97, 228, 0.2);
}

.search-field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.search-value {
  font-weight: 800;
  color: var(--purple-ink);
}

.scan-trigger {
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
}

.scan-trigger.is-loading {
  background: linear-gradient(135deg, #baa8e3, #9f8bcc);
  box-shadow: none;
}

.metric-ribbon,
.config-grid,
.about-points,
.product-grid,
.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-ribbon,
.config-grid {
  margin-top: 14px;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.metric-card small {
  color: var(--muted);
}

.metric-card.found {
  background: linear-gradient(180deg, rgba(223, 248, 234, 0.95), rgba(255, 255, 255, 0.95));
}

.metric-card.missing {
  background: linear-gradient(180deg, rgba(255, 232, 238, 0.95), rgba(255, 255, 255, 0.95));
}

.metric-card.blocked {
  background: linear-gradient(180deg, rgba(241, 233, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.scanner-footer {
  margin-top: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scanner-footer strong {
  display: block;
  margin-top: 8px;
}

.results-toolbar-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.toolbar-btn {
  border: 1px solid transparent;
  cursor: pointer;
}

.toolbar-btn.active {
  background: #fff;
  border-color: var(--line-strong);
}

.results-frame {
  margin-top: 14px;
}

.results-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.results-list {
  display: grid;
  margin-top: 14px;
}

.result-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.5fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
}

.result-row:nth-child(even) {
  background: rgba(244, 239, 255, 0.74);
}

.result-row strong {
  font-size: 0.96rem;
}

.result-row small {
  color: var(--muted);
  text-align: right;
}

.result-row.is-hidden {
  display: none;
}

.badge {
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.badge.success {
  color: var(--green);
  background: var(--green-soft);
}

.badge.danger {
  color: var(--red);
  background: var(--red-soft);
}

.badge.warning {
  color: var(--warning);
  background: var(--warning-soft);
}

.about-points {
  margin-top: 18px;
}

.about-points article,
.product-card,
.workflow-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(138, 97, 228, 0.12);
}

.about-points strong,
.product-card h3,
.workflow-card h3 {
  display: block;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 22px;
}

.section-title h2 {
  max-width: 12ch;
}

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

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

.workflow-card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  margin-bottom: 16px;
}

.details-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.details-list {
  display: grid;
  gap: 14px;
}

.details-list article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(138, 97, 228, 0.12);
}

.details-list strong {
  display: block;
  margin-bottom: 8px;
}

.cta-panel {
  padding: 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.footer {
  padding: 52px 0 34px;
}

.footer-inner {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(139, 92, 246, 0.14);
  color: var(--muted);
}

.footer-inner strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero,
  .details-shell {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .config-grid,
  .about-points {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .topbar,
  .demo-topbar,
  .results-toolbar,
  .results-header,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-strip,
  .metric-ribbon,
  .scanner-footer,
  .result-row,
  .search-shell,
  .scene-body,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .scene-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-logo {
    margin-bottom: 0;
    margin-right: 8px;
  }

  .result-row small {
    text-align: left;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  .section,
  .footer-inner {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    margin-top: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 14px;
    border-radius: 30px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 0.96rem;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .topbar-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .topbar-actions .ghost-btn,
  .topbar-actions .nav-cta {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
  }

  .hero {
    padding-top: 34px;
    gap: 26px;
  }

  .eyebrow {
    font-size: 0.74rem;
    padding: 9px 12px;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.35rem, 12vw, 3.55rem);
    line-height: 0.9;
  }

  .hero-text {
    font-size: 0.94rem;
  }

  .scene-panel {
    border-radius: 28px;
  }

  .scene-top,
  .scene-content,
  .scene-sidebar {
    padding: 14px;
  }

  .scene-sidebar {
    gap: 8px;
  }

  .sidebar-item {
    width: calc(50% - 4px);
    text-align: center;
    padding: 11px 10px;
    font-size: 0.88rem;
  }

  .scene-content,
  .intro-card,
  .results-toolbar,
  .results-frame,
  .about-panel,
  .config-card,
  .hero-strip article,
  .product-card,
  .workflow-card,
  .details-shell,
  .cta-panel {
    padding: 16px;
  }
}
