/* ==========================================================================
   Premium Cybertech Design System (Obsidian & Neon Aurora Aesthetic)
   ========================================================================== */

/* Self-hosted Google Fonts (latin subset only, woff2) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/inter_UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/inter_UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/inter_UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/inter_UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/inter_UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/outfit_QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/outfit_QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/outfit_QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/outfit_QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/outfit_QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/spacegrotesk_V8mDoQDjQSkFtoMM3T6r8E7mPbF4C_k3HqU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./fonts/spacegrotesk_V8mDoQDjQSkFtoMM3T6r8E7mPbF4C_k3HqU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/spacegrotesk_V8mDoQDjQSkFtoMM3T6r8E7mPbF4C_k3HqU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/spacegrotesk_V8mDoQDjQSkFtoMM3T6r8E7mPbF4C_k3HqU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Premium Obsidian Dark Palette */
  --bg-black: #030304;         /* Obsidian Black */
  --bg-panel: rgba(10, 10, 14, 0.55);   /* Semi-transparent acrylic glass */
  --bg-panel-hover: rgba(16, 16, 24, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.18);
  
  /* Cyber Aurora Colors matching design mockup */
  --tron-red: #ff0055;         /* Neon Pinkish-Red */
  --tron-orange: #7000ff;      /* Deep Violet */
  --tron-red-dim: rgba(255, 0, 85, 0.06);
  --accent-green: #00ff87;     /* Bright Mint Green */
  --accent-green-dim: rgba(0, 255, 135, 0.08);
  --glow-cyan: #00d2ff;        /* Electric Cyan */
  
  --tron-red-gradient: linear-gradient(135deg, #ff0055 0%, #7000ff 100%);
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #9494a6;
  --text-muted: #4e4e5e;
  
  /* Geometry */
  --border-radius: 4px;        /* Strict 4px minimalist radius */
  --max-width: 1120px;
  --header-height: 72px;
  
  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & Strict viewport locking to block horizontal shakes */
html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  color: var(--text-primary);
  letter-spacing: -0.01em;
  
  /* 防複製：禁止用戶選擇網頁文本 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
}

/* Ambient Dot Matrix & Tech Grid Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

/* Static subtle light overlay (replaces animated grid-flow for performance) */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(112, 0, 255, 0.018) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* High-Tech Fixed Background Grid Layer (Compatible with iOS Safari) */
.bg-grid-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-black);
  background-image: 
    linear-gradient(180deg, rgba(3, 3, 4, 0.35) 0%, rgba(3, 3, 4, 0.72) 100%), 
    url('images/tech_dark_background.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Mesh Gradients */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.aurora-sphere {
  position: absolute;
  border-radius: 50%;
  opacity: 0.14;
}

.aurora-red {
  background: radial-gradient(circle, rgba(255, 0, 85, 0.5) 0%, rgba(255, 0, 85, 0.1) 30%, transparent 60%);
  width: 800px;
  height: 800px;
  top: -200px;
  right: -50px;
}

.aurora-green {
  background: radial-gradient(circle, rgba(0, 255, 135, 0.5) 0%, rgba(0, 255, 135, 0.1) 30%, transparent 60%);
  width: 700px;
  height: 700px;
  top: 450px;
  left: -200px;
}

.aurora-cyan {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.5) 0%, rgba(0, 210, 255, 0.1) 30%, transparent 60%);
  width: 750px;
  height: 750px;
  bottom: -250px;
  right: 15%;
}

/* Ambient Top Accent Light Line (via body border-top for minimal overhead) */

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 14px;
}

/* Layout Elements */
.section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
  position: relative;
  z-index: 2;
}

.section-wrapper[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-fast);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}
.btn-primary:hover {
  background: #e2e2ea;
  border-color: #e2e2ea;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.btn-accent {
  background: var(--tron-red-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.25);
}
.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00ff87 0%, #7000ff 50%, #ff0055 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.btn-accent:hover::before {
  opacity: 1;
}
.btn-accent:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 25px rgba(0, 255, 135, 0.35);
}

