/* Doubao landing page extensions; shared branding lives in hifly-mcp-landing.css. */
.doubao-landing { --mcp-cyan: #a183ee; }
.doubao-landing :is(a, button, summary, pre):focus-visible { outline: 3px solid #6547f5; outline-offset: 5px; }
.doubao-landing section[id], .doubao-landing main[id] { scroll-margin-top: 92px; }
.doubao-landing .mcp-gradient-text { background-image: linear-gradient(100deg, #6540e5, #a15bc0); }
.doubao-landing .mcp-hero { padding: 64px 0 72px; }
.doubao-landing .mcp-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; }
.doubao-landing .mcp-hero h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.22; }
.doubao-landing .mcp-hero__lead { max-width: 550px; }
.doubao-landing .mcp-hero__actions a.mcp-button { color: #fff; }
.doubao-landing .mcp-hero__actions a.mcp-button--secondary { color: var(--mcp-ink); }
.doubao-landing .mcp-nav a.mcp-button, .doubao-landing .mcp-mobile-cta a.mcp-button { color: #fff; }
.db-skip { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 20px; background: #fff; border: 2px solid #6547f5; border-radius: 8px; transform: translateY(-160%); }
.db-skip:focus { transform: translateY(0); }
.db-hero-note { margin: 18px 0 0; color: #6b657c; font-size: 13px; }
.db-hero-demo { margin: 0; padding: 18px; background: rgba(255,255,255,.8); border: 1px solid #e4def3; border-radius: 26px; box-shadow: 0 28px 70px rgba(65,42,103,.12); }
.db-demo-label { display: flex; align-items: center; gap: 8px; padding: 0 4px 16px; color: #3d3553; font-size: 12px; font-weight: 750; }
.db-demo-label > span:last-child { margin-left: auto; color: #756e84; font-weight: 500; }
.db-status-dot { width: 7px; height: 7px; background: #7654ed; border-radius: 50%; }
.db-hero-stage { position: relative; display: flex; justify-content: center; padding: 23px 0 74px; border-radius: 18px; background: linear-gradient(135deg, #eae2f7, #f3eaf1 60%, #e9e7ef); }
.db-hero-video { display: block; width: 232px; max-width: 72%; height: auto; aspect-ratio: 1000 / 1772; background: #eeeae0; border: 5px solid #fff; border-radius: 19px; box-shadow: 0 15px 30px rgba(48,28,69,.16); }
.db-chat-bubble { position: absolute; top: 51px; left: -30px; max-width: 205px; padding: 15px 18px; border: 1px solid #ede6f6; border-radius: 15px 15px 15px 3px; background: #fff; box-shadow: 0 12px 28px rgba(48,28,69,.09); }
.db-chat-bubble > span { color: #7b638f; font-size: 11px; }
.db-chat-bubble p { margin: 7px 0 0; color: #3f3251; font-size: 14px; line-height: 1.7; font-weight: 650; }
.db-result-badge { position: absolute; right: -8px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #ece5f6; border-radius: 13px; background: #fff; box-shadow: 0 12px 28px rgba(48,28,69,.09); }
.db-chat-bubble, .db-result-badge { pointer-events: none; }
.db-result-badge > span { display: grid; width: 28px; height: 28px; place-items: center; color: #6046c9; background: #efeafa; border-radius: 50%; }
.db-result-badge strong { display: block; margin-bottom: 5px; font-size: 13px; }
.db-result-badge div > span { color: #7b7487; font-size: 11px; }
.db-hero-demo > figcaption { padding: 15px 4px 0; color: #746b82; font-size: 11px; line-height: 1.7; text-align: center; }
.db-hero-demo > figcaption a { display: inline-block; margin-left: 6px; color: #6040c6; text-decoration: underline; text-underline-offset: 3px; }
.db-storyboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 0 auto; }
.db-storyboard figure { margin: 0; }
.db-storyboard img { display: block; width: 100%; height: auto; border: 1px solid #e7e3dc; border-radius: 18px; }
.db-storyboard figcaption { padding: 22px 0 0; }
.db-storyboard figcaption > span { color: #6b50bc; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.db-storyboard h3 { margin: 10px 0; font-size: 18px; line-height: 1.5; }
.db-storyboard p { margin: 0; color: var(--mcp-muted); font-size: 14px; line-height: 1.8; }
.db-section-note { max-width: 900px; margin: 30px auto 0; color: #6c667a; font-size: 13px; line-height: 1.9; text-align: center; }
.db-section-note a { color: #6040c6; text-decoration: underline; text-underline-offset: 3px; }
.db-materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.db-material { padding: 32px; border: 1px solid var(--mcp-line); border-radius: 20px; background: #fff; }
.db-material-label { color: #71667e; font-size: 12px; font-weight: 700; }
.db-material h3 { margin: 15px 0 12px; font-size: 25px; letter-spacing: -.03em; }
.db-material p { margin: 0; color: var(--mcp-muted); font-size: 14px; line-height: 1.85; }
.db-material .db-material-example { margin-top: 20px; padding-top: 17px; color: #70548d; border-top: 1px solid #eee9f4; font-size: 13px; }
.db-material--featured { color: #fff; border-color: transparent; background: #302247; }
.db-material--featured .db-material-label { color: #d0bbee; }
.db-material--featured p { color: #ded4e9; }
.db-material--featured blockquote { margin: 18px 0 22px; padding-left: 16px; border-left: 2px solid #9f7ed8; font-size: 15px; line-height: 1.9; }
.db-material--featured a.mcp-text-link { color: #e4ccff; }
.db-setup { max-width: 1020px; margin: 0 auto; }
.db-setup-step { margin-top: 14px; border: 1px solid #e5dfed; border-radius: 18px; background: #fff; }
.db-setup-step[open] { border-color: #c8b8e5; background: #fcfaff; }
.db-setup-step summary { display: flex; gap: 19px; align-items: center; padding: 23px 26px; cursor: pointer; list-style: none; }
.db-setup-step summary::-webkit-details-marker { display: none; }
.db-step-number { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: #6545a8; background: #f0eaf8; border-radius: 12px; font-size: 14px; font-weight: 800; }
.db-setup-step summary strong { display: block; margin-bottom: 6px; font-size: 18px; }
.db-setup-step summary > span:nth-child(2) > span { color: #72697f; font-size: 13px; line-height: 1.7; }
.db-step-toggle { margin-left: auto; color: #77678e; font-size: 25px; }
.db-step-toggle::after { content: "+"; }
.db-setup-step[open] .db-step-toggle::after { content: "−"; }
.db-step-content { padding: 0 26px 26px 87px; }
.db-step-content > p { margin: 0 0 22px; color: var(--mcp-muted); font-size: 14px; line-height: 1.9; }
.db-step-content figure { margin: 0; }
.db-step-content img { display: block; width: 100%; height: auto; border: 1px solid #e8e3ef; border-radius: 10px; }
.db-step-content > figure { max-width: 650px; }
.db-step-content figcaption { padding-top: 10px; color: #776f82; font-size: 12px; line-height: 1.7; }
.db-setup-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.db-prompt-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.db-prompt-card { padding: 30px; background: #fff; border: 1px solid var(--mcp-line); border-radius: 22px; }
.db-prompt-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.db-prompt-tabs button { min-height: 42px; padding: 0 16px; color: #62566f; border: 1px solid #e7e0ef; border-radius: 999px; background: #fff; font-size: 13px; }
.db-prompt-tabs button[aria-pressed="true"] { color: #fff; background: #6342b3; border-color: #6342b3; }
.db-prompt-card pre { margin: 0 0 23px; padding: 23px; color: #4d415b; background: #f7f4fa; border: 1px solid #eee8f4; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.95 "PingFang SC", "Microsoft YaHei", sans-serif; }
.db-confirm-card { padding: 32px; color: #fff; background: #302247; border-radius: 22px; }
.db-confirm-card .mcp-kicker { color: #d6baee; }
.db-confirm-card h3 { margin: 16px 0; font-size: 24px; line-height: 1.5; }
.db-confirm-card p { color: #ddd2e7; font-size: 14px; line-height: 1.9; }
.db-confirm-card blockquote { margin: 20px 0; padding: 20px; border: 1px solid #695578; border-radius: 12px; background: #3c2c53; font-size: 15px; line-height: 1.9; }
.db-confirm-card .mcp-copy-feedback { color: #ded0f5; }
.db-delivery-note { padding-top: 22px; margin-top: 8px; border-top: 1px solid #62506e; }
.db-delivery-note strong { font-size: 14px; }
.db-delivery-note p { margin-bottom: 0; font-size: 13px; }
.doubao-landing .mcp-final__card { background: linear-gradient(125deg, #322447, #5b377e); }
.doubao-landing .mcp-final__card::before { display: none; }

@media (max-width: 980px) {
  .doubao-landing .mcp-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .db-hero-demo { width: 100%; max-width: 530px; justify-self: center; }
  .db-storyboard { gap: 20px; }
  .db-prompt-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .doubao-landing .mcp-hero { padding: 38px 0 48px; }
  .doubao-landing .mcp-hero h1 { font-size: clamp(32px, 9.6vw, 48px); }
  .doubao-landing .mcp-eyebrow { font-size: 11px; }
  .db-hero-demo { padding: 12px; }
  .db-hero-video { width: 220px; }
  .db-chat-bubble { top: 25px; left: -3px; max-width: 180px; padding: 11px 13px; }
  .db-chat-bubble p { font-size: 12px; }
  .db-result-badge { right: -3px; padding: 11px 12px; }
  .db-storyboard { grid-template-columns: 1fr; gap: 34px; max-width: 330px; }
  .db-storyboard figcaption { padding-top: 15px; }
  .db-materials, .db-setup-images { grid-template-columns: 1fr; }
  .db-material { padding: 25px 22px; }
  .db-material h3 { font-size: 22px; }
  .db-section-note { text-align: left; }
  .db-setup-step summary { padding: 20px 16px; gap: 12px; }
  .db-step-number { width: 34px; height: 34px; flex-basis: 34px; font-size: 12px; }
  .db-setup-step summary strong { font-size: 16px; line-height: 1.6; }
  .db-setup-step summary > span:nth-child(2) > span { font-size: 12px; }
  .db-step-content { padding: 0 16px 22px; }
  .db-prompt-card, .db-confirm-card { padding: 24px 20px; }
  .db-prompt-tabs { gap: 6px; }
  .db-prompt-tabs button { flex: 1; padding: 0 8px; font-size: 12px; }
  .db-prompt-card pre { padding: 18px; font-size: 13px; }
  .db-prompt-card > button, .db-confirm-card > button { width: 100%; }
}
