/* ===========================
   KWRNVO — Global Design System (Anker-Inspired)
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --dark: #0d0d0d;
  --dark-2: #141414;
  --dark-3: #1e1e1e;
  --grey: #555;
  --grey-light: #888;
  --grey-muted: #aaa;
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-glow: rgba(0,102,255,0.22);
  --amazon: #f0c14b;
  --amazon-border: #a88734;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --promo-bg: #0a1628;
  --promo-accent: #ff4d4d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 50px;
  --font: 'Poppins', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; font-weight: 500; color: var(--grey-muted); margin-bottom: 1.2rem; }
h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.8rem; letter-spacing: 0.02em; font-weight: 700; }
p { font-size: 1.05rem; color: var(--grey-muted); max-width: 600px; line-height: 1.8; }

/* ===== PROMO COUNTDOWN BANNER ===== */
#promo-banner {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: linear-gradient(90deg, #001f6b 0%, #003ccc 50%, #001f6b 100%);
  z-index: 2000;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--font);
}
#promo-banner .promo-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
#promo-banner .promo-text span {
  color: #ffd600;
  font-weight: 800;
}
#countdown {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  min-width: 40px;
}
.countdown-unit .cd-num {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.countdown-unit .cd-label {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.countdown-sep {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffd600;
  margin-bottom: 4px;
}
#promo-banner .promo-link {
  font-size: 0.78rem;
  font-weight: 700;
  background: #ffd600;
  color: #001f6b;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}
#promo-banner .promo-link:hover {
  background: #fff;
  transform: translateY(-1px);
}
#promo-banner .promo-close {
  position: absolute;
  right: 1rem;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem; cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
#promo-banner .promo-close:hover { color: #fff; }

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 40px; left: 0; width: 100%;
  padding: 1rem 6%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: top 0.35s ease, background 0.35s ease;
}
#navbar.banner-hidden { top: 0; }
#navbar.scrolled { background: rgba(8,8,8,0.97); }

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  outline: none;
}
.logo-img {
  height: 38px;          /* 固定高度，宽度自动 */
  width: auto;
  max-width: 180px;      /* 防止超宽 Logo 溢出 */
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: brightness(1);
}
.logo:hover .logo-img {
  opacity: 0.82;
  transform: scale(1.04);
}

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-muted);
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.3px;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--white); color: var(--black);
}
.btn-primary:hover {
  background: var(--accent); color: var(--white);
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-3px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-amazon {
  background: var(--amazon); color: #111;
  border: 1px solid var(--amazon-border);
}
.btn-amazon:hover {
  background: #ddb347;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,193,75,0.25);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 6%;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  transition: color 0.3s;
}
.trust-item:hover { color: var(--white); }
.trust-item .ti-icon {
  font-size: 1rem;
  color: var(--accent);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 6%; }

/* ===== HOMEPAGE: Full-page scroll snap ===== */
.snap-html {
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: scroll;
}
.snap-html body { background: transparent; }
.snap-container { height: 100vh; }
.section {
  height: 100vh; width: 100%;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 0 10%; overflow: hidden;
}

/* ===== Hero Section ===== */
.hero-section {
  flex-direction: column;
  background: linear-gradient(150deg, #03071e 0%, #0d0d0d 45%, #0a1029 100%);
  text-align: center;
  padding-top: 80px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 55%, rgba(0,102,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.4) brightness(0.6);
}
.hero-section .content {
  position: relative; z-index: 2; max-width: 950px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,102,255,0.13);
  border: 1px solid rgba(0,102,255,0.38);
  color: #7ab3ff;
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0.4rem 1.3rem; border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(0,102,255,0); }
  50% { box-shadow: 0 0 18px rgba(0,102,255,0.3); }
}
.hero-section h1 { color: var(--white); }
.hero-section h1 .accent-word {
  color: var(--accent);
  position: relative;
}
.hero-section p {
  color: var(--grey-muted);
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  font-family: var(--font-body);
  max-width: 580px;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4rem;
  z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font);
  font-size: 2rem; font-weight: 900;
  color: var(--white);
}
.hero-stat .label {
  font-size: 0.7rem; color: var(--grey-muted);
  letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--font);
}

/* Product Sections */
.product-section {
  display: flex; justify-content: space-between;
  align-items: center; gap: 5rem;
  background: var(--dark);
}
.bg-dark-2 { background: var(--dark-2); }
.product-image {
  flex: 1; display: flex;
  justify-content: center; align-items: center;
}
.product-image img {
  max-width: 100%; max-height: 65vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,102,255,0.15));
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.product-image img:hover { transform: scale(1.05) translateY(-8px); }
.product-info { flex: 1; }
.product-info h2 { color: var(--white); }
.product-info h3 { color: var(--grey-muted); }
.product-info p { color: var(--grey-muted); }
.features {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.feature-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--grey-muted);
  font-family: var(--font);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

