:root {
  --teal: #146e66;
  --teal-hover: #0f5650;
  --teal-light: #e7f4f2;
  --teal-glow: rgba(20, 110, 102, 0.15);
  --teal-border: #b8ded9;
  --text-main: #132b32;
  --text-muted: #526871;
  --text-light: #7a8e96;
  --bg-main: #f6fafb;
  --bg-card: #ffffff;
  --bg-subtle: #edf4f5;
  --line: #dce5e8;
  --warning-bg: #fff8e6;
  --warning-border: #f4d084;
  --warning-text: #7c5800;
  --success: #1f8a70;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 8px rgba(19, 43, 50, 0.04);
  --shadow-md: 0 8px 24px rgba(19, 43, 50, 0.08);
  --shadow-lg: 0 18px 45px rgba(20, 110, 102, 0.12);
}

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

img {
  max-width: 100%;
  height: auto;
}

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-main);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg-main);
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 251, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px var(--teal-glow);
}

.brand-badge {
  font-size: 11px;
  background: var(--teal-light);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  border: 1px solid var(--teal-border);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 550;
  color: var(--text-muted);
}

nav a {
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--teal);
}

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

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 650;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--teal-glow);
  text-align: center;
}

.button-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--teal-glow);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  color: var(--teal);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 650;
  border: 1.5px solid var(--teal-border);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.button-secondary:hover {
  background: var(--teal-light);
  border-color: var(--teal);
}

.button-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* Sections Common */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-bordered {
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--teal);
  font-weight: 750;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 20px;
  font-weight: 850;
}

h1 em {
  font-style: normal;
  color: var(--teal);
  display: block;
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.8px;
  margin: 0 0 16px;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 40px;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  padding: 64px 24px 80px;
  background: radial-gradient(ellipse at 85% 20%, #d8ece8 0%, #f6fafb 65%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-light);
  font-weight: 550;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-interactive-phone {
  width: 100%;
  max-width: 290px;
  height: 520px;
  background: #0d1417;
  border-radius: 36px;
  border: 9px solid #1a2327;
  box-shadow: 0 0 0 2px #2d3b41, 0 25px 60px rgba(16, 43, 46, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.hero-screen-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.hero-status-bar {
  background: #f8fafc;
  color: #334155;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-status-bar .status-5g {
  background: rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

.hero-calc-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 6px 12px;
}

.hero-calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.hero-calc-title {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f172a;
}

.hero-calc-mode-pill {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 6px;
}

.hero-calc-screen {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 4px 6px 8px;
}

.hero-calc-formula {
  font-size: 11px;
  color: #94a3b8;
  min-height: 14px;
}

.hero-calc-display {
  font-size: 30px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #0f172a;
  letter-spacing: 2px;
  line-height: 1.1;
  word-break: break-all;
  transition: color 0.2s ease;
}

.hero-calc-display.screen-unlocked {
  color: #059669;
}

.hero-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 2px 0 4px;
}

.hero-key {
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s, background 0.15s;
}

.hero-key:hover {
  background: #e2e8f0;
}

.hero-key.op {
  background: #eaf4f3;
  color: #0f766e;
}

.hero-key.equals {
  background: #0d9488;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.35);
}

.hero-key.key-pressed {
  transform: scale(0.92);
  background: #38bdf8 !important;
  color: #0f172a !important;
}

.hero-key.active-pulse {
  animation: heroKeyPulse 0.4s ease;
}

@keyframes heroKeyPulse {
  0% { transform: scale(0.9); background: #10b981; color: white; }
  100% { transform: scale(1); }
}

.hero-wechat-app {
  background: #111;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gesture-pill {
  background: rgba(0, 0, 0, 0.25);
}

.hero-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

/* Feature Strip */
.feature-strip {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 32px 24px;
}

.strip-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-icon svg {
  width: 20px;
  height: 20px;
}

.strip-text b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-main);
  font-weight: 750;
}

.strip-text span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

/* Core Features Detailed */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-border);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0;
  font-size: 21px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-bullets li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Interactive Demo Showcase */
.demo-container {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.demo-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.demo-tabs-bar .demo-tabs {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.sim-autoplay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 110, 102, 0.08);
  border: 1px solid rgba(20, 110, 102, 0.28);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 650;
  color: var(--teal);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.sim-autoplay-toggle:hover {
  background: rgba(20, 110, 102, 0.16);
  border-color: var(--teal);
}

.sim-autoplay-toggle .autoplay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  transition: all 0.25s ease;
}