/* Header & Sticky Nav with GPU layers */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
  
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

header.scrolled {
  background: rgba(3, 3, 4, 0.7);
  border-color: var(--border-color);
  transform: translate3d(0, 0, 0);
}

header.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.35), rgba(112, 0, 255, 0.35), transparent);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Double line Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--tron-red-gradient);
  border-radius: var(--border-radius);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 0, 85, 0.3);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-title);
  color: #fff;
}

.logo-subtext {
  font-size: 8.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: var(--text-primary);
}

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

/* Language selector */
.lang-selector {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-mono);
}
.lang-btn.active {
  background: var(--border-light);
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-top: 140px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(0, 255, 135, 0.15);
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  display: inline-block;
  animation: pulse-dot 1.8s infinite alternate;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #a8a8b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Moving text gradient flow */
.hero-title span {
  background: linear-gradient(90deg, #ff0055, #7000ff, #00ff87, #00d2ff, #ff0055);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-flow 8s linear infinite;
}

@keyframes text-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-desc {
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 500px;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero Stats Row (Left side bottom 3 boxes) */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  width: 100%;
}

.hero-stat-box {
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}
.hero-stat-box:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.hero-stat-num {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.hero-stat-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* INSTALL CHECK Card Wrapper */
.detector-card-wrapper {
  background: rgba(14, 14, 18, 0.88);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.detector-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff0055, #7000ff, #00ff87);
}

.detector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.detector-title {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.detector-badge {
  font-size: 9px;
  background: var(--accent-green-dim);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* Ambient decorative background orbit graphics on Hero Visual container */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, rgba(255, 0, 85, 0.04) 40%, transparent 65%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
}

/* High-Tech Sonar Radar Scanning Widget */
.radar-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 28px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(0, 255, 135, 0.18);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 255, 135, 0.05), transparent 60%);
  animation: rotate-radar 6s linear infinite;
}

.radar-circle-mid {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.03);
  animation: pulse-radar 3s ease-in-out infinite alternate;
}

.radar-circle-inner {
  position: absolute;
  width: 62%;
  height: 62%;
  background: radial-gradient(circle, rgba(10, 10, 14, 0.95) 0%, rgba(16, 16, 22, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.safari-logo-svg {
  color: #fff;
  margin-bottom: 5px;
}

.radar-safari-text {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-title);
}

.radar-status-text {
  font-size: 8.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1px;
}
.radar-status-text.ok {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(0, 255, 135, 0.4);
}
.radar-status-text.err {
  color: var(--tron-red);
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
}

@keyframes rotate-radar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse-radar {
  0% { transform: scale(0.96); opacity: 0.4; }
  100% { transform: scale(1.05); opacity: 0.85; }
}
@keyframes rotate-safari {
  0% { transform: rotate(0deg); }
  18% { transform: rotate(15deg); }
  36% { transform: rotate(-10deg); }
  54% { transform: rotate(10deg); }
  72% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.detector-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.detector-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.detector-row-lbl {
  color: var(--text-secondary);
}

.check-val-indicator {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
}
.check-val-indicator.ok {
  color: var(--accent-green);
}
.check-val-indicator.err {
  color: var(--text-secondary);
}

/* Global 2px Card Top Neon Strip pseudoelements & Laser hover sweep (4px geometries) */
.plan-card:not(.recommended)::before,
.why-card-item::before,
.compare-card-item:not(.recommended-safari)::before,
.download-panel-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff0055, #7000ff, #00ff87);
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}

.plan-card::after,
.why-card-item::after,
.compare-card-item::after,
.download-panel-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease-in-out;
  pointer-events: none;
  z-index: 3;
}
.plan-card:hover::after,
.why-card-item:hover::after,
.compare-card-item:hover::after,
.download-panel-box:hover::after {
  left: 150%;
}

/* Banner Tags Section */
.banner-tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-image: linear-gradient(rgba(3, 3, 4, 0.82), rgba(10, 10, 14, 0.88)), url('images/tech_dark_background.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.banner-tags-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff0055, #7000ff, #00ff87);
  z-index: 2;
  pointer-events: none;
}

.banner-tags-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  transform: skewX(-25deg);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}
.banner-tags-container:hover::after {
  left: 150%;
}

