/* ============================================================
   JoyShockMapper GUI — Official Site
   Nintendo-inspired design: Switch red/white, Joy-Con neon accents
   ============================================================ */

:root {
  --nintendo-red: #e60012;
  --nintendo-red-dark: #c4000e;
  --neon-blue: #00b3e6;
  --neon-red: #ff2d55;
  --neon-yellow: #ffd500;
  --neon-green: #00d66f;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --paper-3: #f0f0f0;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.08);
  --font: "Nunito", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-pixel: "Press Start 2P", "Nunito", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--nintendo-red);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Decorative background
   ============================================================ */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
}

.c1 {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  background: rgba(230, 0, 18, 0.05);
}

.c2 {
  width: 220px;
  height: 220px;
  bottom: 8%;
  left: -60px;
  background: rgba(0, 179, 230, 0.06);
}

.c3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 55%;
  background: rgba(255, 45, 85, 0.05);
}

.deco-plus {
  position: absolute;
  font-family: var(--font-pixel);
  color: rgba(230, 0, 18, 0.08);
  font-size: 28px;
}

.p1 { top: 22%; left: 6%; }
.p2 { bottom: 18%; right: 8%; }
.p3 { top: 65%; left: 42%; }

/* ============================================================
   Progress bar
   ============================================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--nintendo-red), var(--neon-red));
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #eee;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.05rem;
}

.brand em {
  color: var(--nintendo-red);
  font-style: normal;
  font-weight: 900;
}

.brand-logo-wrap {
  display: inline-flex;
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

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

.nav-links a {
  position: relative;
  padding: 8px 13px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--nintendo-red);
  background: rgba(230, 0, 18, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 8px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--nintendo-red);
  color: #fff;
}

.lang-sep {
  color: #ddd;
  font-size: 0.8rem;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn span {
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: all 0.3s var(--ease);
}

.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--neon-yellow);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  animation: popIn 0.6s var(--ease) both;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: popIn 0.6s 0.08s var(--ease) both;
}

.gradient-text {
  color: var(--nintendo-red);
}

.hero-sub {
  color: var(--ink-2);
  font-size: 1.08rem;
  max-width: 640px;
  margin-top: 18px;
  line-height: 1.7;
  animation: popIn 0.6s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  animation: popIn 0.6s 0.24s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--nintendo-red);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  animation: popIn 0.6s 0.32s var(--ease) both;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 2px solid #e5e5e5;
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.meta-pill:hover {
  color: var(--nintendo-red);
  border-color: var(--nintendo-red);
}

/* ============================================================
   Hero: Switch console visual
   ============================================================ */
.hero-visual {
  width: 100%;
  max-width: 660px;
  margin-top: 52px;
  position: relative;
  animation: popIn 0.7s 0.4s var(--ease) both;
}

.switch-console {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  gap: 0;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
}

.console-left,
.console-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.joycon-body {
  width: 100%;
  background: linear-gradient(180deg, #f5f5f5, #dcdcdc);
  border-radius: 28px;
  padding: 14px 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 2;
}

.jc-left {
  background: linear-gradient(180deg, #2bd6ff, #00b3e6);
  border-radius: 28px 8px 8px 28px;
  border-right: 4px solid #fff;
}

.jc-right {
  background: linear-gradient(180deg, #ff5c7a, #ff2d55);
  border-radius: 8px 28px 28px 8px;
  border-left: 4px solid #fff;
}

.jc-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
}

.jc-stick {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15);
}

.stick-cap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.jc-buttons {
  display: grid;
  grid-template-columns: repeat(3, 14px);
  grid-template-rows: repeat(3, 14px);
  gap: 6px;
  place-items: center;
}

.jc-buttons i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.b-up { grid-column: 2; grid-row: 1; }
.b-right { grid-column: 3; grid-row: 2; }
.b-down { grid-column: 2; grid-row: 3; }
.b-left { grid-column: 1; grid-row: 2; }

.jc-home {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.jc-actions {
  display: grid;
  grid-template-columns: 30px 30px;
  grid-template-rows: 30px 30px;
  gap: 4px;
  place-items: center;
}

.jc-actions i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.b-y { grid-column: 2; grid-row: 1; }
.b-x { grid-column: 1; grid-row: 1; }
.b-a { grid-column: 2; grid-row: 2; }
.b-b { grid-column: 1; grid-row: 2; }

.console-screen {
  background: var(--ink);
  border-radius: 10px;
  margin: 12px 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.screen-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.screen-dots {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nintendo-red);
}

.screen-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.screen-body {
  background: #10131a;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gyro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 214, 111, 0.15);
  color: #00d66f;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
}

.screen-rows {
  display: grid;
  gap: 8px;
}

.srow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.srow .k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  border-radius: 8px;
  background: #2a2f3a;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  padding: 0 6px;
}

.srow .v {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
}

.screen-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.scr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d66f;
  animation: blink 1.2s infinite;
}

.scr-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
}

.hero-float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 4px 4px 0 var(--ink);
  animation: floatY 5s ease-in-out infinite;
}

.ft1 {
  top: 4%;
  left: 2%;
  color: var(--neon-blue);
}

