:root {
  --primary: #ef274d;
  --primary-dark: #c91f3f;
  --bg: #0a0a0c;
  --bg-card: #141418;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 12, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(239, 39, 77, 0.25), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(239, 39, 77, 0.15);
  color: #ff6b8a;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #ffb3c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-desc strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 32px rgba(239, 39, 77, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 18px;
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

.phone-mock {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: 280px;
  height: 520px;
  border-radius: 32px;
  border: 3px solid #2a2a32;
  background: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 12px;
}

.screen-bar {
  height: 8px;
  width: 80px;
  background: #333;
  border-radius: 4px;
  margin: 8px auto 16px;
}

.screen-feed {
  flex: 1;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.feed-item {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #2d1a22 0%, #111 60%);
  opacity: 0.4;
}

.feed-item.active {
  opacity: 1;
  background: linear-gradient(180deg, rgba(239, 39, 77, 0.35) 0%, #1a1014 50%, #0a0a0c 100%);
}

.screen-tab {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.section {
  padding: 80px 0;
}

.section-dark {
  background: #0e0e12;
}

.section-muted {
  background: #101014;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 16px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(239, 39, 77, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 14px;
}

.download-wrap {
  text-align: center;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.download-card {
  display: block;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.download-card:not(.disabled):hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.download-card.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.download-label {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 8px;
}

.download-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.download-card small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.download-tip {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(239, 39, 77, 0.08);
  border: 1px solid rgba(239, 39, 77, 0.2);
  text-align: left;
  font-size: 14px;
  color: var(--text-muted);
}

.download-tip code {
  color: #ff8fa3;
  word-break: break-all;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.contact-grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-grid p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-grid a {
  color: var(--primary);
}

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

.footer-inner p + p {
  margin-top: 8px;
}

.footer a:hover {
  color: var(--text);
}

.page-hero {
  padding: 48px 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
}

.legal-content {
  padding: 48px 0 80px;
}

.legal-content h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-cards,
  .feature-grid,
  .download-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-desc,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-mock {
    order: -1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
