/* ===============================
   RESET & BASE
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #4b2c20;
  background: linear-gradient(to bottom, #b3e9ff 0%, #e0f9b5 60%, #fdf3d0 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===============================
   NAVIGATION
   =============================== */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1em 2em;
  background: rgba(255,255,255,0.8);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.logo-frame {
  padding: 4px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe57f, #ffad75, #ff6f61);
  box-shadow: 0 0 10px rgba(255, 174, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  display: block;
}

.brand-name {
  font-size: 1.6em;
  font-weight: bold;
  background: linear-gradient(90deg, #ffe57f, #ffad75, #ff6f61);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.nav-links a {
  color: #4b2c20;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #ff6f61;
}

/* ===============================
   HERO
   =============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.9)),
    url('FarmBackground.jpg') center/cover no-repeat;
  padding: 2em;
  padding-top: 120px;
  min-height: 100vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-video .video-frame {
  background: #fffdf7;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 0 25px rgba(255,174,66,0.4);
  max-width: 350px;
}

.hero-image {
  width: 100%;
  border-radius: 16px;
}

.hero-text {
  text-align: left;
}

.hero-text .glow {
  font-size: 2.5em;
  text-shadow: 0 0 15px #ffd700;
}

.tagline {
  font-size: 1.3em;
  margin: 0.5em 0 1.5em;
  color: #d25b45;
}

.hero-copy {
  margin-top: 1.5em;
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 500px;
  color: #4b2c20;
}

.store-badges img {
  height: 55px;
  margin: 1em;
  max-width: 180px;
  display: inline-block;
  transition: transform 0.3s;
}

.store-badges img:hover {
  transform: scale(1.05);
}

/* ===============================
   ABOUT
   =============================== */
.about {
  padding: 5em 2em;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

/* ===============================
   SCREENSHOTS
   =============================== */
.screenshots {
  padding: 5em 2em;
  background: rgba(255,255,255,0.7);
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.phone-frame {
  background: #fffdf7;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 0 20px rgba(255,174,66,0.3);
}

.phone-frame img {
  width: 100%;
  border-radius: 16px;
}

/* ===============================
   CTA
   =============================== */
.cta {
  text-align: center;
  padding: 5em 2em;
  background: linear-gradient(to right, #fff8d6, #ffdcc0);
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 1em;
  color: #d25b45;
}

.cta p {
  font-size: 1.2em;
  margin-bottom: 2em;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
  background: rgba(255,255,255,0.8);
  color: #4b2c20;
  border-top: 2px solid #ffe57f;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-video {
    margin-bottom: 1.5em;
  }
  .hero-text {
    text-align: center;
  }
}

/* ===============================
   PRIVACY POLICY PAGE
   =============================== */
.policy-container {
  max-width: 900px;
  margin: 140px auto 60px auto; /* pushes down below menu, centers horizontally */
  padding: 2.5em;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,174,66,0.25);
  line-height: 1.6;
  color: #4b2c20;
}

.policy-container h1, 
.policy-container h2, 
.policy-container h3 {
  text-align: center;
  color: #d25b45;
  margin-bottom: 1em;
}

.policy-container p {
  margin-bottom: 1em;
  text-align: justify;
}

@media (max-width: 768px) {
  .policy-container {
    margin: 120px 1em 40px 1em; /* keeps nice side buffer on small screens */
    padding: 1.5em;
  }
}
