/* Gardener App - Cottage-core Aesthetic Stylesheet */

:root {
  /* Cottage-core color palette */
  --sage-green: #9caf88;
  --moss-green: #6b7f5b;
  --terracotta: #d4957a;
  --cream: #f5f1e8;
  --soft-peach: #f4d9c6;
  --warm-white: #fffbf5;
  --text-dark: #3a3a3a;
  --text-medium: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--warm-white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Decorative background elements */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(156, 175, 136, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(212, 149, 122, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll animation classes */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  animation-fill-mode: both;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* Modern Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--moss-green);
  transition: opacity 0.2s ease;
}

.header-brand:hover {
  opacity: 0.8;
}

.header-logo {
  color: var(--moss-green);
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Desktop Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--moss-green);
  background: rgba(156, 175, 136, 0.1);
}

.nav-link.active {
  color: var(--moss-green);
  background: rgba(156, 175, 136, 0.15);
}

.nav-donate {
  background: var(--terracotta);
  color: var(--warm-white) !important;
  margin-left: 0.5rem;
}

.nav-donate:hover {
  background: #c4856a;
  color: var(--warm-white) !important;
}

.nav-donate.active {
  background: #a35d3d;
  color: var(--warm-white) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(156, 175, 136, 0.1);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--moss-green);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Hamburger animation when open */
.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-container {
    padding: 0.625rem 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--warm-white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(156, 175, 136, 0.2);
  }

  .header-nav.open {
    max-height: 300px;
    padding: 0.5rem 0;
  }

  .nav-link {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(156, 175, 136, 0.1);
  }

  .nav-donate.active {
    background: rgba(156, 175, 136, 0.1);
    color: var(--text-dark) !important;
  }
}

/* Main Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

/* Remove top padding when hero-modern is first child (homepage) */
main:has(> .hero-modern:first-child) {
  padding-top: 0;
}

/* Remove bottom padding on donate page to eliminate gap before footer */
main:has(+ .donate-footer) {
  padding-bottom: 0;
}

/* Hero Section - Modern Design */
.hero-modern {
  background: linear-gradient(135deg, #4a5d3e 0%, #6b7f5b 40%, #8fa07a 100%);
  padding: 4rem 2rem 5rem;
  margin-bottom: 3rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}

.hero-background-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 60% 60%,
      rgba(212, 149, 122, 0.1) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-content {
  flex: 1;
  max-width: 550px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--warm-white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-modern h1 {
  color: var(--warm-white);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-modern h1 .text-accent {
  color: var(--soft-peach);
  display: inline-block;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Compact hero for secondary pages */
.hero-modern.hero-compact {
  min-height: auto;
  padding: 3rem 2rem;
  margin-bottom: 0;
}

.hero-modern.hero-compact .hero-content {
  justify-content: center;
  text-align: center;
}

.hero-modern.hero-compact .hero-text-content {
  max-width: 700px;
}

.hero-modern.hero-compact .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-store-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-store-badges .store-badge-link {
  display: block;
  transition: all 0.3s ease;
}

.hero-store-badges .store-badge-link:hover {
  transform: translateY(-2px);
}

.hero-store-badges .store-badge-link img {
  height: 200px;
  width: auto;
  display: block;
}

.coming-soon-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-style: italic;
}

.hero-visual {
  position: relative;
  flex: 0 0 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
}

.hero-phone-wrapper {
  position: relative;
  z-index: 2;
}

.hero-phone {
  width: 340px;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

.hero-cactus {
  position: absolute;
  left: -100px;
  bottom: 0;
  width: 260px;
  height: auto;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
  animation-delay: 1s;
}

/* Old Hero Section - Keep for other pages */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--soft-peach) 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

.hero h2 {
  color: var(--moss-green);
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero p {
  color: var(--text-medium);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.download-badge {
  display: inline-block;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.store-badge-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.store-badge-link:hover {
  transform: scale(1.05);
}

.download-badge img {
  height: 60px;
  transition: opacity 0.3s ease;
}

/* Features Section */
.features {
  margin-bottom: 3rem;
}

.features h2 {
  color: var(--moss-green);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.features h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-green), var(--terracotta));
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--cream);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    background-color 0.3s ease;
  border: 1px solid rgba(156, 175, 136, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/leavesBG.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 2;
}

.feature-card:hover::after {
  left: 100%;
}

.feature-card:hover::before {
  opacity: 0.15;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--sage-green);
}

.feature-card h3 {
  color: var(--moss-green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover h3 {
  color: var(--sage-green);
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Screenshots Section */
.screenshots {
  margin-bottom: 3rem;
  background: transparent;
}

.screenshots h2 {
  color: var(--moss-green);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.screenshots h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-green), var(--terracotta));
  border-radius: 2px;
}

/* Screenshot Carousel */
.screenshot-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.screenshot-main {
  max-width: 280px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-main img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  transition: opacity 0.3s ease;
}

.carousel-btn {
  background: var(--sage-green);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--warm-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--moss-green);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

/* Screenshot Thumbnails */
.screenshot-thumbnails-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.screenshot-thumbnails-wrapper::before,
.screenshot-thumbnails-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.screenshot-thumbnails-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--warm-white) 0%, transparent 100%);
}

.screenshot-thumbnails-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--warm-white) 0%, transparent 100%);
}