.banner-tag-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.banner-tag-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateY(-1.5px);
}

.tag-bullet {
  width: 6px;
  height: 6px;
  background: var(--tron-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tron-red);
}

.banner-tag-item:nth-child(even) .tag-bullet {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.banner-tag-item:nth-child(3n) .tag-bullet {
  background: var(--glow-cyan);
  box-shadow: 0 0 8px var(--glow-cyan);
}

/* Plans Section */
.section-header {
  margin-bottom: 44px;
}
.section-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--tron-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.section-title-text {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-desc-text {
  max-width: 500px;
  font-size: 14px;
}

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

.plan-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  border: 1px solid var(--border-color);
  background: rgba(10, 10, 14, 0.75);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius);
}
.plan-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Glow Border Wrapper for Recommended Card (static gradient, no rotation) */
.glow-border-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  padding: 1.5px;
  overflow: hidden;
  display: flex;
  z-index: 1;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 35px rgba(112, 0, 255, 0.15);
}

.glow-border-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff0055, #7000ff, #00ff87);
  z-index: -2;
}

.glow-border-wrapper .plan-card {
  border: none;
  background: rgba(10, 10, 14, 0.85);
  width: 100%;
  height: 100%;
}
.glow-border-wrapper:hover {
  transform: translateY(-4px);
}

.plan-tag-small {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.glow-border-wrapper .plan-tag-small {
  color: var(--tron-red);
  background: var(--tron-red-dim);
  border: 1px solid rgba(255, 0, 85, 0.2);
}

.plan-title-item {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}
.plan-price-num {
  font-size: 38px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: #fff;
}
.plan-price-currency {
  font-size: 13px;
  color: var(--text-secondary);
  margin-left: 6px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.plan-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.plan-feature-bullet {
  color: var(--text-muted);
}

.plan-btn-action {
  width: 100%;
  padding: 10px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-fast);
  font-family: var(--font-mono);
}
.plan-card:not(.recommended) .plan-btn-action {
  background: rgba(255,255,255,0.01);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.plan-card:not(.recommended) .plan-btn-action:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.04);
}
.plan-card.recommended .plan-btn-action {
  background: var(--tron-red-gradient);
  color: #fff;
  border: none;
}
.plan-card.recommended .plan-btn-action:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.35);
}

/* Why App Section Title & Desc (eliminating inline HTML styling) */
.benefits-title {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.benefits-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.browser-compare-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.compare-card-item {
  background: rgba(14, 14, 18, 0.45);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.compare-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.compare-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.compare-card-badge {
  align-self: flex-start;
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}
.compare-card-badge.err {
  background: var(--tron-red-dim);
  color: var(--tron-red);
  border: 1px solid rgba(255, 0, 85, 0.2);
}
.compare-card-badge.ok {
  background: var(--accent-green-dim);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 135, 0.2);
}

.compare-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.compare-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
}

.compare-card-item.recommended-safari {
  border: none;
  background: rgba(10, 10, 14, 0.85);
  height: calc(100% - 2.5px);
  margin: 1.25px;
  width: calc(100% - 2.5px);
}

.glow-border-wrapper.shrink-glow {
  height: 100%;
  width: 100%;
}

/* Why Section Footer 3 boxes */
.why-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.why-card-item {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}
.why-card-item:hover {
  border-color: var(--border-light);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}

