/* ============================================
   FIOK Product Page - Shared Stylesheet
   Brand Color: #01e9a0
   ============================================ */

:root {
  --brand: #01e9a0;
  --brand-dark: #00c78a;
  --brand-darker: #00a070;
  --brand-light: #e6fdf6;
  --brand-glow: rgba(1, 233, 160, 0.18);

  --ink: #0a1f1c;
  --ink-soft: #3a4a47;
  --muted: #7a8a87;
  --line: #e8efed;
  --line-soft: #f0f4f2;

  --bg: #ffffff;
  --bg-soft: #f7faf9;
  --bg-mint: #f0fdf7;

  --warn-bg: #fffbef;
  --warn-line: #f0e3a8;
  --warn-ink: #8b6914;
  --warn-accent: #f5b800;

  --shadow-sm: 0 1px 2px rgba(10, 31, 28, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 31, 28, 0.06);
  --shadow-lg: 0 12px 40px rgba(10, 31, 28, 0.08);
  --shadow-hover: 0 16px 48px rgba(10, 31, 28, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--brand); color: var(--ink); }

a { color: var(--brand-darker); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ====== HEADER ====== */
.site-header,
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.brand-mark {
  display: none; /* 旧的字母 mark 已弃用，使用 .brand-logo 替代 */
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav a:hover { color: var(--brand-darker); }

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.2s;
  border-radius: 2px;
}

.nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.header-cta:hover {
  background: var(--brand-darker);
  color: white;
  transform: translateY(-1px);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafffe 0%, #ffffff 60%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(1, 233, 160, 0.16) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -400px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 233, 160, 0.07) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand-darker);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(1, 233, 160, 0.25);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 var(--brand); }
  50% { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
  font-size: clamp(44px, 6vw, 68px);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero h1 .model {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hero h1 .accent {
  color: var(--brand-darker);
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.meta-value {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.meta-value .unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-darker);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--brand-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-darker);
  background: var(--brand-light);
}

.btn svg { width: 14px; height: 14px; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(140deg, #0a0a0a 0%, #1a1f1c 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(10, 31, 28, 0.25);
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(1, 233, 160, 0.4) 0%, transparent 50%);
  filter: blur(40px);
  z-index: 0;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-floating {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-floating .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.hero-floating.top {
  top: 32px;
  left: 32px;
}

.hero-floating.bottom {
  bottom: 32px;
  right: 32px;
}

/* ====== QUICK SPECS ====== */
.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
  margin-bottom: 80px;
}

.spec-card {
  padding: 24px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.spec-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.spec-card:hover::before { transform: scaleX(1); }

.spec-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--brand-darker);
  margin-bottom: 16px;
}

.spec-icon svg { width: 18px; height: 18px; }

.spec-value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.spec-value .unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}

.spec-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ====== SECTIONS ====== */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line-soft);
}

.section-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-darker);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--brand-light);
  border-radius: 6px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* ====== SPEC TABLE ====== */
.spec-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 32%;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 14px;
  background: var(--bg-soft);
  border-right: 1px solid var(--line-soft);
}

.spec-table td {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.spec-table code {
  display: inline-block;
  padding: 3px 9px;
  background: var(--bg-mint);
  color: var(--brand-darker);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  margin: 2px 4px 2px 0;
  border: 1px solid rgba(1, 233, 160, 0.2);
}

/* ====== SUB-SECTION ====== */
.sub-section {
  margin-bottom: 56px;
}

.sub-section:last-child { margin-bottom: 0; }

.sub-section h3 {
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-section h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--brand);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ====== PROTOCOL GRID ====== */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.protocol-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.25s;
}

.protocol-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

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

.protocol-port {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.protocol-power {
  margin-left: auto;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-darker);
}

.protocol-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.protocol-tag {
  padding: 5px 11px;
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line-soft);
  transition: all 0.2s;
}

.protocol-card:hover .protocol-tag {
  background: var(--brand-light);
  border-color: rgba(1, 233, 160, 0.3);
  color: var(--brand-darker);
}

