:root {
  --bg: #050915;
  --bg-2: #0a1329;
  --card: #0d162e;
  --text: #eef3ff;
  --muted: #a8b6de;
  --primary: #7f93ff;
  --primary-2: #3be0c9;
  --line: #253358;
  --accent: #ffd27a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html,body { margin: 0; padding:0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 2% -5%, #1b2d61 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 0%, #113944 0%, transparent 55%),
    var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(5,9,21,.62);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display:flex; justify-content:space-between; align-items:center; padding: 14px 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand-text { display: inline; }
.brand-text span { color: var(--primary-2); }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.links { display:flex; gap: 20px; color: var(--muted); font-size: 14px; }
.links a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 22px;
  line-height: 1;
}
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(5,9,21,.96);
}
.mobile-nav a {
  display: block;
  padding: 14px 4%;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--text); }

.btn, .btn-ghost {
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px; padding: 12px 18px; font-weight: 700;
}
.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #04111d;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.03);
}

.hero { padding: 80px 0 30px; }
.hero-grid {
  display:grid; grid-template-columns: 1.12fr .88fr; gap: 34px; align-items:center;
}
.kicker {
  display:inline-flex; gap:8px; align-items:center;
  color: var(--primary-2); font-size: 12px; font-weight: 700;
  letter-spacing: .9px; text-transform: uppercase;
}
.kicker::before { display: none; }
h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03; margin: 14px 0;
}
.sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.badge-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.badge {
  display:inline-block; font-size:12px; color:#a5e9de;
  background:#0c2132; border:1px solid #1f5864;
  padding:5px 10px; border-radius:999px;
}
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 20px; padding: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.hero img {
  width:100%; border-radius:14px; border:1px solid rgba(255,255,255,.12);
}

.metrics {
  margin-top: 14px;
  display:grid; grid-template-columns: repeat(3,1fr); gap:10px;
}
.metric {
  border:1px solid var(--line); border-radius:12px; padding:12px; background:#0b1327;
}
.metric b { font-size: 18px; }
.metric span { display:block; color: var(--muted); font-size: 12px; margin-top:4px; }

.section { padding: 42px 0; }
.section h2 { margin:0 0 10px; font-size: clamp(24px,3vw,34px); }
.section .lead { margin:0 0 18px; color: var(--muted); }

