/* 滴答 AI 官网共用样式 */
:root {
  --bg: #0b0f14;
  --bg-elevated: #121820;
  --surface: #161d27;
  --surface-hover: #1c2532;
  --border: #2a3648;
  --text: #e8eef6;
  --muted: #93a4b8;
  --accent: #3b7cff;
  --accent-soft: rgba(59, 124, 255, 0.14);
  --accent-hover: #5a92ff;
  --green: #3ecf8e;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  text-decoration: none;
}

.nav-links .nav-cta {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}
.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 124, 255, 0.18), transparent 55%),
    var(--bg);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a8c6ff;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 124, 255, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.subtitle {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(59, 124, 255, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: #44566e;
  text-decoration: none;
  color: #fff;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.dl-stats {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}
.dl-stats strong {
  color: #a8c6ff;
  font-variant-numeric: tabular-nums;
}

section.block {
  padding: 88px 0;
}

section.block + section.block {
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: #3a4d66;
  background: var(--surface-hover);
}

.feature-card .feat-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.feat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}
.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.feature-card .feat-lead {
  color: #b8c7d9;
  font-size: 1.02rem;
  margin-bottom: 18px;
  line-height: 1.75;
}
.feature-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.feature-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

.overview-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.overview-item h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.overview-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.req {
  background: linear-gradient(180deg, rgba(59, 124, 255, 0.07), transparent 60%);
}
.req-list {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
}
.req-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.req-list strong { color: var(--text); }

footer.site-footer {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
footer.site-footer p + p { margin-top: 10px; }
footer.site-footer code {
  font-size: 0.85rem;
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 4px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 48px 0 80px;
  align-items: start;
}
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static !important; }
}

.guide-toc {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.guide-toc h3 {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.guide-toc a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
}
.guide-toc a:hover {
  background: var(--accent-soft);
  color: #fff;
  text-decoration: none;
}

.guide-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.guide-content h1 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}
.guide-content .version-tag {
  display: inline-block;
  margin-bottom: 24px;
  color: #a8c6ff;
  font-size: 0.95rem;
}
.guide-content h2 {
  font-size: 1.35rem;
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.guide-content h2:first-of-type {
  border-top: none;
  margin-top: 28px;
  padding-top: 0;
}
.guide-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
  color: #d4dde8;
}
.guide-content p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.guide-content ul,
.guide-content ol {
  margin: 0 0 16px 1.25em;
  color: var(--muted);
}
.guide-content li { margin: 8px 0; line-height: 1.7; }
.guide-content strong { color: var(--text); }
.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.guide-content th,
.guide-content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.guide-content th {
  background: var(--bg-elevated);
  color: var(--text);
}
.guide-content td { color: var(--muted); }
.guide-content code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88em;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: #c5d4e8;
}
.guide-content pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 12px 0 20px;
}
.guide-content pre code {
  background: none;
  padding: 0;
}
.guide-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.page-banner {
  padding: 48px 0 0;
}
.page-banner h1 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}
.page-banner p {
  color: var(--muted);
  max-width: 640px;
}

@media (max-width: 640px) {
  .feature-card { padding: 28px 22px; }
  .guide-content { padding: 28px 20px; }
  .nav { height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; }
}
