/* ==========================================================================
   孕律 (Yunlv) — Nocturnal Rose & Precision Design System
   暗夜静谧 · 烟熏玫瑰花影风 | 专业 · 克制 · 非焦虑
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-obsidian: #08080a;
  --bg-surface: #121216;
  --bg-glass: rgba(18, 18, 22, 0.72);
  --bg-glass-float: rgba(24, 22, 27, 0.68);
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* Hairline Borders */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);

  /* Dual-Track Semantic Accents */
  --rose: #e84a6f;
  --rose-muted: #c85d75;
  --rose-soft: #dfa0b0;
  --rose-glow: rgba(232, 74, 111, 0.12);
  --rose-tint: rgba(232, 74, 111, 0.14);
  --rose-border: rgba(232, 74, 111, 0.32);

  --teal: #19c3a8;
  --teal-soft: #7ce2d1;
  --teal-glow: rgba(25, 195, 168, 0.11);
  --teal-tint: rgba(25, 195, 168, 0.12);
  --teal-border: rgba(25, 195, 168, 0.28);

  /* Typography Colors */
  --text-primary: #f5f5f7;
  --text-secondary: #8e8e93;
  --text-tertiary: rgba(142, 142, 147, 0.64);

  /* Radii */
  --radius-2xl: 20px;
  --radius-3xl: 28px;
  --radius-full: 9999px;

  /* Layout & Type */
  --container: 1180px;
  --font-sans: "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "SF Pro Display", "HarmonyOS Sans SC", "Inter", -apple-system, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Restrained Breathing Keyframes (6s - 8s Slow Cycles)
   ========================================================================== */
@keyframes breatheGlow {
  0%, 100% {
    opacity: 0.78;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.045);
  }
}

@keyframes breathePetals {
  0%, 100% {
    opacity: 0.82;
    transform: rotate(0deg) scale(0.99);
  }
  50% {
    opacity: 1;
    transform: rotate(1.2deg) scale(1.02);
  }
}

@keyframes breatheRing {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

/* ==========================================================================
   Minimalist Top Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  opacity: 0.94;
}

.brand-wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

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

.nav-cta {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 74, 111, 0.36);
  background: rgba(232, 74, 111, 0.07);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: rgba(232, 74, 111, 0.16);
  border-color: rgba(232, 74, 111, 0.56);
}

/* ==========================================================================
   Buttons (Rounded-Full Capsules)
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.25s ease, box-shadow 0.28s ease;
}

.btn-pill:active {
  transform: scale(0.985);
}

.btn-rose {
  background: linear-gradient(135deg, #d65372 0%, #c85b6b 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(232, 74, 111, 0.22);
}

.btn-rose:hover {
  background: linear-gradient(135deg, #e84a6f 0%, #d46374 100%);
  box-shadow: 0 12px 36px rgba(232, 74, 111, 0.32);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   Hero Section (Nocturnal Rose Glow + Petal Silhouette + Watch Hardware)
   ========================================================================== */
.hero {
  position: relative;
  padding: 68px 0 96px;
  overflow: hidden;
}

/* Low-saturation Smoky Rose Radial Ambient Backdrop */
.hero-ambient {
  position: absolute;
  top: -8%;
  right: 4%;
  width: 760px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 74, 111, 0.14) 0%,
    rgba(180, 62, 92, 0.06) 42%,
    rgba(8, 8, 10, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
  animation: breatheGlow 7.5s ease-in-out infinite;
  transition: background 0.8s ease;
}

.hero-ambient.is-male {
  background: radial-gradient(
    circle,
    rgba(25, 195, 168, 0.13) 0%,
    rgba(20, 130, 116, 0.05) 42%,
    rgba(8, 8, 10, 0) 72%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}

/* Dual Identity Capsules (Hero Left Bottom) */
.identity-capsules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 248px));
  gap: 14px;
}

