:root{
  --green: #4CAF50;
  --green-dark: #388E3C;
  --green-light: #E8F5E9;
  --red: #E53935;
  --text: #263238;
  --text-light: #607D8B;
  --white: #ffffff;
  --bg: #FAFAFA;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

html{scroll-behavior:smooth;}

body{
  font-family:'Tajawal', Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  padding-bottom:70px;
}

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

h1,h2,h3{font-weight:900;}
h2{font-size:1.8rem;text-align:center;margin-bottom:28px;color:var(--green-dark);}
h3{font-size:1.15rem;margin-bottom:8px;}
img{max-width:100%;display:block;}

.section{padding:56px 0;}

/* Buttons */
.btn{
  display:inline-block;
  border:none;
  border-radius:50px;
  cursor:pointer;
  font-family:inherit;
  font-weight:700;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:active{transform:scale(0.97);}
.btn-primary{
  background:linear-gradient(135deg, var(--green), var(--green-dark));
  color:var(--white);
  box-shadow:0 6px 18px rgba(76,175,80,0.4);
}
.btn-small{padding:10px 22px;font-size:0.9rem;}
.btn-large{padding:16px 36px;font-size:1.15rem;width:100%;max-width:420px;}

/* Header */
.site-header{
  background:var(--white);
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
}
.logo{font-weight:900;font-size:1.2rem;color:var(--green-dark);}

/* Hero */
.hero{padding:40px 0;}
.hero-inner{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}
.hero-text{flex:1 1 420px;}
.hero-image{flex:1 1 380px;}
.hero-image img{border-radius:var(--radius);box-shadow:var(--shadow);}

.tag{
  display:inline-block;
  background:var(--green-light);
  color:var(--green-dark);
  padding:6px 16px;
  border-radius:50px;
  font-size:0.85rem;
  font-weight:700;
  margin-bottom:16px;
}
.hero-text h1{font-size:2.3rem;margin-bottom:16px;color:var(--text);}
.hero-sub{font-size:1.05rem;color:var(--text-light);margin-bottom:22px;}

.price-box{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.price-box.center{justify-content:center;margin:20px auto;}
.price-now{
  font-size:2.4rem;
  font-weight:900;
  color:var(--red);
}
.price-note{
  background:var(--green-light);
  color:var(--green-dark);
  padding:5px 14px;
  border-radius:50px;
  font-size:0.9rem;
  font-weight:700;
}

.mini-trust{
  list-style:none;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:20px;
  font-size:0.9rem;
  color:var(--text-light);
}

/* Trust bar */
.trust-bar{background:var(--green-dark);color:var(--white);padding:18px 0;}
.trust-bar-inner{
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:14px;
  text-align:center;
  font-weight:700;
  font-size:0.95rem;
}
.trust-item span{font-size:1.2rem;margin-left:6px;}

/* Problem */
.problem-grid{
  display:flex;
  gap:36px;
  flex-wrap:wrap;
  align-items:center;
}
.problem-list{list-style:none;flex:1 1 320px;font-size:1.05rem;}
.problem-list li{margin-bottom:12px;}
.solution-box{
  flex:1 1 320px;
  background:var(--green-light);
  border-radius:var(--radius);
  padding:24px;
  font-size:1.05rem;
}
.solution-box p{margin-bottom:8px;}

/* Creative banner */
.creative-banner img{border-radius:var(--radius);box-shadow:var(--shadow);margin:0 auto;}

/* Features */
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:24px;
}
.feature-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  text-align:center;
}
.feature-img{
  width:100%;
  height:160px;
  border-radius:10px;
  margin-bottom:16px;
  background-image:url('../images/coupe-legumes.png');
  background-size:200% 200%;
}
.crop-top-right{background-position:right top;}
.crop-bottom-left{background-position:left bottom;}
.crop-bottom-right{background-position:right bottom;}
.crop-left{background-position:left top;}

/* How it works */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:24px;
  text-align:center;
}
.step{background:var(--white);border-radius:var(--radius);padding:28px 20px;box-shadow:var(--shadow);}
.step-number{
  width:44px;height:44px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;font-size:1.2rem;
  margin:0 auto 14px;
}

/* Package */
.package-inner{
  display:flex;
  gap:36px;
  align-items:center;
  flex-wrap:wrap;
}
.package-img{
  flex:1 1 320px;
  height:280px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background-image:url('../images/coupe-legumes.png');
  background-size:200% 200%;
}
.package-text{flex:1 1 320px;}
.check-list{list-style:none;font-size:1.05rem;}
.check-list li{margin-bottom:10px;}

