/* ===== 全新差异化设计 — mj68.vip 名爵官网 ===== */
:root {
  --primary: #6c3bf1;
  --primary-dark: #4a1bb5;
  --primary-light: #8f5eff;
  --accent: #ff6a3d;
  --accent-glow: rgba(255,106,61,0.3);
  --dark: #0b0a1a;
  --dark2: #13112a;
  --card-bg: #1b1836;
  --card-border: rgba(108,59,241,0.15);
  --text: #e8e6f0;
  --text-muted: #8a85a8;
  --gradient-main: linear-gradient(135deg, #6c3bf1 0%, #ff6a3d 100%);
  --gradient-card: linear-gradient(145deg, rgba(108,59,241,0.08) 0%, rgba(255,106,61,0.05) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,10,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,59,241,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-size: 22px; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; }
.nav-hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; }

/* === Hero Section — 差异化大卡片式 === */
.hero {
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 .highlight { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.15); }
.btn-outline:hover { border-color: var(--primary-light); background: rgba(108,59,241,0.1); }
.btn-room { background: rgba(108,59,241,0.12); color: var(--primary-light); border: 1px solid rgba(108,59,241,0.25); cursor: default; }
.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(108,59,241,0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* === Section Common === */
.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* === Feature Cards — 差异化骨架：菱形格子 === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity .35s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(108,59,241,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-card .icon { font-size: 32px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* === Platform Data === */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.data-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  transition: all .3s;
}
.data-item:hover { border-color: var(--primary-light); }
.data-item .num { font-size: 32px; font-weight: 900; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.data-item .label { color: var(--text-muted); font-size: 13px; margin-top: 6px; }

/* === Download Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: all .3s;
}
.step-card:hover { border-color: rgba(108,59,241,0.3); transform: translateY(-3px); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 16px; right: 20px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(108,59,241,0.08);
  line-height: 1;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 14px; }

/* === Version Comparison — 差异化：横向卡片对比 === */
.version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.version-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s;
}
.version-card:hover { border-color: var(--primary-light); transform: translateY(-3px); }
.version-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.version-card .badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.badge-android { background: rgba(108,59,241,0.15); color: var(--primary-light); }
.badge-ios { background: rgba(255,106,61,0.15); color: var(--accent); }
.version-card ul { list-style: none; padding: 0; }
.version-card ul li { padding: 6px 0; font-size: 14px; color: var(--text-muted); }
.version-card ul li::before { content: '✓ '; color: var(--primary-light); font-weight: 700; }

/* === FAQ Accordion === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .2s;
}
.faq-q:hover { background: rgba(108,59,241,0.04); }
.faq-q .arrow { transition: transform .3s; font-size: 14px; color: var(--text-muted); }
.faq-item.active .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.active .faq-a {
  max-height: 300px;
  padding: 0 24px 18px;
}

/* === Footer === */
.footer {
  border-top: 1px solid rgba(108,59,241,0.08);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer p { color: var(--text-muted); font-size: 13px; }

/* === Contact Bar === */
.contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-bar a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.contact-telegram { background: #0088cc; color: #fff; }
.contact-telegram:hover { background: #0077b5; transform: translateX(-3px); }

/* === Responsive === */
@media (max-width: 968px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; text-align: center; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(11,10,26,0.98); backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .version-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-bar { bottom: 14px; right: 14px; }
  .contact-bar a { padding: 10px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
  .data-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
