/* ==================================================
   九色视频 · 免费看片网页 设计系统
   主题：复古马卡龙电影票 · 暖调现代主义
   ================================================== */

:root {
  --bg: #FFF9F1;
  --bg-soft: #FFF1E4;
  --card: #FFFFFF;
  --primary: #FF5C39;
  --primary-dark: #E84A2E;
  --secondary: #2DBFAE;
  --secondary-light: #E0F7F3;
  --accent: #FFC53A;
  --accent-light: #FFF4D1;
  --ink: #2B2118;
  --ink-soft: rgba(43, 33, 24, 0.66);
  --line: #EADDCB;
  --shadow-sm: 0 4px 16px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 14px 32px rgba(255, 92, 57, 0.14);
  --shadow-lg: 0 24px 48px rgba(43, 33, 24, 0.12);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-soft);
}

/* ==================================================
   导航 — 固定顶部（电影票虚线分割）
   ================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 241, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 3px dashed rgba(255, 92, 57, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 92, 57, 0.35);
  position: relative;
}

.logo-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--primary);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  color: #fff !important;
  font-weight: 700;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(255, 92, 57, 0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(255, 92, 57, 0.4);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
  transition: transform 0.3s ease, top 0.3s ease;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ==================================================
   首页 Hero — 拍立得海报风
   ================================================== */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 120px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* 柔和光斑背景 */
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 197, 58, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(45, 191, 174, 0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  flex: 1.2;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 40px 40px 40px 8px;
  background: var(--accent);
  color: var(--ink);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(255, 197, 58, 0.4);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-decoration: underline wavy rgba(255, 92, 57, 0.45) 0.08em;
  text-underline-offset: 0.14em;
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0.8;
  min-width: 0;
  position: relative;
  padding: 16px;
  background: #fff;
  border-radius: 40px 16px 40px 16px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -14px;
  right: -18px;
  width: 130px;
  height: 130px;
  border: 3px dashed var(--secondary);
  border-radius: 50%;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 28px 10px 28px 10px;
  display: block;
}

/* ==================================================
   按钮
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 92, 57, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 32px rgba(255, 92, 57, 0.45);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 92, 57, 0.3);
}

/* ==================================================
   标签 / 标题
   ================================================== */
.section-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px 18px 4px 18px;
  background: var(--secondary);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 600px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ==================================================
   卡片网格 — 手工海报错位感
   ================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 40%, var(--accent) 40%, var(--accent) 60%, var(--secondary) 60%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:nth-child(even) {
  transform: rotate(1.2deg);
}

.category-card:nth-child(3n) {
  transform: rotate(-0.8deg);
}

.category-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link::after {
  content: '→';
  font-size: 1.1rem;
}

/* ==================================================
   特性块
   ================================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
}

.feature-image {
  border-radius: 24px 64px 24px 64px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--secondary);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-image:hover {
  transform: rotate(0deg);
  box-shadow: 12px 12px 0 var(--secondary);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ==================================================
   数据条 — 甜甜圈数字
   ================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 36px 20px;
  background: var(--card);
  border-radius: 28px;
  border: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 600;
}

/* ==================================================
   内容墙 — 视频卡片墙
   ================================================== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.content-wall-item:nth-child(2n) {
  transform: rotate(0.8deg);
}

.content-wall-item:nth-child(3n) {
  transform: rotate(-1deg);
}

.content-wall-item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-md);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px 24px;
  border-top: 4px solid var(--accent);
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==================================================
   FAQ 手风琴
   ================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: none;
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item .faq-question {
  padding: 20px 26px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.35s ease;
}

.faq-item .faq-answer {
  padding: 0 26px 20px;
  display: none;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.35s ease;
}

.faq-item.open {
  border-left: 5px solid var(--primary);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================================================
   CTA 横幅 — 复古汽水广告牌
   ================================================== */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #FF8A5C 50%, var(--accent) 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 180px;
  height: 180px;
  border: 36px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 50px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.cta-banner h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(43, 33, 24, 0.75);
  margin-bottom: 28px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--bg-soft);
  transform: translateY(-3px);
}

/* ==================================================
   页脚 — 奶油杏仁色
   ================================================== */
.site-footer {
  background: #F6EBDF;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(43, 33, 24, 0.08);
  margin-top: 52px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ==================================================
   工具类
   ================================================== */
.text-accent {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==================================================
   响应式
   ================================================== */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 36px;
  }

  .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: 76px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 24px 28px;
    border-bottom: 3px dashed rgba(255, 92, 57, 0.25);
    gap: 20px;
  }

  .hero {
    flex-direction: column;
    padding-top: 100px;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-image {
    width: 88%;
    transform: rotate(0);
  }

  .hero-image:hover {
    transform: translateY(-4px);
  }

  .cta-banner {
    padding: 48px 28px;
  }
}

@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;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .feature-block {
    padding: 24px;
  }

  .stat-item {
    padding: 28px 16px;
  }
}