/* =========================================================
   天美传媒官网 全局样式
   主题：深墨蓝 + 绯红金，影视传媒质感
   ========================================================= */
:root {
  --ink: #101828;
  --ink-2: #0d1220;
  --body: #3c4657;
  --muted: #6b7686;
  --brand: #e63e57;
  --brand-dark: #c42743;
  --gold: #f0b429;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #e6e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .16);
  --max: 1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13, 18, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--gold)); display: inline-block; }
.brand small { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: 2px; }
.nav-menu { display: flex; gap: 6px; margin-left: auto; }
.nav-menu a {
  color: rgba(255, 255, 255, .82); font-size: 15px; padding: 8px 14px;
  border-radius: 8px; position: relative;
}
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-menu a.active { color: #fff; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--gold));
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: 0 8px 22px rgba(230, 62, 87, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(230, 62, 87, .45); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d99a12); color: #2a1d00; box-shadow: 0 8px 22px rgba(240, 180, 41, .35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(240, 180, 41, .45); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.nav-cta { padding: 9px 22px; font-size: 14px; }

/* ============ Hero ============ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(240, 180, 41, .18), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(230, 62, 87, .28), transparent 55%),
    linear-gradient(160deg, #0d1220 0%, #141c33 55%, #1d1430 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px;
  align-items: center; padding: 96px 0 80px; position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px;
  padding: 7px 16px; border-radius: 999px; color: var(--gold);
  background: rgba(240, 180, 41, .12); border: 1px solid rgba(240, 180, 41, .35);
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 20px; letter-spacing: 1px; }
.hero h1 .hl { background: linear-gradient(120deg, var(--gold), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero-media::before {
  content: ""; position: absolute; inset: -18px; border-radius: 26px; z-index: -1;
  background: linear-gradient(135deg, rgba(230,62,87,.35), rgba(240,180,41,.25)); filter: blur(28px);
}
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 2; }
.hero-stats .num { font-size: 32px; font-weight: 800; color: #fff; }
.hero-stats .num em { font-style: normal; color: var(--gold); font-size: 20px; }
.hero-stats .lbl { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* 页面子Banner */
.page-banner {
  color: #fff; padding: 88px 0 72px; text-align: center;
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(240, 180, 41, .16), transparent 60%),
    radial-gradient(700px 480px at 10% 110%, rgba(230, 62, 87, .3), transparent 55%),
    linear-gradient(150deg, #0d1220, #182036);
}
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.page-banner p { color: rgba(255,255,255,.7); max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }

/* ============ 通用Section ============ */
.section { padding: 88px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--brand);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* ============ 特性卡片 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 34px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(230,62,87,.12), rgba(240,180,41,.14));
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* 服务卡片 */
.service-card {
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card img { height: 200px; width: 100%; object-fit: cover; }
.service-body { padding: 26px; }
.service-body h3 { font-size: 19px; margin-bottom: 10px; }
.service-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.service-link { color: var(--brand); font-weight: 600; font-size: 14px; }
.service-link:hover { color: var(--brand-dark); }

/* ============ 图文分栏 ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.split p { margin-bottom: 16px; color: var(--body); }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--body); font-size: 15px; }
.check-list li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(230,62,87,.12); color: var(--brand); font-weight: 700; font-size: 13px; margin-top: 3px;
}

/* ============ 平台徽章 ============ */
.platform-row { display: flex; flex-wrap: wrap; gap: 14px; }
.platform-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink);
  font-size: 14.5px; box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease;
}
.platform-badge:hover { transform: translateY(-4px); border-color: var(--brand); }
.platform-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* ============ 流程步骤 ============ */
.step-card { text-align: center; padding: 34px 22px; position: relative; }
.step-num {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(230,62,87,.35);
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* ============ 时间线 ============ */
.timeline { position: relative; padding-left: 34px; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--gold)); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand); box-shadow: 0 0 0 4px rgba(230,62,87,.15);
}
.timeline-item .year { font-weight: 800; color: var(--brand); font-size: 18px; }
.timeline-item h3 { font-size: 17px; margin: 4px 0 6px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); }

/* ============ 新闻卡片 ============ */
.news-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card img { height: 190px; width: 100%; object-fit: cover; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.news-meta .cat { color: var(--brand); font-weight: 600; }
.news-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { font-size: 14px; color: var(--muted); flex: 1; }
.news-more { margin-top: 14px; font-size: 14px; color: var(--brand); font-weight: 600; }

/* 新闻列表页 */
.news-list-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: var(--card);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); margin-bottom: 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.news-list-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-list-item img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.news-list-body { padding: 28px 28px 28px 0; }
.news-list-body h2 { font-size: 21px; margin-bottom: 10px; }
.news-list-body h2 a:hover { color: var(--brand); }
.news-list-body p { font-size: 14.5px; color: var(--muted); margin: 10px 0 16px; }

/* 文章详情 */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 48px 52px; }
.article-card .cover { border-radius: 12px; margin: 26px 0; }
.article-body p { margin-bottom: 18px; color: var(--body); }
.article-body h2 { font-size: 22px; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--brand); }
.article-body h3 { font-size: 18px; margin: 24px 0 10px; }
.article-body ul { padding-left: 22px; margin-bottom: 18px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; color: var(--body); }
.article-tags { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.article-tags span { background: var(--bg); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s ease; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(230,62,87,.35); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font);
}
.faq-q .arrow { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(230,62,87,.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .3s ease; }
.faq-item.open .arrow { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); }

/* ============ CTA ============ */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; padding: 64px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(240,180,41,.25), transparent 60%),
    linear-gradient(135deg, #161d33, #3a1230 70%, #57192e);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ 联系 ============ */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); transition: transform .3s ease; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .ico { font-size: 30px; margin-bottom: 12px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--muted); }

.contact-form { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fbfcfe; transition: border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(230,62,87,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.65); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: 10px; font-size: 14px; display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

/* ============ 回到顶部 / 动画 ============ */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(230,62,87,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float { animation: floatY 5s ease-in-out infinite; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 60px; gap: 44px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item img { height: 220px; }
  .news-list-body { padding: 0 26px 26px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(13,18,32,.98); padding: 12px 24px 20px;
    transform: translateY(-130%); transition: transform .35s ease; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { display: block; padding: 13px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: 1fr; }
  .article-card { padding: 30px 24px; }
  .cta-band { padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats .num { font-size: 26px; }
}
