/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00723C;
  --primary-dark: #004D2A;
  --primary-light: #E8F5E9;
  --accent: #D4A843;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-alt: #f8faf8;
  --bg-dark: #0a1a12;
  --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.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.showcase-item.reveal,
.faq-item.reveal,
.contact-item.reveal {
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

/* ========== Navbar ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--primary);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
  transition: color var(--transition);
}

#navbar.scrolled .nav-brand-text {
  color: var(--text);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

#navbar.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

#navbar.scrolled .nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003d1f 0%, #00723C 40%, #00994d 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 114, 60, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-text {
  flex: 0 0 520px;
  max-width: 520px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(212, 168, 67, 0.5);
  border-radius: 50px;
  background: rgba(212, 168, 67, 0.12);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: left;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: left;
}

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

.hero-actions .btn {
  margin: 0;
}

.hero-visual {
  flex: 2;
  min-width: 600px;
  max-width: none;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.35);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(12px); }
  60% { transform: translateX(-50%) translateY(6px); }
}

/* ========== Specs Strip ========== */
.specs-strip {
  background: var(--primary-dark);
  padding: 32px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.spec-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== Products ========== */
.products {
  background: var(--bg);
}

.products-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 56px;
}

.showcase-item.reverse {
  flex-direction: row-reverse;
}

.showcase-media {
  flex: 0 0 400px;
  min-width: 0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-media img {
  transform: scale(1.02);
}

.showcase-content {
  flex: 1;
  min-width: 0;
}

.showcase-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.showcase-content p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ========== Benefits ========== */
.benefits {
  background: var(--bg);
}

.benefits-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.benefit-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.benefit-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-block.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.benefit-block img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
}

.benefit-block span {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.benefit-block.active span {
  color: var(--primary-dark);
}

.benefits .container {
  max-width: 1400px;
}

.benefits-carousel {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 32px;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel-slide.active {
  transform: translateX(0);
  z-index: 2;
}

.carousel-slide.exit-left {
  transform: translateX(-100%);
  z-index: 1;
}

.carousel-img-wrap {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  height: 600px;
}

.carousel-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0) 55%);
  z-index: 1;
  pointer-events: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-text {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translate(0, -50%);
  min-width: 0;
  max-width: 25%;
  color: #fff;
  z-index: 2;
  padding-right: 24px;
}

.carousel-text h3 {
  font-family: var(--font-heading);
  font-size: 1.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.carousel-text p {
  color: #fff;
  font-size: 1.26rem;
  line-height: 1.8;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ========== About ========== */
.about {
  background: var(--bg-alt);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Values */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== FAQs ========== */
.faqs {
  background: var(--bg);
}

.download-section {
  background: var(--bg-alt);
}

.download-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 56px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.download-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  margin-bottom: 20px;
}

.download-zone h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.download-zone p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.btn-download {
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-download:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 114, 60, 0.3);
}

.faq-list {
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e8ede8;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--primary-light);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== Contact ========== */
.contact {
  background: var(--bg);
}

.contact-grid {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-address {
  grid-column: auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  width: 40px;
  height: 40px;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--primary);
  font-weight: 500;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 36px;
  margin-bottom: 8px;
}

.footer-logo p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .showcase-item,
  .showcase-item.reverse {
    flex-direction: column;
    gap: 32px;
  }

  .showcase-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .spec-value {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

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

  .hero-text h1 {
    font-size: 2.6rem;
    text-align: center;
  }

  .hero-text p {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    width: 100%;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    color: var(--text) !important;
    padding: 12px 16px;
  }

  .nav-link:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
  }

  .products-showcase {
    gap: 56px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-slide {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .carousel-img-wrap {
    flex: none;
    width: 100%;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
  }

  .carousel-text {
    max-width: 60%;
  }

  .carousel-text h3 {
    font-size: 1.4rem;
  }

  .carousel-text p {
    font-size: 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

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