.identity-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px 13px 14px;
  border-radius: var(--radius-full);
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.identity-pill--female {
  background: linear-gradient(135deg, rgba(232, 74, 111, 0.18) 0%, rgba(112, 38, 56, 0.22) 100%);
  border: 1px solid rgba(232, 74, 111, 0.32);
}

.identity-pill--female:hover,
.identity-pill--female.is-active {
  border-color: rgba(232, 74, 111, 0.58);
  box-shadow: 0 8px 28px rgba(232, 74, 111, 0.14);
}

.identity-pill--male {
  background: linear-gradient(135deg, rgba(25, 195, 168, 0.14) 0%, rgba(18, 68, 64, 0.24) 100%);
  border: 1px solid rgba(25, 195, 168, 0.26);
}

.identity-pill--male:hover,
.identity-pill--male.is-active {
  border-color: rgba(25, 195, 168, 0.54);
  box-shadow: 0 8px 28px rgba(25, 195, 168, 0.13);
}

.identity-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.identity-icon--female {
  background: var(--rose);
  color: #ffffff;
}

.identity-icon--male {
  background: rgba(25, 195, 168, 0.22);
  color: var(--teal);
  border: 1px solid rgba(25, 195, 168, 0.38);
}

.identity-icon svg {
  width: 19px;
  height: 19px;
}

.identity-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.identity-text span {
  display: block;
  font-size: 12px;
  color: rgba(245, 245, 247, 0.62);
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Right: Botanical Petal Texture + Circular Watch + Floating Callouts
   ========================================================================== */
.hero-visual {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Translucent Smoky Rose Petals Silhouette behind Watch */
.petal-aura-svg {
  position: absolute;
  left: 2%;
  top: 50%;
  width: 430px;
  height: 430px;
  margin-top: -215px;
  pointer-events: none;
  z-index: 1;
  animation: breathePetals 8s ease-in-out infinite;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.petal-aura-svg.is-male {
  filter: hue-rotate(155deg) saturate(0.82);
  opacity: 0.72;
}

/* Dimensional Circular Watch Assembly */
.watch-assembly {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Curved Fluoroelastomer Band */
.band-top,
.band-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 158px;
  height: 92px;
  background: linear-gradient(90deg, #16171d 0%, #2b2d37 46%, #1c1e26 85%, #111217 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.band-top {
  top: 0;
  border-radius: 52px 52px 12px 12px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, #000 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, #000 55%);
}

.band-bottom {
  bottom: 0;
  border-radius: 12px 12px 52px 52px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, #000 55%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, #000 55%);
}

/* Tactile Rotating Crown */
.crown-knob {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 42px;
  border-radius: 5px 8px 8px 5px;
  background: repeating-linear-gradient(
    to bottom,
    #3d404c 0px,
    #3d404c 2px,
    #1b1d24 2px,
    #1b1d24 4.5px
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.65);
  z-index: 2;
  transition: transform 0.25s ease;
}

.crown-knob:hover {
  transform: translateY(-50%) scale(1.06);
}

/* Domed Pebble Obsidian Watch Case */
.watch-shell {
  position: relative;
  z-index: 3;
  width: 298px;
  height: 298px;
  border-radius: 50%;
  padding: 10px;
  background: radial-gradient(circle at 28% 22%, #3a3d49 0%, #191a20 52%, #0c0d11 100%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(232, 74, 111, 0.1),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.28),
    inset 0 -2px 4px rgba(0, 0, 0, 0.8);
}

.watch-dial {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Curved Sapphire Rim Specular Highlight */
.watch-dial::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.02) 26%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  z-index: 5;
}

.watch-dial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.watch-halo-svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  pointer-events: none;
  z-index: 2;
  animation: breatheRing 6.8s ease-in-out infinite;
}

.watch-face-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.watch-top-state {
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 245, 247, 0.86);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.watch-main-metric {
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.watch-sub-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.watch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.watch-status-pill:hover {
  background: rgba(255, 255, 255, 0.17);
}

.watch-status-pill svg {
  width: 13px;
  height: 13px;
  color: var(--rose-soft);
}

.watch-status-pill.is-male svg {
  color: var(--teal);
}

/* Floating Glass Callout Badges around Watch */
.float-callout {
  position: absolute;
  z-index: 4;
  background: var(--bg-glass-float);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 13px 17px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.float-callout--top {
  top: 74px;
  right: 0;
  min-width: 196px;
}

.float-callout--bottom {
  bottom: 72px;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.callout-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.callout-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.callout-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.callout-icon-circle svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   Section Shared Typography
   ========================================================================== */
.section {
  position: relative;
  padding: 104px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rose-soft);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ==========================================================================
   Module 2: Interactive Role Switcher (STEP 1 / 3 你的身份)
   ========================================================================== */
.role-section {
  overflow: hidden;
}

.role-ambient {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 820px;
  height: 540px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-glow) 0%, rgba(8, 8, 10, 0) 70%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.7s ease;
}

.role-ambient.is-male {
  background: radial-gradient(circle, var(--teal-glow) 0%, rgba(8, 8, 10, 0) 70%);
}

.role-showcase {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}

/* Replicated Watch STEP 1 / 3 Selector Card */
.step-selector-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-3xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.step-bar {
  width: 26px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--rose);
  transition: background 0.35s ease;
}

.step-selector-card.is-male .step-bar {
  background: var(--teal);
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rose);
  margin-bottom: 6px;
  transition: color 0.35s ease;
}

.step-selector-card.is-male .step-label {
  color: var(--teal);
}

.step-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.role-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.role-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-hairline);
  text-align: left;
  transition: all 0.28s ease;
}

.role-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.role-option-btn.is-selected[data-role="female"] {
  background: rgba(232, 74, 111, 0.14);
  border-color: rgba(232, 74, 111, 0.42);
}

.role-option-btn.is-selected[data-role="male"] {
  background: rgba(25, 195, 168, 0.13);
  border-color: rgba(25, 195, 168, 0.4);
}

.role-option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-glyph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.role-glyph--female {
  background: rgba(232, 74, 111, 0.2);
  color: var(--rose);
}

.role-option-btn.is-selected[data-role="female"] .role-glyph--female {
  background: var(--rose);
  color: #fff;
}

.role-glyph--male {
  background: rgba(25, 195, 168, 0.16);
  color: var(--teal);
}

.role-option-btn.is-selected[data-role="male"] .role-glyph--male {
  background: var(--teal);
  color: #062924;
}

.role-glyph svg {
  width: 21px;
  height: 21px;
}

.role-option-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.role-option-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.role-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.4;
  transition: all 0.25s ease;
}

