/* =========================================================
   天美影视传媒有限公司 - 全局样式
   File: css/style.css
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5441d6;
  --primary-light: #8b7cf0;
  --accent: #fdcb6e;
  --accent-dark: #f5a623;
  --bg: #0f1224;
  --bg-deep: #090c1a;
  --bg-light: #171b36;
  --bg-card: #1c2142;
  --text: #eef0ff;
  --text-muted: #a6abcf;
  --text-dim: #7d82a8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.25);
  --gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #fdcb6e 100%);
  --gradient-text: linear-gradient(120deg, #a29bfe, #fdcb6e);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* ---------- 工具类 ---------- */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(253, 203, 110, 0.12);
  border: 1px solid rgba(253, 203, 110, 0.3);
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.55);
}

.btn-outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(15, 18, 36, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.brand-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--text);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.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: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(160deg, #090c1a 0%, #141736 45%, #1d1240 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(253, 203, 110, 0.14) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid rgba(253, 203, 110, 0.35);
  background: rgba(253, 203, 110, 0.08);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-film {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  animation: floaty 6s ease-in-out infinite;
}

.hero-film img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(9, 12, 26, 0.65));
}

.hero-badge {
  position: absolute;
  right: -18px;
  bottom: 36px;
  z-index: 3;
  background: rgba(28, 33, 66, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: var(--shadow-soft);
  animation: floaty 5s ease-in-out 1s infinite;
}

.hero-badge strong {
  display: block;
  font-size: 1.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- 核心特性 ---------- */
.features {
  background: var(--bg-deep);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(108, 92, 231, 0.14);
  border: 1px solid rgba(108, 92, 231, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: var(--primary-light);
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 服务介绍 ---------- */
.services {
  background: var(--bg);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-item {
  display: flex;
  gap: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}

.service-item:hover {
  border-color: rgba(253, 203, 110, 0.4);
  transform: translateX(6px);
}

.service-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}

.service-item h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- 作品展示 ---------- */
.works {
  background: var(--bg-deep);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-soft);
}

.work-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.1);
}

.work-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(108, 92, 231, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}

.work-body {
  padding: 18px 20px 22px;
}

.work-body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.work-score {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(9, 12, 26, 0.8);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- 新闻资讯 ---------- */
.news-preview {
  background: var(--bg);
}

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

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.news-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.news-meta .date {
  color: var(--accent);
}

.news-body h3 {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.news-card:hover .news-body h3 {
  color: var(--accent);
}

.news-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.news-link {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1d1240 0%, #141736 50%, #090c1a 100%);
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.3), transparent 65%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-deep);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(253, 203, 110, 0.4);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 46px;
  padding-bottom: 50px;
}

.footer-brand .brand-name {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
}

/* ---------- 内部页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  background: linear-gradient(160deg, #090c1a 0%, #1a1540 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 20%, rgba(253, 203, 110, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(108, 92, 231, 0.22) 0%, transparent 45%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--accent);
}

/* ---------- 关于我们 ---------- */
.about-intro {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 12px;
}

.milestones {
  background: var(--bg-deep);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--accent);
}

.timeline-item .year {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}

.timeline-item h3 {
  margin: 6px 0 8px;
  font-size: 1.15rem;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.team-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(253, 203, 110, 0.5);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.05rem;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--accent);
  margin: 4px 0 10px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- 联系我们 ---------- */
.contact-info {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(253, 203, 110, 0.4);
  transform: translateX(4px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-tip {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.map-holder {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.map-holder img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: saturate(0.8);
}

/* ---------- 影视作品页 ---------- */
.products-filter {
  background: var(--bg-deep);
  padding: 50px 0 0;
  text-align: center;
}

.filter-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 40px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}

.products-list {
  background: var(--bg-deep);
  padding-top: 50px;
}

.products-list .works-grid {
  grid-template-columns: repeat(4, 1fr);
}

.products-empty {
  display: none;
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
}

/* ---------- 新闻列表页 ---------- */
.news-layout {
  background: var(--bg);
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.news-list .news-card {
  flex-direction: row;
  margin-bottom: 24px;
}

.news-list .news-thumb {
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.news-list .news-thumb img {
  height: 100%;
}

.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-box li {
  margin-bottom: 12px;
}

.sidebar-box li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-box li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.sidebar-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebar-tag a {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.sidebar-tag a:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ---------- 新闻详情页 ---------- */
.article-wrap {
  background: var(--bg);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.article-header {
  margin-bottom: 30px;
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.article-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-body h2 {
  font-size: 1.35rem;
  margin: 34px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.article-body h3 {
  font-size: 1.12rem;
  margin: 26px 0 12px;
}

.article-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-body ul {
  margin: 0 0 16px 22px;
  color: var(--text-muted);
  list-style: disc;
}

.article-body ul li {
  margin-bottom: 8px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-share span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-share a {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.article-share a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
}

.article-nav a {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.article-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.related {
  background: var(--bg-deep);
}

/* ---------- 动画 ---------- */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  animation: fadeInUp 0.9s ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.25s;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid,
  .products-list .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .news-layout-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-film img {
    height: 340px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 82%);
    height: 100vh;
    background: rgba(15, 18, 36, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 100px 34px 34px;
    transition: right 0.4s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .works-grid,
  .products-list .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-list .news-card {
    flex-direction: column;
  }

  .news-list .news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 0 70px;
  }

  .page-hero {
    padding: 140px 0 70px;
  }

  .article {
    padding: 26px 20px;
  }

  .article-cover img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .works-grid,
  .products-list .works-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .article-nav {
    flex-direction: column;
  }
}

/* ---------- 无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 10px 20px;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
