/* ═══ Variables ═══ */
:root {
  --primary: #3068FF;
  --primary-light: rgba(48, 104, 255, 0.08);
  --primary-dark: #1a4fd4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --grey: #64748b;
  --grey-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ═══ Reset ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ═══ Container ═══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══ Navbar ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { border-bottom-color: #e2e8f0; box-shadow: 0 1px 12px rgba(0,0,0,0.04); }
.nav-container { display: flex; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--dark); }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 8px; font-size: 14px; }
.navbar .logo { color: var(--primary); }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--grey); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ═══ Buttons ═══ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(48, 104, 255, 0.3); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid #e2e8f0; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }

/* ═══ Section Commons ═══ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge { display: inline-block; padding: 6px 16px; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; border-radius: 20px; margin-bottom: 16px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-subtitle { font-size: 16px; color: var(--grey); margin-top: 12px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ═══ Hero ═══ */
.hero { padding: 120px 0 60px; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: var(--primary); opacity: 0.04; border-radius: 50%; filter: blur(80px); }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; padding: 8px 16px; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; border-radius: 24px; margin-bottom: 20px; }
.hero-title { font-size: 56px; font-weight: 900; line-height: 1.1; color: var(--dark); }
.hero-subtitle { font-size: 18px; color: var(--grey); margin: 20px 0 32px; line-height: 1.7; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.stat-number { display: block; font-size: 28px; font-weight: 800; color: var(--dark); }
.stat-label { font-size: 13px; color: var(--grey-light); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: #e2e8f0; }

/* Hero Image */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img { max-width: 480px; max-height: 480px; border-radius: 20px; object-fit: contain; }

/* ═══ Features ═══ */
.features { padding: 80px 0; background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid #e2e8f0; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.feature-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }

/* ═══ How It Works ═══ */
.how-it-works { padding: 80px 0; }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 16px; }
.step-card { text-align: center; padding: 40px 32px; background: var(--white); border-radius: var(--radius); border: 1px solid #e2e8f0; flex: 1; max-width: 300px; transition: all 0.3s; }
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number { width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: white; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--grey); line-height: 1.6; }
.step-connector { width: 40px; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); flex-shrink: 0; }

/* ═══ Testimonials ═══ */
.testimonials { padding: 80px 0; background: var(--light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid #e2e8f0; }
.testimonial-stars { color: #FF9500; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--dark); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--dark); }
.testimonial-author span { font-size: 12px; color: var(--grey-light); }

/* ═══ Download CTA ═══ */
.download-cta { padding: 80px 0; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: white; overflow: hidden; position: relative; }
.download-cta::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: var(--primary); opacity: 0.1; border-radius: 50%; filter: blur(60px); }
.download-container { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.download-content h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.download-content p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 420px; line-height: 1.7; }
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; color: white; transition: all 0.2s; }
.store-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.store-btn small { display: block; font-size: 11px; opacity: 0.7; }
.store-btn strong { display: block; font-size: 15px; }
.download-img { max-width: 380px; max-height: 380px; border-radius: 20px; object-fit: contain; }

/* ═══ Footer ═══ */
.footer { padding: 60px 0 0; background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: var(--primary); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-links h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { font-size: 13px; text-align: center; }

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid #e2e8f0; box-shadow: var(--shadow); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 280px; max-height: 280px; }

  .section-title { font-size: 28px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-connector { width: 2px; height: 24px; background: linear-gradient(180deg, var(--primary), transparent); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .download-container { grid-template-columns: 1fr; text-align: center; }
  .download-content h2 { font-size: 28px; }
  .download-content p { margin-left: auto; margin-right: auto; }
  .download-buttons { justify-content: center; }
  .download-visual { display: none; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
  .footer-container { grid-template-columns: 1fr; }
  .features-grid { gap: 16px; }
  .feature-card { padding: 24px; }
}

/* ═══ Animations ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeUp 0.8s ease-out; }
.hero-visual { animation: fadeUp 0.8s ease-out 0.2s both; }
.feature-card { animation: fadeUp 0.6s ease-out both; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
