/* ============================================================
   太阳IP (SunIPIP) — Global Styles
   Theme: Orange-yellow primary + Deep blue accent, clean light
   ============================================================ */

:root {
  /* Brand */
  --brand: #F7A600;           /* sun orange-yellow */
  --brand-600: #E89500;
  --brand-50: #FFF7E6;
  --accent: #1E40AF;          /* deep blue */
  --accent-600: #183389;
  --accent-50: #EEF2FB;

  /* Surface */
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-dark: #0B1437;         /* deep navy for hero / footer */
  --panel: #FFFFFF;
  --border: #E5E9F2;
  --border-2: #D5DBE8;

  /* Text */
  --text: #0B1437;
  --text-2: #3A4466;
  --muted: #6B7488;
  --text-on-dark: #EEF2FB;
  --muted-on-dark: #A6B0CC;

  /* Shape */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(11,20,55,.06);
  --shadow-md: 0 10px 30px rgba(11,20,55,.08);
  --shadow-lg: 0 24px 60px rgba(11,20,55,.12);

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans SC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
button { font-family: inherit; cursor: pointer; }
.lang-hidden { display: none !important; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { color: var(--text); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p  { margin: 0 0 1em; color: var(--text-2); }

html[lang="en"] h1 { font-size: clamp(32px, 4.6vw, 52px); }
html[lang="en"] h2 { font-size: clamp(24px, 3.2vw, 36px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #FFC441 0%, var(--brand) 50%, #E89500 100%);
  color: #0B1437;
  box-shadow: 0 10px 24px rgba(247, 166, 0, .35);
}
.btn-primary:hover { color: #0B1437; box-shadow: 0 14px 30px rgba(247, 166, 0, .48); }
.btn-secondary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 64, 175, .28);
}
.btn-secondary:hover { background: var(--accent-600); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--text); font-size: 18px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { background: var(--brand-50); color: var(--brand-600); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switcher {
  position: relative;
}
.lang-switcher select {
  appearance: none;
  border: 1.5px solid var(--border-2);
  background: #fff;
  padding: 8px 32px 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.lang-switcher::after {
  content: "▾"; position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--muted);
}
.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  color: var(--text);
}

/* Show login button only on larger screens — free up mobile nav space */
@media (max-width: 720px) {
  .nav-login { display: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(247, 166, 0, .22), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(30, 64, 175, .18), transparent 60%),
    linear-gradient(180deg, #0B1437 0%, #132057 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0 clamp(80px, 11vw, 140px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: .6;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #FFD666, var(--brand));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted-on-dark);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-actions .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
}
.hero-actions .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 560px;
}
.hero-stats div { }
.hero-stats strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--brand);
  font-weight: 800;
}
.hero-stats span { font-size: 13px; color: var(--muted-on-dark); }

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 540px;
  justify-self: end;
}
.hero-visual .earth {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 60px rgba(247, 166, 0, .25));
  animation: float 6s ease-in-out infinite;
}
.hero-visual .ring {
  position: absolute; inset: -20px;
  border: 1.5px dashed rgba(247, 166, 0, .35);
  border-radius: 50%;
  animation: spin 60s linear infinite reverse;
}
.hero-visual .ring-2 {
  position: absolute; inset: -50px;
  border: 1px dashed rgba(30, 64, 175, .35);
  border-radius: 50%;
  animation: spin 80s linear infinite;
}
.hero-visual .sun-logo {
  position: absolute; top: -8%; right: -6%;
  width: 28%;
  filter: drop-shadow(0 10px 30px rgba(247, 166, 0, .5));
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; justify-self: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ---------- Trusted / Logos bar ---------- */
.trusted {
  padding: 30px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 18px;
}
.trusted-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 60px;
  align-items: center;
  opacity: .7;
}
.trusted-row span {
  font-weight: 700; color: var(--muted); font-size: 18px;
}

/* ---------- Section base ---------- */
section.sec { padding: clamp(64px, 8vw, 110px) 0; }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 54px; }
.sec-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sec-head p { color: var(--muted); font-size: 17px; }

