/* ==========================================================================
   INDOOR FARM — Landing Page Styles
   Self-contained: no parent wrapper needed. Uses direct class selectors.
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #b0b0b0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. LANDING HEADER
   ========================================================================== */

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.landing-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  background: rgba(8, 8, 8, 0.98);
}

.landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
}

.landing-header__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.landing-header__logo:hover {
  opacity: 0.85;
}

.landing-header__logo i {
  color: #10b981;
  font-size: 1.1rem;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-header__nav a {
  color: #999;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.landing-header__nav a:hover {
  color: #ffffff;
}

.landing-header__toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.landing-header__toggle:hover {
  color: #10b981;
}

@media (max-width: 768px) {
  .landing-header__inner {
    padding: 0 20px;
  }

  .landing-header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 24px 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .landing-header__nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .landing-header__nav a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid #151515;
    width: 100%;
  }

  .landing-header__nav a:last-child {
    border-bottom: none;
  }

  .landing-header__toggle {
    display: block;
  }
}

/* ==========================================================================
   2. HERO
   ========================================================================== */

.landing__hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 48px 100px;
  background: #0a0a0a radial-gradient(ellipse at 30% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing__hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.landing__hero p {
  color: #a0a0a0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.landing__hero .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10b981;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #0d9668;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #333;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.btn-outline:hover {
  border-color: #10b981;
  transform: translateY(-2px);
}

.hero-svg {
  max-width: 350px;
  width: 100%;
  flex-shrink: 0;
}

/* ==========================================================================
   3. CAROUSEL
   ========================================================================== */

.landing__carousel {
  background: #0e0e0e;
  padding: 100px 24px;
}

.landing__carousel .swiper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 50px;
  overflow: visible;
}

.landing__carousel .swiper-wrapper {
  padding: 10px 0;
}

.landing__carousel .swiper-slide {
  height: auto;
}

.slide-card {
  background: #161616;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.slide-card:hover {
  border-color: #10b981;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.slide-icon {
  font-size: 2.2rem;
  color: #10b981;
  margin-bottom: 8px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 14px;
}

.slide-card h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.slide-card p {
  color: #888;
  font-size: 0.88rem;
  line-height: 1.6;
}

.swiper-pagination-bullet {
  background: #333;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #10b981;
  transform: scale(1.3);
}

/* ==========================================================================
   4. FEATURES
   ========================================================================== */

.landing__features {
  background: #0a0a0a;
  padding: 100px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 32px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: #777;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   5. HOW-TO
   ========================================================================== */

.landing__howto {
  background: #0e0e0e;
  padding: 100px 24px;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.howto-step {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.howto-step:hover {
  border-color: #10b981;
  transform: translateY(-3px);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 12px;
}

.howto-step h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.howto-step p {
  color: #888;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   6. AUTOMATION
   ========================================================================== */

.landing__automation {
  background: #0a0a0a;
  padding: 100px 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.automation-content {
  flex: 1;
}

.landing__automation > .automation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.landing__automation h2 {
  text-align: left;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.landing__automation > .automation-wrapper > div > p {
  color: #999;
  line-height: 1.8;
  margin-bottom: 24px;
}

.automation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.automation-list li {
  padding: 12px 0;
  border-bottom: 1px solid #1a1a1a;
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.automation-list li i {
  color: #10b981;
  font-size: 0.85rem;
}

.automation-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.automation-svg {
  max-width: 280px;
  width: 100%;
}

/* ==========================================================================
   7. FAQ
   ========================================================================== */

.landing__faq {
  background: #0e0e0e;
  padding: 100px 24px;
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  font-family: inherit;
}

.faq-question i {
  color: #555;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 0.8rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #10b981;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 0 20px;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================================================
   8. CONTACT
   ========================================================================== */

.landing__contact {
  background: #0a0a0a;
  padding: 100px 24px;
  text-align: center;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.landing__contact h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.landing__contact p {
  color: #888;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-cta:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.landing__footer {
  background: #080808;
  border-top: 1px solid #151515;
  padding: 60px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: #666;
  font-size: 0.85rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #10b981;
}

.footer-bottom {
  border-top: 1px solid #151515;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: #444;
  font-size: 0.8rem;
}

.footer-social a {
  color: #444;
  font-size: 1.1rem;
  margin-left: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #10b981;
}

/* ==========================================================================
   10. UTILITIES
   ========================================================================== */

.text-gradient {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
}

.section-subtitle {
  color: #888;
  text-align: center;
  max-width: 550px;
  margin: -32px auto 48px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   11. REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .landing-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    flex-direction: column;
    padding: 20px 32px;
    gap: 16px;
  }

  .landing-header nav.active {
    display: flex;
  }

  .landing-header .hamburger {
    display: flex;
  }

  .landing__hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 24px 80px;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .landing__automation {
    flex-direction: column;
    text-align: center;
  }

  .landing__hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .landing__hero .hero-buttons {
    justify-content: center;
  }

  .hero-svg {
    max-width: 260px;
  }

  .howto-grid {
    grid-template-columns: 1fr;
  }

  .landing__automation > .automation-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .landing__automation h2 {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .landing__hero {
    padding: 100px 16px 60px;
  }

  .landing__carousel,
  .landing__features,
  .landing__howto,
  .landing__automation,
  .landing__faq,
  .landing__contact {
    padding: 60px 16px;
  }

  .landing__hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .cta-button,
  .btn-outline,
  .whatsapp-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .slide-card,
  .feature-card,
  .howto-step,
  .cta-button,
  .btn-outline,
  .whatsapp-cta {
    transition: none;
  }
}
