/* ===== 基础重置 & 变量 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #5a4bd1;
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-nav: rgba(15, 15, 26, .85);
  --text: #e8e8f0;
  --text-muted: #9999aa;
  --border: #2a2a40;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0,0,0,.35);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
}

.logo i { font-size: 1.5rem; }

/* ===== 主区域 ===== */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108,92,231,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(162,155,254,.08) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), #74b9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.8;
}

/* ===== 按钮组 ===== */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn i { font-size: 1.15rem; }

.btn-android {
  background: linear-gradient(135deg, #00b894, #00cec9);
  color: #fff;
}
.btn-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,184,148,.35);
}

.btn-ios {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.btn-ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(108,92,231,.35);
}

.btn-group {
  background: transparent;
  border: 1.5px solid var(--primary-light);
  color: var(--primary-light);
}
.btn-group:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== 展示图 ===== */
.hero-showcase {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.showcase-card {
  width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease;
  background: var(--bg-card);
}

.showcase-card:nth-child(1) {
  transform: rotateY(5deg) translateZ(10px);
}
.showcase-card:nth-child(2) {
  transform: rotateY(-5deg) translateZ(10px);
}
.showcase-card:hover {
  transform: rotateY(0) translateZ(30px) scale(1.03);
}

.showcase-card img {
  width: 100%;
  height: auto;
}

.showcase-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 400px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 2px dashed var(--border);
  color: var(--text-muted);
}

.showcase-placeholder i {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ===== 特性区域 ===== */
.features {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108,92,231,.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* ===== 页脚 ===== */
.footer {
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p img {
  display: inline;
  vertical-align: middle;
}

.footer-inner img {
  display: inline;
  vertical-align: middle;
}

.footer-inner > * + * {
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  transition: color .2s;
  font-size: .85rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-showcase { margin-top: 40px; }
  .features-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .showcase-card { width: 160px; }
  .hero-showcase { gap: 12px; }
}
