/* ============================================
   Sasya Agro Industries — Brand Design System
   Colors derived from logo palette:
   - Forest Green: #006837
   - Lime Green:   #8DC63F
   - Magenta:      #E5007E
   - Dark Gray:    #4D4D4D
   ============================================ */

:root {
  --green-primary: #006837;
  --green-dark: #004d28;
  --green-light: #009245;
  --lime: #8DC63F;
  --lime-light: #a8d65a;
  --magenta: #E5007E;
  --magenta-dark: #c4006b;
  --magenta-light: #ff1a96;
  --black: #000000;
  --gray-900: #1a1a1a;
  --gray-700: #4D4D4D;
  --gray-500: #737373;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--magenta);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--lime);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-primary);
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--white);
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--gray-700);
  max-width: 560px;
}

.section__desc--light {
  color: var(--gray-200);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header .section__desc {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(229, 0, 126, 0.35);
}

.btn--primary:hover {
  background: var(--magenta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 0, 126, 0.45);
}

.btn--full {
  width: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo-img {
  height: 44px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.header__link:hover {
  color: var(--lime);
}

.header__link--cta {
  padding: 8px 20px;
  background: var(--magenta);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}

.header__link--cta:hover {
  background: var(--magenta-dark);
  color: var(--white) !important;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 104, 55, 0.2) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-height) + 48px) 24px 120px;
}

.hero__content {
  max-width: 640px;
}

.hero__brand-logo {
  height: 52px;
  width: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(141, 198, 63, 0.15);
  color: var(--lime);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(141, 198, 63, 0.35);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__mute {
  position: absolute;
  top: calc(var(--header-height) + 16px);
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.hero__mute:hover {
  background: rgba(229, 0, 126, 0.4);
  border-color: var(--magenta);
}

.hero__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--magenta);
}

.about__logo {
  max-width: 320px;
}

.about__text {
  font-size: 1.0625rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-200);
}

.about__stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about__stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Products */
.products__group-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--magenta);
}

.products__group-title--byproducts {
  margin-top: 56px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(141, 198, 63, 0.3);
  transform: translateY(-4px);
}

.product-card--byproduct {
  border-color: rgba(229, 0, 126, 0.15);
}

.product-card--byproduct:hover {
  border-color: rgba(229, 0, 126, 0.35);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.product-card__icon--premium {
  background: linear-gradient(135deg, var(--lime) 0%, var(--green-primary) 100%);
}

.product-card__icon--gold {
  background: linear-gradient(135deg, #f5c842 0%, #c8960c 100%);
  color: var(--gray-900);
}

.product-card__icon--byproduct {
  background: rgba(229, 0, 126, 0.2);
  color: var(--magenta-light);
  border: 1px solid rgba(229, 0, 126, 0.3);
}

.product-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.product-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.product-card__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact__intro {
  font-size: 1.0625rem;
  color: var(--gray-700);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 104, 55, 0.08);
  color: var(--green-primary);
  border-radius: var(--radius-sm);
}

.contact__item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.contact__item p {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.contact__item a {
  color: var(--green-primary);
}

.contact__item a:hover {
  color: var(--magenta);
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 104, 55, 0.08);
  color: var(--green-primary);
  border: 1px solid rgba(0, 104, 55, 0.15);
  transition: all var(--transition);
}

.social-links__item:hover {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
  transform: translateY(-2px);
}

.social-links__item--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.social-links--footer .social-links__item {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

.social-links--footer .social-links__item:hover {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}

.social-links--footer .social-links__item--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.contact__social {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.contact__social strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 14px;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  background: #1fb855;
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* Form */
.contact__form {
  background: var(--gray-100);
  padding: 40px;
  border-radius: var(--radius);
  border-top: 3px solid var(--magenta);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.12);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__success {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(0, 104, 55, 0.08);
  color: var(--green-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-primary);
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px;
  gap: 32px;
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.social-links--footer {
  margin-top: 4px;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--lime);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__inner {
    padding-bottom: 100px;
  }

  .hero__brand-logo {
    height: 44px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .products__grid--two {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .about__stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero__mute {
    top: calc(var(--header-height) + 12px);
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .header__link {
    padding: 14px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header__link--cta {
    margin-top: 8px;
    text-align: center;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 28px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about__stats {
    gap: 24px;
  }
}
