/* ===== Custom Properties ===== */
:root {
  --green-primary: #2e7d32;
  --green-dark: #145219;
  --green-light: #4fa753;
  --green-mid1: #226d27;
  --green-mid2: #328336;
  --gold-accent: #f9a825;
  --bg-page: #f5f5f5;
  --bg-white: #ffffff;
  --text-dark: #222;
  --text-body: #555;
  --text-muted: #888;
  --nav-bg: #1b1b1b;
  --footer-bg: #1b1b1b;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

/* ===== Navigation ===== */
.nav {
  background: var(--nav-bg);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-brand span {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid1), var(--green-mid2), var(--green-light));
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 560px;
  opacity: 0.92;
  line-height: 1.5;
}

.hero-mockup {
  width: 260px;
  height: 530px;
  background: #1a1a1a;
  border-radius: 40px;
  border: 4px solid #333;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 4px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-top: 8px;
  position: relative;
  padding: 12px 6px;
}

/* Notch / Dynamic Island */
.hero-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 2;
}

/* Side button accents */
.hero-mockup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 120px;
  width: 3px;
  height: 40px;
  background: #444;
  border-radius: 0 2px 2px 0;
}

.hero-mockup video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  background: #000;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  color: #fff;
}

.store-btn .store-icon {
  font-size: 1.4rem;
}

/* ===== Sections ===== */
.section {
  padding: 64px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-accent);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ===== Section White Bg Variant ===== */
.section-white {
  background: var(--bg-white);
}

/* ===== Prize Callout ===== */
.prize-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.prize-callout .prize-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.prize-callout p {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.prize-callout span {
  color: var(--gold-accent);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--text-dark);
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.88;
  text-decoration: none;
  color: var(--text-dark);
}

/* ===== Page Content (About, Contact, Privacy, Terms) ===== */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid2));
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
}

.page-header p {
  margin-top: 8px;
  opacity: 0.85;
  font-size: 1.05rem;
}

.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 8px;
}

.card p,
.card ul {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

.card ul {
  padding-left: 20px;
  margin-top: 8px;
}

.card ul li {
  margin-bottom: 4px;
}

.last-updated {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===== Contact Form ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-stack);
  background: #f9f9f9;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  display: inline-block;
  background: var(--green-primary);
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.contact-info {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--green-primary);
  font-weight: 600;
}

/* ===== About Page ===== */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.highlight-item {
  text-align: center;
  padding: 20px;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.highlight-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  color: #aaa;
  padding: 40px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand span {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 16px;
  color: #666;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 16px 24px;
    gap: 16px;
    border-top: 1px solid #333;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 56px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-mockup {
    width: 200px;
    height: 410px;
    border-radius: 32px;
    padding: 10px 5px;
  }

  .hero-mockup::before {
    width: 60px;
    height: 20px;
    top: 8px;
  }

  .section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .card {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}
