:root {
  --bg: #070910;
  --surface: rgba(18, 22, 35, 0.72);
  --surface-strong: rgba(24, 29, 46, 0.9);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --cyan: #38bdf8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88em;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.14);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Aurora ambient background */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.42;
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.orb-1 { width: 560px; height: 560px; background: #4f46e5; top: -180px; left: -120px; }
.orb-2 { width: 520px; height: 520px; background: #7c3aed; top: 25%; right: -160px; animation-delay: -6s; }
.orb-3 { width: 480px; height: 480px; background: #0ea5e9; bottom: -180px; left: 30%; animation-delay: -11s; opacity: 0.25; }
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.14); }
}

.container { width: min(1160px, 92%); margin: 0 auto; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 16, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-by { font-size: 0.72rem; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff !important;
  font-weight: 600 !important;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-size: 0.8rem;
  color: #c7d2fe;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c084fc, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.06rem; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}
.btn-sub {
  font-size: 0.75rem; font-weight: 500;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.25rem; color: #fff; }
.stat span { font-size: 0.8rem; color: var(--muted); }

/* Interactive Viewer Mockup */
.hero-stage { perspective: 1200px; }
.viewer-mockup {
  position: relative;
  border-radius: 20px;
  background: rgba(10, 12, 20, 0.78);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(99, 102, 241, 0.2);
  padding: 14px;
  transition: transform 0.18s ease-out;
}
.viewer-topbar-mock {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.mock-tag { font-size: 0.74rem; color: var(--muted); }
.mock-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff; width: 26px; height: 26px; border-radius: 8px; cursor: pointer;
}
.viewer-canvas-mock {
  height: 270px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.14), rgba(5, 7, 12, 0.9));
}
.mock-photo {
  width: 82%; height: 82%;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.mock-scene {
  position: absolute; inset: 0;
  border-radius: 12px; overflow: hidden;
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: grid; place-items: center;
}
.mock-scene.active { opacity: 1; transform: scale(1); }
.scene-art { width: 100%; height: 100%; }
.scene-alpine {
  background:
    radial-gradient(circle at 75% 25%, #fde68a 0%, transparent 28%),
    linear-gradient(170deg, #1e1b4b 0%, #4338ca 45%, #0f172a 100%);
}
.scene-neon {
  background:
    radial-gradient(circle at 30% 35%, rgba(236, 72, 153, 0.6), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(56, 189, 248, 0.55), transparent 50%),
    linear-gradient(135deg, #090d16, #1e1b4b);
}
.scene-logo-img { width: 148px; height: 148px; filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6)); }
.mock-hud {
  margin-top: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.mock-caption {
  font-size: 0.72rem; color: #cbd5e1;
  background: rgba(15, 20, 32, 0.8);
  padding: 3px 10px; border-radius: 8px;
  border: 1px solid var(--border);
}
.mock-pillbar {
  display: flex; gap: 4px;
  background: rgba(15, 19, 30, 0.9);
  padding: 4px 8px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mock-pillbar button {
  background: transparent; border: none; color: var(--text);
  padding: 4px 9px; border-radius: 7px; font-size: 0.75rem; cursor: pointer;
}
.mock-pillbar button:hover { background: rgba(255, 255, 255, 0.14); }
.mock-filmstrip { display: flex; gap: 6px; }
.strip-thumb {
  width: 40px; height: 34px; border-radius: 7px;
  background: rgba(20, 24, 38, 0.9); color: var(--muted);
  border: 1px solid var(--border); font-size: 0.68rem; font-weight: 600; cursor: pointer;
}
.strip-thumb.active { border: 2px solid var(--indigo); color: #fff; }

/* Sections */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #a5b4fc; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.45); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(99, 102, 241, 0.16);
  font-size: 1.1rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); }

/* Formats */
.format-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fmt {
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600;
}
.fmt.raw { border-color: rgba(99, 102, 241, 0.45); color: #c7d2fe; }
.fmt.pro { border-color: rgba(139, 92, 246, 0.45); color: #ddd6fe; }
.fmt.anim { border-color: rgba(56, 189, 248, 0.45); color: #bae6fd; }

/* Benchmarks */
.bench-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.bench-row {
  display: grid;
  grid-template-columns: 280px 1fr 90px;
  align-items: center;
  gap: 16px;
}
.bench-label { font-size: 0.9rem; font-weight: 500; }
.bench-bar-wrap { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bench-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--cyan));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible .bench-bar { width: var(--pct); }
.bench-val { font-family: "JetBrains Mono", monospace; font-size: 0.88rem; font-weight: 600; color: #a5b4fc; text-align: right; }

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { background: rgba(255, 255, 255, 0.03); color: var(--muted); font-weight: 600; }
.col-tiya { background: rgba(99, 102, 241, 0.08); }

/* Download */
.download-box {
  text-align: center;
  padding: 48px 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(24, 29, 48, 0.9), rgba(11, 13, 20, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.35);
}
.dl-logo { width: 72px; height: 72px; margin-bottom: 14px; }
.download-box h2 { font-size: 2rem; margin-bottom: 8px; }
.download-box > p { color: var(--muted); margin-bottom: 28px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dl-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.dl-card:hover { transform: translateY(-3px); border-color: var(--indigo); }
.dl-card.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.22));
  border-color: rgba(99, 102, 241, 0.65);
}
.dl-badge { font-size: 0.72rem; font-weight: 700; color: #a5b4fc; text-transform: uppercase; }
.dl-card span:last-child { font-size: 0.82rem; color: var(--muted); }
.dl-note { font-size: 0.85rem; color: var(--muted); }
.dl-note a { color: #a5b4fc; text-decoration: none; }

.footer {
  padding: 32px 0 44px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .bento-grid, .dl-grid { grid-template-columns: 1fr; }
  .bench-row { grid-template-columns: 1fr; gap: 6px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
