:root {
  --primary: #2e7d32;
  --primary-light: #dfffe8;
  --bg: #f7f9fc;
  --text: #1f2933;
  --muted: #6b7280;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(0,0,0,0.08);
  --max-width: 1200px;
}

/* GLOBAL */

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

section {
  padding: 5rem 2rem;
}

h2.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 1rem auto 3rem;
  color: var(--muted);
  font-size: 1.2rem;
}

/* HEADER */

.header {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
}

.nav a:hover {
  color: var(--primary);
}

/* HERO */

.hero {
  max-width: var(--max-width);
  margin: 4rem auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

/* GOOGLE PLAY BADGE */

.play-badge img {
  width: 160px;
  height: auto;
  transition: transform 0.2s ease;
}

.play-badge img:hover {
  transform: scale(1.05);
}

/* HERO IMAGE */

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ABOUT */

.about-grid {
  max-width: var(--max-width);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* FEATURES */

.card-grid {
  max-width: var(--max-width);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.card p {
  color: var(--muted);
}

/* HOW IT WORKS */

.steps-grid {
  max-width: var(--max-width);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-num {
  background: var(--primary-light);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* DOWNLOAD */

.download-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.title-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  vertical-align: middle;
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 1rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: auto;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .download-title {
    flex-direction: column;
    gap: 6px;
  }
}

/* Center the entire download section content */
.section.download {
  text-align: center;
}

/* Center the Google Play badge */
.section.download .play-badge {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Ensure the badge itself scales correctly */
.section.download .play-badge img {
  width: 160px;
  height: auto;
}

