/* ==========================================================================
   Waves VPN - Modern iOS Landing Page Stylesheet
   Theme: Soft Mint & Forest Green (取色自 App 截图与品牌 Logo)
   ========================================================================== */

/* --- Design Tokens & CSS Variables --- */
:root {
  /* Pale background system: mint, warm white and a hint of sage */
  --bg-base: #eff7ec;
  --bg-gradient: linear-gradient(145deg, #edf7e9 0%, #f5faef 34%, #eaf6ee 68%, #f1f8e8 100%);
  --bg-surface: rgba(253, 255, 250, 0.76);
  --bg-surface-elevated: rgba(255, 255, 252, 0.92);
  --bg-surface-card: rgba(249, 253, 246, 0.74);
  
  /* Brand colors sampled from the green VPN artwork */
  --color-primary: #377f39;
  --color-primary-light: #75ce68;
  --color-primary-dark: #23622b;
  --color-accent-lime: #5eea5f;
  --color-accent-mint: #58b98a;
  --color-accent-forest: #2f7b35;
  --button-gradient: linear-gradient(135deg, #61d861 0%, #8be078 100%);
  --button-text: #153e1b;

  /* Typography Colors */
  --text-main: #20372a;
  --text-heading: #163d20;
  --text-muted: #4f6656;
  --text-light: #607566;

  /* Borders & Shadows */
  --border-glass: rgba(255, 255, 252, 0.88);
  --border-subtle: rgba(63, 155, 66, 0.18);
  --shadow-sm: 0 4px 14px rgba(35, 98, 43, 0.06);
  --shadow-md: 0 12px 30px rgba(30, 72, 38, 0.08);
  --shadow-lg: 0 22px 50px rgba(35, 98, 43, 0.13);
  --shadow-glow: 0 0 35px rgba(94, 234, 95, 0.24);

  /* Layout & Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

/* --- Ambient Light & Dynamic Wave Background --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(117, 206, 104, 0.28) 0%, rgba(117, 206, 104, 0) 70%);
}

.glow-2 {
  width: 650px;
  height: 650px;
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, rgba(88, 185, 138, 0.22) 0%, rgba(88, 185, 138, 0) 70%);
  animation-delay: -5s;
}

.glow-3 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, rgba(199, 224, 137, 0.25) 0%, rgba(199, 224, 137, 0) 70%);
  animation-delay: -9s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

.wave-bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(63, 155, 66, 0.055) 1px, transparent 1px),
    radial-gradient(rgba(88, 185, 138, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* --- Header & Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-normal);
  padding: 18px 0;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(239, 247, 236, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(30, 72, 38, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(63, 155, 66, 0.24);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.brand-accent {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 4px 2px;
}

.nav-link:hover {
  color: var(--color-primary);
}

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

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 2px;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-heading);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* --- Common Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--button-gradient);
  color: var(--button-text);
  padding: 10px 20px;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(63, 155, 66, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 155, 66, 0.32);
}

.btn-appstore {
  background: var(--button-gradient);
  color: var(--button-text);
  padding: 12px 26px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(63, 155, 66, 0.24);
  border: 1px solid rgba(255, 255, 252, 0.66);
}

.btn-appstore:hover {
  background: linear-gradient(135deg, #73df70 0%, #9be58a 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(63, 155, 66, 0.30);
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-text-block small {
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.btn-text-block .btn-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-secondary-glass {
  background: rgba(251, 255, 247, 0.82);
  color: var(--text-heading);
  padding: 14px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-glass:hover {
  background: #fbfff7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 70px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 255, 247, 0.84);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(94, 234, 95, 0.72);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #23622b 0%, #3f9b42 52%, #58b98a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 38px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(94, 234, 95, 0.18);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* --- Hero Mockup & Perspective --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glow-halo {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(94, 234, 95, 0.27) 0%, rgba(88, 185, 138, 0.14) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  border-radius: 50%;
}

.mockup-perspective-wrapper {
  position: relative;
  z-index: 1;
  max-width: 440px;
  animation: floatMockup 6s ease-in-out infinite;
}

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

.hero-mockup-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(30, 72, 38, 0.17));
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 16px 36px rgba(30, 72, 38, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.badge-top-left {
  top: 18%;
  left: -35px;
}

.badge-bottom-right {
  bottom: 22%;
  right: -30px;
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #edf7e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-icon.pulse {
  background: linear-gradient(135deg, #eff7b2, #d4ed82);
}

.floating-icon.secure {
  background: linear-gradient(135deg, #d6f2dc, #aee4bd);
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text strong {
  font-size: 0.92rem;
  color: var(--text-heading);
}

.floating-text span {
  font-size: 0.76rem;
  color: var(--text-light);
}

/* --- Metrics Section --- */
.metrics-section {
  position: relative;
  z-index: 1;
  padding: 20px 0 50px;
}

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

.metric-card {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- Section Headers --- */
.section {
  position: relative;
  z-index: 1;
  padding: 85px 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  background: rgba(63, 155, 66, 0.10);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  line-height: 1.22;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Core Features Grid (78.png, 79.png, 80.png) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 155, 66, 0.30);
}

.feature-img-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(239, 247, 236, 0.82);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.feature-card-img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-card-img {
  transform: scale(1.03);
}

.feature-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(94, 234, 95, 0.13);
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(174, 207, 178, 0.48);
}

.feature-check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.feature-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* --- Showcase Tabs & Screens (1.png, 2.png, 3.png) --- */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(251, 255, 247, 0.68);
  border: 1px solid var(--border-glass);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background: #fbfff7;
  color: var(--color-primary);
}

.tab-btn.active {
  background: var(--button-gradient);
  color: var(--button-text);
  border-color: rgba(63, 155, 66, 0.28);
  box-shadow: var(--shadow-md);
}

.showcase-content {
  max-width: 900px;
  margin: 0 auto;
}

.screen-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.screen-panel.active {
  display: block;
}

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

.screen-preview-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.screen-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-screen-img {
  max-width: 280px;
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 20px 45px rgba(30, 72, 38, 0.18);
  transition: transform var(--transition-normal);
}

.iphone-screen-img:hover {
  transform: scale(1.02);
}

.screen-caption {
  display: flex;
  flex-direction: column;
}

.caption-tag {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.screen-caption h4 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.screen-caption p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.screen-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.perk-pill {
  background: rgba(251, 255, 247, 0.92);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
}

/* --- Servers Grid --- */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.server-node-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.server-node-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 155, 66, 0.26);
}

