/* ============================================================
   路记 FishMark — Marketing Site
   Design language: immersive dark, nature-driven, restrained,
   gold reserved for honor. 390px-first, scales to desktop.
   ============================================================ */

:root {
  --bg: #080d0a;
  --bg-soft: #0c1310;
  --bg-elev: #101813;
  --text: #edf0ea;
  --text-2: #a6b1a8;
  --text-3: #748076;
  --line: rgba(237, 240, 234, 0.09);
  --line-strong: rgba(237, 240, 234, 0.16);
  --gold: #c9a860;
  --gold-bright: #e4c77e;
  --gold-soft: rgba(201, 168, 96, 0.14);
  --green: #7fa88f;
  --green-deep: #2c4a3c;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Barlow Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --strip-gap: 56px;
}

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-anchor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.btn,
.lang-btn,
.menu-btn,
.store-btn,
.site-nav a,
.footer-nav a {
  touch-action: manipulation;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(201, 168, 96, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--gold-bright);
  color: #161208;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.br-mobile {
  display: none;
}

@media (max-width: 560px) {
  .br-mobile {
    display: inline;
  }
}

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow-line {
  flex: none;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.section-head .lede,
.lede {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s, border-color 0.25s,
    color 0.25s, box-shadow 0.25s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.store-btn:active {
  transform: translateY(0) scale(0.98);
}

.lang-btn:active,
.menu-btn:active {
  transform: scale(0.96);
}

.btn-gold {
  background: linear-gradient(135deg, #e8d19a, #c9a860 55%, #ae8c4a);
  color: #161208;
  box-shadow: 0 10px 30px rgba(201, 168, 96, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:hover {
  box-shadow: 0 16px 40px rgba(201, 168, 96, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(228, 199, 126, 0.35);
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-2);
  font-size: 9.5px;
  white-space: nowrap;
}

.chip .icon {
  width: 11px;
  height: 11px;
  color: var(--green);
}

.chip-gold {
  background: rgba(201, 168, 96, 0.1);
  border-color: rgba(201, 168, 96, 0.3);
  color: var(--gold-bright);
}

.chip-gold .icon {
  color: var(--gold-bright);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(8, 13, 10, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 38px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-cn {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-en {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-download {
  display: none;
}

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

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
  appearance: none;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: rgba(228, 199, 126, 0.14);
  color: var(--gold-bright);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.menu-btn .icon {
  width: 20px;
  height: 20px;
}

.menu-btn .close-icon {
  display: none;
}

.site-header.nav-open .menu-btn .menu-icon {
  display: none;
}

.site-header.nav-open .menu-btn .close-icon {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 52% at 78% 28%, rgba(54, 92, 72, 0.34), transparent 70%),
    radial-gradient(42% 38% at 16% 84%, rgba(201, 168, 96, 0.07), transparent 70%),
    linear-gradient(180deg, #0a100c 0%, var(--bg) 82%);
}

.hero-contours {
  position: absolute;
  inset: -16% -10% -8% 26%;
  background-image:
    repeating-radial-gradient(
      ellipse 62% 54% at 68% 36%,
      transparent 0 38px,
      rgba(166, 177, 168, 0.055) 39px 40px,
      transparent 41px 80px
    ),
    repeating-radial-gradient(
      ellipse 56% 44% at 28% 82%,
      transparent 0 46px,
      rgba(201, 168, 96, 0.035) 47px 48px,
      transparent 49px 96px
    );
  -webkit-mask-image: radial-gradient(72% 68% at 62% 42%, #000 8%, transparent 76%);
  mask-image: radial-gradient(72% 68% at 62% 42%, #000 8%, transparent 76%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 34em;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

.note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero-stats {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.hero-stat span {
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-sample {
  margin-left: auto;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Phone mockup ---------- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(127, 168, 143, 0.22),
    rgba(201, 168, 96, 0.08) 46%,
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(322px, calc(100vw - 88px));
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(150deg, #2b332c, #0c100d 30%, #1a211b);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(237, 240, 234, 0.16);
  animation: phone-float 9s ease-in-out infinite;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 46px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-9px) rotate(-1.5deg);
  }
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  border-radius: 38px;
  background: #070b08;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.phone-status-icons {
  display: flex;
  gap: 5px;
}

.phone-status-icons .icon {
  width: 13px;
  height: 13px;
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 10px;
}

.phone-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-2);
  font-size: 10px;
}

.phone-loc .icon {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 96, 0.3);
  border-radius: 50%;
  background: #131a14;
}

.phone-avatar img {
  width: 18px;
  height: 15px;
  object-fit: contain;
}

.phone-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 4px 16px;
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-eyebrow {
  color: var(--text-3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catch-visual {
  position: relative;
  height: 285px;
  overflow: hidden;
  border: 1px solid rgba(237, 240, 234, 0.08);
  border-radius: 20px;
  background: linear-gradient(165deg, #1d3a30, #0e1a15 60%, #0a110d);
}

.catch-rays {
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(115deg, transparent 35%, rgba(233, 240, 235, 0.08) 42%, transparent 49%),
    linear-gradient(100deg, transparent 55%, rgba(233, 240, 235, 0.06) 61%, transparent 68%);
  transform: rotate(-8deg);
}

.catch-fish {
  position: absolute;
  top: 18%;
  left: 11%;
  width: 78%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
}

.catch-bubble {
  position: absolute;
  border: 1px solid rgba(237, 240, 234, 0.25);
  border-radius: 50%;
}

.catch-bubble.b1 {
  top: 26%;
  left: 18%;
  width: 7px;
  height: 7px;
}

.catch-bubble.b2 {
  top: 18%;
  left: 26%;
  width: 4px;
  height: 4px;
}

.catch-bubble.b3 {
  top: 30%;
  right: 16%;
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.catch-meta {
  position: absolute;
  inset: auto 14px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.catch-species {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.catch-metrics {
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid rgba(201, 168, 96, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 168, 96, 0.14), rgba(201, 168, 96, 0.04));
}

.phone-badge-medal {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(228, 199, 126, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2c2618, #151208);
  color: var(--gold-bright);
}

.phone-badge-medal .icon {
  width: 16px;
  height: 16px;
}

.phone-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-3);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.phone-badge-text strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.phone-badge-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(127, 168, 143, 0.16);
  color: var(--green);
}

.phone-badge-check .icon {
  width: 12px;
  height: 12px;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 40px;
  color: var(--text-3);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.phone-nav-item .icon {
  width: 16px;
  height: 16px;
}

.phone-nav-item.is-active {
  color: var(--gold-bright);
}

.phone-nav-fab {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: -26px;
  border: 4px solid #070b08;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d19a, #c9a860);
  box-shadow: 0 8px 20px rgba(201, 168, 96, 0.3);
  color: #161208;
}

.phone-nav-fab .icon {
  width: 16px;
  height: 16px;
}

.float-card {
  position: absolute;
  z-index: 2;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(13, 19, 15, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: card-float 10s ease-in-out infinite;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.float-best {
  top: 118px;
  right: -24px;
  min-width: 168px;
}

.float-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-3);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.float-kicker .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.float-value {
  display: block;
  margin-top: 6px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.float-sub {
  color: var(--text-2);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.float-atlas {
  bottom: 80px;
  left: -96px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ring {
  --p: 27;
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold) calc(var(--p) * 1%),
    rgba(237, 240, 234, 0.08) 0
  );
}

.ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0d130f;
}

.ring span {
  position: relative;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.ring em {
  color: var(--text-3);
  font-size: 9px;
  font-style: normal;
}

.float-atlas-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.float-atlas-text strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

/* ---------- Keyword strip ---------- */

.keyword-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.strip-track {
  display: flex;
  gap: var(--strip-gap);
  width: max-content;
  padding-right: var(--strip-gap);
  animation: marquee 42s linear infinite;
}

.strip-track span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.strip-track em {
  color: var(--text-3);
  font-size: 0.7em;
  font-style: normal;
  letter-spacing: 0.24em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Loop ---------- */

.loop-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.loop-grid::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 96, 0.45), var(--line) 60%, transparent);
}

.loop-step {
  position: relative;
  padding: 0 28px 0 0;
}

.loop-step::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(201, 168, 96, 0.25);
}

.loop-num {
  display: block;
  padding-top: 34px;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.loop-step h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.loop-step p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Features ---------- */

.features {
  background: linear-gradient(180deg, var(--bg) 0%, #0b120e 50%, var(--bg) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.feature-card:hover {
  border-color: rgba(201, 168, 96, 0.28);
  background: linear-gradient(160deg, rgba(201, 168, 96, 0.06), rgba(255, 255, 255, 0.015));
  transform: translateY(-3px);
}

.feature-ai {
  grid-column: span 7;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.feature-record {
  grid-column: span 5;
}

.feature-explore {
  grid-column: span 5;
}

.feature-atlas {
  grid-column: span 7;
}

.feature-gear {
  grid-column: span 6;
}

.feature-report {
  grid-column: span 6;
}

.feature-copy {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 96, 0.22);
  border-radius: 12px;
  background: rgba(201, 168, 96, 0.09);
  color: var(--gold-bright);
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
}

.feature-kicker {
  margin: 0 0 10px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.feature-desc {
  max-width: 36ch;
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ai-visual {
  flex: 1;
  min-width: 0;
}

.viewfinder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, #16241c, #0a100c 70%);
}

.vf-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(228, 199, 126, 0.7);
  border-style: solid;
}

.vf-corner.tl {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
  border-radius: 4px 0 0 0;
}

.vf-corner.tr {
  top: 14px;
  right: 14px;
  border-width: 1px 1px 0 0;
  border-radius: 0 4px 0 0;
}

.vf-corner.bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 4px;
}

.vf-corner.br {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 4px 0;
}

.vf-fish {
  width: 52%;
  height: auto;
  color: rgba(237, 240, 234, 0.5);
  filter: drop-shadow(0 0 30px rgba(127, 168, 143, 0.25));
}

.vf-scan {
  position: absolute;
  right: 8%;
  left: 8%;
  top: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 199, 126, 0.9), transparent);
  box-shadow: 0 0 20px rgba(228, 199, 126, 0.6);
  animation: scan 4.5s var(--ease) infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 24%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  50% {
    top: 72%;
    opacity: 1;
  }
  85% {
    opacity: 0;
  }
}

.vf-chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: rgba(10, 15, 12, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 10px;
}

.vf-chip .icon {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.vf-name {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.log-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.log-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.log-name {
  min-width: 70px;
  color: var(--text);
  font-weight: 500;
}

.log-meta {
  flex: 1;
  color: var(--text-3);
  font-size: 11px;
}

.log-date {
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.map-visual {
  position: relative;
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    repeating-radial-gradient(
      ellipse at 30% 120%,
      transparent 0 22px,
      rgba(127, 168, 143, 0.1) 23px 24px
    ),
    linear-gradient(160deg, #0f1b15, #0a110d);
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(10, 15, 12, 0.8);
  box-shadow: 0 0 0 6px rgba(201, 168, 96, 0.08);
  color: var(--gold-bright);
}

.map-pin .icon {
  width: 14px;
  height: 14px;
}

.pin-a {
  top: 26%;
  left: 24%;
}

.pin-b {
  top: 48%;
  left: 58%;
  border-color: var(--green);
  box-shadow: 0 0 0 6px rgba(127, 168, 143, 0.08);
  color: var(--green);
}

.pin-c {
  top: 66%;
  left: 38%;
  opacity: 0.7;
}

.map-tag {
  position: absolute;
  top: 26%;
  left: 24%;
  transform: translate(-10%, -140%);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(10, 15, 12, 0.85);
  color: var(--text-2);
  font-size: 10px;
  white-space: nowrap;
}

.map-verified {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(127, 168, 143, 0.28);
  border-radius: 99px;
  background: rgba(127, 168, 143, 0.12);
  color: #a9c6b4;
  font-size: 9.5px;
}

.map-verified .icon {
  width: 11px;
  height: 11px;
}

.atlas-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.atlas-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 11px;
}

.atlas-head strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.atlas-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(237, 240, 234, 0.08);
}

.atlas-progress span {
  display: block;
  width: 27%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.atlas-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.atlas-cell .icon {
  width: 38px;
  height: 38px;
}

.atlas-cell.is-lit {
  border-color: rgba(201, 168, 96, 0.22);
  background: linear-gradient(160deg, rgba(201, 168, 96, 0.08), rgba(255, 255, 255, 0.01));
  color: #cdd8cf;
}

.atlas-cell.is-locked {
  color: var(--text-3);
  opacity: 0.5;
}

.gear-visual {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(201, 168, 96, 0.2);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(201, 168, 96, 0.08), rgba(255, 255, 255, 0.02));
}

.gear-top {
  display: flex;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gear-brand {
  color: var(--gold);
}

.gear-name {
  display: block;
  margin: 8px 0 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.gear-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.gear-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gear-stats strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.gear-stats span {
  color: var(--text-3);
  font-size: 10px;
}

.report-visual {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.report-card {
  width: min(100%, 280px);
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(155deg, #1a231c, #0c120e);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.report-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.report-fish {
  width: 100%;
  height: 64px;
  margin: 10px 0 6px;
  color: rgba(237, 240, 234, 0.35);
}

.report-numbers {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.report-numbers strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.report-numbers span {
  color: var(--text-3);
  font-size: 9px;
}

.report-numbers i {
  width: 1px;
  height: 26px;
  margin: 0 8px;
  background: var(--line-strong);
}

.report-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 10px;
}

.report-seal {
  padding: 4px 9px;
  border: 1px solid rgba(201, 168, 96, 0.35);
  border-radius: 99px;
  background: rgba(201, 168, 96, 0.12);
  color: var(--gold-bright);
  font-size: 9px;
}

/* ---------- Honors ---------- */

.honors {
  overflow: hidden;
}

.honors-glow {
  position: absolute;
  top: -12%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(201, 168, 96, 0.1), transparent 65%);
  pointer-events: none;
}

.honors-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.honors-head .lede {
  max-width: 48ch;
}

.honor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.honor-tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 11px;
}

.honor-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-self: end;
  text-align: right;
}

.honor-summary > strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
}

.honor-summary > span {
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.honor-summary-sub {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 10px;
}

.honor-summary-sub strong {
  margin-right: 3px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  list-style: none;
}

.badge-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px 24px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background 0.3s, border-color 0.3s;
}

.badge-item:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.badge-medal {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 8px;
  border: 1px solid rgba(201, 168, 96, 0.3);
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 26%,
    rgba(228, 199, 126, 0.16),
    rgba(20, 17, 10, 0.9) 60%
  );
  box-shadow: inset 0 0 0 5px rgba(201, 168, 96, 0.07), 0 14px 30px rgba(0, 0, 0, 0.35);
  color: var(--gold-bright);
}

.badge-medal::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(228, 199, 126, 0.22);
  border-radius: 50%;
}

.badge-medal .icon {
  width: 34px;
  height: 34px;
}

.rarity-rare .badge-medal {
  border-color: rgba(201, 168, 96, 0.55);
  box-shadow: inset 0 0 0 5px rgba(201, 168, 96, 0.1),
    0 0 32px rgba(201, 168, 96, 0.15), 0 14px 30px rgba(0, 0, 0, 0.35);
  color: #e6d3a0;
}

.rarity-elite .badge-medal {
  border-color: rgba(228, 199, 126, 0.8);
  background: radial-gradient(
    circle at 32% 26%,
    rgba(228, 199, 126, 0.3),
    rgba(32, 26, 13, 0.95) 62%
  );
  box-shadow: inset 0 0 0 5px rgba(228, 199, 126, 0.14),
    0 0 42px rgba(201, 168, 96, 0.28), 0 16px 34px rgba(0, 0, 0, 0.4);
  color: #f5e6bc;
}

.rarity-elite .badge-medal::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 236, 180, 0.55), transparent 30%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 0);
  animation: spin 9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.rarity-annual .badge-medal {
  border-color: rgba(237, 240, 234, 0.22);
  background: radial-gradient(
    circle at 32% 26%,
    rgba(237, 240, 234, 0.1),
    rgba(14, 18, 15, 0.95) 60%
  );
  color: #dfe6de;
}

.badge-name {
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.badge-rarity {
  color: var(--text-3);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge-item.is-locked .badge-medal {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.02);
  color: var(--text-3);
}

.badge-item.is-locked .badge-medal::before {
  border-color: var(--line);
}

.badge-item.is-locked .badge-name {
  color: var(--text-3);
}

.badge-progress {
  width: 64px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.badge-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.rarity-legend {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.rarity-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.r-standard {
  background: #8a958c;
}

.r-rare {
  background: #c9a860;
}

.r-elite {
  background: #e4c77e;
  box-shadow: 0 0 8px rgba(228, 199, 126, 0.6);
}

.r-annual {
  background: #dfe6de;
}

/* ---------- Profile ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  gap: 1px;
}

.profile-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px;
  background: var(--bg);
}

.profile-stats strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.profile-stats span {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.stat-slash {
  margin: 0 2px;
  color: var(--text-3);
  font-size: 0.6em;
}

.profile-card {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015) 40%,
    rgba(201, 168, 96, 0.04)
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.profile-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 96, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #25372b, #0d1410);
}

.profile-avatar img {
  width: 34px;
  height: 29px;
  object-fit: contain;
}

.profile-id {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-id strong {
  color: var(--text);
  font-size: 15px;
}

.profile-id > span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.profile-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-3) !important;
  letter-spacing: 0.02em !important;
}

.profile-loc .icon {
  width: 11px;
  height: 11px;
}

.profile-rank {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(201, 168, 96, 0.28);
  border-radius: 99px;
  background: rgba(201, 168, 96, 0.08);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.profile-chart {
  margin-top: 20px;
}

.profile-chart-head {
  display: flex;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.profile-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.profile-timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.pt-date {
  width: 52px;
  color: var(--text-3);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.pt-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
}

.pt-dot.is-gold {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 168, 96, 0.6);
}

.pt-text {
  color: var(--text-2);
}

.profile-badges {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 168, 96, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(201, 168, 96, 0.18), rgba(16, 20, 16, 0.9));
  color: var(--gold-bright);
}

.mini-badge .icon {
  width: 15px;
  height: 15px;
}

.mini-badge.is-more {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 11px;
}

/* ---------- Membership ---------- */

.membership {
  background: linear-gradient(180deg, var(--bg), #0b120e 55%, var(--bg));
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.plan-featured {
  border-color: rgba(201, 168, 96, 0.45);
  background: linear-gradient(170deg, rgba(201, 168, 96, 0.1), rgba(255, 255, 255, 0.015) 45%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(228, 199, 126, 0.2);
}

.plan-flag {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 5px 12px;
  border-radius: 99px;
  background: linear-gradient(135deg, #e8d19a, #c9a860);
  color: #161208;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.plan-tier {
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

.plan-head h3 {
  margin: 10px 0 6px;
  font-size: 1.9rem;
}

.plan-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.plan-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  margin: 26px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 13px;
}

.plan-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--gold);
}

.plan-cta {
  width: 100%;
}

.membership-note {
  margin: 32px 0 0;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ---------- Download ---------- */

.download {
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 40%, rgba(201, 168, 96, 0.14), transparent 70%),
    radial-gradient(40% 50% at 50% 90%, rgba(62, 107, 92, 0.18), transparent 70%);
}

.download-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-mark {
  width: auto;
  height: 82px;
  margin-bottom: 28px;
  filter: drop-shadow(0 10px 40px rgba(201, 168, 96, 0.18));
}

.download .eyebrow {
  justify-content: center;
}

.download h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  text-transform: uppercase;
}

.download .lede {
  max-width: 32em;
  margin-top: 22px;
  text-align: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 60px;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease);
}

.store-btn:hover {
  border-color: rgba(201, 168, 96, 0.4);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.store-btn .icon {
  width: 26px;
  height: 26px;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.store-text small {
  color: var(--text-3);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.store-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.download-note {
  margin: 22px 0 0;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #070b09;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  height: 44px;
}

.footer-brand p {
  margin: 0;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-slogan {
  margin-top: 8px !important;
  color: var(--gold) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
}

.footer-nav {
  display: flex;
  gap: 72px;
}

.footer-nav h4 {
  margin: 0 0 16px;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  padding: 12px 20px;
  border: 1px solid rgba(201, 168, 96, 0.35);
  border-radius: 99px;
  background: rgba(16, 22, 18, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Language-specific typography ---------- */

html[lang="en"] .hero-title {
  letter-spacing: 0.005em;
}

html[lang="en"] .section h2,
html[lang="en"] .download h2 {
  letter-spacing: 0.015em;
}

html[lang="en"] .eyebrow {
  letter-spacing: 0.24em;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .hero-grid {
    gap: 32px;
  }

  .float-best {
    right: -12px;
  }

  .float-atlas {
    display: none;
  }

  .honors-head {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }

  .profile-grid {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #0a0f0c;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-download {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-bright) !important;
    border-bottom: 0 !important;
  }

  .nav-download .icon {
    width: 16px;
    height: 16px;
  }

  .header-cta {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    min-height: 640px;
    margin-top: 16px;
  }

  .feature-ai {
    grid-column: span 12;
  }

  .feature-record,
  .feature-explore,
  .feature-gear,
  .feature-report {
    grid-column: span 6;
  }

  .feature-atlas {
    grid-column: span 12;
  }

  .honors-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .honor-summary {
    justify-self: start;
    text-align: left;
  }

  .honor-summary-sub {
    justify-content: flex-start;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile-card {
    max-width: 560px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan-head h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 820px) {
  :root {
    --strip-gap: 40px;
  }

  .container {
    width: min(100% - 40px, 1200px);
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 11vw, 4.6rem);
  }

  .hero-visual {
    min-height: 610px;
  }

  .phone {
    width: min(300px, calc(100vw - 92px));
  }

  .phone-screen {
    height: 600px;
  }

  .catch-visual {
    height: 260px;
  }

  .float-best {
    top: 108px;
    right: 0;
    min-width: 150px;
    padding: 13px 15px;
  }

  .float-value {
    font-size: 2rem;
  }

  .loop-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .loop-grid::before {
    top: 8px;
    right: auto;
    bottom: 22px;
    left: 4px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(201, 168, 96, 0.45), var(--line) 70%, transparent);
  }

  .loop-step {
    padding: 0 0 0 34px;
  }

  .loop-step::before {
    top: 5px;
    left: 0;
  }

  .loop-num {
    padding-top: 0;
    font-size: 2rem;
  }

  .loop-step h3 {
    margin-top: 10px;
    font-size: 1.2rem;
  }

  .feature-card {
    padding: 26px;
  }

  .feature-ai {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-visual {
    width: 100%;
  }

  .feature-record,
  .feature-explore,
  .feature-gear,
  .feature-report {
    grid-column: span 12;
  }

  .badge-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .badge-medal {
    width: 84px;
    height: 84px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-stats > div {
    padding: 18px 16px;
  }

  .profile-stats strong {
    font-size: 1.8rem;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    gap: 56px;
  }

  .footer-nav a {
    padding: 8px 0;
    margin-bottom: 2px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }
}

@media (max-width: 560px) {
  :root {
    --strip-gap: 32px;
  }

  .container {
    width: min(100% - 40px, 1200px);
  }

  .section {
    padding: 72px 0;
  }

  .section h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .section-head .lede,
  .lede {
    font-size: 1rem;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    height: 34px;
  }

  .brand-cn {
    font-size: 17px;
  }

  .brand-en {
    font-size: 8px;
    letter-spacing: 0.28em;
  }

  .header-actions {
    gap: 10px;
  }

  html[lang="en"] .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .lang-btn {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .lang-switch {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 2px;
  }

  .lang-btn.is-active {
    background: rgba(228, 199, 126, 0.14);
  }

  .hero-grid {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 48px;
  }

  .hero-lede {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-note {
    margin-top: 18px;
    font-size: 12px;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 36px;
    padding-top: 22px;
  }

  .hero-stat strong {
    font-size: 1.9rem;
  }

  .hero-sample {
    display: none;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone {
    width: clamp(250px, calc(100vw - 96px), 292px);
    animation: none;
  }

  .phone-screen {
    height: 580px;
  }

  .float-best {
    display: none;
  }

  .phone-status {
    padding-top: 12px;
  }

  .catch-visual {
    height: 248px;
  }

  .keyword-strip {
    padding: 12px 0;
  }

  .strip-track span {
    font-size: 1.15rem;
  }

  .feature-card {
    padding: 22px;
    border-radius: 20px;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .feature-ai {
    gap: 24px;
  }

  .viewfinder {
    aspect-ratio: 4 / 3.4;
  }

  .honors-head {
    margin-bottom: 40px;
  }

  .honor-summary > strong {
    font-size: 4rem;
  }

  .badge-wall {
    padding: 6px;
    border-radius: 22px;
  }

  .badge-item {
    padding: 20px 10px 18px;
  }

  .badge-medal {
    width: 76px;
    height: 76px;
  }

  .badge-medal .icon {
    width: 28px;
    height: 28px;
  }

  .badge-name {
    font-size: 11.5px;
  }

  .rarity-legend {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .profile-card {
    padding: 20px;
    border-radius: 20px;
  }

  .profile-rank {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  .profile-stats strong {
    font-size: 1.6rem;
  }

  .plan {
    padding: 26px;
  }

  .download {
    padding: 96px 0;
  }

  .download-mark {
    height: 66px;
  }

  .store-btn {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .store-buttons {
    width: 100%;
  }

  .footer-nav {
    gap: 40px;
  }

  .toast {
    width: calc(100% - 40px);
    text-align: center;
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    height: 32px;
  }

  .brand-en {
    display: none;
  }

  html[lang="en"] .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-stats {
    gap: 18px;
  }

  .phone {
    width: clamp(250px, calc(100vw - 72px), 270px);
  }
}

@media (hover: none) {
  .btn:hover,
  .feature-card:hover,
  .store-btn:hover {
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .phone,
  .float-card {
    animation: none;
  }
}