.ft2 {
  top: 16%;
  right: 2%;
  color: var(--neon-red);
  animation-delay: 1.5s;
}

.dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nintendo-red);
  box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.5);
  animation: pulse 2s infinite;
}

/* ============================================================
   Focus strip
   ============================================================ */
.focus-strip {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--neon-yellow);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 32px 0;
}

.focus-item {
  display: flex;
  gap: 16px;
  padding: 6px 24px;
}

.focus-item + .focus-item {
  border-left: 2px solid rgba(26, 26, 26, 0.15);
}

.focus-num {
  font-family: var(--font-pixel);
  font-size: 1.4rem;
  color: var(--nintendo-red);
  flex-shrink: 0;
  line-height: 1.2;
}

.focus-body h3 {
  font-size: 1rem;
  font-weight: 900;
}

.focus-body p {
  margin-top: 6px;
  color: rgba(26, 26, 26, 0.8);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 84px 0;
}

.section-mic {
  background: var(--paper-2);
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
}

.section-download {
  background: linear-gradient(180deg, var(--paper-2), #fff);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--neon-yellow);
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-card {
  padding: 26px 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.feature-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 2px solid var(--ink);
  font-size: 1.5rem;
}

.icon-gyro { background: var(--neon-blue); }
.icon-keys { background: var(--neon-red); }
.icon-save { background: var(--neon-green); }
.icon-link { background: var(--neon-yellow); }
.icon-ui { background: var(--neon-blue); }
.icon-lang { background: var(--neon-red); }
.icon-exe { background: var(--neon-green); }
.icon-config { background: var(--neon-yellow); }
.icon-tray { background: var(--neon-blue); }
.icon-short { background: var(--neon-red); }

.feature-card h3 {
  margin-top: 16px;
  font-size: 1.06rem;
  font-weight: 900;
}

.feature-card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   DJI Mic
   ============================================================ */
.mic-feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.mic-feature-visual {
  display: flex;
  justify-content: center;
}

.mic-big-mock {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.mb-receiver {
  position: relative;
  width: 100%;
  aspect-ratio: 1.55;
  background: linear-gradient(160deg, #2a2f3a, #1a1f28);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-screen {
  width: 82%;
  background: #10131a;
  border: 2px solid #2a2f3a;
  border-radius: 12px;
  padding: 18px;
}

.mb-title {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--neon-blue);
  margin-bottom: 14px;
  text-align: center;
}

.mb-line {
  display: grid;
  grid-template-columns: 34px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.mb-line span {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--ink-3);
}

.mb-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.mb-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--nintendo-red), var(--neon-red));
  border-radius: 6px;
}

.mb-bar.lvl i {
  background: linear-gradient(90deg, var(--neon-blue), #5ad5f5);
}

.mb-line b {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: #fff;
  text-align: right;
}

.mb-antenna {
  position: absolute;
  width: 7px;
  height: 60px;
  background: linear-gradient(180deg, #4a4a4a, #2a2f3a);
  border-radius: 4px;
  top: -52px;
}

.mb-antenna.a1 { left: 18%; transform: rotate(-10deg); }
.mb-antenna.a2 { right: 18%; transform: rotate(10deg); }

.mb-clip {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 20px;
  background: #2a2f3a;
  border: 2px solid var(--ink);
  border-radius: 0 0 10px 10px;
}

.mb-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--neon-yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.mic-feature-list {
  display: grid;
  gap: 14px;
}

.mic-list-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s var(--ease);
}

.mic-list-item:hover {
  transform: translateX(4px);
}

.mic-list-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.mic-list-item h4 {
  font-size: 0.98rem;
  font-weight: 900;
}

.mic-list-item p {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ============================================================
   Download
   ============================================================ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.download-card {
  position: relative;
  padding: 30px 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.download-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.download-card.primary-card {
  background: var(--nintendo-red);
  color: #fff;
}

.download-icon {
  font-size: 2rem;
  line-height: 1;
}

.download-card h3 {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 900;
}

.download-card p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.download-card.primary-card p {
  color: rgba(255, 255, 255, 0.85);
}

.download-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.5rem;
  color: var(--nintendo-red);
  transition: transform 0.2s var(--ease);
}

.download-card.primary-card .download-arrow {
  color: var(--neon-yellow);
}

.download-card:hover .download-arrow {
  transform: translateX(6px);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 3px solid var(--ink);
  padding: 44px 0;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.footer-brand .brand-logo-wrap {
  border-color: #fff;
  box-shadow: 3px 3px 0 #fff;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  max-width: 560px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--neon-yellow);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(230, 0, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 3px solid var(--ink);
    z-index: 55;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .menu-btn {
    display: flex;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .focus-item {
    padding: 6px 4px;
  }

  .focus-item + .focus-item {
    border-left: none;
    border-top: 2px solid rgba(26, 26, 26, 0.15);
    padding-top: 18px;
  }

  .mic-feature-row {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-float-tag {
    font-size: 0.74rem;
  }

  .ft1 { left: 0; }
  .ft2 { right: 0; }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .switch-console {
    grid-template-columns: 70px 1fr 70px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-float-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
