/* ============================================================
   榴莲视频 - 全站样式
   主题：暗色电影质感 + 榴莲金点缀
   ============================================================ */
:root {
  --bg: #0d0f14;
  --bg-2: #12151d;
  --surface: #171b25;
  --surface-2: #1e2330;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #f2c14e;
  --gold-2: #e0a92e;
  --gold-soft: rgba(242, 193, 78, 0.12);
  --green: #7ea53c;
  --text: #ecedf1;
  --muted: #9aa1b0;
  --muted-2: #6d7484;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
  --header-h: 68px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 通用动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shine { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

/* ---------- 头部 / 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(13, 15, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.brand .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: grid; place-items: center;
  color: #1a1405; font-size: 20px; font-weight: 900;
  box-shadow: 0 4px 14px rgba(242, 193, 78, 0.35);
}
.brand em { font-style: normal; background: linear-gradient(90deg, var(--gold), #ffe6a3, var(--gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 8px 16px; border-radius: 999px; font-size: 15px; color: var(--muted);
  position: relative; transition: color .25s, background .25s;
}
.nav-menu a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-menu a.active { color: var(--gold); background: var(--gold-soft); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13,15,20,0.95) 20%, rgba(13,15,20,0.65) 55%, rgba(13,15,20,0.35));
}
.hero-inner { padding: 90px 0; animation: fadeUp .9s ease both; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 2px;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(242,193,78,0.3);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.3; font-weight: 800; max-width: 640px; }
.hero h1 .hl { color: var(--gold); }
.hero p { margin: 20px 0 34px; color: var(--muted); max-width: 560px; font-size: 17px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1c1607; box-shadow: 0 8px 22px rgba(242,193,78,0.3); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(242,193,78,0.4); }
.btn-ghost { border-color: rgba(255,255,255,0.25); color: var(--text); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.hero-stats { display: flex; gap: 42px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 30px; color: var(--gold); font-weight: 800; }
.hero-stats .stat span { color: var(--muted); font-size: 14px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .kicker { color: var(--gold); letter-spacing: 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 12px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(242,193,78,0.35); }
.card .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.07); }
.card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(13,15,20,0.75); color: var(--gold); border: 1px solid rgba(242,193,78,0.4);
  backdrop-filter: blur(6px);
}
.card .score {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  padding: 3px 10px; border-radius: 8px; font-size: 13px; font-weight: 700;
  background: var(--gold); color: #1c1607;
}
.card-body { padding: 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.card-body h3 a:hover { color: var(--gold); }
.card-body p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.card-meta i { font-style: normal; }

/* ---------- 特性卡片 ---------- */
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .35s, border-color .35s, background .35s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .35s;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(242,193,78,0.35); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); font-size: 26px; margin-bottom: 20px;
  border: 1px solid rgba(242,193,78,0.25);
}
.feature-card h3 { font-size: 19px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 列表 / 资讯 ---------- */
.news-item {
  display: flex; gap: 24px; padding: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.news-item:hover { transform: translateX(6px); border-color: rgba(242,193,78,0.35); box-shadow: var(--shadow-sm); }
.news-item .news-thumb { width: 240px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; }
.news-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .news-thumb img { transform: scale(1.06); }
.news-item h3 { font-size: 19px; margin-bottom: 8px; }
.news-item h3 a:hover { color: var(--gold); }
.news-item p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .news-meta { margin-top: 12px; font-size: 13px; color: var(--muted-2); display: flex; gap: 16px; }

/* ---------- 文章详情 ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.article-body h2 { font-size: 24px; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); }
.article-body h2:first-of-type { margin-top: 0; }
.article-body h3 { font-size: 19px; margin: 24px 0 10px; color: var(--gold); }
.article-body p { margin-bottom: 16px; color: #c9cdd6; }
.article-body ul { margin: 0 0 16px 22px; list-style: disc; color: #c9cdd6; }
.article-body ul li { margin-bottom: 8px; }
.article-cover { border-radius: var(--radius-sm); margin: 10px 0 26px; overflow: hidden; }
.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.45; }
.article-head .meta { color: var(--muted-2); font-size: 14px; margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }

.sidebar-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--gold); }
.sidebar-widget ul li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--muted); }
.sidebar-widget ul li a:hover { color: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 96px 0; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #171205 0%, #241b06 50%, #12151d 100%);
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35;
}
.cta::before { width: 380px; height: 380px; background: var(--gold); top: -160px; left: -120px; }
.cta::after { width: 320px; height: 320px; background: var(--green); bottom: -150px; right: -100px; }
.cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; position: relative; }
.cta p { color: var(--muted); margin: 18px auto 34px; max-width: 560px; position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a0c10; border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h3 { font-size: 16px; margin-bottom: 18px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 14px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13.5px;
}

/* ---------- 页头横幅（子页面） ---------- */
.page-banner {
  position: relative; padding: 110px 0 80px; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #141821, #1c1607 70%, #0d0f14);
}
.page-banner::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--gold); filter: blur(160px); opacity: .16; top: -180px; right: -80px; z-index: -1; }
.page-banner h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; animation: fadeUp .7s ease both; }
.page-banner .crumb { margin-top: 14px; color: var(--muted-2); font-size: 14px; animation: fadeUp .7s .15s ease both; }
.page-banner .crumb a { color: var(--muted); }
.page-banner .crumb a:hover { color: var(--gold); }
.page-banner p.lead { margin-top: 16px; color: var(--muted); max-width: 640px; animation: fadeUp .7s .25s ease both; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  padding: 20px 24px; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .ic { color: var(--gold); font-size: 22px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- 表单 ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- 联系信息卡 ---------- */
.info-card { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; transition: border-color .3s, transform .3s; }
.info-card:hover { border-color: rgba(242,193,78,0.35); transform: translateY(-4px); }
.info-card .feature-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 0; flex-shrink: 0; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: 14px; }

/* ---------- 关于页 ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.about-split p { color: var(--muted); margin-bottom: 14px; }
.about-list li { padding: 10px 0 10px 30px; position: relative; color: #c9cdd6; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.value-card { text-align: center; padding: 36px 26px; }
.value-card .feature-icon { margin: 0 auto 18px; }

.team-card { text-align: center; }
.team-card .thumb { aspect-ratio: 1/1; }
.team-card .card-body { padding: 18px; }
.team-card .role { color: var(--gold); font-size: 13px; }

/* ---------- 标签 ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 6px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: all .25s; }
.tag:hover, .tag.active { color: var(--gold); border-color: rgba(242,193,78,0.45); background: var(--gold-soft); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .cur { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1c1607; font-weight: 700; border-color: transparent; }

/* ---------- 价格 / 服务方案 ---------- */
.price-card { text-align: center; padding: 40px 30px; position: relative; }
.price-card.hot { border-color: rgba(242,193,78,0.5); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.price-card .ribbon { position: absolute; top: 16px; right: -32px; transform: rotate(38deg); background: var(--gold); color: #1c1607; font-size: 12px; font-weight: 700; padding: 4px 40px; }
.price-card .price { font-size: 40px; font-weight: 800; color: var(--gold); margin: 14px 0 4px; }
.price-card .price small { font-size: 14px; color: var(--muted-2); font-weight: 400; }
.price-card ul { margin: 24px 0 28px; text-align: left; }
.price-card ul li { padding: 9px 0 9px 26px; position: relative; color: #c9cdd6; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1c1607;
  font-size: 20px; box-shadow: 0 8px 20px rgba(242,193,78,0.35);
  opacity: 0; pointer-events: none; transform: translateY(16px); transition: .35s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), transparent); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }
.timeline-item .year { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 1px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(13,15,20,0.97); backdrop-filter: blur(16px);
    padding: 16px 5%; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 13px 18px; border-radius: 10px; }
  .hero { min-height: 480px; }
  .hero-stats { gap: 26px; }
  .news-item { flex-direction: column; }
  .news-item .news-thumb { width: 100%; }
  .article-body { padding: 26px 20px; }
  .form-card { padding: 26px 20px; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