/* ====== SAFETY SECTION ====== */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.safety-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.safety-item:hover {
  border-color: var(--brand);
  background: var(--bg-mint);
}

.safety-check {
  width: 22px;
  height: 22px;
  background: var(--brand-light);
  color: var(--brand-darker);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.safety-check svg { width: 12px; height: 12px; }

.safety-item-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.certs-block h3 {
  font-size: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.certs-block h3::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--brand);
  border-radius: 3px;
}

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

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.cert-badge:hover {
  border-color: var(--brand);
  background: var(--bg-mint);
  color: var(--brand-darker);
  transform: translateY(-1px);
}

.cert-badge svg {
  width: 14px;
  height: 14px;
  color: var(--brand-darker);
}

/* ====== USAGE GRID ====== */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.usage-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
}

.usage-card:hover {
  border-color: var(--brand);
  background: var(--bg-mint);
}

.usage-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  color: var(--brand-darker);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.usage-content { flex: 1; }

.usage-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}

.usage-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

/* ====== NOTES ====== */
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.note-card {
  padding: 28px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.note-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--warn-accent);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.note-icon {
  width: 28px;
  height: 28px;
  background: rgba(245, 184, 0, 0.15);
  color: var(--warn-accent);
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.note-icon svg { width: 14px; height: 14px; }

.note-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warn-ink);
  font-weight: 700;
}

.note-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  padding-left: 4px;
}

.note-text strong {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, rgba(245, 184, 0, 0.3) 60%);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 8px;
  background: var(--brand);
  padding: 4px 10px;
  box-shadow: 0 0 24px var(--brand-glow);
}

.footer-mark {
  display: none; /* 旧的字母 mark 已弃用 */
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: white;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ====== BACK TO TOP ====== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 50;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--brand-darker);
  transform: translateY(-2px);
}

.back-top svg { width: 18px; height: 18px; }

/* ====== WARRANTY SECTION ====== */
.warranty-callout {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: linear-gradient(135deg, #f0fdf7 0%, #ffffff 100%);
  border: 1px solid rgba(1, 233, 160, 0.3);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.warranty-callout::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(1, 233, 160, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.warranty-badge {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px var(--brand-glow);
  position: relative;
  z-index: 1;
}

.warranty-badge-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.warranty-badge-unit {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.warranty-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.warranty-eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-darker);
  font-weight: 700;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: var(--brand-light);
  border-radius: 6px;
}

.warranty-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.warranty-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 640px;
}

.warranty-text strong {
  color: var(--ink);
  font-weight: 600;
}

.warranty-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.warranty-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.warranty-feature svg {
  width: 12px;
  height: 12px;
  color: var(--brand-darker);
}

.warranty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-darker);
  text-decoration: none;
  padding: 8px 14px;
  background: var(--brand-light);
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid rgba(1, 233, 160, 0.2);
}

.warranty-link:hover {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--brand);
}

.warranty-link svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 768px) {
  .warranty-callout {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }
  .warranty-features { justify-content: center; }
  .warranty-title { font-size: 24px; }
  .warranty-badge { width: 80px; height: 80px; }
  .warranty-badge-num { font-size: 32px; }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
/* ====== WARRANTY PAGE LAYOUT ====== */
.policy-hero {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, #f0fdf7 0%, white 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(1, 233, 160, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.policy-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.policy-hero-text .eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-darker);
  font-weight: 700;
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--brand-light);
  border-radius: 6px;
}

.policy-hero h1 {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.policy-hero h1 span {
  color: var(--brand-darker);
  font-weight: 800;
}

.policy-hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}

.policy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.policy-stat {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--line);
}

.policy-stat:last-child { border-right: none; }

.policy-stat-value {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-darker);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.policy-stat-value small {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 2px;
}

.policy-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.4;
}

/* Language switcher (dropdown) */
.lang-switcher {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  min-width: 96px;
}

.lang-toggle:hover {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 2px 8px var(--brand-glow);
}

.lang-toggle-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-toggle-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 1;
  text-align: left;
}