/* Testimonials */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:24px;
}
.testimonial-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.stars{color:#FFB300;margin-bottom:10px;font-size:1rem;}
.author{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:14px;
  font-weight:700;
  font-size:0.9rem;
  color:var(--text-light);
}
.avatar{
  width:34px;height:34px;
  border-radius:50%;
  background:var(--green);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
}

/* Guarantee */
.guarantee-grid{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
  text-align:center;
  font-weight:700;
  font-size:1.1rem;
}
.guarantee-item{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:2rem;}
.guarantee-item span{font-size:0.95rem;}

/* FAQ */
.faq-item{
  background:var(--white);
  border-radius:10px;
  padding:14px 20px;
  margin-bottom:12px;
  box-shadow:var(--shadow);
}
.faq-item summary{font-weight:700;cursor:pointer;}
.faq-item p{margin-top:10px;color:var(--text-light);}

/* Final CTA */
.final-cta{
  text-align:center;
  background:var(--green-light);
}
.final-cta p{max-width:520px;margin:0 auto 10px;color:var(--text-light);}
.final-cta .btn{margin-top:10px;}

/* Footer */
.site-footer{
  background:var(--text);
  color:#CFD8DC;
  text-align:center;
  padding:32px 0;
  font-size:0.9rem;
}
.footer-brand{font-weight:900;font-size:1.1rem;color:var(--white);margin-bottom:8px;}
.footer-copy{margin-top:10px;opacity:0.7;font-size:0.8rem;}

/* Sticky bottom bar (mobile) */
.sticky-bar{
  position:fixed;
  bottom:0;left:0;right:0;
  background:var(--white);
  box-shadow:0 -4px 16px rgba(0,0,0,0.1);
  display:none;
  align-items:center;
  justify-content:space-between;
  padding:12px 20px;
  z-index:60;
}
.sticky-price{display:flex;flex-direction:column;line-height:1.2;}
.sticky-price span{font-weight:900;font-size:1.3rem;color:var(--red);}
.sticky-price small{color:var(--text-light);}

@media (max-width:768px){
  .sticky-bar{display:flex;}
  body{padding-bottom:80px;}
  .hero-text h1{font-size:1.8rem;}
}

/* Modal */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:16px;
}
.modal-overlay.open{display:flex;}
.modal-box{
  background:var(--white);
  border-radius:var(--radius);
  padding:28px;
  max-width:460px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  position:relative;
  animation:pop .2s ease;
}
@keyframes pop{from{transform:scale(0.92);opacity:0;}to{transform:scale(1);opacity:1;}}
.modal-close{
  position:absolute;
  top:14px;
  left:14px;
  background:none;
  border:none;
  font-size:1.3rem;
  cursor:pointer;
  color:var(--text-light);
}
.modal-box h3{text-align:center;margin-bottom:6px;}
.modal-sub{text-align:center;color:var(--text-light);font-size:0.9rem;margin-bottom:20px;}

.form-group{margin-bottom:16px;}
.form-group label{display:block;font-weight:700;margin-bottom:6px;font-size:0.92rem;}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea{
  width:100%;
  padding:11px 14px;
  border:1px solid #DDD;
  border-radius:10px;
  font-family:inherit;
  font-size:0.95rem;
}
.form-group input:focus,
.form-group textarea:focus{outline:2px solid var(--green);border-color:var(--green);}

.qty-options{display:flex;gap:10px;flex-wrap:wrap;}
.qty-card{
  position:relative;
  flex:1 1 100px;
  border:2px solid #EEE;
  border-radius:10px;
  padding:10px 8px;
  text-align:center;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:0.85rem;
}
.qty-card input{position:absolute;opacity:0;inset:0;cursor:pointer;}
.qty-card:has(input:checked){border-color:var(--green);background:var(--green-light);}
.qty-label{font-weight:700;}
.qty-price{color:var(--green-dark);font-weight:900;}
.qty-save{color:var(--red);font-size:0.75rem;}

.hp-field{position:absolute;left:-9999px;top:-9999px;}

.total-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:var(--green-light);
  padding:12px 16px;
  border-radius:10px;
  margin:18px 0;
  font-size:1.05rem;
}
.total-row strong{color:var(--red);font-size:1.3rem;}

.form-msg{margin-top:14px;text-align:center;font-weight:700;font-size:0.9rem;min-height:20px;}
.form-msg.success{color:var(--green-dark);}
.form-msg.error{color:var(--red);}

#submitBtn{margin:0 auto;display:block;}
#submitBtn:disabled{opacity:0.6;cursor:not-allowed;}
