/* ============================================
   中付支付蓝牙POS - 深琥珀低费率无套路风
   Zhongfu Pay Bluetooth POS Official Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --zhongfu-amber: #92400E;
  --zhongfu-amber-dark: #78350F;
  --rate-gold: #F59E0B;
  --rate-gold-dark: #D97706;
  --notrick-green: #10B981;
  --notrick-green-dark: #059669;
  --bg-page: #FFFBEB;
  --bg-white: #FFFFFF;
  --text-dark: #92400E;
  --text-body: #334155;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  --border-light: #FDE68A;
  --card-shadow: 0 4px 24px rgba(146, 64, 14, 0.08);
  --card-shadow-hover: 0 8px 32px rgba(146, 64, 14, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-cn: 'Noto Sans SC', sans-serif;
  --font-en: 'DM Sans', sans-serif;
  --nav-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
.font-en {
  font-family: var(--font-en);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-white);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(146, 64, 14, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--zhongfu-amber);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-en);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rate-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--zhongfu-amber);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--zhongfu-amber);
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, var(--notrick-green), var(--notrick-green-dark));
  color: var(--text-white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  color: var(--text-white) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--zhongfu-amber);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Sections --- */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-amber {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: var(--text-white);
}

.hero-gold {
  background: linear-gradient(135deg, var(--rate-gold), var(--rate-gold-dark));
  color: var(--text-white);
}

.hero-green {
  background: linear-gradient(135deg, var(--notrick-green), var(--notrick-green-dark));
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  color: var(--text-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-cn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--notrick-green), var(--notrick-green-dark));
  color: var(--text-white);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-amber {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: var(--text-white);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 64, 14, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--rate-gold), var(--rate-gold-dark));
  color: var(--text-white);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-green {
  background: linear-gradient(135deg, var(--notrick-green), var(--notrick-green-dark));
  color: var(--text-white);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* --- Animation Zone (Hero) --- */
.animation-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 48px 0 40px;
  flex-wrap: wrap;
}

.anim-block {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 200px;
  transition: var(--transition);
}

.anim-block:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.anim-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.anim-value {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

.anim-label {
  font-size: 1.1rem;
  margin-top: 8px;
  opacity: 0.9;
  font-weight: 500;
}

.anim-plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.anim-equals {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rate-gold);
}

.anim-result {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(16, 185, 129, 0.25));
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(245, 158, 11, 0.3);
  min-width: 240px;
}

.anim-result .anim-value {
  background: linear-gradient(135deg, var(--rate-gold), var(--notrick-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rate animation bounce */
@keyframes rateBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.08); }
}

.rate-animate {
  animation: rateBounce 2s ease-in-out infinite;
  display: inline-block;
}

/* No-trick transparency animation */
@keyframes transparencyPulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.6; filter: brightness(1.3); }
}

.notrick-animate {
  animation: transparencyPulse 2s ease-in-out infinite;
  display: inline-block;
}

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
}

.sparkle {
  animation: sparkle 1.5s ease-in-out infinite;
  display: inline-block;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-top-bar-amber { background: linear-gradient(90deg, var(--zhongfu-amber), var(--zhongfu-amber-dark)); }
.card-top-bar-gold { background: linear-gradient(90deg, var(--rate-gold), var(--rate-gold-dark)); }
.card-top-bar-green { background: linear-gradient(90deg, var(--notrick-green), var(--notrick-green-dark)); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Card with amber background */
.card-amber {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: var(--text-white);
}

.card-amber h3 {
  color: var(--text-white);
}

.card-amber p {
  color: rgba(255, 255, 255, 0.85);
}

/* Card with gold background */
.card-gold {
  background: linear-gradient(135deg, var(--rate-gold), var(--rate-gold-dark));
  color: var(--text-white);
}

.card-gold h3 { color: var(--text-white); }
.card-gold p { color: rgba(255, 255, 255, 0.85); }

/* Card with green background */
.card-green {
  background: linear-gradient(135deg, var(--notrick-green), var(--notrick-green-dark));
  color: var(--text-white);
}

.card-green h3 { color: var(--text-white); }
.card-green p { color: rgba(255, 255, 255, 0.85); }

/* --- Product Cards --- */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--zhongfu-amber);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-badge-standard {
  background: var(--border-light);
  color: var(--zhongfu-amber);
}

.product-badge-flagship {
  background: linear-gradient(135deg, var(--rate-gold), var(--rate-gold-dark));
  color: white;
}

.product-image {
  width: 180px;
  height: 240px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-name {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--zhongfu-amber);
  margin-bottom: 8px;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  text-align: left;
  margin-bottom: 24px;
}

.product-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li::before {
  content: '✓';
  color: var(--notrick-green);
  font-weight: 700;
}

/* --- Reasons List --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.reason-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.reason-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.reason-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.2rem;
}

.reason-content h4 {
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reason-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Brand Compare --- */
.brand-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.brand-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 0 100%;
}