.grid-4 { display:grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.feature {
  padding:16px; border:1px solid var(--line); border-radius:16px;
  background: linear-gradient(180deg, #0c1428, #0a1223);
}
.feature { transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.feature:hover { border-color: var(--primary-2); transform: translateY(-4px); box-shadow: 0 6px 24px rgba(59, 224, 201, 0.12); }
.feature h3 { margin: 8px 0; font-size: 16px; }
.feature p { margin: 0; color:var(--muted); font-size:14px; line-height:1.55; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.step { text-align: center; padding: 24px 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #0c1428, #0a1223); }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #04111d; font-weight: 800; font-size: 20px;
  border-radius: 50%;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.testimonial-card {
  margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, #0c1428, #0a1223); position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 10px; left: 16px;
  font-size: 48px; line-height: 1; color: var(--primary-2); opacity: 0.25; font-family: Georgia, serif;
}
.testimonial-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.65; font-style: italic; padding-top: 8px; }
.testimonial-card cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--primary-2); }

.contact-cta {
  padding: 64px 0; text-align: center;
  background: linear-gradient(135deg, rgba(127,147,255,.12) 0%, rgba(59,224,201,.08) 50%, rgba(127,147,255,.06) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.contact-inner h2 { margin: 0 0 12px; font-size: clamp(24px, 3.5vw, 36px); }
.contact-inner .sub { margin: 0 0 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.gallery { display:grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery img {
  width:100%; border-radius:14px; border:1px solid var(--line);
  transition: transform .18s ease;
}
.gallery img:hover { transform: translateY(-3px); }

/* Video showcase section */
.video-section { padding: 54px 0; }
.video-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.video-info h2 { margin: 0 0 12px; }
.video-info .sub { margin: 0 0 28px; }
.video-features { display: flex; flex-direction: column; gap: 18px; }
.video-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.video-feature:hover {
  border-color: rgba(59,224,201,.25);
  background: rgba(59,224,201,.04);
}
.vf-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.video-feature strong { font-size: 15px; }
.vf-desc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.video-container {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.video-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, rgba(59,224,201,.15) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.video-container:hover {
  border-color: rgba(59,224,201,.4);
  box-shadow:
    0 24px 80px rgba(0,0,0,.35),
    0 0 60px rgba(59,224,201,.12);
}
.video-container:hover::before {
  opacity: 1;
}
.video-container iframe {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
}
.video-container video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  display: block;
  background: var(--bg-2);
}

.split {
  display:grid; grid-template-columns: 1fr 1fr; gap:14px;
}
.panel {
  border:1px solid var(--line); border-radius:16px; padding:16px;
  background:#0c1324;
}
.panel h3 { margin-top: 0; }
.panel ul { margin: 8px 0 0 0; padding-left: 18px; }
.panel li { color: var(--muted); margin: 8px 0; }

.legal { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.legal a {
  border:1px solid var(--line); border-radius:14px; padding:16px;
  background:#0c1324;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.legal a:hover { border-color: var(--primary-2); transform: translateY(-4px); box-shadow: 0 6px 24px rgba(59, 224, 201, 0.12); }
.legal b { display:block; margin-bottom:6px; }
.legal span { color: var(--muted); font-size: 14px; }

.cta {
  border:1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(130deg, rgba(127,147,255,.16), rgba(59,224,201,.10));
  padding: 24px;
}
.cta p { color: var(--muted); margin: 8px 0 18px; }
.store-row { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.store-badge {
  border:1px solid var(--line);
  background:#0b1327;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  font-size:14px;
}
.store-badge:hover { border-color: var(--primary-2); }
.store-badge--disabled {
  opacity: 0.5; cursor: default; pointer-events: none;
}
.waitlist-form { margin: 18px 0 0; }
.waitlist-row {
  display: flex; gap: 10px; max-width: 420px;
}
.waitlist-row input[type="email"] {
  flex: 1; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--text); font-size: 15px; outline: none;
}
.waitlist-row input[type="email"]::placeholder { color: var(--muted); }
.waitlist-row input[type="email"]:focus { border-color: var(--primary-2); }
.waitlist-row .btn { white-space: nowrap; }

.footer {
  border-top:1px solid var(--line);
  margin-top: 42px; padding: 22px 0;
  color: var(--muted); font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.doc { width:min(940px,92%); margin:0 auto; padding:34px 0 60px; }
.doc main {
  background:#0b1222; border:1px solid var(--line); border-radius:16px; padding: 24px;
}
.doc h1 { font-size: 32px; margin-top: 0; }
.doc h2 { font-size: 20px; margin-top: 26px; }
.doc p,.doc li { color:#d5def6; line-height:1.72; }

/* FAQ section */
.faq-group { max-width: 780px; margin: 0 auto; }
.faq-category { margin-bottom: 28px; }
.faq-category h3 {
  font-size: 16px; color: var(--primary-2); text-transform: uppercase;
  letter-spacing: .8px; margin: 0 0 12px; font-weight: 700;
}
.faq-item {
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, #0c1428, #0a1223);
  margin-bottom: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover { border-color: rgba(59,224,201,.3); }
.faq-item[open] {
  border-color: var(--primary-2);
  box-shadow: 0 4px 20px rgba(59,224,201,.08);
}
.faq-item summary {
  padding: 16px 20px; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 20px; color: var(--primary-2);
  font-weight: 300; flex-shrink: 0; margin-left: 12px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 20px 16px;
  color: var(--muted); font-size: 14px; line-height: 1.7;
}
.faq-answer a { color: var(--primary-2); text-decoration: underline; }
.faq-answer a:hover { color: var(--primary); }

/* Scroll animations */
.animate-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 980px){
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4, .gallery { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .video-split { grid-template-columns: 1fr; }
  .video-info { text-align: center; }
  .video-container { max-width: 100%; }
}
@media (max-width: 560px){
  .links, .desktop-cta { display:none; }
  .menu-toggle { display:inline-flex; align-items:center; justify-content:center; }
  .mobile-nav.open { display:block; }
  .grid-4, .gallery, .metrics { grid-template-columns: 1fr; }
  .video-container { max-width: 100%; }
  .brand-logo { width: 32px; height: 32px; }
}
/* Fix 11: Gallery image loading placeholder */
.gallery img {
  background: var(--card);
  min-height: 200px;
}

/* Fix 13: Footer layout */
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }