:root {
  --brand: #1d6ef5;
  --brand-indigo: #4f46e5;
  --brand-orange: #ff7a1a;
  --brand-soft: #eef4ff;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(29, 110, 245, 0.14);
  --surface: #ffffff;
  --band: #f6f8fe;
  --navy: #0b1326;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; font-size: 15px;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 1. Sticky Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  display: flex; align-items: center;
}
.header-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; color: #0f172a; }
.brand-link img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 3px 10px rgba(29,110,245,0.22); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #334155;
  transition: all 0.16s;
}
.nav-link:hover { color: var(--brand); background: #f1f5f9; }
.nav-link.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 11px; font-weight: 700; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; transition: all 0.18s ease; white-space: nowrap;
}
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 13px; }
.btn-brand {
  background: linear-gradient(135deg, #1d6ef5 0%, #4f46e5 100%);
  color: #fff; box-shadow: 0 10px 26px rgba(29,110,245,0.28);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(29,110,245,0.36); }
.btn-orange {
  background: linear-gradient(135deg, #ff7a1a 0%, #f9571c 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(255,122,26,0.28);
}
.btn-orange:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-outline {
  background: #fff; color: #1e293b; border-color: rgba(15,23,42,0.14);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: #f8fbff; }
.btn-ghost-dark {
  background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.16); }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 14px;
}

/* 2. Hero Band (7:5 asymmetric layout matching AdsSuite Guides) */
.hero-shell {
  padding: 56px 0 64px;
  background:
    radial-gradient(640px 320px at 14% 12%, rgba(29,110,245,0.09), transparent 60%),
    radial-gradient(520px 320px at 88% 18%, rgba(255,122,26,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 40px; align-items: center; }
.hero-title { font-size: 42px; font-weight: 900; line-height: 1.18; margin: 0 0 16px; letter-spacing: -0.02em; color: #0f172a; }
.hero-title span { background: linear-gradient(135deg, #1d6ef5, #ff7a1a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { font-size: 16px; color: var(--muted); margin: 0 0 26px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #475569; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }

/* Hero Right 4-Step Walkthrough Card */
.hero-panel {
  background: linear-gradient(155deg, rgba(255,255,255,0.98) 0%, rgba(240,246,255,0.95) 100%);
  border-radius: 20px; padding: 24px 26px;
  border: 1px solid rgba(29,110,245,0.16);
  box-shadow: 0 20px 52px rgba(29,110,245,0.10);
}
.hp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hp-icon {
  width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.hp-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; }
.hp-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.hp-steps { position: relative; display: flex; flex-direction: column; gap: 10px; }
.hp-steps::before {
  content: ""; position: absolute; left: 32px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(180deg, rgba(29,110,245,0.45), rgba(255,122,26,0.35));
}
.hp-step {
  position: relative; z-index: 1; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  background: #fff; border-radius: 14px; padding: 12px 15px;
  border: 1px solid rgba(29,110,245,0.12); box-shadow: 0 4px 12px rgba(15,23,42,0.03);
}
.hp-num {
  width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #1d6ef5, #4f46e5);
  color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.hp-step strong { display: block; font-size: 14.5px; color: #0f172a; }
.hp-step span { font-size: 12.5px; color: var(--muted); }

/* Sections */
.site-section { padding: 72px 0; }
.site-section.tinted { background: var(--band); border-top: 1px solid rgba(15,23,42,0.04); border-bottom: 1px solid rgba(15,23,42,0.04); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 32px; font-weight: 900; margin: 0 0 10px; letter-spacing: -0.015em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* 3. Topics 3x2 Grid */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card {
  background: #fff; border-radius: 18px; padding: 22px 24px;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15,23,42,0.035);
  transition: all 0.2s ease; display: flex; flex-direction: column; gap: 10px;
}
.topic-card:hover { transform: translateY(-4px); border-color: rgba(29,110,245,0.35); box-shadow: 0 18px 42px rgba(29,110,245,0.10); }
.topic-top { display: flex; align-items: center; gap: 12px; }
.topic-ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.topic-card h3 { margin: 0; font-size: 17px; font-weight: 800; color: #0f172a; }
.topic-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.topic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.topic-tags span { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; }

/* 4. Prominent Download & Install Walkthrough Band */
.dl-banner {
  background: linear-gradient(130deg, #0f1b33 0%, #1a3570 55%, #1d6ef5 100%);
  border-radius: 22px; padding: 34px 36px; color: #fff;
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 28px; align-items: center;
  box-shadow: 0 22px 54px rgba(15,27,51,0.22); margin-bottom: 32px;
}
.dl-banner h3 { font-size: 26px; font-weight: 900; margin: 6px 0 10px; }
.dl-banner p { margin: 0 0 18px; color: rgba(255,255,255,0.82); font-size: 14.5px; }
.dl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dl-pills span { padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,0.14); font-size: 12px; font-weight: 700; }
.dl-card-right {
  background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px; padding: 22px; text-align: center; backdrop-filter: blur(8px);
}
.dl-card-right img { width: 88px; height: 88px; object-fit: contain; margin-bottom: 8px; }
.dl-file-meta { font-size: 12px; color: #bfdbfe; margin: 8px 0 14px; font-family: ui-monospace, monospace; }

.install-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.install-step {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.is-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 10px; background: #fff7ed; color: #ea580c; font-weight: 900; font-size: 14px;
}
.is-mock {
  background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 10px 12px;
  font-size: 12px; color: #334155; font-family: ui-monospace, monospace;
}
.install-step h4 { margin: 0; font-size: 15.5px; font-weight: 800; }
.install-step p { margin: 0; font-size: 13px; color: var(--muted); }

/* 5. Featured Guides 3-Col Cards (16:9 Cover Mockups) */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line);
  transition: all 0.2s; display: flex; flex-direction: column;
}
.guide-card:hover { transform: translateY(-4px); border-color: rgba(29,110,245,0.35); box-shadow: 0 18px 44px rgba(15,23,42,0.08); }
.guide-cover {
  aspect-ratio: 16/9; border-radius: 13px; padding: 16px; margin-bottom: 14px;
  display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden;
}
.gc-blue { background: linear-gradient(135deg, #0f1b33, #1d6ef5); }
.gc-indigo { background: linear-gradient(135deg, #1e1b4b, #4f46e5); }
.gc-warm { background: linear-gradient(135deg, #1e293b, #ea580c); }
.gc-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.18); font-size: 11px; font-weight: 700; width: fit-content; }
.gc-ui-bar { display: flex; gap: 6px; margin-top: 8px; }
.gc-ui-chip { flex: 1; background: rgba(255,255,255,0.14); border-radius: 8px; padding: 7px 9px; font-size: 11px; }
.gc-ui-chip strong { display: block; font-size: 14px; }
.guide-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.guide-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.35; }
.guide-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 6. FAQ Accordion */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; padding: 17px 20px; background: #fff; border: none;
  font-size: 15.5px; font-weight: 800; color: #0f172a; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: inherit;
}
.faq-item.open .faq-q { background: #f4f8ff; color: var(--brand); }
.faq-a { display: none; padding: 0 20px 18px; color: #475569; font-size: 14px; line-height: 1.65; background: #f4f8ff; }
.faq-item.open .faq-a { display: block; }
.faq-arrow { transition: transform 0.2s; font-size: 13px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* 7. Dark Navy Footer + Floating Support Pill */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 18px; margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 9px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.65); margin: 0 0 18px; max-width: 310px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 800; margin: 0 0 12px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.68); margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,0.5); }

.float-support {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  padding: 11px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #1d6ef5, #4f46e5); color: #fff;
  font-weight: 700; font-size: 13.5px; box-shadow: 0 12px 30px rgba(29,110,245,0.36);
  display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer;
}
.float-support:hover { transform: translateY(-2px); }

@media (max-width: 1024px) {
  .hero-grid, .dl-banner { grid-template-columns: 1fr; }
  .topics-grid, .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .hero-title { font-size: 30px; }
  .topics-grid, .guides-grid, .install-grid, .footer-grid { grid-template-columns: 1fr; }
}