.lang-toggle-arrow {
  width: 12px;
  height: 12px;
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.lang-switcher.open .lang-toggle-arrow {
  transform: rotate(180deg);
}

.lang-switcher.open .lang-toggle {
  background: white;
  border-color: var(--brand);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 6px;
  display: none;
  z-index: 100;
  max-height: 480px;
  overflow-y: auto;
}

.lang-switcher.open .lang-dropdown {
  display: block;
  animation: langDropdownIn 0.2s ease-out;
}

@keyframes langDropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s;
}

.lang-option:hover {
  background: var(--surface);
}

.lang-option.active {
  background: var(--brand-light);
  color: var(--brand-darker);
  font-weight: 600;
}

.lang-option-flag {
  font-size: 18px;
  line-height: 1;
  width: 22px;
  text-align: center;
}

.lang-option-name {
  flex: 1;
}

.lang-option-check {
  width: 14px;
  height: 14px;
  color: var(--brand-darker);
  opacity: 0;
  flex-shrink: 0;
}

.lang-option.active .lang-option-check {
  opacity: 1;
}

@media (max-width: 768px) {
  .lang-toggle { min-width: auto; padding: 6px 10px 6px 8px; }
  .lang-toggle-code { display: none; }
  .lang-dropdown { min-width: 200px; right: -8px; }
}

/* Sticky sub-nav for warranty page */
.policy-subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.policy-subnav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.policy-subnav-inner::-webkit-scrollbar { display: none; }

.policy-subnav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 4px;
}

.policy-subnav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.15s;
}

.policy-subnav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.policy-subnav a.active {
  background: var(--brand-light);
  color: var(--brand-darker);
  font-weight: 600;
}

/* Policy section */
.policy-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:last-of-type { border-bottom: none; }

.policy-section-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.policy-section-aside {
  position: sticky;
  top: 130px;
}

.policy-section-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-darker);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.policy-section-aside h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.policy-section-body {
  max-width: 760px;
}

.policy-section-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 16px;
}

.policy-section-body p strong {
  font-weight: 600;
  color: var(--ink);
}

.policy-section-body ul, .policy-section-body ol {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.policy-section-body ul li, .policy-section-body ol li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.policy-section-body ul li:last-child, .policy-section-body ol li:last-child {
  border-bottom: none;
}

.policy-section-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}

.policy-section-body ol {
  counter-reset: claim-step;
}

.policy-section-body ol li {
  counter-increment: claim-step;
  padding-left: 44px;
}

.policy-section-body ol li::before {
  content: counter(claim-step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--display);
}

.policy-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.policy-callout-icon {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.policy-callout-icon svg {
  width: 16px;
  height: 16px;
  color: var(--ink);
}

.policy-callout-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.policy-callout-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.policy-shipping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.policy-shipping-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.policy-shipping-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-darker);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-shipping-card-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.policy-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.policy-channel {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s;
}

.policy-channel:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--brand-glow);
}

.policy-channel-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}

