:root {
  --bg: #06183f;
  --bg2: #0a2b6c;
  --card: rgba(12, 40, 94, 0.75);
  --line: rgba(170, 214, 255, 0.18);
  --text: #eff7ff;
  --muted: #b7cbea;
  --accent: #5fbaff;
  --gold: #ffd36d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f4dae 0%, var(--bg2) 28%, var(--bg) 62%, #040d22 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.bg-orb { position: fixed; border-radius: 50%; filter: blur(40px); opacity: .28; z-index: -1; }
.orb-1 { width: 280px; height: 280px; background: #4bc4ff; top: -40px; right: -80px; }
.orb-2 { width: 260px; height: 260px; background: #3a67ff; left: -90px; top: 340px; }
.topbar {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 48px; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.brand span { display: grid; gap: 4px; }
.brand strong { letter-spacing: .16em; font-size: 1rem; }
.brand small { color: var(--muted); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: .96rem; }
.nav a:hover { color: white; }
.hero {
  padding: 24px 0 18px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow { margin: 0 0 8px; color: #a9d8ff; letter-spacing: .22em; font-size: .8rem; font-weight: 700; }
.hero h1, .section-head h2 {
  margin: 0;
  line-height: 1.02;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  letter-spacing: -0.04em;
}
.hero h1 span, .section-head h2 span { color: var(--gold); }
.lead { margin: 18px 0 0; color: #d3e7ff; font-size: 1.08rem; line-height: 1.7; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}
.primary { background: linear-gradient(135deg, #64c3ff, #3c7dff); box-shadow: 0 18px 32px rgba(40, 99, 255, .28); }
.ghost { border-color: rgba(186, 221, 255, .25); background: rgba(255,255,255,.05); }
.feature-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.feature-list li { padding-left: 22px; position: relative; }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.card-glow {
  background: linear-gradient(180deg, rgba(15,54,123,.84), rgba(7,27,72,.88));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-preview { padding: 18px; position: relative; }
.hero-preview img { border-radius: 20px; }
.badge {
  position: absolute; top: 16px; right: 16px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18);
  color: white; font-weight: 700; letter-spacing: .08em; font-size: .74rem;
}
.viewer-section, .gallery-section, .reference { padding: 48px 0 0; }
.section-head { margin-bottom: 22px; }
.section-head p:last-child { color: var(--muted); line-height: 1.6; max-width: 70ch; }
.viewer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.viewer-card { padding: 20px; }
.viewer-topline { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.viewer-topline h3 { margin: 0; font-size: 2rem; letter-spacing: .08em; }
.mini-label { margin: 0 0 8px; color: #9ec9fb; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; }
.pill { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #d5eeff; font-size: .82rem; }
.viewer-stage {
  position: relative;
  border-radius: 22px;
  min-height: 520px;
  overflow: hidden;
  background: radial-gradient(circle at top, #1b67d8 0%, #114ca8 34%, #0c387e 68%, #082657 100%);
  border: 1px solid rgba(181,225,255,.14);
  user-select: none;
  touch-action: pan-y;
}
.viewer-stage:focus-visible { outline: 2px solid #81ceff; outline-offset: 4px; }
.viewer-image { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.drag-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(6,18,45,.58); color: #edf7ff; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); font-size: .88rem;
}
.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  background: rgba(7, 22, 56, .55); color: white; font-size: 2rem; cursor: pointer;
  display: grid; place-items: center;
}
.nav-btn:hover { background: rgba(12, 34, 86, .8); }
.prev { left: 14px; }
.next { right: 14px; }
.viewer-toolbar { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.angle-meta { display: flex; gap: 10px; align-items: center; }
.angle-now { font-weight: 800; letter-spacing: .12em; }
.angle-meta small { color: var(--muted); }
.auto-btn {
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: white;
  border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 700;
}
.auto-btn.is-playing { background: linear-gradient(135deg, #65c2ff, #3c7dff); border-color: transparent; }
.dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px; }
.dots button {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--muted);
  padding: 10px 6px; border-radius: 14px; cursor: pointer; font-size: .72rem; font-weight: 700;
}
.dots button.active { background: linear-gradient(135deg, #5fbaff, #376eff); color: white; border-color: transparent; }
.detail-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.detail-strip figure { margin: 0; }
.detail-strip img { border-radius: 18px; border: 1px solid rgba(255,255,255,.12); width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; }
.detail-strip figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; text-align: center; }
.angles-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.angles-card { padding: 20px; }
.angles-card h3 { margin: 0 0 14px; font-size: 1.35rem; }
.angles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.angle-thumb { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: hidden; }
.angle-thumb img { width: 100%; aspect-ratio: 1/1.1; object-fit: contain; background: radial-gradient(circle at top, #1b67d8 0%, #114ca8 34%, #0c387e 68%, #082657 100%); }
.angle-thumb span { display: block; padding: 10px 10px 12px; text-align: center; color: var(--muted); font-size: .8rem; }
.reference-card { padding: 18px; }
.reference-card img { border-radius: 20px; }
.footer {
  padding: 36px 0 44px; margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--muted); border-top: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 960px) {
  .hero, .viewer-grid, .angles-panels { grid-template-columns: 1fr; }
  .nav { display: none; }
  .viewer-stage { min-height: 450px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 20px, 1180px); }
  .topbar { padding: 14px 0; }
  .brand strong { font-size: .92rem; }
  .hero { padding-top: 12px; }
  .hero h1, .section-head h2 { font-size: 2.1rem; }
  .lead { font-size: .98rem; }
  .viewer-card { padding: 16px; }
  .viewer-topline h3 { font-size: 1.55rem; }
  .viewer-stage { min-height: 380px; }
  .dots { grid-template-columns: repeat(4, 1fr); }
  .angles-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer { font-size: .92rem; }
}
