/* PollenMate Landing Page Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary-sky: #82CFFD;
  --primary-violet: #9487F2;
  --primary-indigo: #2F2D59;
  --secondary-lavender: #E8E6FF;
  --secondary-white: #F9FAFB;
  --secondary-grey: #A7A7A7;
  --alert-low: #56C596;
  --alert-moderate: #FCD34D;
  --alert-high: #F87171;
  --font-main: 'Inter', 'Nunito', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #fff;
  color: var(--primary-indigo);
  min-height: 100vh;
}

.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 2.5rem;
  box-sizing: border-box;
}

.site-header, .hero, .features, .app-preview, .trust, .site-footer {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}
.site-header, .site-footer {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.site-header {
  background: var(--secondary-white);
  box-shadow: 0 2px 8px rgba(47,45,89,0.04);
  border-radius: 0 0 2rem 2rem;
  padding: 1.5rem 0 1rem 0;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-indigo);
}
.brand-logo {
  height: 2.2rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.5rem;
}
.main-nav a {
  margin: 0 1.2rem;
  color: var(--primary-indigo);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--primary-violet);
}
.main-nav a.active {
  color: var(--primary-violet);
  font-weight: 700;
  text-decoration: underline;
}
.header-cta {
  display: flex;
  gap: 0.7rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  color: inherit;
  font-weight: 600;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: none;
  transition: filter 0.2s;
}
.download-btn img {
  height: 2.5rem;
  width: auto;
  display: block;
}
.download-btn:hover {
  filter: brightness(0.95);
}

.hero {
  background: linear-gradient(120deg, var(--primary-sky) 0%, var(--secondary-lavender) 100%);
  border-radius: 2rem;
  padding: 3rem 0 2rem 0;
}
.hero-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.hero-text {
  flex: 1 1 350px;
  min-width: 300px;
}
.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--primary-indigo);
}
.subheading {
  font-size: 1.25rem;
  color: var(--primary-indigo);
  opacity: 0.85;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-image {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-mockup {
  width: 270px;
  max-width: 90vw;
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px rgba(47,45,89,0.10);
  background: #fff;
  border: 2px solid var(--secondary-grey);
}

.features {
  background: var(--secondary-white);
  border-radius: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem 0;
}
.features-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  justify-content: space-between;
}
.feature {
  flex: 1 1 0;
  min-width: 200px;
  max-width: 340px;
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(148,135,242,0.06);
}
.feature-icon img {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
}
.feature-icon .material-icons {
  font-size: 2.5rem;
  color: var(--primary-violet);
  margin-bottom: 0.7rem;
  display: inline-block;
}
.feature h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.7rem 0;
  color: var(--primary-indigo);
}
.feature p {
  color: var(--primary-indigo);
  opacity: 0.8;
  font-size: 1rem;
}

.app-preview {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}
.preview-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel {
  position: relative;
  width: 290px;
  max-width: 95vw;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-violet);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(148,135,242,0.10);
  transition: background 0.2s;
  z-index: 10;
}
.carousel-btn.prev { left: -2.5rem; }
.carousel-btn.next { right: -2.5rem; }
.carousel-btn:focus { outline: 2px solid var(--primary-sky); }

.trust {
  background: var(--secondary-white);
  border-radius: 2rem;
  padding: 2.5rem 0;
}
.trust-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.privacy {
  flex: 1 1 320px;
  min-width: 220px;
}
.privacy h3 {
  color: var(--primary-indigo);
  margin-bottom: 0.5rem;
}
.privacy p {
  color: var(--primary-indigo);
  opacity: 0.8;
}
.testimonials {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonials blockquote {
  background: #fff;
  border-left: 4px solid var(--primary-sky);
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  color: var(--primary-indigo);
  font-style: italic;
  font-size: 1.05rem;
}

.site-footer {
  background: var(--secondary-white);
  border-radius: 2rem 2rem 0 0;
  padding: 1.5rem 0 1rem 0;
  box-shadow: 0 -2px 8px rgba(47,45,89,0.04);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-indigo);
}
.footer-cta {
  display: flex;
  gap: 0.7rem;
}
.footer-meta {
  color: var(--secondary-grey);
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .header-flex, .features-flex, .trust-flex, .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-flex {
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: flex-start;
  }
  .hero-image, .hero-text {
    width: 100%;
    min-width: 0;
  }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
  .container {
    padding: 0 1.2rem;
  }
  .site-header, .hero, .features, .app-preview, .trust, .site-footer {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .features-flex {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .feature {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .features-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 0.8rem;
  }
  .hero {
    padding: 2rem 0 1rem 0;
  }
  .features, .app-preview, .trust {
    padding: 1.2rem 0;
  }
  .site-header, .site-footer {
    padding: 1rem 0 0.7rem 0;
  }
  .device-mockup {
    width: 98vw;
    max-width: 98vw;
  }
  .site-header, .hero, .features, .app-preview, .trust, .site-footer {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}
