/* ============================================================
   THEHYDROPONICS.COMPANY — Homepage Styles
   ============================================================ */

/* ── Animate-in ─────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.animate-in.visible { opacity: 1; transform: none; }

/* ── Container ──────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  min-height: 52px; cursor: pointer; border: none; text-decoration: none;
}
.btn-primary {
  background: var(--green-accent); color: var(--white);
  box-shadow: 0 6px 24px rgba(45,158,95,0.4);
}
.btn-primary:hover { background: #24885a; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(45,158,95,0.5); text-decoration: none; color: var(--white); }
.btn-ghost {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); text-decoration: none; color: var(--white); }
.btn-large { padding: 1.1rem 3rem; font-size: 1.05rem; }

/* ── Section Shared ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--blue-deep); margin-bottom: 0.75rem; line-height: 1.2;
}
.section-header p { color: var(--grey-dark); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--blue-deep);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo {
  position: absolute; right: 0; top: 0;
  width: 60%; height: 100%; object-fit: cover;
  object-position: center 20%;
}
.hero-blend {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    var(--blue-deep) 0%,
    var(--blue-deep) 35%,
    rgba(10,22,40,0.82) 52%,
    rgba(10,22,40,0.35) 68%,
    rgba(10,22,40,0.1) 85%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 8rem 2rem 5rem;
  width: 100%;
}
.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-block;
  background: rgba(45,158,95,0.2); color: #6ee7a7;
  border: 1px solid rgba(45,158,95,0.4);
  padding: 0.4rem 1.1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.1; margin-bottom: 1.25rem;
}
.hero-heading em { color: #6ee7a7; font-style: italic; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  line-height: 1.65; margin-bottom: 2rem; max-width: 480px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.65); font-size: 0.85rem;
}
.trust-item svg { color: var(--green-accent); flex-shrink: 0; }

/* stagger animation delays */
.hero-badge.animate-in     { transition-delay: 0.1s; }
.hero-heading.animate-in   { transition-delay: 0.22s; }
.hero-sub.animate-in       { transition-delay: 0.34s; }
.hero-ctas.animate-in      { transition-delay: 0.46s; }
.hero-trust.animate-in     { transition-delay: 0.58s; }

/* ═══════════════════════════════════════════
   SHOP BY COUNTRY
═══════════════════════════════════════════ */
.section-countries {
  padding: 5rem 0;
  background: var(--off-white);
}
.country-search-wrap {
  display: flex; align-items: center; gap: 0.75rem;
  max-width: 440px; margin: 0 auto 3rem;
  background: var(--white); border: 1.5px solid var(--grey-light);
  border-radius: 50px; padding: 0.65rem 1.25rem;
  box-shadow: var(--shadow-sm);
  color: var(--grey-mid);
}
.country-search-wrap input {
  border: none; outline: none; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--black); background: transparent; flex: 1;
}
.country-search-wrap input::placeholder { color: var(--grey-mid); }

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.country-card {
  background: var(--white); border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  text-decoration: none; color: var(--black);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.country-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--green-accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-bright); text-decoration: none; }
.country-card:hover::after { transform: scaleX(1); }
.country-flag { width: 60px; height: 40px; border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; box-shadow: var(--shadow-sm); }
.country-flag svg { width: 100%; height: 100%; display: block; }
.country-name { font-weight: 600; font-size: 1.05rem; color: var(--blue-deep); }
.country-url { font-size: 0.8rem; color: var(--grey-mid); }
.country-arrow { font-size: 1.1rem; color: var(--blue-bright); margin-top: auto; transition: transform var(--transition); }
.country-card:hover .country-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════ */
.section-benefits { padding: 5rem 0; background: var(--white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.benefit-card {
  padding: 2rem; border-radius: var(--radius-md);
  background: var(--off-white); border: 1px solid var(--grey-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--blue-light); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--blue-deep); margin-bottom: 0.6rem; }
.benefit-card p { color: var(--grey-dark); font-size: 0.95rem; line-height: 1.65; }

/* stagger */
.benefit-card:nth-child(1).animate-in { transition-delay: 0.05s; }
.benefit-card:nth-child(2).animate-in { transition-delay: 0.1s; }
.benefit-card:nth-child(3).animate-in { transition-delay: 0.15s; }
.benefit-card:nth-child(4).animate-in { transition-delay: 0.2s; }
.benefit-card:nth-child(5).animate-in { transition-delay: 0.25s; }
.benefit-card:nth-child(6).animate-in { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════ */
.section-reviews {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--white);
}
.section-reviews .section-header h2 { color: var(--white); }
.section-reviews .section-header p { color: rgba(255,255,255,0.7); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 2rem;
  backdrop-filter: blur(8px);
}
.review-stars { font-size: 1.2rem; color: #f4c400; margin-bottom: 1rem; }
.review-card blockquote {
  font-size: 0.95rem; color: rgba(255,255,255,0.85);
  line-height: 1.7; font-style: italic; margin-bottom: 1.5rem;
}
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.review-author strong { color: var(--white); display: block; }
.review-author span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════
   PRODUCT
═══════════════════════════════════════════ */
.section-product { padding: 5rem 0; background: var(--white); }
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: start;
}
.product-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue-deep); margin-bottom: 1rem; }
.product-text > p { color: var(--grey-dark); margin-bottom: 2rem; }
.product-range { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.product-item { padding: 1.25rem; border-left: 3px solid var(--blue-bright); background: var(--off-white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.product-item h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--blue-deep); margin-bottom: 0.4rem; }
.product-item p { font-size: 0.9rem; color: var(--grey-dark); line-height: 1.6; margin: 0; }

.product-specs { position: sticky; top: 6rem; }
.product-specs h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--blue-deep); margin-bottom: 1.25rem; padding: 1.25rem; background: var(--blue-deep); border-radius: var(--radius-md) var(--radius-md) 0 0; color: var(--white); }
.specs-table { width: 100%; border-collapse: collapse; border: 1px solid var(--grey-light); border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden; }
.specs-table tr { border-bottom: 1px solid var(--grey-light); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th { text-align: left; padding: 0.75rem 1.25rem; font-size: 0.85rem; color: var(--grey-dark); font-weight: 600; background: var(--off-white); width: 42%; }
.specs-table td { padding: 0.75rem 1.25rem; font-size: 0.9rem; color: var(--black); }
.specs-table tr:nth-child(even) td { background: #fafbfe; }

/* ═══════════════════════════════════════════
   FIFI
═══════════════════════════════════════════ */
.section-fifi {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f7ef 100%);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.fifi-layout {
  display: flex; align-items: center; gap: 4rem;
  max-width: 900px; margin: 0 auto;
}
.fifi-icon { flex-shrink: 0; width: 180px; }
.fifi-icon svg { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(10,22,40,0.12)); }
.fifi-content h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blue-deep); margin-bottom: 1rem; }
.fifi-content p { color: var(--grey-dark); margin-bottom: 0.75rem; }
.fifi-tagline { font-style: italic; color: var(--blue-mid); font-weight: 500; font-size: 1.05rem; }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.section-faq { padding: 5rem 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1.5px solid var(--grey-light); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; text-align: left; gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--blue-deep); margin: 0; line-height: 1.4; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-bright); transition: transform var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--grey-dark); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item.open .faq-question { background: var(--blue-light); }