.why-icon-small {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-fast);
}
.why-card-item:hover .why-icon-small {
  border-color: var(--border-light);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.why-title-item {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #fff;
}
.why-desc-item {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Download Section Panel Box */
.download-panel-box {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  transition: var(--transition-smooth);
}
.download-panel-box:hover {
  border-color: rgba(255, 0, 85, 0.15);
}

/* Download Guide wrapper (Right Column) */
.download-guide-wrapper {
  background: rgba(2, 2, 4, 0.6);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-tip-header {
  font-size: 12px;
  color: #ffb03b;
  font-weight: 500;
  font-family: var(--font-mono);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.dl-steps-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dl-step-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dl-step-index {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 9px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.dl-step-txt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dl-footer-desc {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 28px 24px;
  background: #020204;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

/* Modal Overlay */
/* WeChat/QQ iOS Mask Overlay */
.wechat-mask-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 4, 0.94);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  padding-right: 32px;
  padding-top: 24px;
}
.wechat-mask-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
  text-align: right;
  max-width: 280px;
}
.wechat-arrow-svg {
  color: var(--tron-red);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px var(--tron-red));
  animation: arrow-bounce 1.5s infinite alternate ease-in-out;
}
.wechat-mask-text-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px;
  text-align: left;
  width: 100%;
}
.wechat-mask-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-title);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.wechat-mask-steps {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}
.wechat-mask-steps .highlight-dot {
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}
.wechat-mask-steps .highlight-action {
  color: var(--accent-green);
  font-weight: 600;
}

@keyframes arrow-bounce {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10px, 10px); }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #08080b;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}
.modal-overlay.show .modal-content {
  transform: translateY(0);
}
.modal-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
}
.modal-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-btn-action {
  width: 100%;
  padding: 10px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  font-family: var(--font-mono);
}
.modal-btn-action.copy {
  background: #fff;
  color: #000;
}
.modal-btn-action.copy:hover {
  background: #e2e2e9;
}
.modal-btn-action.close {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.modal-btn-action.close:hover {
  border-color: var(--border-light);
  color: #fff;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  font-family: var(--font-mono);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 3D perspective scroll animations (extremely premium entrance effect) */
.reveal-on-scroll {
  opacity: 0;
  transform: perspective(1000px) rotateX(4deg) translateY(24px);
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* ==========================================================================
   Responsive Adaptations & Mobile Viewport Locking (No horizontal shakes)
   ========================================================================== */
@media (max-width: 1024px) {
  body::after {
    background-attachment: scroll;
    opacity: 0.12;
  }
  .section-wrapper {
    padding: 60px 20px;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 110px;
    gap: 36px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats-row {
    max-width: 480px;
    margin: 36px auto 0 auto;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .benefits-intro-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .browser-compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
  }
  .compare-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
  }
  
  .why-footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 480px;
    margin: 28px auto 0 auto;
  }
  
  .download-panel-box {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
    text-align: center;
  }
  .download-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dl-desc-p {
    margin-left: auto;
    margin-right: auto;
  }
  .download-guide-wrapper {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  /* 縮小頂部控制區間距，防止英文版按鈕擠壓 */
  .nav-actions {
    gap: 8px;
  }
  
  /* 頂部下載按鈕自適應：不換行、縮小字體與內邊距、隱藏圖標 */
  #btn-nav-download {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  #btn-nav-download svg {
    display: none;
  }
  
  /* 隱藏 Logo 副標題以釋放頂部橫向空間 */
  .logo-subtext {
    display: none;
  }
  
  .hero-title {
    font-size: 32px;
    line-height: 1.25;
  }
  .section-title-text {
    font-size: 24px;
    line-height: 1.25;
  }
  
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-stat-box {
    padding: 12px;
  }

  /* 縮小下載指南卡片的內邊距以釋放寬度 */
  .download-guide-wrapper {
    padding: 20px 14px;
  }
  
  /* 下載提示標題：防折行、字號縮小、字符稍微縮緊 */
  .guide-tip-header {
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }
}
