/* ============================================================
   SEDICI FX — dark pro theme with brand color accents
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-soft: #11141c;
  --bg-card: #151926;
  --bg-card-hover: #1a1f30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f4f8;
  --text-soft: #aab2c5;
  --text-faint: #6b7384;

  /* SEDICI brand accents */
  --red: #ff4d5e;
  --orange: #ff9040;
  --yellow: #ffd23f;
  --blue: #4d7cff;
  --cyan: #38d4e6;

  --accent: var(--cyan);
  --accent-grad: linear-gradient(100deg, var(--red), var(--orange) 30%, var(--yellow) 55%, var(--cyan) 100%);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

::selection {
  background: rgba(56, 212, 230, 0.35);
}

/* ============ header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-links + .header-actions {
  margin-left: 0;
}

.lang-toggle {
  font: 600 0.82rem var(--font-display);
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.lang-toggle:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.header-cta {
  font: 600 0.92rem var(--font-body);
  color: #0b0d12;
  background: var(--text);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease;
}

.header-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ============ shared ============ */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(18px, 4vw, 44px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading p:not(.eyebrow) {
  color: var(--text-soft);
}

.eyebrow {
  font: 600 0.78rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(56, 212, 230, 0.1);
  border: 1px solid rgba(56, 212, 230, 0.28);
  border-radius: 999px;
  padding: 7px 15px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 0.95rem var(--font-body);
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.button-primary {
  color: #081016;
  background: linear-gradient(120deg, var(--cyan), #6ee7f5);
  box-shadow: 0 8px 28px rgba(56, 212, 230, 0.32);
}

.button-primary:hover {
  box-shadow: 0 10px 34px rgba(56, 212, 230, 0.45);
}

.button-primary s {
  opacity: 0.55;
  font-weight: 500;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-ghost {
  color: var(--text-soft);
  background: transparent;
}

.button-ghost:hover {
  color: var(--text);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.platform-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
}

.platform-pill.is-live {
  color: #081016;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.checkout-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 14px;
}

.checkout-note.is-warning {
  color: var(--yellow);
}

.global-checkout-status {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 80;
  margin: 0;
  max-width: min(92vw, 560px);
  text-align: center;
}

.global-checkout-status.is-warning {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
}

.global-checkout-status:empty {
  display: none;
}

/* ============ hero ============ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(18px, 4vw, 44px) clamp(40px, 6vw, 70px);
}

.hero-glow {
  position: absolute;
  inset: -120px -10% auto;
  height: 480px;
  background:
    radial-gradient(420px 280px at 18% 30%, rgba(255, 77, 94, 0.13), transparent 70%),
    radial-gradient(460px 300px at 78% 22%, rgba(56, 212, 230, 0.14), transparent 70%),
    radial-gradient(380px 260px at 55% 75%, rgba(77, 124, 255, 0.1), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.13rem;
  color: var(--text-soft);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 16px;
}

/* ============ demo monitor ============ */

.demo-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.demo-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0;
  font: 600 0.85rem var(--font-display);
  color: var(--yellow);
  background: rgba(255, 210, 63, 0.1);
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: 999px;
  padding: 7px 15px;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.demo-hint.is-done {
  color: var(--cyan);
  background: rgba(56, 212, 230, 0.1);
  border-color: rgba(56, 212, 230, 0.3);
}

.demo-monitor {
  background: #14161d;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #1b1e27;
  border-bottom: 1px solid var(--border);
}

.demo-tab {
  font: 600 0.8rem var(--font-display);
  color: var(--text-soft);
}

.demo-tab.is-active {
  color: var(--text);
}

.demo-tab-meta {
  font-size: 0.72rem;
  color: var(--text-faint);
}

.demo-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.demo-scene {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

.demo-scene.is-animating {
  transition: transform 1.1s cubic-bezier(0.22, 0.9, 0.24, 1);
}

.demo-scene-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 75% 20%, rgba(77, 124, 255, 0.5), transparent 65%),
    radial-gradient(55% 80% at 15% 85%, rgba(255, 77, 94, 0.42), transparent 65%),
    radial-gradient(45% 65% at 50% 50%, rgba(255, 144, 64, 0.25), transparent 70%),
    linear-gradient(160deg, #1d2440, #11141c 60%, #251a2e);
}

.demo-scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.demo-scene-mascot {
  position: absolute;
  left: 50%;
  bottom: -4%;
  height: 88%;
  width: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.demo-scene-label {
  position: absolute;
  top: 12px;
  left: 14px;
  font: 600 0.7rem var(--font-display);
  letter-spacing: 0.1em;
  color: var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

.demo-crosshair {
  position: absolute;
  width: 0;
  height: 0;
  border: 2px dashed rgba(45, 201, 255, 0.96);
  border-radius: 3px;
  background: rgba(45, 201, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.38), 0 0 18px rgba(45, 201, 255, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.demo-viewport.is-dragging .demo-crosshair {
  opacity: 1;
}

.demo-zoom-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  font: 600 0.78rem var(--font-display);
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
  backdrop-filter: blur(6px);
}

.demo-timeline {
  padding: 12px 16px 14px;
  background: #101218;
  border-top: 1px solid var(--border);
}

.demo-track {
  position: relative;
  height: 34px;
  border-radius: 7px;
  overflow: hidden;
  background: #181b24;
}

.demo-clip {
  position: absolute;
  inset: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: linear-gradient(180deg, #2a3550, #232c44);
  border: 1px solid rgba(77, 124, 255, 0.4);
  border-radius: 5px;
}

.demo-clip span {
  font: 500 0.68rem var(--font-body);
  color: var(--text-soft);
}

.demo-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8%;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 77, 94, 0.8);
}

.demo-keyframes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-kf {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--yellow);
  transform: rotate(45deg) scale(0);
  border-radius: 2px;
  animation: kf-pop 0.35s ease forwards;
}

@keyframes kf-pop {
  to {
    transform: rotate(45deg) scale(1);
  }
}

.demo-timeline-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--text-faint);
}

.demo-timeline-meta strong {
  color: var(--yellow);
}

.demo-kf-manual strong {
  color: var(--cyan);
}

.demo-kf-manual {
  text-align: right;
}

.demo-play-sequence {
  min-width: 58px;
  border: 1px solid rgba(45, 201, 255, 0.45);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text);
  background: rgba(45, 201, 255, 0.14);
  font: 700 0.7rem var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.demo-play-sequence:disabled {
  cursor: default;
  opacity: 0.38;
}

.demo-play-sequence:not(:disabled):hover {
  background: rgba(45, 201, 255, 0.22);
}

.demo-reset {
  align-self: center;
  font: 600 0.85rem var(--font-body);
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.demo-reset:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

/* ============ features ============ */

.features-section {
  padding-top: clamp(20px, 3vw, 36px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-style: normal;
}

.icon-red {
  color: var(--red);
  background: rgba(255, 77, 94, 0.12);
}

.icon-yellow {
  color: var(--yellow);
  background: rgba(255, 210, 63, 0.12);
}

.icon-cyan {
  color: var(--cyan);
  background: rgba(56, 212, 230, 0.12);
}

.icon-blue {
  color: var(--blue);
  background: rgba(77, 124, 255, 0.14);
}

/* ============ how it works ============ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-grad);
  opacity: 0.85;
}

.step-num {
  font: 700 0.85rem var(--font-display);
  color: var(--text-faint);
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin-top: 10px;
}

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

/* ============ buy ============ */

.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 56px);
}

.buy-media {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.buy-box {
  max-height: 380px;
  width: auto;
  transform: rotateY(var(--box-tilt-x, 0deg)) rotateX(var(--box-tilt-y, 0deg));
  transition: transform 0.25s ease;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.5));
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}

.price-old {
  font: 500 1.3rem var(--font-display);
  color: var(--text-faint);
  text-decoration: line-through;
}

.price-now {
  font: 700 2.8rem var(--font-display);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-badge {
  font: 600 0.74rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  border: 1px solid rgba(255, 210, 63, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
}

.buy-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  color: var(--text-soft);
}

.buy-list li {
  padding: 6px 0 6px 28px;
  position: relative;
}

.buy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ============ roadmap ============ */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.roadmap-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.roadmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.roadmap-head h3 {
  margin: 0;
}

.roadmap-status {
  font: 600 0.7rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

.status-dev {
  color: var(--orange);
  background: rgba(255, 144, 64, 0.12);
  border: 1px solid rgba(255, 144, 64, 0.35);
}

.status-plan {
  color: var(--blue);
  background: rgba(77, 124, 255, 0.12);
  border: 1px solid rgba(77, 124, 255, 0.35);
}

.status-explore {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
}

.roadmap-target {
  margin: auto 0 0;
  padding-top: 14px;
  font: 600 0.78rem var(--font-display);
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.roadmap-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding: 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.roadmap-cta p {
  margin: 0;
  color: var(--text-soft);
}

/* ============ story ============ */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.story-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.story-portrait {
  width: min(290px, 80%);
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(56, 212, 230, 0.2), transparent 70%),
    linear-gradient(170deg, #1c2336, #141926);
  border: 1px solid var(--border-strong);
}

.story-portrait img {
  height: 86%;
  width: auto;
  transform: translateY(4%);
}

.story-channel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 0.88rem var(--font-body);
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.story-channel:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.story-channel-icon {
  color: var(--red);
}

.story-copy p:not(.eyebrow) {
  color: var(--text-soft);
}

.story-sign {
  font: 600 0.95rem var(--font-display);
  color: var(--text);
  margin-top: 18px;
}

/* ============ help ============ */

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.help-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.help-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.help-card a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============ footer ============ */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: clamp(36px, 6vw, 60px) clamp(18px, 4vw, 44px);
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 12px;
}

.footer-main p {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 360px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.legal {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin: 10px 0 0;
}

.legal-note {
  border-top: 0;
  padding-top: 0;
  margin-top: 6px;
  opacity: 0.88;
}

/* ============ product pages ============ */

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(18px, 4vw, 44px) clamp(30px, 5vw, 60px);
  position: relative;
}

.product-hero .hero-glow {
  inset: -100px -10% auto;
  height: 420px;
}

.product-media {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.product-media img {
  max-height: 420px;
  width: auto;
  transform: rotateY(var(--box-tilt-x, 0deg)) rotateX(var(--box-tilt-y, 0deg));
  transition: transform 0.25s ease;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.5));
}

.product-mascot-stage {
  width: min(380px, 90%);
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(255, 144, 64, 0.18), transparent 70%),
    linear-gradient(170deg, #1c2336, #141926);
}

.product-mascot-stage img {
  height: 88%;
  width: auto;
  transform: none;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
}

.video-frame {
  background: #14161d;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: #1b1e27;
  border-bottom: 1px solid var(--border);
}

.video-frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.video-frame-bar strong {
  font: 600 0.8rem var(--font-display);
  color: var(--text-soft);
  margin-left: 8px;
}

.video-frame-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(60% 90% at 70% 25%, rgba(77, 124, 255, 0.3), transparent 65%),
    linear-gradient(160deg, #1d2440, #11141c);
}

.video-frame-screen img {
  max-height: 70%;
  width: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
}

.play-button {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 77, 94, 0.92);
  box-shadow: 0 10px 30px rgba(255, 77, 94, 0.4);
  transition: transform 0.18s ease;
}

.play-button:hover {
  transform: scale(1.07);
}

.play-button span {
  display: block;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(3px);
}

.video-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
}

.video-caption strong {
  font: 600 0.92rem var(--font-display);
}

.video-caption small {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.coming-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
}

.coming-card .roadmap-status {
  display: inline-block;
  margin-bottom: 18px;
}

.coming-card p {
  color: var(--text-soft);
}

.coming-card .hero-actions {
  justify-content: center;
}

/* ============ responsive ============ */

@media (max-width: 960px) {
  .hero,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .buy-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .buy-media {
    order: -1;
  }

  .buy-box {
    max-height: 280px;
  }

  .nav-links {
    display: none;
  }

  .story-media {
    order: -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .demo-hint {
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .demo-scene.is-animating {
    transition: none;
  }

  .live-dot,
  .demo-scene-label {
    animation: none;
  }
}
