/* Notion 深度指南 - 全局样式 */
:root {
  --notion-black: #191919;
  --notion-gray: #37352f;
  --notion-light: #f7f6f3;
  --notion-border: #e9e9e7;
  --notion-blue: #2383e2;
  --notion-blue-hover: #1a6fc2;
  --notion-accent: #eb5757;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--notion-gray);
  background: #fff;
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--notion-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--notion-blue-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--notion-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--notion-black);
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--notion-black);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.main-nav { display: flex; gap: 8px; list-style: none; }

.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--notion-gray);
  font-weight: 500;
  font-size: .95rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--notion-light);
  color: var(--notion-black);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: .875rem;
  color: #787774;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: #c4c4c0;
}

.breadcrumb a { color: #787774; }
.breadcrumb a:hover { color: var(--notion-blue); }
.breadcrumb [aria-current="page"] { color: var(--notion-black); font-weight: 500; }

/* Hero */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(165deg, #faf9f7 0%, #f0efec 50%, #e8f4fd 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(35,131,226,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.25;
  color: var(--notion-black);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-lead {
  font-size: 1.125rem;
  color: #55534e;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-lead strong { color: var(--notion-black); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--notion-black);
  color: #fff !important;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-download:hover {
  background: #2f2f2f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff !important;
}

.btn-download .emoji { font-size: 1.3rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--notion-gray) !important;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--notion-border);
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: var(--notion-blue);
  background: #fafcff;
  color: var(--notion-blue) !important;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(35,131,226,.1);
  color: var(--notion-blue);
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Section */
.section {
  padding: 72px 0;
}

.section-alt { background: var(--notion-light); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--notion-black);
  margin-bottom: 12px;
}

.section-header p {
  color: #787774;
  font-size: 1.05rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--notion-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card-image img { transform: scale(1.04); }

.card-body { padding: 24px; }

.card-body h3 {
  font-size: 1.15rem;
  color: var(--notion-black);
  margin-bottom: 10px;
}

.card-body p {
  color: #787774;
  font-size: .95rem;
}

/* Feature blocks */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text h2 {
  font-size: 1.65rem;
  color: var(--notion-black);
  margin-bottom: 16px;
}

.feature-text p {
  color: #55534e;
  margin-bottom: 14px;
}

.feature-text ul {
  margin: 16px 0 0 20px;
  color: #55534e;
}

.feature-text li { margin-bottom: 8px; }

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--notion-black);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}

.stat-item .num {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-item .label {
  font-size: .875rem;
  opacity: .75;
  margin-top: 4px;
}

/* Download page specific */
.download-hero {
  text-align: center;
  padding: 80px 0 64px;
}

.download-hero h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--notion-black);
  margin-bottom: 20px;
}

.download-hero .hero-lead {
  max-width: 640px;
  margin: 0 auto 36px;
}

.download-hero .btn-download {
  font-size: 1.25rem;
  padding: 18px 48px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.platform-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--notion-border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}

.platform-card:hover {
  border-color: var(--notion-blue);
  box-shadow: var(--shadow-sm);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.platform-card h3 {
  font-size: 1.1rem;
  color: var(--notion-black);
  margin-bottom: 8px;
}

.platform-card p {
  font-size: .9rem;
  color: #787774;
  margin-bottom: 16px;
}

.platform-card .btn-download {
  padding: 10px 24px;
  font-size: .95rem;
}

/* News */
.news-list { display: flex; flex-direction: column; gap: 32px; }

.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--notion-border);
  border-radius: var(--radius);
  transition: box-shadow .25s;
}

.news-item:hover { box-shadow: var(--shadow-md); }

.news-thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-size: .85rem;
  color: #787774;
  margin-bottom: 10px;
}

.news-tag {
  background: rgba(35,131,226,.1);
  color: var(--notion-blue);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.news-item h2 {
  font-size: 1.35rem;
  color: var(--notion-black);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-item h2 a { color: inherit; }
.news-item h2 a:hover { color: var(--notion-blue); }

.news-excerpt {
  color: #55534e;
  font-size: .95rem;
  margin-bottom: 12px;
}

.read-more {
  font-weight: 600;
  font-size: .9rem;
}

/* Article page */
.article-header {
  max-width: 760px;
  margin: 0 auto 40px;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--notion-black);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.4rem;
  color: var(--notion-black);
  margin: 36px 0 16px;
}

.article-body p {
  margin-bottom: 18px;
  color: #37352f;
}

.article-body figure {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-body figcaption {
  font-size: .85rem;
  color: #787774;
  padding: 10px 0;
  text-align: center;
}

.article-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--notion-border);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--notion-black);
  margin-bottom: 10px;
}

.faq-item p {
  color: #55534e;
  font-size: .95rem;
}

/* Footer */
.site-footer {
  background: var(--notion-black);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
}

.footer-col a:hover { color: #fff; }

.footer-friends {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  margin-bottom: 8px;
}

.footer-friends h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
}

.friend-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
}

.friend-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

.footer-bottom a { color: rgba(255,255,255,.5); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .feature-row,
  .footer-grid { grid-template-columns: 1fr; }

  .feature-row.reverse { direction: ltr; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .news-item { grid-template-columns: 1fr; }

  .main-nav { gap: 4px; }
  .main-nav a { padding: 6px 10px; font-size: .85rem; }
}

@media (max-width: 600px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 12px; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
}