.role-check svg {
  width: 14px;
  height: 14px;
  opacity: 0;
}

.role-option-btn.is-selected[data-role="female"] .role-check {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  opacity: 1;
}

.role-option-btn.is-selected[data-role="male"] .role-check {
  background: var(--teal);
  border-color: var(--teal);
  color: #062924;
  opacity: 1;
}

.role-option-btn.is-selected .role-check svg {
  opacity: 1;
}

/* Role Detail Panel */
.role-detail-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-3xl);
  padding: 38px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.role-detail-panel.is-female {
  border-color: rgba(232, 74, 111, 0.24);
}

.role-detail-panel.is-male {
  border-color: rgba(25, 195, 168, 0.24);
}

.role-pane {
  display: none;
  animation: fadePanel 0.35s ease;
}

.role-pane.is-active {
  display: block;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.role-pane-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.role-pane-badge--rose {
  background: var(--rose-tint);
  color: #f48da4;
  border: 1px solid var(--rose-border);
}

.role-pane-badge--teal {
  background: var(--teal-tint);
  color: var(--teal-soft);
  border: 1px solid var(--teal-border);
}

.role-pane h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.role-pane > p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.role-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.role-feature-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2xl);
  padding: 18px 20px;
}

.role-feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.role-feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.role-cite {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Module 3: Bento Grid ("底线思维 · 非焦虑哲学")
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-3xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.bento-card:hover {
  border-color: var(--border-hover);
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-metric {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 14px;
}

.bento-metric span {
  font-size: 16px;
  font-weight: 500;
  color: var(--rose-soft);
  margin-left: 4px;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.bento-card > div > p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* Bento Visuals */
.baseline-split {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.baseline-box {
  padding: 16px 18px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
}

.baseline-box-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.baseline-box-tag--rose {
  background: var(--rose-tint);
  color: #f48da4;
}

.baseline-box-tag--muted {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.baseline-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.baseline-box span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.step-pills-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-pill {
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
}

.glance-preview {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(232, 74, 111, 0.1) 0%, rgba(18, 18, 22, 0.9) 100%);
  border: 1px solid rgba(232, 74, 111, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glance-preview-left span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.glance-preview-left strong {
  font-size: 19px;
  font-weight: 700;
}

/* Stealth Mode Inline Switch inside Bento Card 4 */
.stealth-bento-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.stealth-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hover);
  font-size: 12.5px;
  color: var(--text-primary);
}

.toggle-track {
  width: 32px;
  height: 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: background 0.25s ease;
}

.toggle-dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}

.stealth-pill-toggle.is-on .toggle-track {
  background: var(--rose);
}

.stealth-pill-toggle.is-on .toggle-dot {
  transform: translateX(14px);
}

.stealth-notif-pair {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-notif {
  padding: 14px 16px;
  border-radius: var(--radius-2xl);
  background: rgba(8, 8, 10, 0.65);
  border: 1px solid var(--border-hairline);
}

.mini-notif-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 5px;
}

.mini-notif strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mini-notif span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Module 4: Evidence-Based Milestones & Supported Devices
   ========================================================================== */
.risk-customizer-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-3xl);
  padding: 36px 34px;
  margin-bottom: 64px;
}

.risk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.risk-bar h3 {
  font-size: 19px;
  font-weight: 600;
}

.risk-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tag-pill {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  transition: all 0.22s ease;
}

.tag-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.tag-pill.is-active {
  background: var(--teal-tint);
  border-color: var(--teal-border);
  color: var(--teal-soft);
}

.risk-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.risk-item-card {
  padding: 18px 20px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
}

.risk-item-card.is-highlighted {
  border-color: rgba(25, 195, 168, 0.3);
  background: rgba(25, 195, 168, 0.045);
}

.risk-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.risk-item-badge {
  color: var(--teal-soft);
  font-weight: 600;
}

.risk-item-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.risk-item-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Device Launch Panel */
.device-panel {
  background: linear-gradient(135deg, rgba(232, 74, 111, 0.09) 0%, rgba(18, 18, 22, 0.88) 52%, rgba(25, 195, 168, 0.06) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-3xl);
  padding: 46px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.device-panel h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.device-panel > div > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-row-card {
  background: rgba(8, 8, 10, 0.65);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2xl);
  padding: 18px 22px;
}

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

.device-row-head h4 {
  font-size: 15px;
  font-weight: 600;
}

.pill-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: var(--radius-full);
}

.pill-badge--rose {
  background: var(--rose-tint);
  color: #f48da4;
  border: 1px solid var(--rose-border);
}

.pill-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
}

.device-row-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 52px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.medical-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.medical-note strong {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .role-showcase,
  .device-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 72px;
  }

  .hero-visual {
    order: -1;
    min-height: 430px;
    margin-bottom: 12px;
  }

  .float-callout--top {
    top: 28px;
    right: 4%;
  }

  .float-callout--bottom {
    bottom: 28px;
    right: 4%;
  }

  .bento-span-7,
  .bento-span-5 {
    grid-column: span 12;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .identity-capsules,
  .role-feature-list,
  .baseline-split,
  .stealth-notif-pair,
  .risk-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .watch-assembly {
    transform: scale(0.88);
  }

  .float-callout {
    display: none;
  }

  .step-selector-card,
  .role-detail-panel,
  .bento-card,
  .risk-customizer-card,
  .device-panel {
    padding: 26px 22px;
  }
}
