/* css/components.css */
/* ─── Reusable component styles ──────────────────────────────────────────── */

/* ── Navbar ────────────────────────────────────────────────────────────── */
#navbar {
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 #0A0A0A22;
}

/* ── Brand name underline accent ──────────────────────────────────────── */
.brand-underline {
  position: relative;
  display: inline-block;
}
.brand-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: #10B981;
}

/* ── Nav links ─────────────────────────────────────────────────────────── */
.nav-link {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: #0A0A0A;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: #10B981;
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover        { color: #10B981; }

/* ── Mobile menu ────────────────────────────────────────────────────────── */
#mobile-menu         { display: none; }
#mobile-menu.open    { display: flex; }

/* ── Language toggle ────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1.5px solid #0A0A0A;
  overflow: hidden;
}
.lang-btn {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .28rem .65rem;
  background: transparent;
  color: #0A0A0A;
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  line-height: 1;
}
.lang-btn.active              { background: #0A0A0A; color: #fff; }
.lang-btn:not(.active):hover  { background: #F4F4F4; }
.lang-sep {
  width: 1px; height: 1.4rem;
  background: #0A0A0A;
  display: block;
  flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-emerald {
  background: #10B981;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s;
  cursor: pointer;
}
.btn-emerald:hover { background: #059669; }

/* ── Product cards ──────────────────────────────────────────────────────── */
.product-card {
  transition: box-shadow .25s cubic-bezier(.4,0,.2,1),
              transform  .25s cubic-bezier(.4,0,.2,1);
}
.product-card:hover {
  box-shadow: 0 12px 40px 0 rgba(10,10,10,.12);
  transform: translateY(-3px);
}

/* ── Divider accent ─────────────────────────────────────────────────────── */
.thin-divider {
  width: 2.5rem;
  height: 2px;
  background: #10B981;
  display: block;
  margin: 0 0 1.5rem;
}

/* ── Step ghost number ───────────────────────────────────────────────────── */
.step-bg-number {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 900;
  color: #EBEBEB;
  line-height: 1;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Email / lead capture input ─────────────────────────────────────────── */
.lead-input {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s;
}
.lead-input::placeholder { color: rgba(255,255,255,.4); }
.lead-input:focus         { border-color: #10B981; }
