/* ===== YouDuShop design system (light, emerald) ===== */
:root {
  --brand: #0a8756;
  --brand-2: #16b877;
  --brand-3: #e8f7f0;
  --grad: linear-gradient(135deg, #0a8756 0%, #2ecb8f 100%);
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --bg-dark: #0b1a14;
  --text: #0e1c17;
  --text-2: #56675f;
  --text-3: #8a9a93;
  --border: #e4ece8;
  --border-2: #d3e0da;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 28, 23, .06);
  --shadow: 0 10px 30px -12px rgba(14, 28, 23, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 135, 86, .25);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #16261f; }
.btn-ghost { background: #fff; border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- announcement ---------- */
.announce {
  background: var(--grad); color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 600; padding: 9px 16px; letter-spacing: .01em;
}
.announce b { font-weight: 800; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 900; letter-spacing: -0.04em; }
.logo-img { width: 30px; height: 30px; object-fit: contain; display: block; flex: none; }
.logo .pay { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 15px; font-weight: 700; color: var(--text-2); }
.nav-login:hover { color: var(--brand); }
.lang-toggle {
  font-size: 13px; font-weight: 700; color: var(--text-2);
  border: 1px solid var(--border-2); border-radius: 8px; padding: 5px 10px;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-burger { display: none; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(46, 203, 143, .18), transparent 60%),
    radial-gradient(700px 380px at 12% 8%, rgba(10, 135, 86, .10), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 76px 24px 84px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-2); color: var(--brand);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(46, 203, 143, .2); }
.hero h1 { font-size: 54px; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 18px; color: var(--text-2); max-width: 540px; margin-bottom: 30px; }
.hero-form { display: flex; gap: 10px; max-width: 480px; margin-bottom: 14px; }
.hero-form input {
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  border: 1px solid var(--border-2); background: #fff; font-family: inherit; color: var(--text);
}
.hero-form input:focus { outline: 2px solid rgba(10, 135, 86, .25); border-color: var(--brand); }
.hero-micro { font-size: 13px; color: var(--text-3); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-micro span::before { content: "✓ "; color: var(--brand-2); font-weight: 800; }

/* hero dashboard mock */
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-top { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f7fbf9; border-bottom: 1px solid var(--border); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #e2eae6; display: block; }
.mock-top i:nth-child(1) { background: #ffbdb0; }
.mock-top i:nth-child(2) { background: #ffe0a8; }
.mock-top i:nth-child(3) { background: #b9e6c9; }
.mock-url {
  margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--border);
  border-radius: 7px; font-size: 11.5px; color: var(--text-3); padding: 4px 10px;
}
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.mock-side { background: #fbfdfc; border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; }
.mock-side span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-3); font-weight: 600; }
.mock-side span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: #e4ece8; flex: none; }
.mock-side span.on { color: var(--brand); }
.mock-side span.on::before { background: var(--brand-2); }
.mock-main { padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpi { border: 1px solid var(--border); border-radius: 11px; padding: 10px 11px; background: #fff; }
.mock-kpi small { font-size: 9.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: block; }
.mock-kpi b { font-size: 16px; letter-spacing: -0.02em; }
.mock-kpi span { font-size: 9.5px; color: var(--brand); font-weight: 700; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 11px; margin-bottom: 14px; background: linear-gradient(180deg, #fbfdfc, #fff); }
.mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #2ecb8f, #0a8756); opacity: .85; display: block; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-2); }
.mock-row u { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-3); flex: none; }
.mock-row b { margin-left: auto; color: var(--text); }

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--border); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 24px; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.03em; }
.stat span { font-size: 13.5px; color: var(--text-2); }

/* ---------- generic section ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: 38px; margin-bottom: 14px; }
.sec-head p { font-size: 17px; color: var(--text-2); }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: .2s ease;
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-3); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
}
.ico svg { width: 21px; height: 21px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 190px; gap: 24px; align-items: center; }

/* ---------- channels ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--border-2); border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm);
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); display: block; }

/* ---------- themes ---------- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .2s; }
.theme:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.theme-prev { height: 176px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.theme-prev .bar { height: 9px; border-radius: 4px; background: rgba(255, 255, 255, .85); width: 62%; }
.theme-prev .bar.s { width: 38%; }
.theme-prev .hero-box { flex: 1; border-radius: 9px; background: rgba(255, 255, 255, .28); border: 1px dashed rgba(255, 255, 255, .5); }
.theme-prev .row { display: flex; gap: 8px; }
.theme-prev .row i { flex: 1; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, .35); display: block; }
.t1 { background: linear-gradient(140deg, #0a8756, #23a877); }
.t2 { background: linear-gradient(140deg, #1f2a37, #46586c); }
.t3 { background: linear-gradient(140deg, #b4562f, #e08a5b); }
.theme-meta { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.theme-meta b { font-size: 15px; }
.theme-meta span { font-size: 13px; color: var(--text-3); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--border-2); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-size: 13px; font-weight: 900; color: var(--brand); letter-spacing: .1em;
}
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; }
.plan.hot { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan.hot::after {
  content: attr(data-tag); position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 14px;
  border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.plan .price b { font-size: 40px; letter-spacing: -0.04em; }
.plan .price span { font-size: 14px; color: var(--text-3); }
.plan .desc { font-size: 14px; color: var(--text-2); min-height: 44px; }
.plan ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 14.5px; color: var(--text-2); padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 900; }
.plan li.off { color: var(--text-3); }
.plan li.off::before { content: "—"; color: var(--text-3); }

/* ---------- segments ---------- */
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.seg h3 { font-size: 18px; margin-bottom: 8px; }
.seg p { font-size: 14.5px; color: var(--text-2); }
.seg span.tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-3); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.faq details[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 900; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 14.8px; color: var(--text-2); margin-top: 12px; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0a8756, #16b877 60%, #2ecb8f);
  border-radius: var(--radius-lg); padding: 56px 48px; color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 36px; margin-bottom: 14px; }
.cta-band p { font-size: 17px; opacity: .92; margin-bottom: 28px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.cta-band .btn-light { background: #fff; color: var(--brand); }

/* ---------- footer ---------- */
.footer { background: var(--bg-dark); color: #cfe0d8; padding: 64px 0 30px; margin-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 14px; color: #93a8a0; max-width: 320px; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7d938a; margin-bottom: 16px; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: 14.5px; color: #cfe0d8; }
.footer li a:hover { color: #2ecb8f; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 46px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7d938a;
}
.footer-bottom a { color: #9fb3ab; margin-right: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 54px 24px 64px; }
  .bento, .themes, .pricing, .segs, .steps { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head h2 { font-size: 31px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right { gap: 10px; }
  .nav-right .btn { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: 68px; background: #fff;
    border-bottom: 1px solid var(--border); padding: 14px 24px 20px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; font-size: 16px; }
  .nav-burger { display: block; }
  .nav-login { display: none; }
  .hero h1 { font-size: 34px; }
  .hero p.sub { font-size: 16.5px; }
  .hero-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .bento, .themes, .pricing, .segs, .steps { grid-template-columns: 1fr; }
  .card.wide { grid-column: span 1; }
  .section { padding: 58px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 27px; }
  .cta-band { padding: 40px 24px; border-radius: var(--radius); }
  .cta-band h2 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mock-body { grid-template-columns: 96px 1fr; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- subpages: page hero / article / info ---------- */
.page-hero { padding: 68px 0 8px; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-3); margin-bottom: 18px; }
.crumb a { color: var(--brand); font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: 46px; margin-bottom: 16px; }
.page-hero .lead { font-size: 18px; color: var(--text-2); max-width: 760px; }

.article { max-width: 780px; margin: 0 auto; }
.article .meta {
  font-size: 13.5px; color: var(--text-3); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 16px; margin: 0 0 34px;
}
.article h2 {
  font-size: 22px; margin: 40px 0 14px; padding-top: 22px; border-top: 1px solid var(--border);
}
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.article p { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin: 0 0 14px; }
.article ul { margin: 0 0 16px; padding-left: 20px; }
.article li { font-size: 15.5px; line-height: 1.8; color: var(--text-2); margin-bottom: 10px; }
.article li b, .article p b { color: var(--text); font-weight: 700; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; transition: .2s ease;
}
.info-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-3);
  color: var(--brand); display: grid; place-items: center; margin-bottom: 14px;
}
.info-card .ico svg { width: 21px; height: 21px; }
.info-card h3 { font-size: 15px; margin-bottom: 8px; }
.info-card .val { font-size: 14.5px; color: var(--text-2); word-break: break-word; }
.info-card .val a { color: var(--brand); font-weight: 700; }
.info-card .val a:hover { text-decoration: underline; }

.contact-note {
  max-width: 780px; margin: 52px auto 0; padding: 30px 32px; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.contact-note h3 { font-size: 20px; margin-bottom: 10px; }
.contact-note p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }

@media (max-width: 980px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 36px; }
}
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 4px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .lead { font-size: 16.5px; }
  .article h2 { font-size: 19px; }
  .contact-note { padding: 24px 20px; }
}
