/* 边界云 - 互动杂志专题 (Interactive Cultural Magazine) 风格样式表 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,400;1,700&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@600;900&display=swap');

:root {
  --ivory-paper: #F5F0E6;
  --paper-card: #ECE5D8;
  --ink-black: #1A1714;
  --cinnabar-red: #B5341F;
  --hairline: #D1C7B7;
  --hairline-dark: #8C8275;
  --font-serif-title: 'Noto Serif SC', 'Playfair Display', serif;
  --font-editorial: 'Playfair Display', 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ivory-paper);
  color: var(--ink-black);
  font-family: var(--font-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* 1. 自定义光标 - 小墨点 + 延迟跟随的圆环 (触屏设备隐藏) */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ink-black);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease;
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink-black);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease, transform 0.08s ease-out;
}

body.cursor-hover .custom-cursor-dot {
  width: 12px;
  height: 12px;
  background-color: var(--cinnabar-red);
}

body.cursor-hover .custom-cursor-ring {
  width: 54px;
  height: 54px;
  border-color: var(--cinnabar-red);
}

@media (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* 顶部杂志栏眉 */
.magazine-masthead {
  border-bottom: 1px solid var(--ink-black);
  padding: 16px 0;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  background-color: var(--ivory-paper);
}

.site-header {
  border-bottom: 1px solid var(--hairline);
  background-color: rgba(245, 240, 230, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-title {
  font-family: var(--font-serif-title);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink-black);
  letter-spacing: -0.5px;
}

.brand-issue {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 14px;
  color: var(--cinnabar-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-serif-title);
  font-size: 15px;
  color: var(--ink-black);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cinnabar-red);
}

.btn-nav-cta {
  background-color: var(--ink-black);
  color: var(--ivory-paper);
  border: 1px solid var(--ink-black);
  padding: 8px 22px;
  font-family: var(--font-serif-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-nav-cta:hover {
  background-color: var(--cinnabar-red);
  border-color: var(--cinnabar-red);
  color: #FFF;
}

/* Hero 主视觉区 - 巨大衬线排版 + 拱形顶大图 */
.hero-section {
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--hairline);
}

.hero-meta-issue {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  color: var(--cinnabar-red);
  margin-bottom: 20px;
  display: block;
}

.hero-headline-wrap {
  margin-bottom: 30px;
}

/* 2. Hero 标题按字拆分为 span；鼠标悬停单个汉字弹起并变红 */
.hero-huge-title {
  font-family: var(--font-serif-title);
  font-size: 60px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink-black);
  letter-spacing: -1px;
}

.char-bounce {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
  cursor: default;
}

.char-bounce:hover {
  transform: translateY(-8px) scale(1.08);
  color: var(--cinnabar-red);
}

.title-italic-red {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 700;
  color: var(--cinnabar-red);
  display: inline-block;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.hero-editorial-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #38322C;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-editorial-primary {
  background-color: var(--cinnabar-red);
  color: #FFF;
  border: 1px solid var(--cinnabar-red);
  padding: 14px 34px;
  font-family: var(--font-serif-title);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-editorial-primary:hover {
  background-color: var(--ink-black);
  border-color: var(--ink-black);
}

.btn-editorial-secondary {
  background-color: transparent;
  color: var(--ink-black);
  border: 1px solid var(--ink-black);
  padding: 14px 30px;
  font-family: var(--font-serif-title);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-editorial-secondary:hover {
  background-color: var(--paper-card);
  border-color: var(--cinnabar-red);
  color: var(--cinnabar-red);
}

/* 圆拱顶大图画框 */
.hero-arch-image-wrap {
  width: 100%;
  max-width: 420px;
  height: 380px;
  border-top-left-radius: 210px;
  border-top-right-radius: 210px;
  border: 1px solid var(--ink-black);
  background-color: var(--paper-card);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.08);
  margin: 0 auto;
}

.hero-arch-image-wrap svg {
  width: 100%;
  height: 100%;
}

/* 3. 互动测速盘 Interactive Speed Dial */
.speed-dial-section {
  padding: 70px 0;
  background-color: var(--paper-card);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.speed-dial-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.speed-dial-title {
  font-family: var(--font-serif-title);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}

.speed-dial-desc {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}

.speed-svg-container {
  width: 240px;
  height: 240px;
  margin: 0 auto 24px;
  position: relative;
}

.speed-ring-bg {
  stroke: var(--hairline);
  stroke-width: 10;
  fill: none;
}

.speed-ring-active {
  stroke: var(--cinnabar-red);
  stroke-width: 10;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.speed-counter-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.speed-number {
  font-family: var(--font-editorial);
  font-size: 46px;
  font-weight: 700;
  color: var(--ink-black);
  line-height: 1;
}

.speed-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--cinnabar-red);
  margin-top: 4px;
  letter-spacing: 1px;
}

.btn-speed-test {
  background-color: var(--ink-black);
  color: #FFF;
  border: none;
  padding: 12px 32px;
  font-family: var(--font-serif-title);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-speed-test:hover {
  background-color: var(--cinnabar-red);
}

/* 5. 斜体衬线大引文控制节奏 */
.editorial-quote-break {
  padding: 70px 0;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}

.pullquote-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 28px;
  line-height: 1.6;
  color: #2F2A25;
  max-width: 820px;
  margin: 0 auto 20px;
}

.pullquote-author {
  font-family: var(--font-serif-title);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cinnabar-red);
}

/* 功能写成编辑体段落 (第一段首字下沉 drop cap) */
.editorial-articles-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}