/* Footer Section */
.footer-section {
  flex-direction: column; justify-content: center;
  background: var(--black);
  padding: 5rem 10% 2rem;
}
.brand-story {
  text-align: center; max-width: 700px;
  margin: 0 auto 4rem;
}
.brand-story h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 1rem; }
.brand-story p { color: var(--grey-muted); margin: 0 auto; }
.main-footer { width: 100%; border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font);
  color: var(--white); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.2rem;
}
.footer-col p { color: var(--grey-light); font-size: 0.88rem; max-width: 240px; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { color: var(--grey-light); font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  text-align: center; color: var(--grey-light);
  font-size: 0.8rem; border-top: 1px solid var(--border);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--grey-light); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--white); }

/* ===== SUB-PAGE LAYOUT ===== */
body.subpage {
  background: var(--dark);
  padding-top: 100px;
  min-height: 100vh;
}
.page-header {
  padding: 5rem 6% 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,102,255,0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.page-header .page-badge {
  display: inline-block;
  background: rgba(0,102,255,0.12);
  border: 1px solid rgba(0,102,255,0.3);
  color: #7ab3ff;
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}
.page-header h1 { color: var(--white); max-width: 700px; margin: 0 auto 1rem; }
.page-header p { color: var(--grey-muted); margin: 0 auto; }

/* Content Card */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 1.5rem;
}

/* About page grid */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 3rem 0;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}
.about-card:hover {
  border-color: rgba(0,102,255,0.4);
  background: rgba(0,102,255,0.05);
  transform: translateY(-4px);
}
.about-card-icon {
  width: 50px; height: 50px;
  background: rgba(0,102,255,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
.about-card h3 {
  font-family: var(--font);
  color: var(--white); font-size: 1.15rem;
  font-weight: 700; margin-bottom: 0.8rem;
}
.about-card p { font-size: 0.95rem; color: var(--grey-muted); max-width: none; }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: 3rem 0;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem; text-align: center;
  transition: var(--transition);
}
.stat-box:hover { border-color: rgba(0,102,255,0.35); transform: translateY(-3px); }
.stat-box .stat-num {
  font-family: var(--font);
  font-size: 2.5rem; font-weight: 900; color: var(--white);
}
.stat-box .stat-label {
  font-family: var(--font);
  font-size: 0.75rem; color: var(--grey-muted);
  text-transform: uppercase; letter-spacing: 1px;
}

/* Contact cards */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin: 3rem 0;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: rgba(0,102,255,0.4);
  transform: translateY(-4px);
}
.contact-icon {
  width: 60px; height: 60px;
  background: rgba(0,102,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 1.5rem;
}
.contact-card h3 {
  font-family: var(--font);
  color: var(--white); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 0.6rem;
}
.contact-card p { font-size: 0.9rem; color: var(--grey-muted); max-width: none; margin-bottom: 0.8rem; }
.contact-card a { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.contact-card a:hover { color: #7ab3ff; }

/* Legal content */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font);
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  margin-top: 2.5rem; margin-bottom: 0.8rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.legal-content p { color: var(--grey-muted); font-size: 0.97rem; margin-bottom: 1rem; max-width: none; }
.legal-date {
  display: inline-block;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.25);
  color: #7ab3ff;
  font-size: 0.8rem; padding: 0.35rem 1rem;
  border-radius: var(--radius-pill); margin-bottom: 2rem;
}

/* Sub-page footer */
.sub-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.sub-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 3rem;
}
.sub-footer-grid .footer-col h4 {
  font-family: var(--font);
  color: var(--white); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.2rem;
}
.sub-footer-grid .footer-col p { color: var(--grey-light); font-size: 0.88rem; max-width: 220px; }
.sub-footer-grid .footer-col ul li { margin-bottom: 0.6rem; }
.sub-footer-grid .footer-col ul a { color: var(--grey-light); font-size: 0.88rem; transition: color 0.3s; }
.sub-footer-grid .footer-col ul a:hover { color: var(--white); }
.sub-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.8rem; color: var(--grey-light);
}
.sub-footer-bottom a { color: var(--grey-light); transition: color 0.3s; }
.sub-footer-bottom a:hover { color: var(--white); }

/* ===== Animations ===== */
.fade-in, .slide-in-left, .slide-in-right, .slide-up {
  opacity: 0; transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left  { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.slide-up       { transform: translateY(40px); }
.fade-in        { transform: translateY(20px); }
.is-visible { opacity: 1 !important; transform: translate(0) !important; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid, .sub-footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { gap: 1.5rem; }
}
@media (max-width: 768px) {
  #promo-banner { gap: 0.75rem; }
  .product-section { flex-direction: column; gap: 2rem; text-align: center; }
  .product-image img { max-height: 40vh; }
  h1 { font-size: 2.4rem; } h2 { font-size: 1.8rem; }
  .nav-links { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid, .sub-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col p { max-width: 100%; }
  .footer-bottom, .sub-footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1.5rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .trust-bar { gap: 1rem; padding: 0.75rem 3%; }
  .trust-item { font-size: 0.65rem; }
  /* Mobile logo scaling */
  .logo-img {
    height: 30px;
    max-width: 140px;
  }
  #navbar { padding: 0.75rem 5%; }
}
@media (max-width: 480px) {
  .logo-img {
    height: 26px;
    max-width: 120px;
  }
}
