:root {
  --bg: #07111f;
  --bg-2: #0d1b2f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f7fbff;
  --muted: #a8b8cf;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #1687ff;
  --cyan: #75f4dd;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --container: min(1200px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 16% 4%, rgba(22, 135, 255, .38), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(117, 244, 221, .22), transparent 28%),
    linear-gradient(180deg, #06101e 0%, #0b1728 44%, #06101d 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%);
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin: 0 auto; }
.page-shell { position: relative; overflow: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(6, 15, 29, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand, .nav-links, .nav-actions, .hero-actions, .hero-meta, .footer-links, .release-badges { display: flex; align-items: center; }
.brand { gap: 12px; font-size: 20px; font-weight: 850; }
.brand-mark { width: 40px; height: 40px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #1b8dff, #7cf5dd); box-shadow: 0 18px 42px rgba(22,135,255,.32); }
.nav-links, .nav-actions, .hero-meta, .footer-links, .release-badges { gap: 18px; }
.nav-links, .nav-link-secondary { color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-link-secondary:hover, .footer-links a:hover, .release-link:hover { color: #fff; }
.nav-button, .button { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 750; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.nav-button, .button.primary { border-color: transparent; background: linear-gradient(135deg, #1487ff, #51a7ff 55%, #7cf5dd); color: white; box-shadow: 0 18px 46px rgba(22,135,255,.32); }
.button.secondary { background: rgba(255,255,255,.07); color: #edf6ff; }
.nav-button:hover, .button:hover { transform: translateY(-2px); }

.hero-section { position: relative; padding: 86px 0 42px; }
.hero-glow { position: absolute; pointer-events: none; filter: blur(24px); border-radius: 999px; }
.hero-glow-a { width: 520px; height: 520px; left: -120px; top: 60px; background: rgba(22,135,255,.22); }
.hero-glow-b { width: 680px; height: 680px; right: -140px; top: -100px; background: rgba(117,244,221,.14); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); color: #d9ecff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.eyebrow.soft { color: #bfe8ff; background: rgba(22,135,255,.12); border-color: rgba(81,167,255,.26); }
.hero-copy h1 { margin: 18px 0; font-size: clamp(46px, 6.4vw, 82px); line-height: .98; letter-spacing: -.06em; }
.hero-desc { margin: 0; color: #b7c7da; font-size: 19px; line-height: 1.85; }
.hero-actions { gap: 14px; margin-top: 30px; }
.hero-meta { margin-top: 24px; flex-wrap: wrap; color: #cfe4fb; font-size: 13px; }
.hero-meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.055); }
.hero-showcase { position: relative; min-height: 520px; }
.hero-card { position: relative; border: 1px solid rgba(255,255,255,.16); border-radius: 32px; padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); box-shadow: var(--shadow); }
.mac-dots { display: flex; gap: 8px; padding: 0 0 12px 4px; }
.mac-dots span { width: 12px; height: 12px; border-radius: 50%; }
.mac-dots span:nth-child(1) { background: #ff5f57; } .mac-dots span:nth-child(2) { background: #ffbd2e; } .mac-dots span:nth-child(3) { background: #28c840; }
.hero-preview-shell { overflow: hidden; border-radius: 24px; background: #f6f8fb; }
.hero-preview-shell img { width: 100%; aspect-ratio: 1.087 / 1; object-fit: cover; object-position: top left; }
.floating-panel { position: absolute; width: 240px; padding: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,17,31,.82); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.floating-panel span { display: block; color: var(--cyan); font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.floating-panel strong { font-size: 16px; line-height: 1.45; }
.panel-reply { right: -16px; top: 56px; }
.panel-ocr { left: -28px; bottom: 56px; }

.section { padding: 74px 0; }
.feature-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-top: 26px; }
.feature-strip article { min-height: 142px; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); }
.feature-strip b { display: block; font-size: 20px; margin-bottom: 12px; }
.feature-strip span { color: var(--muted); line-height: 1.65; }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading--wide { max-width: 980px; }
.section-heading h2 { margin: 16px 0 12px; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.preview-carousel { border-radius: 36px; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.13); box-shadow: var(--shadow); }
.carousel-frame { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; width: 600%; animation: productCarousel 30s infinite; }
.slide { width: calc(100% / 6); margin: 0; position: relative; background: #f7f9fb; }
.slide img { width: 100%; aspect-ratio: 1.087 / 1; object-fit: cover; object-position: top left; }
.slide figcaption { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 22px; color: #ecf7ff; background: rgba(5,15,30,.76); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.18); }
.slide figcaption b { font-size: 22px; white-space: nowrap; }
.slide figcaption span { color: #cbd9e8; line-height: 1.55; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; padding: 18px 0 4px; }
.carousel-dots span { width: 34px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.22); }
@keyframes productCarousel {
  0%, 13% { transform: translateX(0); }
  16.666%, 29.666% { transform: translateX(-16.666%); }
  33.333%, 46.333% { transform: translateX(-33.333%); }
  50%, 63% { transform: translateX(-50%); }
  66.666%, 79.666% { transform: translateX(-66.666%); }
  83.333%, 96.333% { transform: translateX(-83.333%); }
  100% { transform: translateX(0); }
}

.capability-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.capability-card { min-height: 300px; padding: 26px; border-radius: 30px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.075); position: relative; overflow: hidden; }
.capability-card::before { content: ""; position: absolute; inset: auto -30px -50px auto; width: 160px; height: 160px; border-radius: 50%; filter: blur(5px); opacity: .28; background: var(--accent, #51a7ff); }
.card-kicker { color: #8bdfff; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.capability-card h3 { margin: 16px 0 12px; font-size: 28px; letter-spacing: -.03em; }
.capability-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.accent-blue { --accent: #1687ff; } .accent-violet { --accent: #a78bfa; } .accent-cyan { --accent: #75f4dd; } .accent-green { --accent: #4ade80; } .accent-orange { --accent: #fb923c; }

.premium-shell, .download-layout { border-radius: 36px; padding: 42px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, rgba(22,135,255,.15), rgba(255,255,255,.07)); box-shadow: var(--shadow); }
.premium-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.premium-copy h2, .download-copy h2 { margin: 16px 0; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.premium-copy p, .download-copy p, .premium-point p, .release-subtitle, .faq-item p, .footer p { color: var(--muted); line-height: 1.75; }
.premium-points { display: grid; gap: 14px; }
.premium-point { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); }
.premium-point strong { font-size: 20px; }
.premium-point p { margin: 8px 0 0; }

.download-layout { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: center; }
.download-steps { display: grid; gap: 12px; margin-top: 24px; }
.download-step { display: flex; align-items: center; gap: 12px; color: #dcecff; }
.download-step b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(117,244,221,.18); color: var(--cyan); }
.release-card { padding: 26px; border-radius: 28px; background: rgba(5,13,25,.72); border: 1px solid rgba(255,255,255,.13); }
.release-meta-label { color: var(--muted); font-size: 13px; }
.release-version { margin-top: 8px; font-size: 36px; font-weight: 850; }
.release-badges { flex-wrap: wrap; margin: 16px 0 22px; }
.release-badges span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dcecff; font-size: 12px; }
.release-download { width: 100%; }
.release-subtitle { margin: 14px 0; font-size: 14px; }
.release-terminal { padding: 16px; border-radius: 18px; background: #07101d; border: 1px solid rgba(255,255,255,.1); color: #d3e8ff; line-height: 1.8; }
.small-bar { padding-bottom: 10px; }
.small-bar span { width: 9px; height: 9px; }
.release-link { display: inline-flex; margin-top: 16px; color: #8bdfff; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 800; }
.faq-item p { margin: 12px 0 0; }
.footer { padding: 34px 0 50px; display: flex; justify-content: space-between; gap: 20px; color: #d9e9fa; }
.footer p { margin: 8px 0 0; }

@media (max-width: 1100px) {
  .hero-grid, .premium-shell, .download-layout { grid-template-columns: 1fr; }
  .feature-strip, .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-showcase { min-height: auto; }
  .floating-panel { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-link-secondary { display: none; }
  .hero-section { padding-top: 48px; }
  .hero-copy h1 { font-size: 44px; }
  .feature-strip, .capability-grid, .faq-grid { grid-template-columns: 1fr; }
  .slide figcaption { position: static; border-radius: 0; display: block; background: #07101d; }
  .slide figcaption span { display: block; margin-top: 8px; }
  .premium-shell, .download-layout { padding: 26px; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { animation: none; }
}