.screenshot-thumbnails {
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.screenshot-thumbnail {
  flex: 0 0 auto;
  width: 80px;
  cursor: pointer;
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid transparent;
}

.screenshot-thumbnail:hover {
  opacity: 0.7;
  transform: scale(0.95);
}

.screenshot-thumbnail.active {
  opacity: 1;
  border-color: var(--sage-green);
  transform: scale(1.1);
}

.screenshot-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Privacy Policy Page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--warm-white);
  padding: 2rem;
}

.privacy-content h1 {
  color: var(--moss-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-content h2 {
  color: var(--sage-green);
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cream);
}

.privacy-content h3 {
  color: var(--moss-green);
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-content ul,
.privacy-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 2rem;
}

.highlight-box {
  background-color: var(--cream);
  border-left: 4px solid var(--sage-green);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form h1 {
  color: var(--moss-green);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--moss-green);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--sage-green);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--warm-white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--moss-green);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--sage-green);
  color: var(--warm-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.submit-btn:hover {
  background-color: var(--moss-green);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background: linear-gradient(
    135deg,
    var(--moss-green) 0%,
    var(--sage-green) 100%
  );
  color: var(--cream);
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

footer a {
  color: var(--soft-peach);
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--warm-white);
  transform: translateY(-2px);
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  margin: 0 1rem;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sage-green), var(--moss-green));
  color: var(--warm-white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-modern {
    min-height: auto;
    padding: 3rem 2rem 4rem;
  }

  .hero-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .hero-text-content {
    max-width: 100%;
  }

  .hero-modern h1 {
    font-size: 2.75rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-store-badges {
    justify-content: center;
  }

  .coming-soon-text {
    text-align: center;
  }

  .hero-visual {
    flex: 0 0 auto;
    min-height: 450px;
  }

  .hero-cactus {
    left: auto;
    right: -80px;
    width: 200px;
    bottom: 50px;
  }

  .hero-phone {
    width: 300px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 1.5rem 1.5rem 2rem;
  }

  /* Remove top padding when hero-modern is first child (homepage) */
  main:has(> .hero-modern:first-child) {
    padding-top: 0;
  }

  /* Ensure hero sits flush against header on mobile */
  main > .hero-modern:first-child {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Override inline styles for full-width sections on mobile */
  .features[style*="calc(-50vw"],
  .screenshots[style*="calc(-50vw"],
  .why-gardener-section[style*="calc(-50vw"] {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-modern {
    padding: 2rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-modern h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-features {
    gap: 1rem;
  }

  .hero-feature {
    font-size: 0.85rem;
  }

  .hero-store-badges {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .hero-store-badges .store-badge-link img {
    height: 180px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-phone {
    width: 260px;
  }

  .hero-cactus {
    width: 160px;
    left: auto;
    right: -60px;
    bottom: 40px;
  }

  .features h2,
  .screenshots h2 {
    font-size: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-carousel {
    gap: 1rem;
  }

  .screenshot-main {
    max-width: 300px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .screenshot-thumbnail {
    width: 60px;
  }

  .screenshot-thumbnails-wrapper::before,
  .screenshot-thumbnails-wrapper::after {
    display: block;
    width: 40px;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }

  .privacy-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1rem 1rem 1rem;
  }

  /* Remove top padding when hero-modern is first child (homepage) */
  main:has(> .hero-modern:first-child) {
    padding-top: 0;
  }

  /* Ensure hero sits flush against header on small mobile */
  main > .hero-modern:first-child {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Override inline styles for full-width sections on small mobile */
  .features[style*="calc(-50vw"],
  .screenshots[style*="calc(-50vw"],
  .why-gardener-section[style*="calc(-50vw"] {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .feature-card,
  .contact-form {
    padding: 2rem;
  }

  .hero-modern {
    padding: 1.5rem 1rem 2.5rem;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }

  .hero-modern h1 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
  }

  .hero-feature {
    font-size: 0.8rem;
  }

  .hero-store-badges .store-badge-link img {
    height: 150px;
  }

  .hero-store-badges {
    flex-direction: row;
    gap: 0.5rem;
  }

  .coming-soon-text {
    font-size: 0.8rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-phone {
    width: 220px;
  }

  .hero-cactus {
    width: 120px;
    left: auto;
    right: -40px;
    bottom: 30px;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .screenshot-carousel {
    gap: 0.5rem;
  }

  .screenshot-main {
    max-width: 220px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .screenshot-thumbnail {
    width: 50px;
  }

  .screenshot-thumbnails-wrapper::before,
  .screenshot-thumbnails-wrapper::after {
    width: 30px;
  }

  .screenshot-thumbnails {
    padding: 1rem 1.5rem;
  }
}

/* Donate Page Styles */

/* Full-width section layout */
.donate-fullwidth-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem 2rem;
}

.donate-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.donate-section-inner h2 {
  color: var(--moss-green);
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.donate-section-inner h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-green), var(--terracotta));
  border-radius: 2px;
}

/* Background color variants */
.donate-bg-cream {
  background: var(--cream);
}

.donate-bg-white {
  background: var(--warm-white);
}

.donate-bg-peach {
  background: linear-gradient(135deg, var(--soft-peach) 0%, #f9e4d4 100%);
}

.donate-bg-green {
  background: linear-gradient(
    135deg,
    var(--moss-green) 0%,
    var(--sage-green) 100%
  );
}

/* Light text for dark backgrounds */
.donate-heading-light {
  color: var(--warm-white) !important;
}

.donate-heading-light::after {
  background: linear-gradient(
    90deg,
    var(--warm-white),
    var(--soft-peach)
  ) !important;
}

.donate-text-light {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.donate-tagline-light {
  color: var(--soft-peach);
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* 3-column grid */
.donate-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 968px) {
  .donate-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Donate button */
.donate-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.donate-btn-light {
  background: var(--warm-white);
  color: var(--moss-green);
}

.donate-btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Donation CTA Highlight Section */
.donate-cta-highlight {
  background: linear-gradient(135deg, var(--moss-green) 0%, #5a8a5a 100%);
  position: relative;
  overflow: hidden;
}

.donate-cta-highlight::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.donate-cta-inner {
  position: relative;
  z-index: 1;
}

.donate-cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--warm-white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.donate-cta-heading {
  color: var(--warm-white) !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate-cta-heading::after {
  background: var(--warm-white) !important;
  opacity: 0.5;
}

.donate-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.donate-btn-cta {
  background: var(--warm-white);
  color: var(--moss-green);
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.donate-btn-cta:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* What Your Support Enables */
.donate-enables-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 16px;
}

.donate-enables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.donate-enables-list li {
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.donate-enables-list li::before {
  content: "\2022";
  color: var(--moss-green);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

.donate-enables-list li strong {
  color: var(--moss-green);
}

/* Commitment section */
.donate-commitment-intro {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.donate-commitment-list-centered {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  max-width: 400px;
  text-align: left;
}

.donate-commitment-list-centered li {
  line-height: 2;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-dark);
}

.donate-commitment-list-centered li::before {
  content: "\2713";
  color: var(--moss-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.donate-commitment-note {
  font-style: italic;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Donate page extended footer */
.donate-footer {
  padding-top: 4rem;
}

.donate-footer-thankyou {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.donate-footer-thankyou h2 {
  color: var(--warm-white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.donate-footer-thankyou p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

.donate-footer-tagline {
  color: var(--soft-peach) !important;
  font-size: 1.2rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 6rem !important;
}

/* Back link */
.back-link {
  text-align: center;
  margin-top: 3rem;
}

.back-link a {
  color: var(--sage-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: var(--moss-green);
}

/* Mobile adjustments for donate page */
@media (max-width: 768px) {
  .donate-fullwidth-section {
    padding: 3rem 1.5rem;
  }

  .donate-section-inner h2 {
    font-size: 1.5rem;
  }

  .donate-enables-container {
    padding: 1.5rem;
  }

  .donate-cta-heading {
    font-size: 2rem;
  }

  .donate-cta-text {
    font-size: 1rem;
  }

  .donate-btn-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .donate-fullwidth-section {
    padding: 2.5rem 1rem;
  }
}

/* Why Choose Gardener Section */
.why-gardener-section {
  margin: 4rem 0;
  padding: 0;
}

.why-gardener-container {
  background: linear-gradient(135deg, var(--sage-green) 0%, #b8c9a8 100%);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 3rem 2rem;
}

.why-gardener-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-gardener-illustration {
  flex: 0 0 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.woman-illustration {
  width: 100%;
  height: 600px;
  display: block;
  object-fit: contain;
  object-position: center;
  animation: float 6s ease-in-out infinite;
}

.why-gardener-content {
  flex: 1;
  padding: 0;
  max-width: 600px;
}

.why-gardener-header {
  background: var(--terracotta);
  border-radius: 20px 20px 0 0;
  padding: 1.5rem 2rem;
  margin: 0 0 0 0;
}

.why-gardener-header h2 {
  color: var(--warm-white);
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

.why-gardener-card {
  background: var(--warm-white);
  border-radius: 0 0 20px 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.why-gardener-card h3 {
  color: var(--moss-green);
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}

.why-gardener-intro {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.why-gardener-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.why-gardener-list li {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.why-gardener-list li::before {
  content: "•";
  color: var(--moss-green);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.1rem;
}

.why-gardener-list li strong {
  color: var(--moss-green);
}

.why-gardener-closing {
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
}

/* Mobile Layout for Why Gardener Section */
@media (max-width: 768px) {
  .why-gardener-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .why-gardener-inner {
    flex-direction: column;
  }

  .why-gardener-illustration {
    flex: 0 0 auto;
    width: 100%;
    order: 2;
    padding: 2rem 1rem;
    min-height: auto;
  }

  .woman-illustration {
    max-width: 350px;
    height: auto;
  }

  .why-gardener-content {
    flex: 1;
    width: 100%;
    order: 1;
    padding: 0;
    max-width: 100%;
  }

  .why-gardener-header {
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
  }

  .why-gardener-header h2 {
    font-size: 1.5rem;
  }

  .why-gardener-card {
    padding: 2rem;
    border-radius: 0;
  }

  .why-gardener-card h3 {
    font-size: 1.25rem;
  }

  .why-gardener-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .why-gardener-section {
    margin: 2rem 0;
    padding: 0;
  }

  .why-gardener-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .why-gardener-illustration {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .why-gardener-header {
    padding: 1.25rem 1.5rem;
  }

  .why-gardener-header h2 {
    font-size: 1.3rem;
  }

  .why-gardener-card {
    padding: 1.5rem;
  }

  .why-gardener-card h3 {
    font-size: 1.1rem;
  }

  .why-gardener-intro,
  .why-gardener-list li,
  .why-gardener-closing {
    font-size: 0.9rem;
  }

  .woman-illustration {
    max-width: 260px;
    height: auto;
  }
}