.brand-card-amber {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  border: 2px solid var(--rate-gold);
}

.brand-card-dark-green {
  background: linear-gradient(135deg, #064E3B, #065F46);
}

.brand-card-brown {
  background: linear-gradient(135deg, #78350F, #92400E);
}

.brand-card-navy {
  background: linear-gradient(135deg, #1E3A5F, #1E40AF);
}

.brand-card h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.brand-card .brand-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.brand-card .brand-formula {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.brand-card .brand-highlight {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
}

.brand-best {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--rate-gold);
  color: var(--zhongfu-amber-dark);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  padding: 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: var(--text-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--rate-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--rate-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--zhongfu-amber);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--zhongfu-amber);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--zhongfu-amber);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* --- Comparison Table --- */
.compare-table-wrap {
  overflow-x: auto;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid #F1F5F9;
}

.compare-table th {
  background: linear-gradient(135deg, var(--zhongfu-amber), var(--zhongfu-amber-dark));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  background: #FFFBEB;
}

.compare-table tr:hover td {
  background: #FEF3C7;
}

.compare-table td:first-child:hover {
  background: #FDE68A;
}

.compare-check {
  color: var(--notrick-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-cross {
  color: #EF4444;
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-partial {
  color: var(--rate-gold);
  font-weight: 600;
}

/* --- Three-way Compare --- */
.three-way-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.three-way-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.three-way-card:hover {
  transform: translateY(-4px);
}

.three-way-best {
  background: linear-gradient(135deg, var(--rate-gold), var(--rate-gold-dark));
  color: white;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.three-way-mid {
  background: var(--bg-white);
  color: var(--text-body);
  box-shadow: var(--card-shadow);
  border: 2px solid #E2E8F0;
}

.three-way-worst {
  background: var(--bg-white);
  color: var(--text-body);
  box-shadow: var(--card-shadow);
  border: 2px solid #FEE2E2;
}

.three-way-card h3 {
  margin-bottom: 16px;
}

.three-way-best h3 { color: white; }
.three-way-mid h3 { color: var(--text-body); }
.three-way-worst h3 { color: #EF4444; }

.three-way-card ul {
  text-align: left;
  margin-top: 16px;
}

.three-way-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.three-way-best li { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.9); }

.three-way-card li::before {
  margin-right: 8px;
}

.three-way-best li::before { content: '✅'; }
.three-way-mid li::before { content: '⚠️'; }
.three-way-worst li::before { content: '❌'; }

/* --- Dimension Compare --- */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.dimension-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--zhongfu-amber);
}

.dimension-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.dimension-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.dimension-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.dimension-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Angle Section --- */
.angle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.angle-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  text-align: center;
  transition: var(--transition);
}

.angle-card:hover {
  transform: translateY(-4px);
}

.angle-card h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.angle-card p {
  opacity: 0.9;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page-specific hero title --- */
.page-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .three-way-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .animation-zone {
    flex-direction: column;
    gap: 20px;
  }

  .anim-block,
  .anim-result {
    min-width: auto;
    width: 100%;
    max-width: 320px;
  }

  .anim-plus,
  .anim-equals {
    font-size: 1.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .brand-compare-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    width: 140px;
    height: 180px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--rate-gold); }
.text-green { color: var(--notrick-green); }
.text-amber { color: var(--zhongfu-amber); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.fw-700 { font-weight: 700; }

/* --- Overlay for mobile menu --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
}

.nav-overlay.show {
  display: block;
}
