/* ====== Reset & Base ====== */
*, *::before, *::after { margin:0; padding:0; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #000000;
  --surface: rgba(22,22,28,.72);
  --surface-2: rgba(36,36,42,.78);
  --surface-3: rgba(52,52,58,.72);
  --text: #f5f5f7;
  --text-secondary: #a1a1a8;
  --text-tertiary: #6e6e75;
  --accent: #e5e5ea;
  --border: rgba(255,255,255,.09);
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  background: #08080c;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ====== Canvas Particle BG ====== */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}

/* Floating gradient orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%);
  top: -10%; left: -8%;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,.45), transparent 70%);
  top: 35%; right: -12%;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}
.orb-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(168,85,247,.4), transparent 70%);
  bottom: 5%; left: 15%;
  animation: orbFloat3 16s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,80px) scale(1.15); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-50px,60px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-50px) scale(1.12); }
}

/* ====== Scroll Reveal ====== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ====== Nav ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,8,12,.65);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-bottom: .5px solid var(--border);
  transition: background .3s;
}
.nav.scrolled {
  background: rgba(8,8,12,.88);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--text);
}
.nav-logo-img { border-radius: 7px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ====== Hero ====== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-icon {
  width: 144px; height: 144px;
  border-radius: 32px;
  box-shadow:
    0 8px 40px rgba(0,0,0,.5),
    0 2px 12px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.1);
  margin-bottom: 32px;
  transition: transform .4s var(--ease);
}
.hero-icon:hover { transform: scale(1.04); }
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255,255,255,.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-tertiary);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-platforms {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--surface);
  border: .5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
}
.platform-svg { width: 15px; height: 15px; opacity: .75; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-radius: 980px;
  transition: all .3s var(--ease);
  border: .5px solid rgba(255,255,255,.16);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.btn-primary:hover::before { opacity: 1; }

/* Hero Version Badges */
.hero-version {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.version-badge {
  display: inline-flex;
  padding: 5px 14px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: .5px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.update-date {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* ====== Sections ====== */
.section {
  position: relative;
  z-index: 1;
  padding: 110px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  position: relative;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-tertiary), transparent);
  opacity: .4;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.15;
}

/* ====== Feature Grid ====== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface);
  border: .5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 60px rgba(0,0,0,.35),
    0 4px 16px rgba(0,0,0,.2);
  background: var(--surface-2);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .3s, transform .3s var(--ease);
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(99,102,241,.15);
  transform: scale(1.06);
}
.feature-svg { width: 24px; height: 24px; color: var(--accent); }
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.012em;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* ====== Download ====== */
.download-section { padding-top: 110px; padding-bottom: 130px; }
.download-box {
  max-width: 540px;
  margin: 48px auto 0;
  background: var(--surface);
  border: .5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.download-box-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.download-box-header h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.012em;
}
.version-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,.05);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 4px;
}
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  background: rgba(255,255,255,.035);
  border: .5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  transition: all .25s var(--ease);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.dl-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.dl-btn:hover {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.16);
  transform: translateX(4px);
}
.dl-btn:hover::after { opacity: 1; }
.dl-btn-text strong { display: block; font-size: 15px; font-weight: 600; }
.dl-btn-text small { display: block; font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.dl-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translateX(-6px);
  transition: all .25s var(--ease);
}
.dl-btn:hover .dl-arrow { opacity: 1; transform: translateX(0); }
.download-note { font-size: 12px; color: var(--text-tertiary); text-align: center; }

/* ====== FAQ ====== */
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.faq-item {
  background: var(--surface);
  border: .5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(255,255,255,.14); }
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  user-select: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform .25s var(--ease), color .2s;
  width: 24px; text-align: center;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ====== Footer ====== */
.footer {
  position: relative;
  z-index: 1;
  border-top: .5px solid var(--border);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.footer-copy { font-size: 12px; color: var(--text-tertiary); }

/* Footer Contact */
.footer-contact { text-align: center; margin-top: 8px; }
.footer-contact-title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: .03em;
}
.contact-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: .5px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: all .25s ease;
}
.contact-link:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* ====== Gallery ====== */
.gallery-section {
  position: relative;
  z-index: 1;
  padding: 110px 24px 130px;
}
.gallery-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.gallery-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-align: center;
  margin-bottom: 56px;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255,255,255,.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Screenshot card */
.gallery-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 14px;
  background: #0a0a0e;
  box-shadow:
    0 16px 48px rgba(0,0,0,.45),
    0 4px 12px rgba(0,0,0,.25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: .5px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover .gallery-img {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 24px 64px rgba(0,0,0,.5),
    0 8px 20px rgba(0,0,0,.3);
}
.gallery-item:hover .gallery-img img {
  transform: scale(1.04);
}
.gallery-img-hero {
  max-width: 580px;
  margin: 0 auto;
  aspect-ratio: 3/5;
}
.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.025);
}
.gallery-placeholder span {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
  text-align: center;
}

.gallery-hero { margin-bottom: 36px; text-align: center; }
.gallery-caption { font-size: 14px; color: var(--text-tertiary); }

.gallery-row {
  display: grid;
  gap: 22px;
  margin-bottom: 30px;
}
.gallery-row-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-row-2 { grid-template-columns: repeat(2, 1fr); }

.gallery-item { text-align: center; }
.gallery-label {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 4px 14px;
  border-radius: 100px;
  border: .5px solid var(--border);
  backdrop-filter: blur(8px);
}
.gallery-item-lg .gallery-img { max-width: 380px; }
.gallery-item:not(.gallery-item-lg) .gallery-img { max-width: 280px; }

/* Video */
.video-section { margin-top: 90px; text-align: center; }
.video-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255,255,255,.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.video-card {
  display: block;
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.video-card:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .25s;
}
.video-play-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: transform .25s, background .25s;
}
.video-play-circle svg { margin-left: 3px; }
.video-card:hover .video-play { background: rgba(0,0,0,.12); }
.video-card:hover .video-play-circle { transform: scale(1.08); background: rgba(255,255,255,.26); }
.video-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #00A1D6;
  padding: 3px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}
.video-hint {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color .2s;
}
.video-card:hover ~ .video-hint { color: var(--text-secondary); }

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-icon { width: 110px; height: 110px; border-radius: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-title,
  .gallery-title,
  .video-title { font-size: 28px; }
  .gallery-row-3,
  .gallery-row-2 {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-img-hero,
  .gallery-img { max-width: 100%; border-radius: 12px; }
  .video-card { border-radius: 10px; }
  .orb { display: none; }
}