.policy-channel-type {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.policy-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.policy-contact:hover {
  background: var(--brand-darker);
  color: white;
  transform: translateY(-1px);
}

.policy-contact svg { width: 16px; height: 16px; }

.policy-update {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 8px;
}

/* Lang display rules */
.lang-zh { display: none; }
html[data-lang="zh"] .lang-en { display: none; }
html[data-lang="zh"] .lang-zh { display: block; }
html[data-lang="zh"] .lang-zh.inline { display: inline; }

/* Mobile responsive */
@media (max-width: 1024px) {
  .policy-hero h1 { font-size: 44px; }
  .policy-section-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .policy-section-aside { position: static; }
  .policy-section-aside h2 { font-size: 24px; }
}

@media (max-width: 768px) {
  .policy-hero { padding: 56px 0 40px; }
  .policy-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .policy-hero h1 { font-size: 36px; }
  .policy-hero-lede { font-size: 15px; }
  .policy-stats { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .policy-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .policy-stat:last-child { border-bottom: none; }
  .policy-stat-value { margin-bottom: 0; font-size: 28px; }
  .policy-stat-label { text-align: right; max-width: 60%; }
  .policy-section { padding: 48px 0; }
  .policy-shipping-grid, .policy-channels {
    grid-template-columns: 1fr;
  }
  .policy-subnav { top: 0; padding: 10px 0; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .hero { padding: 64px 0 56px; }
  .hero .container { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .quick-specs { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .safety-grid { grid-template-columns: 1fr; gap: 40px; }
  .protocol-grid { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: 1fr; }
  .safety-features { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-cta { display: none; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 40px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-floating { display: none; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 28px; }
  .spec-table th, .spec-table td { padding: 14px 16px; font-size: 14px; }
  .spec-table th { width: 38%; font-size: 13px; }
  .quick-specs { gap: 12px; }
  .spec-card { padding: 20px 18px; }
  .spec-value { font-size: 24px; }
  .back-top { bottom: 20px; right: 20px; }
  .footer { padding: 48px 0 24px; }
}

/* ============================================
   Battery Info Page
   ============================================ */
.battery-hero { padding: 140px 0 60px; background: var(--bg); }
.battery-hero-inner { max-width: 760px; }
.battery-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(1, 233, 160, 0.12);
  color: var(--brand, #01e9a0);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
}
.battery-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink, #0a0a0a);
}
.battery-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft, #555);
  margin: 0 0 20px;
}
.battery-reg-note {
  font-size: 14px !important;
  padding: 12px 16px;
  background: rgba(1, 233, 160, 0.08);
  border-left: 3px solid var(--brand, #01e9a0);
  border-radius: 4px;
  color: #444 !important;
  margin-top: 8px;
}
.battery-cards-section { padding: 60px 0 120px; background: var(--bg); }
.battery-section-intro { margin-bottom: 32px; }
.battery-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand, #01e9a0);
}
.battery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .battery-grid { grid-template-columns: 1fr; }
}
.battery-card {
  background: var(--bg, #fff);
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.battery-card:hover {
  border-color: var(--brand, #01e9a0);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.battery-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand, #01e9a0);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.battery-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink, #0a0a0a);
  line-height: 1.3;
}
.battery-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft, #555);
  margin: 0 0 24px;
  flex: 1;
}
.battery-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.battery-card-actions .btn-primary,
.battery-card-actions .btn-secondary {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.battery-card-actions .btn-primary {
  background: var(--ink, #0a0a0a);
  color: #fff;
}
.battery-card-actions .btn-primary:hover {
  background: var(--brand, #01e9a0);
  color: #0a0a0a;
}
.battery-card-actions .btn-secondary {
  background: transparent;
  color: var(--ink, #0a0a0a);
  border-color: var(--line, #e5e5e5);
}
.battery-card-actions .btn-secondary:hover {
  border-color: var(--brand, #01e9a0);
  color: var(--brand, #01e9a0);
}

/* PDF Modal */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdf-modal[hidden] { display: none; }
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.pdf-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line, #e5e5e5);
  gap: 12px;
}
.pdf-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #0a0a0a);
}
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdf-modal-open {
  padding: 6px 14px;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink, #0a0a0a);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.pdf-modal-open:hover {
  border-color: var(--brand, #01e9a0);
  color: var(--brand, #01e9a0);
}
.pdf-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
  color: var(--ink, #0a0a0a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pdf-modal-close:hover { background: rgba(0, 0, 0, 0.05); }
.pdf-modal-body {
  flex: 1;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdf-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pdf-modal-iframe[hidden] { display: none; }
.pdf-modal-error {
  text-align: center;
  color: var(--ink-soft, #555);
  padding: 40px;
  font-size: 16px;
}
.pdf-modal-error[hidden] { display: none; }

@media (max-width: 600px) {
  .battery-hero { padding: 110px 0 40px; }
  .battery-card { padding: 24px; }
  .battery-card h2 { font-size: 18px; }
  .pdf-modal { padding: 0; }
  .pdf-modal-content { height: 100vh; max-width: 100%; border-radius: 0; }
}

/* Battery Quick Nav (placeholder — removed in favor of top nav) */
