/* ============================================================
   googgle-chrrome.hl.cn — Warm Amber / Editorial Magazine Theme
   Design: Cream white base + amber/orange accents + deep charcoal type
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber:     #f59e0b;
  --amber-dk:  #d97706;
  --amber-lt:  #fef3c7;
  --orange:    #ea580c;
  --cream:     #fffbf5;
  --cream2:    #fdf6ec;
  --ink:       #1c1917;
  --ink2:      #44403c;
  --ink3:      #78716c;
  --rule:      #e7e5e4;
  --white:     #ffffff;
  --green:     #16a34a;
  --blue:      #2563eb;
  --red:       #dc2626;
  --radius:    10px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--cream); color: var(--ink); line-height: 1.7; }

img { max-width: 100%; display: block; }
a { color: var(--amber-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse-amber { 0%,100% { box-shadow:0 0 0 0 rgba(245,158,11,.4); } 50% { box-shadow:0 0 0 10px rgba(245,158,11,0); } }

/* ── TOPNAV ── */
.topnav {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 3px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 62px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
}
.brand svg { flex-shrink: 0; }
.navlist { display: flex; gap: 4px; list-style: none; }
.navlist a {
  display: block; padding: 8px 18px; border-radius: 6px;
  font-size: .92rem; font-weight: 500; color: var(--ink2);
  transition: background .2s, color .2s;
}
.navlist a:hover { background: var(--amber-lt); color: var(--amber-dk); text-decoration: none; }
.navlist a.on {
  background: var(--amber); color: var(--white);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1c1917 0%, #292524 60%, #44403c 100%);
  color: var(--white); padding: 88px 24px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,158,11,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; background: var(--amber); color: var(--ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 22px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.18;
  max-width: 760px; margin: 0 auto 18px;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p.sub {
  font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--ink);
  border: none; cursor: pointer; border-radius: 8px;
  padding: 15px 32px; font-size: 1rem; font-weight: 700;
  transition: background .2s, transform .15s;
  animation: pulse-amber 2.5s infinite;
}
.btn-hero:hover { background: var(--amber-dk); transform: translateY(-2px); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.35); cursor: pointer; border-radius: 8px;
  padding: 13px 28px; font-size: 1rem; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-hero-ghost:hover { border-color: var(--amber); background: rgba(245,158,11,.12); }
.hero-stats {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-top: 52px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--amber); }
.hero-stat span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* ── SECTION COMMON ── */
.section { padding: 72px 24px; }
.section-alt { background: var(--cream2); }
.section-dark { background: var(--ink); color: var(--white); }
.wrap { max-width: 1140px; margin: 0 auto; }
.sec-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-dk); margin-bottom: 10px; text-align: center;
}
.sec-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; line-height: 1.25;
  color: var(--ink); margin-bottom: 14px; text-align: center;
}
.sec-title-white { color: var(--white); }
.sec-desc { font-size: 1rem; color: var(--ink3); max-width: 580px; margin: 0 auto 48px; text-align: center; }
.sec-desc-white { color: rgba(255,255,255,.65); }

/* ── FEATURE CARDS ── */
.cards6 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.feat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--amber-lt); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: .9rem; color: var(--ink3); line-height: 1.6; }

