/* 红桃视频 - 主样式文件 */
:root {
  --primary: #e84c6a;
  --primary-light: #f8a5b5;
  --primary-dark: #c03055;
  --accent: #ff7a9a;
  --bg: #fff;
  --bg-soft: #fff5f7;
  --text: #2d2d2d;
  --text-muted: #888;
  --border: #f0d0d8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(232,76,106,0.10);
  --shadow-hover: 0 8px 32px rgba(232,76,106,0.18);
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(232,76,106,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  color: var(--text);
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--bg-soft);
  color: var(--primary);
}
.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
  font-weight: 600;
  transition: background 0.2s !important;
}
.header-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.search-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 0.95rem;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  font-family: var(--font);
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #fff5f7 0%, #ffe0e8 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.22;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 32px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,76,106,0.25);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 24px rgba(232,76,106,0.35); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
}
.hero-stat-item { text-align: center; }
.hero-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* ===== SECTION COMMON ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}
.section-divider {
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 40px;
}

/* ===== VIDEO CARDS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f0d0d8;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.video-card:hover .video-thumb-wrap img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.25s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,76,106,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.play-icon svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-meta { padding: 14px 16px; }
.video-tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}
.video-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.video-stats {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ===== BRAND STORY ===== */
.story-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-hover); }
.story-img img { width: 100%; height: 340px; object-fit: cover; }
.story-content h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; }
.story-content p { color: #555; line-height: 1.9; margin-bottom: 14px; }
.story-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.story-tag {
  background: var(--bg-soft);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--primary-light);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: var(--shadow-hover); }
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: 10px; }
.review-text { font-size: 0.93rem; color: #444; line-height: 1.75; margin-bottom: 14px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.review-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

/* ===== MEDIA / KOL ===== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.media-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--primary);
}
.media-quote { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 14px; font-style: italic; }
.media-name { font-weight: 700; color: var(--primary); font-size: 0.9rem; }

/* ===== GUIDE ===== */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-text { font-size: 0.97rem; color: var(--text); line-height: 1.7; padding-top: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 24px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow { font-size: 1.1rem; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 18px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.contact-value { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ===== DOWNLOAD CTA ===== */
.download-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.download-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.download-cta p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--primary-light); font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: #aaa; }
.footer-col h4 { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: #aaa; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid #2d2d4e;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #777;
}
.footer-logo-img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner span { color: var(--text-muted); }

/* ===== INNER PAGE ===== */
.page-hero {
  background: linear-gradient(120deg, #fff5f7 0%, #ffe0e8 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 10px; }
.page-hero p { color: #666; font-size: 1rem; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .story-wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 1.9rem; }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 8px; }
  .main-nav { flex-wrap: wrap; gap: 4px; }
  .main-nav a { font-size: 0.82rem; padding: 4px 10px; }
  .hero-section { min-height: 380px; }
  .hero-title { font-size: 1.5rem; }
  .hero-stats { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
