/* ==========================================================
   潮次元 APP 官网样式
   ========================================================== */
:root {
  --primary: #6c5ce7;
  --primary-light: #8e7cf3;
  --accent: #00d2ff;
  --accent2: #ff7ad9;
  --bg-dark: #0b0d1a;
  --bg-card: #161a30;
  --text: #e8eaf6;
  --text-dim: #9aa0c0;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 13, 26, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(108, 92, 231, .45);
}
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.brand-name em {
  font-style: normal; font-size: 11px; vertical-align: super; color: var(--accent);
}
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=surreal%20ocean%20wave%20made%20of%20glowing%20neon%20pixels%2C%20deep%20blue%20purple%20gradient%20sky%2C%20stars%20and%20holographic%20particles%2C%20futuristic%20cyberpunk%20anime%20style%2C%20wide%20banner%2C%20cinematic%2C%20no%20text%2C%20no%20people&image_size=landscape_16_9');
  background-size: cover; background-position: center;
  filter: brightness(.75) saturate(1.15);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,26,.35) 0%, rgba(11,13,26,.65) 70%, var(--bg-dark) 100%);
}
.hero-inner {
  max-width: 1100px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
  animation: rise .8s ease-out both;
}
.hero-content {
  flex: 1 1 auto; max-width: 620px; text-align: left;
  animation: rise .8s ease-out both;
}
.hero-preview {
  flex: 0 0 auto; position: relative;
  width: 240px; aspect-ratio: 9 / 19;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(108,92,231,.4), rgba(0,210,255,.25));
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 210, 255, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transform: rotate(-3deg);
  transition: transform .4s ease;
}
.hero-preview:hover { transform: rotate(0deg) translateY(-6px); }
.hero-preview-img {
  display: block; width: 100%; height: 100%;
  border-radius: 24px; object-fit: cover; object-position: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 900; letter-spacing: 2px; line-height: 1.15;
  background: linear-gradient(90deg, #fff 0%, var(--accent) 55%, var(--primary-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 210, 255, .25));
}
.hero-title span { font-size: .5em; vertical-align: middle; letter-spacing: 4px; }
.hero-slogan {
  margin-top: 14px; font-size: clamp(18px, 3.4vw, 26px); font-weight: 600;
  color: var(--accent2);
}
.hero-desc { margin-top: 10px; color: var(--text-dim); font-size: 15px; }
.hero-meta {
  margin-top: 14px; display: inline-block; font-size: 12px; color: #cfd3f2;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 16px; border-radius: 999px;
}
.hero-actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-tip { margin-top: 18px; font-size: 13px; color: var(--text-dim); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 700; transition: all .25s ease; cursor: pointer;
  border: none;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 26px rgba(108, 92, 231, .5);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 210, 255, .5); }
.btn-ios {
  color: #fff;
  background: linear-gradient(135deg, #3a3f5c, #1c2033);
  border: 1px solid rgba(255, 255, 255, .16);
}
.btn-ios:hover { transform: translateY(-3px); border-color: var(--accent); }
.btn-outline {
  color: var(--accent);
  border: 1px solid rgba(0, 210, 255, .45);
  background: transparent;
}
.btn-outline:hover { background: rgba(0, 210, 255, .1); }
.btn.btn-sm { padding: 9px 22px; font-size: 14px; }

/* ---------- 区块 ---------- */
.section { padding: 90px 0; }
.section-dark { background: var(--bg-card); }
.section-title {
  text-align: center; font-size: clamp(26px, 4vw, 36px); font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub { text-align: center; color: var(--text-dim); margin-top: 10px; font-size: 15px; }

/* ---------- 下载卡片 ---------- */
.download-cards {
  margin-top: 46px; display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.download-card {
  background: var(--bg-card); border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius); padding: 36px 26px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.download-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 210, 255, .12); }
.card-icon { font-size: 42px; }
.download-card h3 { margin: 14px 0 8px; font-size: 20px; }
.download-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.qr-img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; }

/* ---------- 特性 ---------- */
.features {
  margin-top: 46px; display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .25s ease;
}
.feature:hover { transform: translateY(-5px); }
.feature-icon { font-size: 38px; }
.feature h3 { margin: 14px 0 8px; font-size: 18px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* ---------- 小潮TEAM ---------- */
.team-wrap {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr 1fr;
}
.team-img {
  min-height: 320px; border-radius: var(--radius);
  background-image: url('tupian/logo.png');
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: var(--bg-card);
  box-shadow: 0 20px 50px rgba(108, 92, 231, .25);
}
.team-text p { color: var(--text-dim); margin: 14px 0; font-size: 15px; }
.team-text .btn { margin-top: 12px; }

/* ---------- 下载指南 ---------- */
.guide-steps {
  margin-top: 46px; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.step {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
}
.step-num {
  width: 40px; height: 40px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.step p { color: var(--text-dim); font-size: 14px; }
.guide-warn {
  margin-top: 34px; text-align: center; font-size: 13px;
  color: #ffb86b;
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 44px 20px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--text-dim); font-size: 13px;
}
.footer p { margin: 6px 0; }
.footer-copy { color: #6b7199; font-size: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { min-height: 88vh; padding: 110px 20px 64px; }
  .hero-inner {
    flex-direction: column; gap: 36px; text-align: center;
  }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-preview { width: 200px; transform: rotate(0deg); }
  .team-wrap { grid-template-columns: 1fr; }
  .team-img { min-height: 220px; }
  .section { padding: 64px 0; }
}
