:root {
  --bg: #0b1020;
  --bg-soft: #111936;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.14);
  --text: #e8edff;
  --text-soft: #a8b3d9;
  --accent: #6ea8ff;
  --accent-strong: #4a90ff;
  --success: #62d8b7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(circle at 20% 10%, #1a2550 0%, #0b1020 40%, #090e1b 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  animation: float 10s ease-in-out infinite;
}

.bg-glow-1 {
  width: 380px;
  height: 380px;
  background: rgba(76, 142, 255, 0.24);
  top: -120px;
  left: -80px;
}

.bg-glow-2 {
  width: 420px;
  height: 420px;
  background: rgba(98, 216, 183, 0.22);
  right: -120px;
  bottom: 60px;
}

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 12, 28, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 15px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), #7f77ff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(74, 144, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(74, 144, 255, 0.45);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--surface-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--success);
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero-highlight {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.14), rgba(127, 119, 255, 0.2));
  padding: 0.18em 0.36em;
  border-radius: 999px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-subtext {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.meta-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--surface);
}

.meta-value {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.meta-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-top: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 16%;
  width: 1px;
  height: 68%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.35;
  pointer-events: none;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.product-frame {
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  box-shadow: 0 36px 85px rgba(0, 0, 0, 0.24);
}

.frame-top {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.frame-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.product-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-caption {
  margin: 14px 4px 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  text-align: center;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.4rem);
  letter-spacing: -0.01em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  border-color: rgba(110, 168, 255, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(110, 168, 255, 0.12);
  color: var(--accent-strong);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 23, 52, 0.85);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.stat-value {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shot {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.shot figcaption {
  padding: 10px 12px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.download-section {
  padding-top: 54px;
}

.download-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(48, 59, 92, 0.95));
  padding: 42px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%);
  pointer-events: none;
}

.download-card > * {
  position: relative;
}

.download-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.2rem);
}

.download-subtext {
  margin: 12px auto 0;
  color: var(--text-soft);
  max-width: 70ch;
}

.download-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.download-versions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.download-versions p {
  margin: 0;
  color: var(--text-soft);
}

.download-versions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-versions li a {
  color: #a5d8ff;
  text-decoration: underline;
  font-weight: 600;
}

.download-versions li a:hover {
  color: #fff;
}

.download-hint {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.16em 0.42em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e7f0ff;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 46px;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-copy h1,
.section-head h2 {
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.15);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .section {
    padding: 68px 0;
  }

  .meta-list,
  .feature-grid,
  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 28px 18px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 0;
  }
}
