/* =======================================================
   龙虾Agent - 主站样式
   橙色主题 + 自适应布局
   ======================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-bg: #fff8f3;
  --color-surface: #ffffff;
  --color-surface-alt: #fff4e7;
  --color-surface-strong: #fee4cc;
  --color-border: rgba(32, 27, 22, 0.12);
  --color-border-strong: rgba(255, 138, 36, 0.35);
  --color-text: #1f150f;
  --color-text-muted: #6e5e54;
  --color-muted-strong: #9b877b;
  --color-accent: #ff7a18;
  --color-accent-dark: #f04d27;
  --color-accent-soft: #ffd2a6;
  --color-gradient: linear-gradient(135deg, #ff8a24, #ff5f5f);
  --color-gradient-soft: linear-gradient(135deg, #fff1e3, #ffe3cf);
  --shadow-card: 0 14px 40px rgba(255, 122, 24, 0.18);
  --shadow-soft: 0 8px 24px rgba(31, 21, 15, 0.08);
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --font-main: "HarmonyOS Sans", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  background: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ======================== 导航 ========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.navbar__brand-accent {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.navbar__link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}

.navbar__link:hover,
.navbar__link.is-active {
  background: rgba(255, 138, 36, 0.12);
  color: var(--color-text);
}

.navbar__actions {
  display: flex;
  gap: 10px;
}

/* ======================== 按钮 ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gradient);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn--primary:hover { transform: translateY(-1px); }

.btn--outline {
  border: 1px solid var(--color-border-strong);
  color: var(--color-accent-dark);
  background: rgba(255, 255, 255, 0.8);
}

.btn--outline:hover { background: var(--color-surface); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.6); }

.link-btn {
  padding: 0;
  background: none;
  color: var(--color-accent-dark);
  font-weight: 600;
  border-bottom: 1px dashed rgba(240, 77, 39, 0.4);
}

.link-btn:hover { color: #c8411c; }

/* ======================== Hero ========================= */
.hero {
  padding: 80px 24px 40px;
}

.hero__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero__title-accent {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-soft);
}

.hero__desc {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero__bullets {
  margin-bottom: 28px;
  padding-left: 18px;
}

.hero__bullets li {
  margin-bottom: 8px;
  color: var(--color-text);
  list-style: disc;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  gap: 28px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent-dark);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero__preview {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent), linear-gradient(160deg, #ffd6b3, #fff6ec);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 138, 36, 0.2);
  box-shadow: var(--shadow-soft);
}

.hero-preview__badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-accent-dark);
  font-size: 13px;
  margin-bottom: 18px;
}

.hero-preview__card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.hero-preview__card p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.hero-preview__list div {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(255, 122, 24, 0.2);
  margin-bottom: 10px;
}

.hero-preview__list span {
  font-weight: 600;
  color: var(--color-text);
}

/* ======================== Explain ========================= */
.explain {
  padding: 20px 24px 40px;
}

.explain__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.explain-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.explain-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.explain-card p { margin: 0; color: var(--color-text-muted); }

/* ======================== CTA Panel ========================= */
.cta-panel {
  padding: 40px 24px;
}