.server-node-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

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

.server-node-meta {
  flex: 1;
}

.server-node-meta h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.server-node-meta small {
  font-size: 0.78rem;
  color: var(--text-light);
}

.latency-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.latency-pill.low {
  background: rgba(94, 234, 95, 0.15);
  color: var(--color-primary-dark);
}

.server-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Security Section --- */
.security-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.security-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.sec-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sec-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(94, 234, 95, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sec-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.sec-item p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.security-graphic-col {
  display: flex;
  justify-content: center;
}

.shield-graphic-card {
  background: linear-gradient(145deg, rgba(255, 255, 252, 0.92), rgba(235, 247, 232, 0.78));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
}

.security-shield-logo {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(63, 155, 66, 0.30);
  margin-bottom: 24px;
}

.shield-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 234, 95, 0.15);
  color: var(--color-primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-lime);
  box-shadow: 0 0 8px rgba(94, 234, 95, 0.72);
}

.shield-quote {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-style: italic;
  line-height: 1.5;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(63, 155, 66, 0.26);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.faq-arrow {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 26px 24px 26px;
}

.faq-answer p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Bottom CTA Section --- */
.bottom-cta-section {
  position: relative;
  z-index: 1;
  padding: 60px 0 100px;
}

.bottom-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(218, 242, 211, 0.96) 0%, rgba(232, 248, 225, 0.96) 48%, rgba(215, 242, 226, 0.96) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  color: var(--text-heading);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 252, 0.88);
  box-shadow: 0 24px 60px rgba(35, 98, 43, 0.16);
}

.cta-inner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(94, 234, 95, 0.28) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(35, 98, 43, 0.22);
  margin-bottom: 24px;
}

