:root {
  --primary: #34C759;
  --secondary: #73E694;
  --text-primary: #222;
  --text-secondary: #555;
  --bg-shade: #f9f9f9;
  --bg-color: #fff;
}

/* Dark theme follows system/browser preference */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #34C759; /* keep same primary */
    --secondary: #2a6a3c;
    --text-primary: #e9eef0;
    --text-secondary: #c6d2d6;
    --bg-shade: #0b0d0e;
    --bg-color: #071012;
  }
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-color);
}

.hero .logo {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.hero .logo {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.hero h1 {
  font-size: 3rem;
  margin: 0.5rem 0;
}

.hero .tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.download-btn {
  background-color: var(--bg-color);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 4rem 1rem;
  background-color: var(--bg-shade);
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.feature {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

html[data-theme="dark"] .feature {
  background: #0f1516;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Screenshots */
.screenshots {
  padding: 4rem 1rem;
  text-align: center;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.screenshot-grid img {
  width: 200px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background-color: var(--bg-shade);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

html[data-theme="dark"] .footer {
  background-color: var(--bg-shade);
  color: var(--text-secondary);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}
