/* ===== Chrome Download Site — Emerald Matrix Theme ===== */
/* Unique: deep green + cyan accents, geometric patterns, layered depth */

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --g1: #0b1e12;
  --g2: #143d22;
  --g3: #1a6b3c;
  --g4: #22c55e;
  --g5: #4ade80;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --surface: #0f2618;
  --surface2: #132e1c;
  --surface3: #1a3d25;
  --text: #e8f5ec;
  --text2: #a3d9b5;
  --text3: #6fb88a;
  --border: rgba(34,197,94,.15);
  --border2: rgba(6,182,212,.12);
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow2: 0 8px 40px rgba(0,0,0,.5);
  --radius: 12px;
  --radius2: 16px;
  --max-w: 1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--g1); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--g5); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan-light); }
img { max-width: 100%; display: block; }

/* ===== Top Navigation ===== */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11,30,18,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand svg { flex-shrink: 0; }
.nav-list { list-style: none; display: flex; gap: 6px; }
.nav-list a {
  display: block; padding: 8px 18px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; color: var(--text2);
  transition: background .2s, color .2s;
}
.nav-list a:hover { background: rgba(34,197,94,.1); color: var(--text); }
.nav-list a.on { background: var(--g3); color: #fff; }

/* ===== Wrap ===== */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Hero — Diagonal Split ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 24px 80px;
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 40%, var(--surface3) 100%);
}
.hero::before {
  content: ""; position: absolute; top: -50%; right: -20%; width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(34,197,94,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text { animation: fadeUp .8s ease-out; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,.12); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 20px; font-size: .8rem; color: var(--g5);
  margin-bottom: 20px;
}
.hero-text h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 18px; color: #fff; }
.hero-text h1 em { font-style: normal; color: var(--g4); }
.hero-text p { font-size: 1.1rem; color: var(--text2); margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; animation: fadeUp .8s ease-out .2s both; }
.hero-orb {
  width: 320px; height: 320px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 30% 30%, var(--g3), var(--g1));
  box-shadow: 0 0 80px rgba(34,197,94,.2), inset 0 0 60px rgba(0,0,0,.4);
}
.hero-orb svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-orb::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px dashed rgba(34,197,94,.2); animation: spin 20s linear infinite;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px; border: none;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--g4), var(--g3));
  color: #fff; box-shadow: 0 4px 20px rgba(34,197,94,.3);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(34,197,94,.45); }

.btn-outline {
  background: transparent; color: var(--g5);
  border: 1.5px solid var(--g4);
}
.btn-outline:hover { background: rgba(34,197,94,.1); }

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  color: #fff; box-shadow: 0 4px 20px rgba(6,182,212,.3);
}
.btn-cyan:hover { box-shadow: 0 6px 28px rgba(6,182,212,.45); }

.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

/* ===== Section Blocks ===== */
.sec {
  padding: 80px 24px;
}
.sec-alt { background: var(--surface); }
.sec-alt2 { background: var(--surface2); }
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head h2 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.sec-head p { color: var(--text2); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.sec-label {
  display: inline-block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--g4); margin-bottom: 8px; font-weight: 600;
}

/* ===== Feature Hex Grid ===== */
.hex-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--max-w); margin: 0 auto;
}
.hex-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.hex-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--g4), var(--cyan)); opacity: 0;
  transition: opacity .25s;
}
.hex-card:hover { transform: translateY(-4px); border-color: var(--g4); box-shadow: var(--shadow); }
.hex-card:hover::before { opacity: 1; }
.hex-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(34,197,94,.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hex-icon svg { width: 28px; height: 28px; stroke: var(--g4); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hex-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.hex-card p { font-size: .9rem; color: var(--text2); line-height: 1.65; }

/* ===== Platform Download Strip ===== */
.plat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: var(--max-w); margin: 0 auto;
}
.plat-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px 24px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.plat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plat-card .plat-ico {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  background: rgba(34,197,94,.08); display: flex; align-items: center; justify-content: center;
}
.plat-card .plat-ico svg { width: 30px; height: 30px; }
.plat-card h3 { font-size: 1rem; color: #fff; margin-bottom: 6px; }
.plat-card .plat-desc { font-size: .82rem; color: var(--text3); margin-bottom: 16px; }
.plat-card .btn { width: 100%; justify-content: center; }

/* ===== Zigzag Feature Rows ===== */
.zigzag-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: var(--max-w); margin: 0 auto 60px;
}
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-row.reverse .zigzag-media { order: -1; }
.zigzag-media {
  background: var(--surface3); border: 1px solid var(--border); border-radius: var(--radius2);
  padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 260px;
}
.zigzag-media svg { width: 120px; height: 120px; opacity: .8; }
.zigzag-info h3 { font-size: 1.4rem; color: #fff; margin-bottom: 14px; }
.zigzag-info p { font-size: .95rem; color: var(--text2); margin-bottom: 12px; line-height: 1.7; }

/* ===== Reviews Masonry ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--max-w); margin: 0 auto;
}
.rev-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s;
}
.rev-card:hover { transform: translateY(-3px); }
.rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g3), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.rev-name { font-weight: 600; color: #fff; font-size: .92rem; }
.rev-stars { color: #f59e0b; font-size: .85rem; letter-spacing: 2px; }
.rev-card p { font-size: .88rem; color: var(--text2); line-height: 1.65; }

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: var(--max-w); margin: 0 auto;
}
.stat-item {
  text-align: center; padding: 32px 16px;
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
}
.stat-num {
  font-size: 2.2rem; font-weight: 800; color: var(--g4);
  background: linear-gradient(135deg, var(--g4), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .85rem; color: var(--text3); margin-top: 4px; }

/* ===== Comparison Table ===== */
.cmp-wrap { max-width: var(--max-w); margin: 0 auto; overflow-x: auto; }
.cmp-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}
.cmp-table th, .cmp-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border);
}
.cmp-table thead th {
  background: var(--surface3); color: #fff; font-weight: 600;
  position: sticky; top: 0;
}
.cmp-table thead th:first-child { border-radius: 10px 0 0 0; }
.cmp-table thead th:last-child { border-radius: 0 10px 0 0; }
.cmp-table tbody td { color: var(--text2); }
.cmp-table tbody tr:hover { background: rgba(34,197,94,.04); }
.cmp-highlight { color: var(--g4) !important; font-weight: 600; }

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 780px; margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
  background: var(--surface2); transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(34,197,94,.3); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; font-weight: 600; color: #fff;
  user-select: none; font-size: .95rem;
}
.faq-q svg {
  width: 20px; height: 20px; stroke: var(--text3); fill: none;
  stroke-width: 2; transition: transform .3s;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 22px; font-size: .9rem; color: var(--text2); line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 500px; padding: 0 22px 20px;
}

/* ===== Steps / Timeline ===== */
.steps {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.step-card {
  position: relative; background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px 24px; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g4), var(--g3));
  color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: .85rem; color: var(--text2); }

/* ===== Version Log ===== */
.ver-list { max-width: 780px; margin: 0 auto; }
.ver-item {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.ver-tag {
  flex-shrink: 0; padding: 4px 14px; border-radius: 6px; font-size: .82rem; font-weight: 600;
  background: rgba(34,197,94,.12); color: var(--g4); height: fit-content;
}
.ver-date { font-size: .82rem; color: var(--text3); margin-bottom: 6px; }
.ver-body { font-size: .9rem; color: var(--text2); line-height: 1.6; }
.ver-body ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.ver-body li { margin-bottom: 4px; }

/* ===== Download Hero ===== */
.dl-hero {
  padding: 80px 24px 60px;
  background: linear-gradient(160deg, var(--g1), var(--g2) 60%, var(--surface3));
  text-align: center;
}
.dl-hero h1 { font-size: 2.4rem; color: #fff; margin-bottom: 12px; }
.dl-hero p { font-size: 1.05rem; color: var(--text2); margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.dl-hero-meta {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px; font-size: .85rem; color: var(--text3);
}
.dl-hero-meta span { display: flex; align-items: center; gap: 6px; }
.dl-hero-meta svg { width: 16px; height: 16px; stroke: var(--g4); fill: none; stroke-width: 2; }

/* ===== Windows Detailed Section ===== */
.win-detail {
  max-width: var(--max-w); margin: 0 auto;
}
.win-detail h3 { font-size: 1.3rem; color: #fff; margin-bottom: 20px; }

/* ===== System Req Table ===== */
.req-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: var(--max-w); margin: 0 auto;
}
.req-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.req-card h4 { color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.req-card h4 svg { width: 22px; height: 22px; stroke: var(--g4); fill: none; stroke-width: 2; }
.req-card ul { list-style: none; }
.req-card li { font-size: .88rem; color: var(--text2); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); display: flex; gap: 8px; }
.req-card li::before { content: "✓"; color: var(--g4); font-weight: 700; }

/* ===== Security Banner ===== */
.sec-banner {
  max-width: var(--max-w); margin: 0 auto;
  background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(6,182,212,.06));
  border: 1px solid var(--border); border-radius: var(--radius2);
  padding: 32px; display: flex; align-items: center; gap: 20px;
}
.sec-banner svg { flex-shrink: 0; width: 48px; height: 48px; stroke: var(--g4); fill: none; stroke-width: 1.5; }
.sec-banner h3 { color: #fff; margin-bottom: 6px; }
.sec-banner p { font-size: .9rem; color: var(--text2); }

/* ===== CTA Block ===== */
.cta-block {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, var(--g2), var(--surface3));
}
.cta-block h2 { font-size: 2rem; color: #fff; margin-bottom: 14px; }
.cta-block p { color: var(--text2); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== SEO Article ===== */
.article-body {
  max-width: 800px; margin: 0 auto;
}
.article-body h2 { font-size: 1.5rem; color: #fff; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.2rem; color: var(--g5); margin: 28px 0 12px; }
.article-body p { font-size: .95rem; color: var(--text2); margin-bottom: 16px; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 16px; }
.article-body li { font-size: .93rem; color: var(--text2); margin-bottom: 8px; line-height: 1.7; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.tag-cloud span {
  padding: 6px 14px; border-radius: 20px; font-size: .8rem;
  background: rgba(34,197,94,.1); border: 1px solid var(--border); color: var(--g5);
}

/* ===== Footer ===== */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: .82rem; color: var(--text3);
}
.site-footer .security {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 8px; color: var(--g4); font-weight: 500;
}
.site-footer .copy { color: var(--text3); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hex-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-row { grid-template-columns: repeat(2, 1fr); }
  .zigzag-row { grid-template-columns: 1fr; }
  .zigzag-row.reverse .zigzag-media { order: 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 0 16px; }
  .nav-list a { padding: 6px 12px; font-size: .82rem; }
  .hero { padding: 70px 16px 50px; }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-orb { width: 220px; height: 220px; }
  .hex-grid, .plat-row, .reviews-grid, .stats-bar { grid-template-columns: 1fr; }
  .sec { padding: 50px 16px; }
  .sec-head h2 { font-size: 1.5rem; }
  .btn-lg { padding: 14px 24px; font-size: .95rem; }
  .sec-banner { flex-direction: column; text-align: center; }
  .dl-hero h1 { font-size: 1.8rem; }
}
