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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(4, 120, 87, 0.15);
  color: #064E3B;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #065F46;
  border-radius: 3px;
}

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
}

/* ── Nav Links ── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #059669;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.close {
  opacity: 0;
  pointer-events: none;
}

.menu-line:first-child {
  transform-origin: top;
}

.menu-line:last-child {
  transform-origin: bottom;
}

#menu-toggle.active .menu-line:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

#menu-toggle.active .menu-line:last-child {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* ── Hero ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Indicator ── */
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.scroll-line-inner {
  animation: scrollDown 1.5s ease-in-out infinite;
}

/* ── Section Eyebrow ── */
.section-eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

.section-eyebrow.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Title ── */
.section-title {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.7s ease;
}

.section-title.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── General Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Product Cards ── */
.product-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.product-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }

/* ── Buttons ── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}

/* ── Input Focus ── */
input:focus,
textarea:focus {
  border-color: #059669 !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.5rem;
  }
}