.editorial-article-block {
  max-width: 800px;
  margin: 0 auto 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

.drop-cap::first-letter {
  font-family: var(--font-editorial);
  font-size: 72px;
  float: left;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--cinnabar-red);
  font-weight: 700;
}

.editorial-article-block h3 {
  font-family: var(--font-serif-title);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink-black);
  margin-bottom: 16px;
}

.editorial-article-block p {
  font-size: 17px;
  line-height: 1.9;
  color: #38322C;
  margin-bottom: 18px;
}

/* 流媒体与AI支持 */
.media-ai-editorial-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--hairline);
}

.media-ai-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.media-ai-unit {
  border: 1px solid var(--hairline);
  padding: 24px;
  background-color: var(--paper-card);
  text-align: center;
}

.media-ai-unit h4 {
  font-family: var(--font-serif-title);
  font-size: 19px;
  font-weight: 900;
  margin: 12px 0 8px;
  color: var(--ink-black);
}

.media-ai-unit p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* 价格做成通栏横排行 (名称 / 价格 / 说明 / 箭头)，hover时整行反色为墨黑 */
.pricing-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}

.pricing-table-rows {
  margin-top: 40px;
  border-top: 2px solid var(--ink-black);
}

.price-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2.5fr 1fr;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid var(--hairline);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink-black);
}

.price-table-row:hover {
  background-color: var(--ink-black);
  color: var(--ivory-paper);
}

.price-table-row:hover .row-price-num,
.price-table-row:hover .row-arrow-icon svg {
  color: var(--cinnabar-red);
  stroke: var(--cinnabar-red);
}

.price-table-row:hover .row-desc-text {
  color: #CCC;
}

.row-plan-name {
  font-family: var(--font-serif-title);
  font-size: 22px;
  font-weight: 900;
}

.row-price-num {
  font-family: var(--font-editorial);
  font-size: 32px;
  font-weight: 700;
  color: var(--cinnabar-red);
}

.row-desc-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.row-arrow-icon {
  text-align: right;
}

/* 用户真实评价 */
.testimonials-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--hairline);
}

.testimonials-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.test-unit {
  border-left: 2px solid var(--cinnabar-red);
  padding-left: 20px;
}

.test-unit p {
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.test-unit-author {
  font-family: var(--font-serif-title);
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-black);
}

/* FAQ 杂志折叠 */
.faq-section {
  padding: 70px 0;
}

.faq-editorial-list {
  max-width: 820px;
  margin: 40px auto 0;
}

.faq-editorial-item {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}

.faq-q {
  font-family: var(--font-serif-title);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink-black);
  margin-bottom: 10px;
}

.faq-a {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* 页脚：放大号衬线品牌字 + 严格4个入口 */
.site-footer {
  border-top: 2px solid var(--ink-black);
  padding: 70px 0 40px;
  background-color: var(--paper-card);
  text-align: center;
}

.footer-large-brand {
  font-family: var(--font-serif-title);
  font-size: 48px;
  font-weight: 900;
  color: var(--ink-black);
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.footer-editorial-subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  color: var(--cinnabar-red);
  margin-bottom: 36px;
}

.footer-four-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.footer-four-links a {
  font-family: var(--font-serif-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-black);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.footer-four-links a:hover {
  color: var(--cinnabar-red);
}

.footer-bottom-copy {
  font-size: 13px;
  color: #777;
}

/* 资讯归档与文章页 */
.page-hero-editorial {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.page-hero-editorial h1 {
  font-family: var(--font-serif-title);
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 14px;
}

.article-content-editorial {
  max-width: 840px;
  margin: 50px auto 80px;
  padding: 0 20px;
}

.article-content-editorial h2 {
  font-family: var(--font-serif-title);
  font-size: 26px;
  font-weight: 900;
  margin: 40px 0 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 8px;
}

.article-content-editorial h3 {
  font-family: var(--font-serif-title);
  font-size: 20px;
  font-weight: 900;
  margin: 26px 0 12px;
}

.article-content-editorial p {
  font-size: 17px;
  line-height: 1.9;
  color: #38322C;
  margin-bottom: 20px;
}

.article-content-editorial ul,
.article-content-editorial ol {
  margin: 18px 0 24px 28px;
}

.article-content-editorial li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.archive-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin: 50px 0;
}

.archive-card {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-card h3 {
  font-family: var(--font-serif-title);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;
  margin: 12px 0;
}

/* 响应式媒体查询 */
@media (max-width: 900px) {
  .hero-huge-title {
    font-size: 40px;
  }
  .hero-layout-grid {
    grid-template-columns: 1fr;
  }
  .price-table-row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .row-arrow-icon {
    display: none;
  }
  .media-ai-row-grid,
  .testimonials-editorial-grid,
  .archive-editorial-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