.sim-autoplay-toggle.is-playing {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #059669;
}

.sim-autoplay-toggle.is-playing .autoplay-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.demo-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 650;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.demo-tab-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 4px 12px var(--teal-glow);
}

.demo-panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.demo-panel.active {
  display: grid;
}

.demo-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.demo-info p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.demo-key-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.demo-key-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.demo-tag {
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Demo Simulation Stage */
.sim-stage {
  background: #111a1d;
  border-radius: 28px;
  padding: 20px 16px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(17, 26, 29, 0.25);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8fa5aa;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.sim-badge {
  background: rgba(20, 110, 102, 0.5);
  color: #9ce4d8;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.sim-caption-bar {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #9ce4d8;
  min-height: 20px;
  line-height: 1.4;
  transition: all 0.3s ease;
}

/* ========================================================
   Smartphone Chassis & Frame Mockup
   ======================================================== */
.phone-mockup {
  width: 100%;
  max-width: 290px;
  height: 520px;
  background: #0d1417;
  border-radius: 36px;
  border: 9px solid #1a2327;
  box-shadow: 0 0 0 2px #2d3b41, 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  user-select: none;
}

.phone-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  background: #2b393f;
  border-radius: 2px;
  z-index: 35;
}

.phone-camera-hole {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #070a0c;
  border: 1px solid #1a2428;
  border-radius: 50%;
  z-index: 35;
}

.phone-screen-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #0f1719;
}

.phone-status-bar {
  height: 26px;
  padding: 4px 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  z-index: 25;
  flex-shrink: 0;
}

.phone-status-bar .status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.phone-status-bar .status-5g {
  font-size: 8.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 3px;
  border-radius: 3px;
}

.phone-bottom-nav {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  flex-shrink: 0;
  background: transparent;
}

.phone-gesture-pill {
  width: 72px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================================
   App View: Calculator Keypad & Screen
   ======================================================== */
.sim-phone-app-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8fa5aa;
  font-size: 12px;
  padding: 2px 4px 6px;
}

.phone-calc-display {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 4px 6px 8px;
}

.phone-calc-history {
  font-size: 11px;
  color: #64748b;
  min-height: 14px;
}

.phone-calc-main-num {
  font-size: 30px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #fff;
  letter-spacing: 2px;
  line-height: 1.1;
  word-break: break-all;
  transition: color 0.2s ease;
}

.phone-calc-main-num.screen-unlocked {
  color: #34d399;
}

.phone-calc-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 2px 0;
}

.phone-calc-keypad.muted-bg .sim-key {
  opacity: 0.85;
}

.sim-key {
  height: 36px;
  border-radius: 10px;
  background: #1f2d31;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s, background 0.15s;
}

.sim-key:hover {
  background: #2a3c42;
}

.sim-key.op {
  background: #16363a;
  color: #5eead4;
}

