/* ============================================
   时光电影 · 主样式
   设计方向：暗调电影感 + 香槟金 + 衬线标题
   ============================================ */

:root {
  /* 色彩 */
  --bg: #0a0a0c;
  --bg-alt: #101014;
  --bg-card: #16161b;
  --bg-elevated: #1c1c22;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f2f0ed;
  --text-dim: #a8a5a0;
  --text-dimmer: #6b6864;

  /* 香槟金主色 */
  --gold: #d4b483;
  --gold-bright: #e8cfa5;
  --gold-dim: #9d8660;

  /* 辅助色 */
  --rose: #c98686;
  --ink: #1a1a20;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 间距 */
  --nav-h: 72px;
  --container: 1200px;
  --container-narrow: 820px;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-full: 999px;

  /* 过渡 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-dim);
}

.nav-links a {
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

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

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1408;
  box-shadow: 0 6px 24px -8px rgba(212, 180, 131, 0.6);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(212, 180, 131, 0.75);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  background: rgba(212, 180, 131, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
  font-size: 13px;
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 32px 100px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 电影感光晕 */
.hero-bg::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(212, 180, 131, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(201, 134, 134, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 50%, rgba(120, 130, 180, 0.08), transparent 70%);
  filter: blur(40px);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  animation: heroIn 1.2s var(--ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: rgba(212, 180, 131, 0.08);
  border: 1px solid rgba(212, 180, 131, 0.24);
  border-radius: var(--r-full);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(120deg, var(--gold-bright) 20%, var(--gold) 50%, var(--rose) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 44px;
}

.hero-sub strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}

.stat strong small {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 2px;
}

.stat span {
  font-size: 12.5px;
  color: var(--text-dimmer);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ============ Section 通用 ============ */
.section {
  padding: 120px 32px;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: #07070a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-head {
  text-align: center;
  margin-bottom: 68px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ============ 页脚 ============ */
.footer {
  padding: 72px 32px 36px;
  border-top: 1px solid var(--border);
  background: #07070a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto 52px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-dimmer);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 6px;
  font-weight: 500;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dimmer);
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .section { padding: 80px 20px; }
  .hero { padding: calc(var(--nav-h) + 40px) 20px 80px; }
  .hero-stats { gap: 22px; }
  .stat-divider { display: none; }
  .footer-inner { gap: 40px; }
  .footer-links { gap: 48px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .footer-bottom { flex-direction: column; }
}

/* ============ 滚动渐入 ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}
