/* ===== 天天动漫 · 漫画分镜设计系统 ===== */
:root {
  --cream: #FBF7F0;
  --ink: #2D2A26;
  --coral: #FF4D6D;
  --electric: #4361EE;
  --amber: #FFB703;
  --card-bg: #FFFFFF;
  --soft-border: #E8DDD0;
  --shadow: rgba(45, 42, 38, 0.8);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(255, 77, 109, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  line-height: 1.6;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F5EBDD;
}
::-webkit-scrollbar-thumb {
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--amber);
}

/* ===== 核心布局 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: #F5EBDD;
  background-image: radial-gradient(rgba(255, 77, 109, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== 导航栏 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-8deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease-out;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--coral);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff !important;
  font-weight: 700;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: 0.15s;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
  background: #FF3355;
  color: #fff !important;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 2px 2px 0 var(--ink);
  transition: 0.15s;
}

.menu-toggle:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ===== Hero ===== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: linear-gradient(180deg, #FFF1DF 0%, var(--cream) 100%);
  border-bottom: 2px solid var(--ink);
}

.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 5%;
  width: 110px;
  height: 110px;
  background: var(--amber);
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(45, 42, 38, 0.3);
  opacity: 0.8;
  z-index: 0;
}

.hero::after {
  content: '天天';
  position: absolute;
  right: 9%;
  bottom: 8%;
  font-size: 14rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 77, 109, 0.08);
  -webkit-text-stroke: 3px rgba(255, 77, 109, 0.12);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(-1deg);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 #FFD166, -2px -2px 0 rgba(67, 97, 238, 0.2);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(45, 42, 38, 0.2);
  transform: rotate(1deg);
  background: #fff;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: 0.15s;
  font-size: 0.95rem;
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink) !important;
}

.btn:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: #FF3355;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--cream);
}

/* ===== 标签 / 标题 ===== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: var(--coral);
  text-transform: uppercase;
  border-bottom: 3px solid var(--amber);
  padding-bottom: 4px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 4px;
  margin-top: 10px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 10px;
  padding: 30px 28px;
  border: 2px solid var(--ink);
  background: var(--card-bg);
  box-shadow: 5px 5px 0 rgba(45, 42, 38, 0.25);
  transition: 0.18s;
  position: relative;
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(45, 42, 38, 0.3);
}

.category-card:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(45, 42, 38, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.category-card:nth-child(2n) .card-icon {
  background: var(--electric);
}

.category-card:nth-child(3n) .card-icon {
  background: var(--coral);
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-block;
  margin-top: 8px;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
  transition: 0.15s;
}

.card-link:hover {
  color: var(--ink);
  border-bottom-color: var(--coral);
}

/* ===== 特性块 ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(67, 97, 238, 0.25);
  transform: rotate(-1deg);
  background: #fff;
}

.feature-block:nth-child(even) .feature-image {
  transform: rotate(1deg);
  box-shadow: 8px 8px 0 rgba(255, 183, 3, 0.35);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.feature-text > p {
  opacity: 0.7;
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px dashed rgba(45, 42, 38, 0.15);
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: var(--amber);
  font-size: 1.1rem;
  text-shadow: 1px 1px 0 var(--ink);
}

/* ===== 数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  position: relative;
  transition: 0.15s;
}

.stat-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--coral);
  text-shadow: 2px 2px 0 var(--amber);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== 内容墙 ===== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 rgba(45, 42, 38, 0.2);
  transition: 0.18s;
}

.content-wall-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(45, 42, 38, 0.25);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  display: block;
  transition: transform 0.3s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 3px 3px 0 rgba(45, 42, 38, 0.15);
  transition: 0.15s;
}

.faq-item:hover {
  box-shadow: 5px 5px 0 rgba(45, 42, 38, 0.2);
  transform: translate(-1px, -1px);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  gap: 16px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
  border-top: 1px dashed rgba(45, 42, 38, 0.15);
  padding-top: 12px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== CTA横幅 ===== */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral), #FF8E53);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  background: var(--amber);
  border: 3px solid var(--ink);
  border-radius: 50%;
  z-index: 1;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(45deg, var(--ink) 0, var(--ink) 8px, transparent 8px, transparent 16px);
  border-top: 2px solid var(--ink);
  border-radius: 0 0 12px 12px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgba(45, 42, 38, 0.3);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--ink);
  position: relative;
  z-index: 2;
  box-shadow: 4px 4px 0 var(--ink);
}

.cta-banner .btn-primary:hover {
  background: var(--amber);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 64px 0 28px;
  background: #F0E8D8;
  border-top: 2px solid var(--ink);
  position: relative;
  margin-top: 60px;
}

.site-footer::before {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--coral) 0, var(--coral) 10px, transparent 10px, transparent 20px);
  border-bottom: 2px solid var(--ink);
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  opacity: 0.65;
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--amber);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--ink);
  opacity: 0.65;
  transition: 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--coral);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 2px solid rgba(45, 42, 38, 0.15);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== 工具类 ===== */
.text-accent {
  color: var(--coral);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero::after {
    font-size: 9rem;
    right: 4%;
  }

  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 8px 0 rgba(45, 42, 38, 0.1);
  }

  .main-nav.open a {
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    text-shadow: 3px 3px 0 #FFD166;
  }

  .hero::after {
    font-size: 6rem;
    opacity: 0.4;
  }

  .hero::before {
    width: 70px;
    height: 70px;
    top: 15%;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .stat-item::before {
    display: none;
  }

  .faq-item .faq-question {
    font-size: 0.95rem;
    padding: 16px 16px;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .feature-block {
    gap: 32px;
  }
}