.cta-heading {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-subheading {
  font-size: 1.1rem;
  color: var(--text-muted);
  opacity: 1;
  line-height: 1.65;
  margin-bottom: 34px;
}

.cta-button-row {
  margin-bottom: 20px;
}

.btn-cta-main {
  background: var(--button-gradient);
  color: var(--button-text);
}

.btn-cta-main:hover {
  background: linear-gradient(135deg, #73df70 0%, #9be58a 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(63, 155, 66, 0.26);
}

.cta-notes {
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 1;
}

/* --- Clean & Compact Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(224, 241, 219, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  padding: 42px 0 26px;
}

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

.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  justify-content: center;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
}

.footer-quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-quick-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom-bar {
  padding-top: 16px;
  border-top: 1px solid rgba(112, 151, 117, 0.22);
  width: 100%;
  max-width: 600px;
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* --- Modals (QR & Legal) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 52, 27, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #fbfff7;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-heading);
}

.modal-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(63, 155, 66, 0.24);
  margin-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.qr-canvas-wrapper {
  margin: 22px auto;
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(181, 210, 183, 0.78);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.link-appstore {
  font-size: 0.8rem;
  color: var(--color-primary);
  word-break: break-all;
  font-weight: 600;
}

.link-appstore:hover {
  text-decoration: underline;
}

.modal-legal {
  max-width: 600px;
  text-align: left;
}

.modal-legal .modal-header {
  text-align: left;
  border-bottom: 1px solid #d7e8d5;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.modal-body-scroll {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-body-scroll h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 14px;
  margin-bottom: 6px;
}

.modal-body-scroll p, .modal-body-scroll ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-body-scroll ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

  .screen-preview-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }

  .screen-perks {
    justify-content: center;
  }

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

  .security-card-box {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(76px + env(safe-area-inset-top));
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  .section {
    padding: 55px 0;
  }

  .section-header {
    margin: 0 auto 32px;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 3px 12px;
    margin-bottom: 8px;
  }

  /* 调小移动端各板块核心标题大小，防止换行过多与拥挤 */
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  .section-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-section {
    padding-top: 46px;
    padding-bottom: 45px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  /* 手机端导航栏常驻固定置顶，并适配刘海屏安全区 */
  .navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: calc(10px + env(safe-area-inset-top)) 0 10px;
    background: rgba(239, 247, 236, 0.96);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 18px rgba(30, 72, 38, 0.07);
    isolation: isolate;
  }

  .navbar.scrolled {
    padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  }

  .nav-container {
    min-height: 44px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.15rem;
  }

  .nav-links {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    background: rgba(251, 255, 247, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 16px 40px rgba(20, 52, 27, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    display: none;
    max-height: calc(100dvh - 80px - env(safe-area-inset-top));
    overflow-y: auto;
  }

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

  .nav-link {
    width: 100%;
    padding: 10px 8px;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
  }

  .nav-download-btn {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .metric-card {
    padding: 20px 14px;
  }

  .metric-number {
    font-size: 1.85rem;
  }

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

  /* 移动端紧凑型极简页脚 */
  .footer {
    padding: 30px 0 20px;
  }

  .footer-compact {
    gap: 14px;
  }

  .footer-tagline {
    font-size: 0.82rem;
    padding: 0 10px;
  }

  .footer-quick-links {
    gap: 8px 16px;
  }

  .footer-quick-links a {
    font-size: 0.82rem;
  }

  .footer-bottom-bar {
    padding-top: 12px;
  }

  .copyright {
    font-size: 0.74rem;
  }

  .bottom-cta-card {
    padding: 45px 20px;
  }

  .cta-heading {
    font-size: 1.8rem;
  }
}

/* 针对小屏手机 (iPhone SE, iPhone 12/13/14/15/16 等竖屏) 的精细微调 */
@media (max-width: 480px) {
  .section {
    padding: 46px 0;
  }

  .section-header {
    margin: 0 auto 26px;
  }

  /* 截图重点标注标题进一步调小优化 */
  .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .hero-section {
    padding-top: 40px;
    padding-bottom: 35px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .badge-pill {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-appstore, .btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-title {
    font-size: 1.28rem;
  }

  .screen-preview-card {
    padding: 22px 16px;
  }

  .screen-caption h4 {
    font-size: 1.45rem;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .footer-quick-links {
    gap: 6px 14px;
  }
}