.cta-panel__content {
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(120deg, #ffedd5, #ffd8b2, #ffe8cc);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 122, 24, 0.2);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.cta-panel__eyebrow {
  color: var(--color-accent-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.cta-panel__title {
  margin: 6px 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.cta-panel__desc {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.cta-panel__list {
  padding-left: 18px;
  color: var(--color-text);
}

.cta-panel__list li { list-style: disc; margin-bottom: 6px; }

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

/* ======================== API Banner ========================= */
.api-banner {
  padding: 40px 24px;
}

.api-banner__content {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.api-banner__eyebrow {
  color: var(--color-accent-dark);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.api-banner__title {
  margin: 8px 0 12px;
  font-size: 30px;
}

.api-banner__desc { color: var(--color-text-muted); margin-bottom: 14px; }

.api-banner__list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  color: var(--color-text);
}

.api-banner__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent-dark);
}

.api-banner__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.api-banner__link {
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* ======================== Skill Section ========================= */
.skill-section {
  padding: 60px 0;
  background: var(--color-surface-alt);
}

.skill-section__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.section-eyebrow {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.section-title {
  font-size: 30px;
  margin: 10px 0;
}

.section-desc {
  margin: 0;
  color: var(--color-text-muted);
}

.hint-chip {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 122, 24, 0.4);
  color: var(--color-text);
  max-width: 320px;
}

.toolbar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.segmented {
  display: flex;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 4px;
}

.segmented__item {
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}

.segmented__item.is-active {
  background: rgba(255, 122, 24, 0.15);
  color: var(--color-text);
  font-weight: 600;
}

.sort-switch {
  display: flex;
  background: var(--color-surface);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 4px;
}

.sort-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.sort-btn.is-active {
  background: rgba(255, 122, 24, 0.15);
  color: var(--color-text);
}

.hero__search {
  max-width: 520px;
  margin: 0 auto 32px;
  background: var(--color-surface);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 18px;
}

.hero__search-input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 15px;
  outline: none;
}

.hero__search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.skill-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.skill-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.skill-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.skill-card__title {
  font-size: 18px;
  margin: 0;
}

.skill-card__tagline {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.skill-card__badge {
  margin-left: auto;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 24, 0.15);
  color: var(--color-accent-dark);
  font-weight: 600;
}

.skill-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-card__chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(255, 122, 24, 0.3);
  font-size: 12px;
  color: var(--color-text-muted);
}

.skill-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.skill-card__metric {
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255, 138, 36, 0.15);
}

.skill-card__metric span {
  display: block;
}

.skill-card__metric .label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.skill-card__metric .value {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.pagination__btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.pagination__btn:disabled { opacity: 0.4; cursor: not-allowed; }

.pagination__info { color: var(--color-text-muted); font-size: 14px; }

/* ======================== Practice ========================= */
.practice-section {
  padding: 60px 0;
}

.practice-banner {
  text-align: center;
  margin-bottom: 32px;
}

.practice-banner__title { margin: 10px 0; font-size: 30px; }
.practice-banner__desc { color: var(--color-text-muted); margin: 0; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.practice-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.practice-card__title { margin: 0; font-weight: 600; }
.practice-card__meta { color: var(--color-text-muted); font-size: 14px; }

/* ======================== Marketing ========================= */
.marketing-section {
  padding: 60px 0;
  background: var(--color-surface-alt);
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.marketing-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.marketing-card h3 { margin-top: 0; }
.marketing-card p { margin-bottom: 0; color: var(--color-text-muted); }

/* ======================== Disclaimer ========================= */
.disclaimer {
  padding: 40px 0;
}

.disclaimer-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 20px 30px;
}

.disclaimer-list li {
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

.disclaimer-list li:last-child { margin-bottom: 0; }

/* ======================== FAQ ========================= */
.faq {
  padding: 60px 0;
  background: var(--color-surface-alt);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 12px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
}

/* ======================== Subscribe ========================= */
.subscribe {
  padding: 40px 0 80px;
}

.subscribe-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.subscribe-card__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.subscribe-card__brand img {
  border-radius: var(--radius-md);
}

.subscribe-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.subscribe-card__cta img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.wechat-chip {
  background: var(--color-surface-alt);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 122, 24, 0.6);
  text-align: center;
}

.wechat-chip span { display: block; font-size: 13px; color: var(--color-text-muted); }
.wechat-chip strong { font-size: 24px; color: var(--color-accent-dark); }

/* ======================== Footer ========================= */
.footer {
  background: #1a120d;
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 24px 20px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 24px;
}

.footer__brand p { margin: 8px 0 16px; color: rgba(255, 255, 255, 0.75); }
.footer__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.footer__col h3 { margin-top: 0; font-size: 16px; }
.footer__col ul { padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: rgba(255, 255, 255, 0.75); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* ======================== Modal ========================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 8, 2, 0.5);
}

.modal__body {
  position: relative;
  background: #fffdf8;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 122, 24, 0.3);
  padding: 28px;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
}

.modal__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent-dark);
  text-transform: uppercase;
}

.modal__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal__header img {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
}

.modal__title {
  margin: 6px 0 10px;
  font-size: 26px;
}

.modal__subtitle { margin: 0 0 12px; color: var(--color-text-muted); }

.modal__meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.modal__tabs {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.modal__tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.3);
  color: var(--color-text-muted);
}

