:root {
  --primary: #FF7A45;
  --primary-dark: #E85D2E;
  --secondary: #2B6AFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --border: #E5E7EB;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 50%, #F0F6FF 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 122, 69, 0.1);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--text);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-header {
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.screen-content {
  flex: 1;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.status-card.safe {
  border: 2px solid #10B981;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

.status-text {
  font-size: 18px;
  font-weight: 700;
  color: #059669;
}

.status-time {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-item {
  background: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.features {
  padding: 100px 0;
  background: var(--bg);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 122, 69, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
}

.scenes {
  padding: 100px 0;
  background: var(--bg-soft);
}

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

.scene-item {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.scene-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.scene-item p {
  color: var(--text-light);
  font-size: 15px;
}

.faq {
  padding: 100px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
}

.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.download-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.download-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 160px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
}

.qr-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
  object-fit: cover;
  background: white;
}

a.download-card {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.download-card span {
  font-weight: 600;
}

.footer {
  padding: 32px 0;
  background: var(--text);
  color: white;
  text-align: center;
}

.footer-content p {
  margin: 6px 0;
  font-size: 14px;
  opacity: 0.85;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .feature-grid,
  .scene-list {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .section-title,
  .download-content h2 {
    font-size: 28px;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }
}