.sim-key.equals {
  background: #0d9488;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

.sim-key.key-pressed {
  transform: scale(0.92);
  background: #38bdf8 !important;
  color: #0f172a !important;
}

.sim-key.active-pulse {
  animation: keyPulseGlow 0.4s ease;
}

@keyframes keyPulseGlow {
  0% { transform: scale(0.9); background: #10b981; color: white; }
  100% { transform: scale(1); }
}

/* ========================================================
   WeChat Interface Mockup
   ======================================================== */
.sim-phone-wechat-view {
  background: #111;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.wechat-top-bar {
  height: 36px;
  background: #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wechat-top-badge {
  font-size: 12px;
  color: #a3a3a3;
  margin-left: 2px;
}

.wechat-top-icons {
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.wechat-chat-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.wechat-chat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wechat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  flex-shrink: 0;
}

.avatar-file { background: #07c160; color: white; }
.avatar-vip { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.avatar-pay { background: #10aeff; color: white; }

.wechat-unread-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #fa5151;
  color: white;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.wechat-chat-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.wechat-name-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.wechat-chat-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
}

.wechat-chat-time {
  font-size: 10px;
  color: #64748b;
}

.wechat-chat-msg {
  font-size: 11px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wechat-bottom-bar {
  height: 42px;
  background: #191919;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wechat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 8.5px;
  color: #888;
  gap: 2px;
}

.wechat-tab.active {
  color: #07c160;
}

.wechat-tab .tab-icon {
  font-size: 13px;
}

.wechat-quick-exit {
  padding: 6px 12px;
  background: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wechat-exit-trigger {
  width: 100%;
  background: rgba(7, 193, 96, 0.15);
  border: 1px solid rgba(7, 193, 96, 0.4);
  color: #4ade80;
  padding: 6px 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.wechat-exit-trigger:hover {
  background: rgba(7, 193, 96, 0.28);
}

.phone-screen-curtain {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.phone-screen-curtain.active {
  opacity: 1;
  pointer-events: auto;
}

.curtain-lock-icon {
  font-size: 30px;
  margin-bottom: 6px;
}

.curtain-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.curtain-desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ========================================================
   Scene 2: WeChat Chatroom & Android Launcher
   ======================================================== */
.sim-phone-chatroom-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #181818;
  color: #fff;
}

.chatroom-top-bar {
  height: 36px;
  background: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatroom-back, .chatroom-more {
  font-size: 12px;
  color: #94a3b8;
}

.chatroom-messages {
  flex: 1;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-time-tag {
  align-self: center;
  font-size: 9.5px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.chat-bubble-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.chat-bubble-row.left {
  align-self: flex-start;
}

.chat-bubble-row.right {
  align-self: flex-end;
}

.chat-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-me {
  background: #07c160;
  color: white;
}

.chat-bubble-content {
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.45;
  background: #2c2c2c;
  color: #f1f5f9;
  text-align: left;
}

.chat-bubble-content.green {
  background: #07c160;
  color: white;
}

.chatroom-input-bar {
  height: 36px;
  background: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.input-mock-field {
  flex: 1;
  height: 24px;
  background: #2c2c2c;
  border-radius: 5px;
  padding: 0 8px;
  font-size: 10.5px;
  color: #64748b;
  display: flex;
  align-items: center;
}

.input-icon {
  font-size: 13px;
}

.sim-oled-screen-off {
  position: absolute;
  inset: 0;
  background: #050708;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 35;
  animation: fadeInFast 0.2s ease;
}

@keyframes fadeInFast {
  from { opacity: 0; }
  to { opacity: 1; }
}

.oled-lock-symbol {
  font-size: 26px;
  margin-bottom: 6px;
}

.oled-lock-text {
  font-size: 11.5px;
  color: #64748b;
}

.sim-phone-launcher-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 25%, #182e36 0%, #0c1417 100%);
  padding: 12px 10px;
  position: relative;
  animation: fadeInZoom 0.35s ease;
}

.launcher-widget {
  text-align: center;
  margin-bottom: 14px;
}

.launcher-clock {
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.launcher-date {
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 1px;
}

.launcher-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 4px;
  text-align: center;
}

.launcher-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.app-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icon-camera { background: linear-gradient(135deg, #ef4444, #dc2626); }
.icon-gallery { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.icon-settings { background: linear-gradient(135deg, #64748b, #475569); }
.icon-calc { background: linear-gradient(135deg, #0d9488, #0f766e); color: white; font-weight: 700; border: 1px solid rgba(255,255,255,0.25); }
.icon-music { background: linear-gradient(135deg, #ec4899, #be185d); }
.icon-notes { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-browser { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.icon-market { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.app-name {
  font-size: 9px;
  color: #e2e8f0;
}

.launcher-dock {
  margin-top: auto;
  margin-bottom: 2px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 6px 8px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.dock-app-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.icon-phone { background: #22c55e; }
.icon-sms { background: #3b82f6; }

.launcher-safe-pill {
  margin-top: 6px;
  background: rgba(13, 148, 136, 0.25);
  border: 1px solid rgba(13, 148, 136, 0.45);
  color: #5eead4;
  font-size: 8.5px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 10px;
  text-align: center;
}

/* ========================================================
   Scene 3: Lockscreen & Anonymous Notification Card
   ======================================================== */
.sim-lockscreen-bg {
  background: linear-gradient(180deg, #112027 0%, #0a1013 100%);
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
}

.lockscreen-center {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 16px;
}

.lockscreen-padlock {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.lockscreen-time {
  font-size: 38px;
  font-weight: 300;
  color: #fff;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.lockscreen-date {
  font-size: 10.5px;
  color: #94a3b8;
}

.sim-notif-card-float {
  background: rgba(28, 38, 43, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notif-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.notif-card-app-icon {
  width: 15px;
  height: 15px;
  background: #0d9488;
  color: white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.notif-card-app-name {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}

.notif-card-time {
  font-size: 9.5px;
  color: #64748b;
  margin-left: auto;
}

.notif-card-chevron {
  font-size: 9px;
  color: #64748b;
}

.notif-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.notif-card-content {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.notif-privacy-pills {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(13, 148, 136, 0.12);
  border-left: 2px solid #14b8a6;
  padding: 5px 8px;
  border-radius: 4px;
}

.privacy-pill-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: #5eead4;
}

.lockscreen-shortcuts {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
}

.lock-shortcut-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.lock-hint-text {
  font-size: 9.5px;
  color: #64748b;
}

/* ========================================================
   Scene 4: BiometricPrompt Sheet & PIN Reset
   ======================================================== */
.sim-biometric-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #172327;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 12px 14px 18px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 35;
  animation: slideSheetUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-drag-handle {
  width: 32px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin: 0 auto 10px;
}

.sheet-brand-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.sheet-app-icon {
  width: 15px;
  height: 15px;
  background: #0d9488;
  color: white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.sheet-app-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
}

.sheet-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.sheet-subtitle {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 12px;
}

.bio-sensor-area {
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-radar-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 184, 166, 0.6);
}

.bio-radar-circle.wave-1 {
  animation: bioRadarWave 1.6s ease-out infinite;
}

.bio-radar-circle.wave-2 {
  animation: bioRadarWave 1.6s ease-out infinite 0.8s;
}

@keyframes bioRadarWave {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.bio-fingerprint-glyph {
  color: #2dd4bf;
  transition: all 0.3s;
}

.bio-fingerprint-glyph.verified {
  color: #22c55e;
}

.bio-touch-hint {
  text-align: center;
  font-size: 10.5px;
  color: #5eead4;
  font-weight: 600;
}

.bio-success-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.pin-dots-display {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.pin-dot {
  font-size: 15px;
  color: #475569;
}

.pin-dot.filled {
  color: #2dd4bf;
}

.bio-data-safe-notice {
  background: rgba(13, 148, 136, 0.16);
  border-left: 2px solid #14b8a6;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  color: #5eead4;
  line-height: 1.4;
  text-align: left;
  margin-top: 8px;
}

.ac-pulse {
  animation: acGlowRing 1.2s infinite ease-in-out;
}

@keyframes acGlowRing {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* Video / Step-by-Step Tour Showcase */
.tour-container {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tour-header {
  padding: 24px 32px;
  background: #fbfdfe;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-tab-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-tab-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--teal-border);
}

.tour-tab-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.tour-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.tour-media-area {
  background: #0f1618;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  position: relative;
}

.tour-player-mockup {
  width: 100%;
  max-width: 320px;
  background: #182225;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.tour-player-screen {
  aspect-ratio: 9/16;
  max-height: 440px;
  width: 100%;
  background: #0a0e0f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tour-step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.tour-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.tour-player-overlay .tour-play-btn {
  pointer-events: auto;
}

.features-banner {
  margin: 28px 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.features-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.features-banner-caption {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-img-preview {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-width: 480px;
  background: var(--bg-surface-2);
}

.step-img-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.step-img-caption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 110, 102, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.tour-play-btn:hover {
  transform: scale(1.08);
  background: var(--teal);
}

.tour-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.tour-subtitle-bar {
  background: rgba(0, 0, 0, 0.85);
  color: #eaf2f2;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-details-area {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tour-step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  color: var(--teal);
  background: var(--teal-light);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tour-details-area h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.tour-details-area p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tour-action-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-action-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.tour-action-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Download Section */
.download-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}

.download-info p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.compatibility-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.compatibility-box h4 {
  font-size: 16px;
  font-weight: 750;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compat-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.compat-item.warning svg {
  color: #d97706;
}

.download-card {
  background: white;
  border: 2px solid var(--teal-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.download-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.download-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.download-card .version-meta {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hash-box {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  word-break: break-all;
  position: relative;
  line-height: 1.5;
}

.hash-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.download-tips {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.download-tips strong {
  color: var(--text-main);
}

/* Step-by-Step Setup Guide */
.guide-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.2s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-sm);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.step-card-num {
  font-size: 26px;
  font-weight: 850;
  color: var(--teal);
  background: var(--teal-light);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card-header-text h3 {
  margin: 0;
  font-size: 21px;
}

.step-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.step-body-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.step-meta-col {
  font-size: 13.5px;
}

.step-meta-label {
  display: block;
  font-size: 11.5px;
  font-weight: 750;
  color: var(--teal);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.step-meta-val {
  color: var(--text-main);
  font-weight: 550;
  line-height: 1.5;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-callout {
  background: var(--teal-light);
  border-left: 3.5px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  color: #1a4d47;
  line-height: 1.6;
  margin-top: 14px;
}

.step-callout strong {
  color: var(--teal);
}

.step-callout.warning {
  background: var(--warning-bg);
  border-left-color: #d97706;
  color: var(--warning-text);
}

/* Trial & Invite Program Section */
.invite-showcase {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}

.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.invite-diagram {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.invite-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.invite-card-title {
  font-weight: 750;
  font-size: 15px;
  color: var(--text-main);
}

.invite-card-days {
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
}

.invite-plus {
  text-align: center;
  font-size: 18px;
  font-weight: 750;
  color: var(--teal);
}

.invite-rule-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.invite-rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.invite-rule-list li svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.plan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 12px;
  font-weight: 750;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-period {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 46px;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 20px;
}

.plan-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.plan-status-callout {
  margin-top: 32px;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.plan-status-callout strong {
  color: var(--text-main);
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

details.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.faq-item[open] {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-sm);
}

summary.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

summary.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  color: var(--teal);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

details.faq-item[open] summary.faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 4px;
  padding-top: 14px;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer, .site-footer {
  background: #0d1518;
  color: #a4b7bc;
  padding: 64px 24px 120px;
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-brand-col {
  max-width: 480px;
  flex: 1 1 320px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-desc {
  max-width: 480px;
  font-size: 13.5px;
  color: #83979c;
  line-height: 1.7;
  margin: 0;
}

.footer-links-col {
  flex: 1 1 360px;
}

.footer-links-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9ce4d8;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-weight: 550;
  font-size: 13.5px;
}

.footer-links a {
  color: #c4d7dc;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #9ce4d8;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-disclaimer {
  font-size: 12.5px;
  color: #6a7e83;
  line-height: 1.65;
}

.footer-disclaimer p {
  margin: 4px 0;
}

.footer-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #55696e;
  padding-top: 8px;
}

.footer-copy a {
  color: #83979c;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.footer-copy a:hover {
  color: #9ce4d8;
}

.footer-copy-divider {
  color: #3b4d52;
}

/* Accessibility & Focus */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #40a99c;
  outline-offset: 4px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tour-content {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 36px auto 0;
  }
  .invite-grid {
    grid-template-columns: 1fr;
  }
  .step-body-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 18px;
  }
  .header-cta .button-primary {
    padding: 7px 14px;
    font-size: 13px;
  }
  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 6px;
    gap: 18px;
    border-top: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  .section {
    padding: 50px 18px;
  }
  .hero {
    padding: 40px 18px 56px;
  }
  .strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .demo-container {
    padding: 20px 16px;
  }
  .demo-tabs-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .sim-autoplay-toggle {
    align-self: flex-start;
    padding: 6px 14px;
    font-size: 12px;
  }
  .demo-tabs {
    flex-direction: column;
  }
  .step-card {
    padding: 22px 18px;
  }
  .step-card-header {
    gap: 12px;
  }
  .step-card-num {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  .step-body-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .tour-header {
    padding: 18px;
  }
  .tour-details-area {
    padding: 24px 18px;
  }
  .tour-media-area {
    padding: 18px;
    min-height: 320px;
  }
  .invite-showcase {
    padding: 24px 18px;
  }
  .download-card {
    padding: 24px 20px;
  }
  .site-footer, footer {
    padding: 48px 18px 130px;
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-links {
    gap: 10px 18px;
  }

  /* Mobile-first touch targets & prevention of accidental 300ms tap delay */
  button, .button, .button-primary, .button-secondary, .sim-key, .faq-filter-btn, .step-nav-pill, .dock-btn {
    touch-action: manipulation;
  }

  /* Hero Section mobile layout */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .button-primary, .hero-actions .button-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    max-width: 320px;
    margin: 24px auto 0;
  }

  /* Plan cards mobile touch & visual polish */
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 28px 0 0;
    gap: 20px;
  }
  .plan-card {
    padding: 24px 18px;
  }
  .plan-card .button-primary, .plan-card .button-secondary {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Invite Diagram mobile optimization */
  .invite-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .invite-diagram {
    padding: 14px;
  }
  .invite-card-row {
    padding: 12px;
  }
  .invite-card-days {
    font-size: 20px;
  }

  /* Horizontal swipeable Step Navigator on mobile */
  .step-nav-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 12px 14px;
    margin-left: -18px;
    margin-right: -18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .step-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .step-nav-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Horizontal swipeable FAQ category filters on mobile */
  .faq-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 12px 12px;
    margin-left: -18px;
    margin-right: -18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .faq-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .faq-filter-btn {
    flex-shrink: 0;
    padding: 7px 15px;
    font-size: 13px;
  }

  /* Demo interactive calculator keypad on mobile */
  .sim-stage {
    padding: 14px 10px;
  }
  .sim-calc-box {
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 12px;
  }
  .sim-calc-keys {
    gap: 8px;
  }
  .sim-key {
    height: 48px;
    font-size: 20px;
    border-radius: 14px;
  }
  .sim-calc-screen {
    height: 60px;
    font-size: 30px;
    padding: 8px 12px;
    margin-bottom: 12px;
  }
  .sim-wechat-mock {
    max-width: 280px;
    margin: 0 auto;
  }

  /* Mobile Floating Dock: Turn into bottom app bar */
  .floating-dock {
    bottom: 14px;
    width: calc(100vw - 24px);
    max-width: 440px;
    padding: 6px 8px;
    gap: 4px;
    justify-content: space-between;
    border-radius: 36px;
  }
  .dock-brand {
    display: none;
  }
  .dock-links {
    width: 100%;
    justify-content: space-around;
    gap: 4px;
  }
  .dock-btn {
    padding: 7px 10px;
    font-size: 12px;
    flex: 1;
    text-align: center;
  }
  .dock-btn.primary {
    flex: 1.4;
    font-weight: 700;
  }
  .dock-btn-top {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  /* Compatibility & Download cards */
  .compat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ========================================================
   Dynamic & Interactive Enhancements (2026-10-04)
   ======================================================== */

/* 1. Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #10b981, #38bdf8);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* 2. Ambient Aurora Glowing Orbs */
.aurora-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: auroraPulse 10s ease-in-out infinite alternate;
}

.aurora-orb-1 {
  width: 500px;
  height: 400px;
  top: -100px;
  left: 10%;
  background: radial-gradient(circle, rgba(20, 110, 102, 0.6) 0%, rgba(20, 110, 102, 0) 70%);
}

.aurora-orb-2 {
  width: 450px;
  height: 350px;
  top: 80px;
  right: 5%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
  animation-duration: 14s;
  animation-delay: -5s;
}

@keyframes auroraPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate(30px, 20px) scale(1.15);
    opacity: 0.45;
  }
  100% {
    transform: translate(-20px, 40px) scale(0.95);
    opacity: 0.3;
  }
}

/* 3. Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* 4. Dynamic Interactive Keypad & Tactile Feedback */
.sim-key {
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.sim-key:hover {
  background: #33484f;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.sim-key:active, .sim-key.key-pressed {
  transform: scale(0.91) !important;
  background: #146e66 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(20, 110, 102, 0.8) !important;
}

.sim-key.equals:hover {
  background: #198077;
  box-shadow: 0 0 16px rgba(20, 110, 102, 0.8);
}

.sim-calc-screen {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-calc-screen.screen-unlocked {
  background: #0d2825;
  color: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* 5. Realistic Simulated WeChat Mockup */
.sim-wechat-mock {
  display: none;
  width: 100%;
  max-width: 250px;
  background: #191919;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: wechatAppear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

@keyframes wechatAppear {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.sim-wechat-top {
  background: #2e2e2e;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-wechat-top-icons {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #a0a0a0;
}

.sim-wechat-list {
  background: #111111;
  padding: 4px 0;
  min-height: 220px;
}

.sim-chat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  transition: background 0.15s;
}

.sim-chat-row:hover {
  background: #1c1c1c;
}

.sim-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sim-avatar-green { background: #07c160; color: white; }
.sim-avatar-blue { background: #10aeff; color: white; }
.sim-avatar-amber { background: #fa9d3b; color: white; }

.sim-chat-content {
  flex: 1;
  min-width: 0;
}

.sim-chat-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.sim-chat-name {
  font-size: 13px;
  font-weight: 600;
  color: #e5e5e5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-chat-time {
  font-size: 11px;
  color: #666666;
}

.sim-chat-preview {
  font-size: 11px;
  color: #888888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-badge-unread {
  background: #fa5151;
  color: white;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}

.sim-wechat-bottom-actions {
  background: #1e1e1e;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #282828;
}

.sim-btn-exit {
  background: #fa5151;
  color: white;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(250, 81, 81, 0.3);
}

.sim-btn-exit:hover {
  background: #e04141;
  transform: translateY(-1px);
}

/* Screen Lock Dim / Wipe Animation */
.sim-lock-curtain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.sim-lock-curtain.active {
  opacity: 0.95;
  pointer-events: auto;
}

/* 6. Interactive Quick Preset Chips */
.sim-presets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.sim-preset-btn {
  background: rgba(20, 110, 102, 0.08);
  border: 1px solid rgba(20, 110, 102, 0.22);
  color: #0e5b54;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sim-preset-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--teal-glow);
}

.sim-preset-btn:active {
  transform: scale(0.96);
}

#sim-interactive-status {
  color: #0e5b54;
  font-weight: 600;
  font-size: 13px;
}

/* 7. Setup Guide Interactive Navigator */
.guide-step-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.guide-step-nav::-webkit-scrollbar {
  display: none;
}

.step-nav-pill {
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-nav-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-focus);
}

.step-nav-pill.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 4px 12px var(--teal-glow);
}

/* Highlight active step card */
.step-card.active-target {
  border-color: var(--teal);
  box-shadow: 0 0 24px var(--teal-glow);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* 8. FAQ Category Filter Tags */
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.faq-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-filter-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.faq-filter-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  font-weight: 600;
  box-shadow: 0 2px 8px var(--teal-glow);
}

.faq-item.is-hidden {
  display: none !important;
}

/* 9. Floating Quick Navigation Dock */
.floating-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(17, 26, 29, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  max-width: 92vw;
}

.floating-dock.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.dock-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  padding-left: 6px;
  padding-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-badge {
  background: rgba(20, 110, 102, 0.6);
  color: #9ce4d8;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 8px;
}

.dock-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dock-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.dock-btn.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 2px 8px var(--teal-glow);
}

.dock-btn.primary:hover {
  background: var(--teal-dark);
}

.dock-btn-top {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.dock-btn-top:hover {
  background: var(--teal);
  color: white;
}

/* 10. Shimmering Light Sweep for Primary Buttons */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shimmerSweep 4s infinite ease-in-out;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  30%, 100% { left: 140%; }
}

/* 11. Right-Side Floating Elevator Navigation & Back to Top */
.side-elevator {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(40px);
  background: rgba(14, 23, 27, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 990;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 78px;
}

.side-elevator.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.side-elevator-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  text-align: center;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.side-elevator-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  border-radius: 9px;
  color: #9cb1b6;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  justify-content: flex-start;
}

.side-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-2px);
}

.side-nav-link.active {
  color: #9ce4d8;
  background: rgba(20, 110, 102, 0.45);
  border: 1px solid rgba(20, 110, 102, 0.7);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--teal-glow);
}

.side-nav-icon {
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.side-nav-text {
  flex: 1;
}

.side-elevator-divider {
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 5px 0 3px;
}

/* Dedicated prominent Back to Top button in side elevator */
.side-back-top-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 4px 5px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), #0d8377);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 700;
  gap: 2px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px var(--teal-glow);
  touch-action: manipulation;
}

.side-back-top-btn:hover {
  background: linear-gradient(135deg, var(--teal-hover), var(--teal));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 110, 102, 0.6);
}

.side-back-top-btn:active {
  transform: scale(0.93);
}

/* Mobile Floating Action Button (FAB) */
.mobile-back-top-fab {
  display: none;
}

@media (max-width: 960px) {
  .side-elevator {
    display: none !important;
  }
  .mobile-back-top-fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 82px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), #0d8377);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 12px var(--teal-glow);
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
  }
  .mobile-back-top-fab.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .mobile-back-top-fab:active {
    transform: scale(0.9);
  }
  .mobile-back-top-text {
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    margin-top: -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
