/* ============================================
   NightShift Website — Design System
   暗夜舞台风格 · 专业DJ灯光软件
   ============================================ */

/* --- CSS Variables (Token System) --- */
:root {
  /* Background */
  --bg-deep:    #070b14;
  --bg-surface: #0f1521;
  --bg-card:    #141c2b;
  --bg-hover:   #1a2335;
  
  /* Accent - 暖金（舞台灯光） */
  --gold:       #f0a500;
  --gold-dim:   #b87d00;
  --gold-glow:  rgba(240, 165, 0, 0.25);
  
  /* Accent - 电光蓝（科技/DMX） */
  --cyan:       #06b6d4;
  --cyan-dim:   #058ca0;
  --cyan-glow:  rgba(6, 182, 212, 0.2);
  
  /* Text */
  --text:       #e2e8f0;
  --text-dim:   #94a3b8;
  --text-muted: #64748b;
  
  /* Border */
  --border:     #1e293b;
  --border-light: #2d3a4f;
  
  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(240,165,0,0.08);
  
  /* Layout */
  --max-width: 1100px;
  --header-h: 64px;
  
  /* Typography */
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* Subtle noise texture overlay */
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(240,165,0,0.03) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.02) 0%, transparent 50%);
}

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

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

/* --- Header / Navigation --- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
}
.logo span { color: var(--gold); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--bg-hover);
}

/* Language Switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-left: 12px;
}
.lang-switch button {
  background: none; border: none;
  color: var(--text-dim);
  padding: 6px 12px; font-size: 0.8rem;
  cursor: pointer; font-family: var(--font);
  transition: all 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active-lang {
  background: var(--gold);
  color: #000;
  font-weight: 600;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
  /* DJ equipment photo background + dark overlay for text readability */
  background: 
    linear-gradient(rgba(7,11,20,0.75), rgba(7,11,20,0.82)),
    url('../图片/90991b82-d1aa-42ae-b0f9-fcb662e0144d.webp') center/cover no-repeat;
}

/* Animated light beam */
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: 20%;
  width: 3px; height: 200%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.15;
  transform: rotate(15deg);
  animation: beamPulse 4s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  top: -30%; left: 60%;
  width: 2px; height: 160%;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  opacity: 0.1;
  transform: rotate(-10deg);
  animation: beamPulse 5s ease-in-out infinite reverse;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .gold { color: var(--gold); }

.hero .subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #b0b9c6;
  max-width: 560px;
  margin: 0 auto 20px;
}

.hero-desc {
  font-size: 0.95rem;
  color: #b0b9c6;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero "立即购买" button — gold outline */
.hero .btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}
.hero .btn-outline:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  background: rgba(240,165,0,0.08);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem; font-weight: 600;
  font-family: var(--font);
  cursor: pointer; border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  background: #fbbf24;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(240,165,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6,182,212,0.05);
}

.btn-cyan {
  background: var(--cyan);
  color: #000;
  font-weight: 600;
}
.btn-cyan:hover {
  background: #22d3ee;
  transform: translateY(-2px);
}

/* --- Sections --- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section > p {
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 48px;
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- Feature Cards (3-column, 2-row) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #1a1a1e;
  border: 1px solid #252530;
  border-radius: 12px;
  padding: 32px 24px 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 48px; height: 48px;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  color: #a0a0a8;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --- Pricing (New) --- */
.pricing-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.price-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.price-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.price-num {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.price-checklist {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}
.price-checklist li {
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.price-checklist li::before {
  content: '✓ ';
  color: var(--cyan);
  font-weight: 700;
}

.price-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* --- Payment Section --- */
.pay-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.pay-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pay-icons {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.pay-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.pay-item.wechat { color: #07c160; }
.pay-item.alipay { color: #1677ff; }
.pay-icon-wx, .pay-icon-ali { font-size: 1.5rem; }

/* --- Download Page --- */
.dl-promo-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}
.dl-promo-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.dl-promo-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.dl-btn-area {
  text-align: center;
}
.dl-btn {
  font-size: 1.15rem;
  padding: 16px 48px;
}
.dl-file-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 600px;
  margin: 0 auto;
}
.dl-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.dl-checklist {
  list-style: none;
}
.dl-checklist li {
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.dl-checklist li::before {
  content: '✓ ';
  color: var(--cyan);
  font-weight: 700;
}

.dl-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 24px auto 0;
}

.dl-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.dl-step-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.dl-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.dl-step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.dl-step-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.dl-manual-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero gold accent --- */
.page-hero h1 .gold { color: var(--gold); }

/* --- FAQ --- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-q:hover { background: var(--bg-hover); }
.faq-q::after { content: '+'; font-size: 1.2rem; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 18px;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.about-text h3 {
  font-size: 1.1rem; color: var(--gold);
  margin-bottom: 8px; margin-top: 24px;
}
.about-text h3:first-child { margin-top: 0; }
.about-text p { color: var(--text-dim); font-size: 0.95rem; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.contact-card .contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.contact-card .contact-item:last-child { border-bottom: none; }
.contact-icon { font-size: 1.3rem; width: 28px; text-align: center; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--gold); }

/* --- Page Hero (non-home pages) --- */
.page-hero {
  text-align: center;
  padding: 60px 24px 40px;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.page-hero p { color: var(--text-dim); }

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* --- Payment Methods --- */
.pay-methods {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.pay-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
}
.pay-badge.wechat { color: #07c160; }
.pay-badge.alipay { color: #1677ff; }

/* --- Notice Banner --- */
.notice {
  background: rgba(240,165,0,0.08);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 24px 40px;
  max-width: var(--max-width);
  margin-left: auto; margin-right: auto;
  color: var(--gold);
  font-size: 0.9rem;
  text-align: center;
}

/* --- OSS static site compat --- */
/* No build step needed; all paths relative */

/* --- Showcase (Product Display) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.showcase-card {
  background: #1a1a1e;
  border: 1px solid #252530;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.showcase-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.showcase-image {
  background: #000;
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
  line-height: 0;
}
.showcase-image img {
  max-height: 280px;
  border-radius: 8px;
  display: block;
}

.showcase-info {
  padding: 28px 24px;
  flex: 1;
}
.showcase-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.showcase-features {
  list-style: none;
}
.showcase-features li {
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}
.showcase-features li::before {
  content: '✓ ';
  color: var(--cyan);
  font-weight: 700;
}

/* --- Device Compatibility --- */
.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.device-tag {
  display: inline-block;
  padding: 10px 24px;
  background: #1a1a1e;
  border: 1px solid #252530;
  border-radius: 24px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.device-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  display: inline-block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-col p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-col a,
.footer-col span {
  display: block;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .nav a { padding: 6px 10px; font-size: 0.82rem; }
  .section { padding: 48px 16px; }
  .hero { padding: 60px 16px 48px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid-new { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .download-box { padding: 24px 16px; }
}