/* ═══════════════════════════════════════════
   BUYING GUIDE
═══════════════════════════════════════════ */
.section-buying-guide { padding: 5rem 0; background: var(--off-white); }
.buying-guide-inner {
  max-width: 820px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem; box-shadow: var(--shadow-sm);
}
.buying-guide-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue-deep); margin-bottom: 1rem; }
.buying-guide-inner .guide-intro { font-size: 1.05rem; color: var(--grey-dark); margin-bottom: 2.5rem; line-height: 1.7; }
.buying-guide-inner h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--blue-mid); margin: 2.5rem 0 0.75rem; }
.buying-guide-inner h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--blue-deep); margin: 1.5rem 0 0.5rem; }
.buying-guide-inner p { color: var(--grey-dark); margin-bottom: 1rem; line-height: 1.72; }

/* ═══════════════════════════════════════════
   COMPANY DETAILS
═══════════════════════════════════════════ */
.section-company { padding: 5rem 0; background: var(--white); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.company-info h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blue-deep); margin-bottom: 0.75rem; }
.company-info > p { color: var(--grey-dark); margin-bottom: 2rem; }
.company-details { display: flex; flex-direction: column; gap: 1rem; }
.detail-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: var(--radius-sm);
  background: var(--off-white); border: 1px solid var(--grey-light);
}
.detail-row svg { width: 20px; height: 20px; color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.detail-row strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-mid); margin-bottom: 0.2rem; }
.detail-row span, .detail-row a { font-size: 0.95rem; color: var(--black); }
.detail-row a:hover { color: var(--blue-bright); }

.trust-signals h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--blue-deep); margin-bottom: 1.5rem; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust-card {
  padding: 1.5rem; border-radius: var(--radius-md);
  background: var(--blue-light); text-align: center;
}
.trust-card svg { width: 28px; height: 28px; color: var(--blue-bright); margin: 0 auto 0.75rem; }
.trust-card h4 { font-size: 0.95rem; color: var(--blue-deep); margin-bottom: 0.4rem; }
.trust-card p { font-size: 0.85rem; color: var(--grey-dark); margin: 0; line-height: 1.55; }

/* ═══════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════ */
.section-final-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--green-accent) 0%, #1a9050 100%);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.section-final-cta .btn-primary {
  background: var(--white); color: var(--green-accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.section-final-cta .btn-primary:hover { background: var(--off-white); color: var(--green-accent); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-specs { position: static; }
  .company-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fifi-layout { flex-direction: column; text-align: center; gap: 2rem; }
  .fifi-icon { width: 140px; }
}

@media (max-width: 768px) {
  .hero-photo { width: 100%; opacity: 0.35; }
  .hero-blend {
    background: rgba(10,22,40,0.75);
  }
  .hero-content { padding: 7rem 1.5rem 4rem; }
  .hero-text { max-width: 100%; }
  .section-countries, .section-benefits, .section-reviews,
  .section-product, .section-fifi, .section-faq,
  .section-buying-guide, .section-company, .section-final-cta { padding: 3.5rem 0; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .buying-guide-inner { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .countries-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
