:root {
  color-scheme: dark;
  --bg: #101116;
  --surface: #17181f;
  --surface-2: #1d1f28;
  --line: #2a2c38;
  --text: #f5f5f8;
  --muted: #9295a3;
  --accent: #8f75ff;
  --accent-2: #56c7ff;
  --green: #56d6a0;
  --yellow: #ffc857;
  --red: #ff667d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.ambient { position: fixed; width: 500px; height: 500px; border-radius: 50%; filter: blur(130px); opacity: .12; pointer-events: none; z-index: -1; }
.ambient-one { top: -220px; right: -100px; background: var(--accent); }
.ambient-two { bottom: -300px; left: -180px; background: var(--accent-2); }

.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: baseline; font-weight: 900; font-style: italic; letter-spacing: -.06em; font-size: 25px; }
.brand-accent { color: var(--accent); }
.nav nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
.nav nav a { transition: color .2s ease; }
.nav nav a:hover { color: var(--text); }
.language { width: 50px; height: 36px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--surface); cursor: pointer; }

.hero { min-height: 690px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; padding-block: 70px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c4c6d1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(86,214,160,.09); }
h1 { max-width: 650px; margin: 24px 0 22px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 590px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 12px; padding: 0 21px; font-size: 14px; font-weight: 700; transition: transform .2s ease, border-color .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--accent), #7058e7); }
.button.secondary { background: var(--surface); border: 1px solid var(--line); }
.button.disabled { opacity: .45; pointer-events: none; }
.version { min-height: 22px; margin-top: 15px; color: #717582; font-size: 12px; }

.product-card { border: 1px solid #303342; border-radius: 22px; background: rgba(24,25,32,.88); box-shadow: 0 28px 90px rgba(0,0,0,.35); overflow: hidden; transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); }
.window-bar { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #777b89; font-size: 10px; letter-spacing: .1em; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #353845; }
.window-bar i:first-child { background: var(--accent); }
.window-bar span { margin-left: auto; }
.window-body { min-height: 390px; display: flex; }
.sidebar { width: 70px; padding: 20px 15px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sidebar b { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #3a3d4b; border-radius: 10px; font-style: italic; }
.sidebar span { width: 28px; height: 5px; border-radius: 3px; background: #2a2d38; }
.sidebar .active { background: var(--accent); }
.preview { flex: 1; padding: 24px; }
.preview-top { display: flex; gap: 10px; margin-bottom: 26px; }
.preview-top span { height: 8px; width: 90px; border-radius: 5px; background: #282b36; }
.preview-top span:first-child { width: 130px; background: #353148; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.preview-grid article { position: relative; min-height: 132px; border: 1px solid #292c37; border-radius: 15px; background: #1b1d24; padding: 18px; }
.preview-grid small { display: block; color: #686c7a; font-size: 9px; margin-bottom: 9px; }
.preview-grid strong { font-size: 14px; }
.toggle { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 20px; border-radius: 10px; background: #292c37; }
.toggle::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; left: 3px; top: 3px; background: #858995; }
.toggle.on { background: rgba(143,117,255,.3); }
.toggle.on::after { left: 21px; background: var(--accent); }
.meter { height: 6px; margin-top: 24px; background: #292c37; border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); }
.key { position: absolute; right: 18px; bottom: 15px; border: 1px solid #363946; border-radius: 7px; padding: 5px 9px; color: #858997; font-size: 9px; }

.section { padding-block: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.kicker { display: block; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
h2 { margin: 9px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(23,24,31,.78); }
.feature .index { color: var(--accent); font-size: 12px; font-weight: 800; }
.feature h3 { margin: 70px 0 10px; font-size: 20px; }
.feature p, .steps p, .status-card p { margin: 0; color: var(--muted); font-size: 14px; }

.status-card { min-height: 250px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(120deg, #181920, #1b1925); }
.status-card p { margin-top: 18px; max-width: 680px; }
.status-pill { min-width: 178px; height: 48px; display: flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid currentColor; border-radius: 14px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.status-pill.undetected { color: var(--green); }
.status-pill.updating { color: var(--yellow); }
.status-pill.detected, .status-pill.offline { color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps article { min-height: 150px; display: flex; gap: 18px; padding: 26px; border-top: 1px solid var(--line); }
.steps b { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(143,117,255,.12); color: var(--accent); }
.steps h3 { margin: 3px 0 9px; }

footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 13px; }
.brand.small { color: var(--text); font-size: 18px; }

.reveal { animation: rise .65s ease both; }
.delay { animation-delay: .1s; }
.delay-more { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 45px; }
  .product-card { transform: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature { min-height: 190px; }
  .feature h3 { margin-top: 35px; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 24px, 1160px); }
  .nav { height: 72px; }
  .hero { padding-block: 55px; }
  h1 { font-size: 45px; }
  .hero-actions { flex-direction: column; }
  .product-card { border-radius: 16px; }
  .sidebar { display: none; }
  .preview { padding: 14px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid article:nth-child(n+3) { display: none; }
  .status-card { padding: 28px; align-items: flex-start; flex-direction: column; }
  .status-pill { width: 100%; }
  footer { padding-block: 30px; flex-wrap: wrap; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
}
