/* GroceryTap Website Styles */

:root {
  --primary-green: #1a7f37;
  --primary-green-dark: #156b2d;
  --text-color: #333;
  --text-muted: #666;
  --bg-color: #fff;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
}

.logo:hover {
  color: var(--primary-green-dark);
}

/* Main Content */
main {
  padding-bottom: 60px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-color);
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-color);
}

p {
  margin-bottom: 16px;
}

section {
  margin-bottom: 24px;
}

ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

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

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

/* Footer */
footer {
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Landing Page Styles */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  background-color: var(--primary-green);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.store-badge {
  height: 50px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 60px 0;
}

.feature {
  background: var(--bg-light);
  padding: 24px;
  border-radius: 16px;
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.feature p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.links-section {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.links-section a {
  margin: 0 16px;
  color: var(--text-muted);
}

.links-section a:hover {
  color: var(--primary-green);
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero .tagline {
    font-size: 16px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
  }
}
