/* My Allotment Landing Page Styles */
:root {
  --primary: #D97706;       /* Harvest Sun amber/orange */
  --primary-dark: #B45309;
  --bg: #FFFBF5;            /* Warm cream background */
  --bg-alt: #FFF7ED;
  --text: #292524;          /* stone-800 */
  --text-secondary: #78716C;
  --surface: #FFFFFF;
  --border: #E7E5E4;
  --green: #65A30D;         /* lime-600 */
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 48px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    padding: 80px 48px;
    gap: 64px;
  }
}

.hero-content {
  max-width: 500px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

@media (min-width: 768px) {
  .store-buttons {
    justify-content: flex-start;
  }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.store-btn svg {
  width: 20px;
  height: 20px;
}

.store-btn.apple {
  background: var(--text);
  color: white;
}

.store-btn.google {
  background: var(--primary);
  color: white;
}

/* Phone Frame */
.hero-phone {
  flex-shrink: 0;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
  .phone-frame {
    width: 300px;
    height: 600px;
  }
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* Features Section */
.features {
  padding: 80px 24px;
  background: var(--surface);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
  padding: 80px 24px;
  background: var(--bg-alt);
}

.screenshots h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
}

.screenshot-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  overflow: hidden;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-img {
  width: 220px;
  height: 440px;
  object-fit: cover;
  border-radius: 24px;
  scroll-snap-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .carousel-img {
    width: 260px;
    height: 520px;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots .dot.active {
  background: var(--primary);
}

/* Privacy Section */
.privacy {
  padding: 80px 24px;
  background: var(--surface);
}

.privacy h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.privacy-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.privacy-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.privacy-content p strong {
  color: var(--text);
}

.privacy-date {
  font-size: 0.9rem;
  margin-top: 32px;
  opacity: 0.7;
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  padding: 48px 24px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-links span {
  margin: 0 12px;
  opacity: 0.5;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Hero screenshot transition */
#hero-screenshot {
  transition: opacity 0.3s ease;
}