/* ---------- Product cards grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  position: relative;
  padding: 36px 30px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .25s ease;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.product-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card .icon {
  width: 64px; height: 64px;
  display: block;
  margin-bottom: 20px;
}
.product-card .icon img { width: 100%; height: 100%; display: block; }
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; min-height: 72px; }
.product-card ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-card ul li {
  font-size: 14px; color: var(--text-2);
  padding-left: 22px; position: relative;
}
.product-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
.product-card .price {
  font-size: 14px; color: var(--muted);
  margin-bottom: 16px;
}
.product-card .price strong {
  font-size: 24px; color: var(--text); font-weight: 800;
}
.product-card .cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent);
  font-weight: 700; font-size: 14px;
}
.product-card .cta::after { content: "→"; transition: transform .2s; }
.product-card:hover .cta::after { transform: translateX(4px); }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.feature {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
}
.feature .f-icon {
  width: 56px; height: 56px;
  margin-bottom: 16px;
  display: block;
}
.feature .f-icon img { width: 100%; height: 100%; display: block; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; margin: 0; color: var(--muted); }

/* ---------- Use cases ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.usecase {
  background: linear-gradient(145deg, #fff, var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: all .2s;
}
.usecase:hover {
  border-color: var(--brand);
  background: linear-gradient(145deg, #fff, var(--brand-50));
}
.usecase .u-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: block;
}
.usecase .u-icon img { width: 100%; height: 100%; display: block; }
.usecase h4 { font-size: 15px; margin: 0 0 6px; }
.usecase p { font-size: 13px; margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-wrap { background: var(--bg-soft); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 36px 30px;
  position: relative;
  transition: all .25s;
}
.price-card.popular {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.price-card.popular::before {
  content: "★ POPULAR";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), #FFC441);
  color: #0B1437;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-card .tagline { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-card .amount {
  font-size: 44px; font-weight: 800; color: var(--text);
  line-height: 1;
}
.price-card .amount small {
  font-size: 16px; color: var(--muted); font-weight: 500;
}
.price-card .per { font-size: 13px; color: var(--muted); margin: 6px 0 26px; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.price-card ul li {
  font-size: 14px; color: var(--text-2);
  padding-left: 26px; position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--brand-50); color: var(--brand-600);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Workflow / steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 22px; right: 24px;
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .35;
}
.step h3 { font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--brand); }
.faq-item > div {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(247, 166, 0, .25), transparent 50%),
    linear-gradient(135deg, #132057, #0B1437);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  margin: 0 var(--gutter);
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--muted-on-dark); max-width: 640px; margin: 0 auto 28px; }
.cta-banner .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 70px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted-on-dark); font-size: 14px; max-width: 320px; }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--muted-on-dark); font-size: 14px; }
.site-footer ul a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  color: var(--muted-on-dark); font-size: 13px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(247, 166, 0, .18), transparent 60%),
    linear-gradient(180deg, #0B1437 0%, #132057 100%);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--muted-on-dark); max-width: 720px; margin: 0 auto; font-size: 18px; }
.breadcrumb { color: var(--muted-on-dark); font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--brand); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 2em; }
.prose h3 { font-size: 20px; margin-top: 1.6em; }
.prose p, .prose li { font-size: 16px; color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; }


/* ---------- Stats counter ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.stats-bar .stat {
  text-align: center;
  padding: 0 12px;
  border-right: 1px dashed var(--border);
}
.stats-bar .stat:last-child { border-right: none; }
.stats-bar .stat strong {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #FFC441);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-bar .stat span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .stats-bar { margin-top: 0; padding: 30px 20px; }
  .stats-bar .stat { border-right: none; border-bottom: 1px dashed var(--border); padding-bottom: 20px; }
  .stats-bar .stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ---------- World map ---------- */
.world-map-wrap {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}
.world-map-wrap img { width: 100%; height: auto; }
.coverage-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.coverage-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.coverage-tags span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  transition: all .25s;
}
.testimonial:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: """;
  position: absolute; top: -10px; left: 24px;
  font-size: 72px;
  line-height: 1;
  color: var(--brand);
  font-family: Georgia, serif;
  opacity: .4;
}
.testimonial .stars {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial .author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial .author-info strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.testimonial .author-info span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Code block ---------- */
.code-demo {
  background: linear-gradient(145deg, #0B1437, #132057);
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid #1f2a55;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  gap: 2px;
  padding: 0 10px;
}
.code-tab {
  background: transparent;
  border: none;
  color: var(--muted-on-dark);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  font-family: inherit;
}
.code-tab.active {
  background: rgba(255,255,255,.08);
  color: var(--brand);
}
.code-tab:hover { color: var(--brand); }
.code-block {
  background: rgba(0,0,0,.35);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0;
  overflow-x: auto;
}
.code-block pre {
  margin: 0;
  font-family: 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #E6E9EF;
  white-space: pre;
}
.code-block .k { color: #FFC441; }
.code-block .s { color: #7BD88F; }
.code-block .c { color: #6B7488; font-style: italic; }
.code-block .n { color: #61AFEF; }

/* ---------- Comparison table ---------- */
.compare-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table thead th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
}
.compare-table thead th.highlight {
  background: linear-gradient(135deg, #FFF7E6, #FFE8B3);
  color: var(--brand-600);
  position: relative;
}
.compare-table thead th.highlight::after {
  content: "推荐";
  position: absolute; top: 6px; right: 8px;
  background: var(--brand);
  color: #0B1437;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}
.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--text);
  background: var(--bg-soft);
}
.compare-table tbody td.yes { color: #16A34A; font-weight: 700; }
.compare-table tbody td.no { color: #DC2626; }
.compare-table tbody tr:hover { background: #FFFBF0; }

/* ---------- Diagram block ---------- */
.diagram-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.diagram-wrap img { width: 100%; height: auto; }

/* ---------- Integrations row ---------- */
.integrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.integration {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all .2s;
}
.integration:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.integration .logo-emoji { font-size: 32px; margin-bottom: 8px; display: block; }
.integration strong { display: block; font-size: 14px; color: var(--text); }
.integration span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.timeline-item {
  position: relative;
  padding: 0 0 30px 72px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px; top: 4px;
  width: 18px; height: 18px;
  background: #fff;
  border: 3px solid var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--brand-50);
}
.timeline-item .year {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Value grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, var(--bg-soft));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, var(--brand-50), transparent 70%);
  pointer-events: none;
}
.value-card .v-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--brand);
  opacity: .3;
  line-height: 1;
}
.value-card h3 { font-size: 18px; margin: 12px 0 10px; }
.value-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.img-illustration { width: 100%; max-width: 820px; margin: 0 auto; display: block; }
