/* ===== mingjue98.com — 全新差异化设计 ===== */
:root {
  --primary: #f72585;
  --primary-dark: #b5179e;
  --primary-light: #ff5aa8;
  --accent: #4cc9f0;
  --accent2: #7209b7;
  --dark: #0a0a0f;
  --dark2: #14101f;
  --card-bg: #1a1528;
  --card-border: rgba(247,37,133,0.12);
  --text: #eae6f0;
  --text-muted: #8a82a8;
  --gradient-main: linear-gradient(135deg, #f72585, #b5179e, #7209b7);
  --gradient-card: linear-gradient(145deg, rgba(247,37,133,0.06) 0%, rgba(76,201,240,0.04) 100%);
  --glow-pink: rgba(247,37,133,0.25);
  --radius: 16px;
  --radius-sm: 10px;
}

* { 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(10,10,15,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(247,37,133,0.08);
}
.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;
  letter-spacing: 1px;
}
.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: all .25s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient-main); transition: width .3s; border-radius: 1px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.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 — 全新：斜切分割 + 霓虹边框 === */
.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;
  position: relative;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(247,37,133,0.12); color: var(--primary-light);
  margin-bottom: 16px; border: 1px solid rgba(247,37,133,0.15);
}
.hero-content h1 {
  font-size: clamp(34px, 5vw, 54px); font-weight: 900; line-height: 1.1;
  margin-bottom: 18px;
}
.hero-content h1 .gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content h1 .accent-text { color: var(--accent); }
.hero-content p {
  color: var(--text-muted); font-size: 16px; margin-bottom: 32px; max-width: 500px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; padding: 14px 32px;
  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 24px var(--glow-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px var(--glow-pink); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.1); }
.btn-outline:hover { border-color: var(--primary-light); background: rgba(247,37,133,0.06); }
.btn-room { background: rgba(76,201,240,0.08); color: var(--accent); border: 1px solid rgba(76,201,240,0.2); cursor: default; }
.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 0 40px rgba(247,37,133,0.1);
  border: 1px solid rgba(247,37,133,0.08);
}
.hero-image img { width:100%; height:100%; object-fit:cover; display:block; border-radius: var(--radius); }
.hero-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(247,37,133,0.1) 0%, transparent 60%);
  z-index: 1; pointer-events: none; border-radius: var(--radius);
}

/* === Section === */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 10px; }
.section-header h2 .g { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* === Feature Cards — 侧边框+角标 全新风格 === */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: all .4s; position: relative;
}
.feature-card::before {
  content: ''; position: absolute; top: -1px; left: 20px; right: 20px; height: 2px;
  background: var(--gradient-main); opacity: 0; transition: opacity .35s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(247,37,133,0.08); border-color: rgba(247,37,133,0.2); }
.feature-card:hover::before { opacity: 1; }
.feature-card .num-badge {
  position: absolute; top: 16px; right: 20px;
  font-size: 42px; font-weight: 900; color: rgba(247,37,133,0.06); line-height: 1;
}
.feature-card .icon { font-size: 30px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.feature-card .flink { color: var(--accent); font-size: 13px; font-weight: 600; display: inline-block; margin-top: 8px; text-decoration: none; transition: color .2s; }
.feature-card .flink:hover { color: var(--primary-light); }

/* === Stats — 霓虹数字 === */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 26px 16px; text-align: center;
  transition: all .3s;
}
.stat-item:hover { border-color: rgba(247,37,133,0.2); }
.stat-item .num {
  font-size: 30px; font-weight: 900;
  background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item .label { color: var(--text-muted); font-size: 13px; margin-top: 5px; }

/* === Steps — 水平连线 === */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  position: relative;
}
.step-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 28px 22px;
  text-align: center; transition: all .3s;
}
.step-card:hover { border-color: rgba(247,37,133,0.2); transform: translateY(-3px); }
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-main); color: #fff; font-size: 18px; font-weight: 800;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-card p { color: var(--text-muted); font-size: 13px; }

/* === Version === */
.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: rgba(247,37,133,0.2); 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: 12px; }
.badge-android { background: rgba(247,37,133,0.12); color: var(--primary-light); }
.badge-ios { background: rgba(76,201,240,0.12); color: var(--accent); }
.version-card ul { list-style: none; padding: 0; }
.version-card ul li { padding: 5px 0; font-size: 14px; color: var(--text-muted); }
.version-card ul li::before { content: '✦ '; color: var(--primary-light); }

/* === Accordion FAQ === */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 18px 22px; 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(247,37,133,0.03); }
.faq-q .arrow { transition: transform .3s; font-size: 13px; 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 22px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.faq-item.active .faq-a { max-height: 300px; padding: 0 22px 16px; }

/* === Footer === */
.footer { border-top: 1px solid rgba(247,37,133,0.06); padding: 44px 24px 28px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; 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 32px; }
  .hero-buttons { justify-content: center; }
  .stats-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(10,10,15,0.98); backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .version-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-bar { bottom: 14px; right: 14px; }
  .contact-bar a { padding: 10px 16px; font-size: 12px; }
}
