:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #171717;
  --surface-2: rgba(23, 23, 23, 0.72);
  --text: #ffffff;
  --muted: #a3a3a3;
  --faint: #737373;
  --border: rgba(250, 204, 21, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);
  --yellow: #facc15;
  --gold: #eab308;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 44px rgba(250, 204, 21, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 10%, rgba(250, 204, 21, 0.16), transparent 30rem),
    radial-gradient(circle at 8% 24%, rgba(250, 204, 21, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
  z-index: -2;
}

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

img,
svg {
  display: block;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1380px, calc(100% - 32px));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.82);
  border-color: rgba(250, 204, 21, 0.18);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(250, 204, 21, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d4;
}

.site-nav a {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.nav-ghost {
  border: 1px solid var(--border-soft);
}

.site-nav .nav-primary {
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--yellow), var(--gold));
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.24);
}

.menu-toggle {
  display: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  margin: auto;
}

.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 44px;
  padding: 72px 0 76px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy h1 {
  color: var(--text);
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-copy p,
.section-heading p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p {
  max-width: 580px;
  margin: 28px 0 34px;
  font-size: 18px;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  min-height: 56px;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #080808;
  background: linear-gradient(180deg, var(--yellow), var(--gold));
  box-shadow: 0 0 42px rgba(250, 204, 21, 0.28);
}

.button-secondary {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 38px rgba(250, 204, 21, 0.08);
  animation: spin 18s linear infinite;
}

.orbit-one {
  width: 620px;
  height: 390px;
  transform: rotate(-10deg);
}

.orbit-two {
  width: 500px;
  height: 310px;
  transform: rotate(16deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.dashboard-card,
.feature-card,
.comparison-table,
.faq details,
.float-card {
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(23, 23, 23, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  min-height: 430px;
  display: grid;
  grid-template-columns: 190px 1fr;
  border-radius: 8px;
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-8deg);
  box-shadow: var(--shadow), var(--glow);
}

.dash-sidebar {
  padding: 22px 16px;
  border-right: 1px solid var(--border-soft);
}

.dash-logo,
.dash-item,
.dash-top,
.request,
.activation-float {
  display: flex;
  align-items: center;
}

.dash-logo {
  gap: 8px;
  margin-bottom: 22px;
  font-weight: 800;
  font-size: 14px;
}

.dash-logo span,
.comparison-table h3 span {
  width: 17px;
  height: 17px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.dash-item {
  gap: 9px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.dash-item svg {
  width: 15px;
  height: 15px;
}

.dash-item.active {
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.12);
}

.dash-main {
  padding: 24px;
}

.dash-top {
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-top h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.dash-top h2 {
  font-size: 24px;
}

.dash-top span,
.request em {
  color: var(--yellow);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-grid div,
.request-panel,
.workflow-panel {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
}

.metric-grid strong {
  display: block;
  font-size: 24px;
}

.metric-grid span,
.panel-title,
.request,
.workflow-panel li,
.float-card span,
.float-card small {
  color: var(--muted);
  font-size: 12px;
}

.panel-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 14px;
}

.panel-title {
  margin-bottom: 12px;
  color: #f5f5f5;
  font-weight: 800;
}

.request {
  gap: 8px;
  justify-content: space-between;
  min-height: 34px;
}

.request b {
  flex: 1;
  color: #f5f5f5;
  font-size: 12px;
}

.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.purple { background: #7c3aed; }
.blue { background: #38bdf8; }
.green { background: #22c55e; }
.pink { background: #ec4899; }

.workflow-panel ol {
  margin: 0;
  padding-left: 20px;
}

.workflow-panel li {
  margin: 0 0 15px;
}

.workflow-panel li::marker {
  color: var(--yellow);
}

.float-card {
  position: absolute;
  z-index: 3;
  border-radius: 8px;
  padding: 18px;
  animation: float 5s ease-in-out infinite;
}

.activity-float strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
}

.activity-float {
  right: 14px;
  top: 48px;
  width: 250px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(3deg);
  animation-delay: -1.8s;
}

.activity-float::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), transparent 45%);
  pointer-events: none;
}

.activity-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--yellow), var(--gold));
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.28);
}

.activity-icon svg {
  width: 22px;
  height: 22px;
}

.activity-float small {
  display: block;
}

.activation-float {
  right: 24px;
  bottom: 68px;
  gap: 12px;
  width: 290px;
  animation-delay: -3s;
}

.activation-float svg {
  color: #5865f2;
  fill: rgba(88, 101, 242, 0.18);
}

.activation-float b,
.activation-float span {
  display: block;
  font-size: 13px;
}

.activation-float span {
  color: var(--muted);
  margin-top: 4px;
}

.features,
.comparison,
.faq {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading p {
  margin: 14px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 210px;
  padding: 26px;
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow: var(--shadow), var(--glow);
}

.feature-card > svg {
  width: 34px;
  height: 34px;
  color: var(--yellow);
}

.feature-card h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.table-column {
  padding: 28px;
}

.table-column + .table-column {
  border-left: 1px solid var(--border-soft);
}

.table-column.winner {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.18), rgba(250, 204, 21, 0.04));
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.38);
}

.table-column h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 20px;
}

.table-column p {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0;
  color: #e5e5e5;
  border-top: 1px solid var(--border-soft);
}

.table-column svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq details {
  border-radius: 8px;
  overflow: hidden;
}

.faq summary {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 22px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  width: min(1240px, calc(100% - 40px));
  margin: 40px auto 0;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 42px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px 24px;
  color: #d4d4d4;
  font-size: 14px;
}

.footer a:hover {
  color: var(--yellow);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

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

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

}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    padding: 12px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .dashboard-card {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .float-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 14px;
    transform: none;
  }

  .hero-visual {
    display: block;
    min-height: auto;
  }

  .orbit {
    display: none;
  }

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

@media (max-width: 680px) {
  .site-header,
  .section,
  .footer {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    padding: 48px 0 54px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .metric-grid,
  .panel-row,
  .feature-grid,
  .comparison-table,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    transform: none;
  }

  .dash-main {
    padding: 18px;
  }

  .table-column + .table-column {
    border-left: 0;
    border-top: 1px solid var(--border-soft);
  }

}
