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

:root {
  --color-primary: #667eea;
  --color-primary-light: #8b9ef5;
  --color-primary-dark: #5568d3;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(100px);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-logo {
  width: 20px;
  height: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.5;
}

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

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

.btn-primary {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.3);
}

/* Phone Frame */
.phone-frame {
  width: 320px;
  height: 640px;
  background: #1f2937;
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  position: relative;
  margin: 0 auto;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #1f2937;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: white;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

/* Features */
.features {
  background: white;
}

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

.feature-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-light);
  line-height: 1.7;
}

/* Screenshots */
.screenshots {
  background: var(--bg-light);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
}

.screenshot-item {
  text-align: center;
}

.screenshot-item figcaption {
  margin-top: 20px;
}

.screenshot-item h3 {
  font-size: 20px;
  font-weight: 600;
}

.screenshot-item p {
  color: var(--text-light);
  margin-top: 8px;
}

/* Download */
.download {
  background: var(--color-primary);
  color: white;
}

.download-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}

.download-card h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.download-steps {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  text-align: left;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: white;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content code {
  display: block;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  font-size: 14px;
  margin-top: 12px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.download-link {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  margin-right: 8px;
}

.download-link:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* FAQ */
.faq {
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

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

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .phone-frame {
    width: 280px;
    height: 560px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .download-card {
    padding: 40px 24px;
  }
}