.modal__tab.is-active {
  background: rgba(255, 122, 24, 0.15);
  color: var(--color-text);
  font-weight: 600;
}

.modal__panel {
  display: none;
}

.modal__panel.is-active {
  display: block;
}

.modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 122, 24, 0.3);
  font-size: 12px;
  color: var(--color-text);
}

.badge--accent {
  background: rgba(255, 122, 24, 0.15);
  color: var(--color-accent-dark);
}

.badge--link {
  color: var(--color-accent-dark);
  border-style: dashed;
}

.modal__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.modal__metric {
  background: var(--color-surface-alt);
  border: 1px solid rgba(255, 138, 36, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.modal__metric span {
  display: block;
}

.modal__metric .label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.modal__metric .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.modal__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
}

.command-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.command-block {
  background: #23140d;
  color: #ffe5cf;
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(255, 122, 24, 0.3);
}

.command-block__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 229, 207, 0.9);
}

.command-block__code {
  font-family: "Fira Code", "JetBrains Mono", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
}

.command-block .copy-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.modal__extras {
  margin-top: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 122, 24, 0.3);
  padding: 16px;
}

.modal__extras ul {
  padding-left: 20px;
}

.modal__extras li {
  margin-bottom: 6px;
}

.modal__content p, .modal__content li, .modal__content ol { color: var(--color-text-muted); }

.modal__content img {
  display: block;
  margin: 16px auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.tooltip-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 12px;
  position: relative;
}

.tooltip-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -6px;
  left: 110%;
  background: #1f150f;
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.2s;
  z-index: 2;
}

.tooltip-btn:hover::after { opacity: 1; }

/* ======================== Toast ========================= */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-gradient);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.is-info {
  background: rgba(30, 30, 30, 0.9);
}

/* ======================== OpenClaw Section ========================= */
.openclaw-section {
  padding: 64px 24px;
  background: var(--color-surface-alt);
}

.openclaw-section .container {
  max-width: var(--max-width);
}

.openclaw-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 36px);
  text-align: center;
}

.openclaw-section p {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--color-text-muted);
  text-align: center;
}

.openclaw-list {
  max-width: 780px;
  margin: 0 auto;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  list-style: disc;
  color: var(--color-text-muted);
}

.openclaw-list li::marker {
  color: var(--color-accent-dark);
}

/* ======================== Skills Guide ========================= */
.skills-guide {
  padding: 64px 24px 72px;
  background: var(--color-surface);
}

.skills-guide p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.skills-guide h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 36px);
  text-align: center;
}

.guide-grid {
  margin: 32px auto 0;
  max-width: var(--max-width);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.guide-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.guide-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.guide-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.guide-contact {
  margin: 36px auto 0;
  max-width: 820px;
  background: rgba(255, 138, 36, 0.08);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  color: var(--color-text);
  line-height: 1.8;
  text-align: center;
}

.guide-contact strong {
  color: var(--color-accent-dark);
}

.guide-contact img {
  display: block;
  margin: 16px auto 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ======================== 响应式 ========================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__preview { order: -1; }
  .cta-panel__content { flex-direction: column; }
  .api-banner__content { flex-direction: column; }
  .subscribe-card { flex-direction: column; align-items: center; }
  .subscribe-card__cta { flex-direction: column; align-items: center; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .hero { padding-top: 40px; }
  .hero__stats { flex-direction: column; }
  .hero__bullets { padding-left: 14px; }
  .cta-panel__content,
  .api-banner__content,
  .subscribe-card { padding: 24px; }
  .skill-card { min-height: auto; }
  .openclaw-section,
  .skills-guide { padding: 48px 16px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-contact { padding: 20px; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .hero__search { flex-direction: column; gap: 12px; padding: 12px; border-radius: var(--radius-md); }
  .hero__search-btn { width: 100%; border-radius: var(--radius-md); }
  .practice-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
