@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1E88FF;
  --secondary: #00C2FF;
  --accent: #4DD0FF;
  --gradient: linear-gradient(135deg, #00C2FF 0%, #1E88FF 55%, #1A4DFF 100%);
  --bg: #FFFFFF;
  --surface: #F7F9FC;
  --border: #E5E7EB;
  --text: #111827;
  --text-secondary: #6B7280;
  --radius-l: 20px;
  --radius-m: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ---- Nav ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.navbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.navbar .brand img { width: 36px; height: 36px; border-radius: 10px; }
.navbar nav a { margin-left: 28px; font-weight: 500; color: var(--text-secondary); }
.navbar nav a:hover { color: var(--primary); }

/* ---- Hero ---- */
.hero {
  padding: 60px 24px 90px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 18px;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-logo { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 24px; box-shadow: 0 12px 30px rgba(30,136,255,0.25); }

.store-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 24px rgba(30,136,255,0.3);
  transition: transform 0.2s ease;
}
.store-btn.secondary {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.store-btn:hover { transform: translateY(-2px); }

/* ---- Features ---- */
.features { padding: 80px 24px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 800; margin: 0 0 10px; }
.section-title p { color: var(--text-secondary); font-size: 16px; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(17,24,39,0.08); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--gradient);
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ---- CTA ---- */
.cta {
  margin: 20px 24px 80px;
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 40px;
  border-radius: 28px;
  background: var(--gradient);
  text-align: center;
  color: #fff;
}
.cta h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px; }
.cta p { opacity: 0.9; margin: 0 0 28px; }
.cta .store-btn.secondary { background: #fff; color: var(--primary); border: none; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}
footer a { margin: 0 10px; font-weight: 500; }
footer a:hover { color: var(--primary); }
footer .brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }

/* ---- Legal pages ---- */
.legal { padding: 60px 24px; max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 30px; font-weight: 800; margin-bottom: 24px; }
.legal pre { white-space: pre-wrap; font-family: 'Poppins', sans-serif; line-height: 1.8; color: var(--text-secondary); font-size: 15px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .navbar nav { display: none; }
}
