/* BelegNest Landing Page – Design System (Teal/Green) */

:root {
  --color-bg: #FAF9F6;
  --color-bg-alt: #F0FDF4;
  --color-surface: #ffffff;
  --color-border: rgba(0,0,0,.08);
  --color-border-hover: rgba(13,150,104,.18);
  --color-accent: #0D9668;
  --color-accent-hover: #14B8A6;
  --color-accent-dark: #0F766E;
  --color-accent-leaf: #34D399;
  --color-text-main: #171717;
  --color-muted: #555558;
  --color-faint: #78716C;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  font-size: 17px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-main);
}

::selection { background: #0D9668; color: #fff; }

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #0F766E, #0D9668, #14B8A6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-leaf {
  background: linear-gradient(135deg, #0D9668, #34D399);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0D9668, #0F766E);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 4px 24px rgba(13,150,104,.3), 0 0 0 0 rgba(13,150,104,0);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #14B8A6, #0D9668);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13,150,104,.4), 0 0 0 4px rgba(13,150,104,.08);
}
.btn-primary--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-text-main);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  border: 1.5px solid rgba(13,150,104,.25);
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.btn-secondary:hover {
  border-color: #0D9668;
  background: rgba(13,150,104,.06);
  transform: translateY(-2px);
}

/* ── Navigation ── */
.nav-scrolled {
  background: rgba(250,249,246,.88) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(13,150,104,.10);
}
.nav-links-pill {
  display: flex;
  align-items: center;
  gap: 1px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 100px;
  padding: 3px 5px;
}
.nav-link {
  position: relative;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color .2s ease, background .2s ease;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover { color: var(--color-text-main); background: rgba(0,0,0,.06); }
.nav-link--active { color: #065F46 !important; background: rgba(13,150,104,.10) !important; font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #0D9668;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background .25s ease, transform .15s ease;
}
.nav-cta:hover { background: #14B8A6; transform: translateY(-1px); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.06);
}
.lang-switcher a { text-decoration: none; color: var(--color-muted); transition: color .2s; }
.lang-switcher a:hover { color: #0D9668; }
.lang-active { color: #0D9668 !important; }

/* ── Ticker ── */
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display: inline-block;
  padding: 0 3.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.ticker-item::before {
  content: '\25C6';
  margin-right: 1.75rem;
  color: #34D399;
  font-size: .7rem;
  vertical-align: middle;
}

/* ── Gradient Orbs ── */
.gradient-orbs { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.orb { position:absolute; border-radius:50%; filter:blur(100px); will-change:transform; }
.orb--1 { width:600px; height:600px; background:#0D9668; opacity:.04; top:5%; left:10%; animation:orb-drift-1 25s ease-in-out infinite; }
.orb--2 { width:500px; height:500px; background:#34D399; opacity:.035; top:40%; right:5%; animation:orb-drift-2 30s ease-in-out infinite; }
.orb--3 { width:450px; height:450px; background:#0F766E; opacity:.03; bottom:15%; left:50%; animation:orb-drift-3 22s ease-in-out infinite; }
@keyframes orb-drift-1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,-50px) scale(1.15)} 66%{transform:translate(-40px,60px) scale(.9)} }
@keyframes orb-drift-2 { 0%,100%{transform:translate(0,0) scale(1)} 40%{transform:translate(-60px,40px) scale(1.1)} 70%{transform:translate(50px,-70px) scale(.85)} }
@keyframes orb-drift-3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-80px,-50px) scale(1.2)} }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ── Feature Cards ── */
.feature-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  transition: border-color .5s ease, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(13,150,104,.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,150,104,.08), 0 0 0 1px rgba(13,150,104,.04);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13,150,104,.3), transparent);
  opacity: 0;
  transition: opacity .5s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
  z-index: 4;
}
.feature-card:hover::after { left: 130%; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* ── Sustainability Section ── */
.sustainability-section {
  background: linear-gradient(180deg, #ECFDF5 0%, var(--color-bg) 100%);
}
.sustainability-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(16,185,129,.12);
  text-align: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease;
}
.sustainability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(16,185,129,.10);
}
.sustainability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16,185,129,.08);
  margin-bottom: 1rem;
}

/* ── Step Cards (How it works) ── */
.step-card {
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(13,150,104,.06);
  border: 1px solid rgba(13,150,104,.18);
  text-align: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, border-color .5s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20,184,166,.4);
  box-shadow: 0 12px 32px rgba(13,150,104,.12);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D9668, #14B8A6);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(13,150,104,.3);
}