/* ── PLATFORM GRID ── */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.plat-card {
  background: var(--white); border-radius: var(--radius);
  border: 2px solid var(--rule); padding: 28px 24px 24px;
  text-align: center; transition: border-color .2s, box-shadow .2s;
}
.plat-card:hover { border-color: var(--amber); box-shadow: var(--shadow-md); }
.plat-card.featured { border-color: var(--amber); background: linear-gradient(180deg,#fffbf5 0%,#fff 100%); }
.plat-ico { margin: 0 auto 16px; width: 56px; height: 56px; }
.plat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.plat-card p { font-size: .82rem; color: var(--ink3); margin-bottom: 18px; }
.btn-plat {
  width: 100%; padding: 11px 0; border-radius: 7px;
  border: none; cursor: pointer; font-size: .9rem; font-weight: 600;
  transition: opacity .2s;
}
.btn-plat:hover { opacity: .88; }
.btn-plat-primary { background: var(--amber); color: var(--ink); }
.btn-plat-outline { background: transparent; border: 2px solid var(--amber-dk); color: var(--amber-dk); }

/* ── DEEP DIVE SECTIONS ── */
.deepdive { display: flex; gap: 56px; align-items: center; margin-bottom: 64px; }
.deepdive:last-child { margin-bottom: 0; }
.deepdive.rev { flex-direction: row-reverse; }
.deepdive-visual {
  flex: 0 0 320px; height: 220px; border-radius: 16px;
  background: linear-gradient(135deg, var(--amber-lt), #fde68a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.deepdive-text { flex: 1; }
.deepdive-text h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.deepdive-text p { font-size: .95rem; color: var(--ink2); line-height: 1.75; margin-bottom: 10px; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.reviewer-name { font-weight: 700; font-size: .95rem; }
.reviewer-meta { font-size: .78rem; color: var(--ink3); }
.stars { color: var(--amber); font-size: 1rem; letter-spacing: 1px; }
.review-card p { font-size: .88rem; color: var(--ink2); line-height: 1.65; }

/* ── STATS BAND ── */
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat-cell {
  background: var(--ink); padding: 36px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-cell:last-child { border-right: none; }
.stat-cell strong { display: block; font-size: 2rem; font-weight: 800; color: var(--amber); }
.stat-cell span { font-size: .83rem; color: rgba(255,255,255,.6); }

/* ── COMPARE TABLE ── */
.cmp-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cmp-table th {
  background: var(--ink); color: var(--white); font-weight: 700;
  padding: 14px 18px; text-align: left;
}
.cmp-table th:first-child { border-radius: 8px 0 0 0; }
.cmp-table th:last-child { border-radius: 0 8px 0 0; }
.cmp-table td { padding: 13px 18px; border-bottom: 1px solid var(--rule); color: var(--ink2); }
.cmp-table tr:hover td { background: var(--amber-lt); }
.cmp-table .chk { color: var(--green); font-weight: 700; }
.cmp-table .no { color: var(--ink3); }
.cmp-table .highlight-col { font-weight: 700; color: var(--amber-dk); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; font-size: .98rem; font-weight: 600; color: var(--ink);
  text-align: left; gap: 12px;
}
.faq-q:hover { color: var(--amber-dk); }
.faq-chevron { flex-shrink: 0; transition: transform .3s; color: var(--ink3); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--amber-dk); }
.faq-a { display: none; padding: 4px 4px 18px; font-size: .9rem; color: var(--ink2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── DOWNLOAD PAGE ── */
.dl-hero {
  background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
  padding: 64px 24px; text-align: center; color: var(--white);
}
.dl-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.dl-hero p { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 32px; }
.dl-main-box {
  background: var(--white); border-radius: 16px;
  padding: 36px; box-shadow: var(--shadow-lg);
  max-width: 560px; margin: 0 auto; color: var(--ink);
}
.dl-main-box h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.dl-meta { display: flex; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dl-badge {
  background: var(--amber-lt); color: var(--amber-dk);
  font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.btn-dl-win {
  width: 100%; padding: 15px; border-radius: 8px; border: none; cursor: pointer;
  background: var(--amber); color: var(--ink); font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s;
}
.btn-dl-win:hover { background: var(--amber-dk); }
.dl-sys { margin-top: 12px; font-size: .82rem; color: var(--ink3); }

.plat-cards-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.plat-dl-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--rule); padding: 28px; box-shadow: var(--shadow-sm);
}
.plat-dl-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.plat-dl-card .ver { font-size: .78rem; color: var(--ink3); margin-bottom: 14px; }
.plat-dl-card ul { padding-left: 18px; font-size: .85rem; color: var(--ink2); margin-bottom: 16px; line-height: 1.8; }
.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 7px; border: none; cursor: pointer;
  font-size: .88rem; font-weight: 600; transition: opacity .2s;
}
.btn-sm:hover { opacity: .85; }
.btn-sm-amber { background: var(--amber); color: var(--ink); }
.btn-sm-outline { background: transparent; border: 2px solid var(--amber-dk); color: var(--amber-dk); }

/* ── INSTALL STEPS ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 20px; max-width: 680px; margin: 0 auto; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 22px; border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
}
.step-body h4 { font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: .88rem; color: var(--ink2); }

/* ── CHANGELOG ── */
.changelog { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }
.cl-entry {
  display: flex; gap: 20px; padding: 18px 20px;
  background: var(--white); border-radius: var(--radius);
  border-left: 4px solid var(--amber); box-shadow: var(--shadow-sm);
}
.cl-ver { flex-shrink: 0; }
.cl-ver strong { display: block; font-size: .95rem; font-weight: 800; color: var(--amber-dk); }
.cl-ver span { font-size: .75rem; color: var(--ink3); }
.cl-body ul { padding-left: 18px; font-size: .85rem; color: var(--ink2); line-height: 1.8; }

/* ── SECURITY BOX ── */
.security-box {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 1px solid #86efac; border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.security-box h4 { font-weight: 700; color: var(--green); margin-bottom: 6px; }
.security-box p { font-size: .88rem; color: #166534; line-height: 1.6; }

/* ── ZH-CN PAGE ── */
.article-hero {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  padding: 64px 24px; text-align: center; color: var(--white);
}
.article-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.article-hero p { font-size: 1rem; opacity: .88; max-width: 580px; margin: 0 auto; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.tag { background: var(--amber-lt); color: var(--amber-dk); border-radius: 20px; padding: 5px 14px; font-size: .82rem; font-weight: 600; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2 { font-size: 1.3rem; font-weight: 800; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--amber-lt); }
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.article-body p { font-size: .95rem; color: var(--ink2); line-height: 1.8; margin-bottom: 14px; }
.article-body ul { padding-left: 22px; color: var(--ink2); font-size: .93rem; line-height: 1.8; margin-bottom: 14px; }
.cta-block {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  border-radius: 16px; padding: 44px 36px; text-align: center; color: var(--white);
  margin: 48px 0;
}
.cta-block h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.cta-block p { opacity: .9; margin-bottom: 26px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--amber-dk);
  padding: 15px 36px; border-radius: 8px; font-size: 1rem; font-weight: 800;
  transition: transform .15s, box-shadow .15s; text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none; }

/* ── TIPS GRID ── */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tip-card {
  background: var(--white); border-radius: var(--radius);
  padding: 22px; border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.tip-num { font-size: 1.8rem; font-weight: 900; color: var(--amber-lt); line-height: 1; margin-bottom: 6px; }
.tip-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.tip-card p { font-size: .85rem; color: var(--ink3); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.55);
  padding: 36px 24px; text-align: center; font-size: .83rem; line-height: 1.8;
}
.site-footer .security-line {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07); border-radius: 6px;
  padding: 6px 16px; margin-bottom: 10px; color: rgba(255,255,255,.75);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .deepdive, .deepdive.rev { flex-direction: column; }
  .deepdive-visual { flex: none; width: 100%; }
  .nav-inner { padding: 0 16px; }
  .navlist a { padding: 6px 12px; font-size: .84rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero { padding: 56px 16px 48px; }
  .section { padding: 48px 16px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .navlist { gap: 2px; }
  .navlist a { padding: 6px 10px; font-size: .8rem; }
}
