/* style.css */
:root {
  --bg-color: #fbfbfd;
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --accent: #0066cc;
  --accent-hover: #0077ed;
  --surface: #ffffff;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--text-main);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo-icon.small {
  width: 24px; height: 24px; border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover:not(.btn) {
  color: var(--text-main);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--text-main);
  color: #fff;
}
.btn-primary:hover {
  background: #333336;
  transform: scale(1.02);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

.btn-gradient {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 114, 255, 0.3);
}
.btn-gradient:hover {
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(0,0,0,0.05);
}

.btn-black {
  background: var(--text-main);
  color: #fff;
}
.btn-black:hover { transform: scale(1.02); background: #000; }

/* 英雄首屏 */
.hero {
  padding: 160px 24px 80px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.text-gradient {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Screenshot Styles */
.hero-mockup {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.screenshot-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.05);
  transform: perspective(1000px) rotateX(2deg);
  transform-origin: top center;
  transition: transform 0.5s ease-out, box-shadow 0.5s ease;
}

.screenshot-wrapper:hover {
  transform: perspective(1000px) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Features */
.features {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Showcase */
.showcase {
  background: #ffffff;
  padding: 120px 24px;
}
.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
.showcase-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.check-list {
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 1.1rem;
}
.check-list li svg {
  color: var(--accent);
}

.detail-screenshot-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}

.detail-screenshot-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

/* CTA */
.cta-section {
  padding: 120px 24px;
  text-align: center;
}
.cta-container h2 { font-size: 3rem; margin-bottom: 16px; }
.cta-container p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpAnim {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-container { grid-template-columns: 1fr; }
}