/* ── Stat Values ── */
.stat-value {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .stat-value { font-size: clamp(1.9rem, 6.4vw, 3.2rem); }
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, #ECFDF5 50%, var(--color-bg) 100%);
}

/* ── Section styles ── */
section { background: var(--color-bg); position: relative; z-index: 1; }
.section-dark { background: #0f1117; color: #f0f0f2; }
.section-dark h2, .section-dark h3 { color: #f0f0f2; }

/* ── FAQ ── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
  transition: max-height .28s cubic-bezier(.4,0,.2,1), opacity .2s ease, padding .28s cubic-bezier(.4,0,.2,1);
}
.faq-item--open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem !important;
  opacity: 1;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .25s ease .08s, padding .5s cubic-bezier(.16,1,.3,1);
}
.faq-item--open {
  border-color: rgba(13,150,104,.15) !important;
  box-shadow: 0 4px 24px rgba(13,150,104,.04);
  background: rgba(13,150,104,.02);
}
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question { cursor: pointer; border: none; background: none; }
.faq-question__icon::before, .faq-question__icon::after {
  content: ''; position: absolute; background: var(--color-muted); border-radius: 2px;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.faq-question__icon::before { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-question__icon::after { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item--open .faq-question__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

/* ── Footer ── */
.site-footer {
  background: #050508;
  color: #78716C;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-links a {
  display: block;
  color: #78716C;
  text-decoration: none;
  font-size: .85rem;
  margin-bottom: .5rem;
  transition: color .2s;
}
.footer-links a:hover { color: #14B8A6; }
.footer-heading {
  font-weight: 700;
  color: #f0f0f2;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.footer-bottom {
  text-align: center;
  font-size: .8rem;
  color: #555;
}
.footer-bottom p { margin: 0; line-height: 1.8; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #0D9668;
  color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(13,150,104,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.back-to-top:hover {
  background: #14B8A6;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13,150,104,.45);
}
.back-to-top--visible { opacity: 1; visibility: visible; transform: translateY(0); }
body.cookie-open .back-to-top { bottom: 9.5rem; }

/* ── Cookie Consent ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  transform: translateY(100%); transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 680px; margin: 0 auto 24px; padding: 24px 28px;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(20px);
  border-radius: 20px; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.cookie-banner__btn {
  padding: 10px 22px; border-radius: 10px; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .25s ease; border: none;
}
.cookie-banner__btn--accept { background: #0D9668; color: #fff; }
.cookie-banner__btn--accept:hover { background: #14B8A6; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,150,104,.25); }
.cookie-banner__btn--reject { background: #f0f1f5; color: #111; border: 1px solid rgba(0,0,0,.08); }

/* ── Mobile Hamburger ── */
.nav-hamburger { display:none; flex-direction:column; justify-content:center; gap:5px; cursor:pointer; padding:8px; border:none; background:transparent; z-index:51; }
@media (max-width:767px) { .nav-hamburger { display:flex; } }
.nav-hamburger span { display:block; width:22px; height:2px; background:var(--color-text-main); border-radius:2px; transition:transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease; }
.nav-hamburger.is-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity:0; transform:translateX(-6px); }
.nav-hamburger.is-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
#mobileMenu {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  position:fixed; inset:0; z-index:80; background:rgba(4,8,18,.97);
  backdrop-filter:saturate(160%) blur(24px); visibility:hidden; opacity:0;
  pointer-events:none; transition:opacity .28s ease, visibility .28s;
}
#mobileMenu.is-open { visibility:visible; opacity:1; pointer-events:auto; }
.mm-brand {
  font-size:1.35rem; font-weight:800; letter-spacing:-.04em;
  background:linear-gradient(135deg,#0D9668,#34D399);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  margin-bottom:28px;
}
.mm-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; width:calc(100% - 48px); max-width:340px; }
.mm-link {
  font-size:.95rem; font-weight:600; color:rgba(255,255,255,.75); text-decoration:none;
  padding:14px 12px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; text-align:center; transition:color .2s, background .2s, border-color .2s, transform .15s;
}
.mm-link:hover { color:#fff; background:rgba(13,150,104,.14); border-color:rgba(13,150,104,.3); transform:scale(1.03); }
.mm-link--cta {
  grid-column: span 2;
  background: rgba(13,150,104,.15);
  border-color: rgba(13,150,104,.3);
  color: #34D399;
}

/* ── Responsive ── */
@media (max-width:767px) {
  body.cookie-open .back-to-top { bottom: 8.25rem; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
