/* =============================================================================
   EonCollect — styles.css
   Palette: forest green × fossil amber × natural history
   ============================================================================= */

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); min-height: 100%; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Design tokens (light theme) ────────────────────────────────────────── */
:root {
  /* Brand hues */
  --clr-forest:   #1a2e24;
  --clr-earth:    #2e4d3c;
  --clr-sage:     #68a07a;
  --clr-sage-lt:  #8fba9f;
  --clr-amber:    #c9a86c;
  --clr-amber-lt: #e0c48e;

  /* Surfaces */
  --bg:           #f2f7f4;
  --bg-card:      #ffffff;
  --bg-medium:    #e2ede7;
  --bg-dark:      #1a2e24;

  /* Text */
  --tx:           #1a2920;
  --tx-2:         #4a6357;
  --tx-muted:     #7a9487;
  --tx-light:     #eef5f0;

  /* Typography */
  --ff-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body:     'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;

  /* Layout */
  --section-py:    clamp(3.5rem, 7vw, 6rem);
  --container-max: 1140px;
  --gutter:        clamp(1.25rem, 5vw, 2.5rem);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* Shadows */
  --shadow-sm: 0 1px 6px rgba(26,46,36,.07);
  --shadow-md: 0 4px 18px rgba(26,46,36,.10);
  --shadow-lg: 0 8px 32px rgba(26,46,36,.14);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Dark mode tokens ────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0e1a13;
    --bg-card:   #152019;
    --bg-medium: #111d15;
    --bg-dark:   #080f0a;
    --tx:        #e4f0e8;
    --tx-2:      #8db5a0;
    --tx-muted:  #5c8470;
    --shadow-sm: 0 1px 6px rgba(0,0,0,.28);
    --shadow-md: 0 4px 18px rgba(0,0,0,.34);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.42);
  }
}
:root[data-theme="dark"] {
  --bg:        #0e1a13;
  --bg-card:   #152019;
  --bg-medium: #111d15;
  --bg-dark:   #080f0a;
  --tx:        #e4f0e8;
  --tx-2:      #8db5a0;
  --tx-muted:  #5c8470;
  --shadow-sm: 0 1px 6px rgba(0,0,0,.28);
  --shadow-md: 0 4px 18px rgba(0,0,0,.34);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.42);
}
:root[data-theme="light"] {
  --bg:        #f2f7f4;
  --bg-card:   #ffffff;
  --bg-medium: #e2ede7;
  --bg-dark:   #1a2e24;
  --tx:        #1a2920;
  --tx-2:      #4a6357;
  --tx-muted:  #7a9487;
  --shadow-sm: 0 1px 6px rgba(26,46,36,.07);
  --shadow-md: 0 4px 18px rgba(26,46,36,.10);
  --shadow-lg: 0 8px 32px rgba(26,46,36,.14);
}

/* ─── Base ────────────────────────────────────────────────────────────────── */
body {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  color: var(--tx);
  background: transparent;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.2;
  text-wrap: balance;
}

p { max-width: 70ch; }

strong {
  font-weight: 600;
  color: var(--clr-earth);
}

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 740px; }

.section { padding-block: var(--section-py); }
.section--light  { background: var(--bg); }
.section--medium { background: var(--bg-medium); }
.section--dark   { background: var(--bg-dark); }

/* Section labels */
.section__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clr-sage);
  margin-bottom: 0.6rem;
}
.section__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--tx);
  margin-bottom: 0.9rem;
}
.section__lead {
  font-size: var(--text-lg);
  color: var(--tx-2);
  line-height: 1.6;
  margin-bottom: 2.75rem;
}
.section--dark .section__eyebrow { color: var(--clr-sage-lt); }
.section--dark .section__title   { color: var(--tx-light); }
.section--dark .section__lead    { color: rgba(238,245,240,.72); }

/* Narrow sections: centered text */
.container--narrow .section__eyebrow,
.container--narrow .section__title,
.container--narrow .section__lead {
  text-align: center;
  margin-inline: auto;
}

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, border-color 0.18s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:focus-visible {
  outline: 2px solid var(--clr-sage);
  outline-offset: 3px;
}

/* Primary */
.btn--primary {
  background: var(--clr-sage);
  color: #fff;
  box-shadow: 0 3px 12px rgba(104,160,122,.32);
}
.btn--primary:hover {
  background: var(--clr-earth);
  box-shadow: 0 5px 18px rgba(104,160,122,.42);
}

/* Outline (nav) */
.btn--outline-sm {
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(240,247,242,.85);
  padding: 0.4rem 0.9rem;
  font-size: var(--text-xs);
  border-radius: 6px;
}
.btn--outline-sm:hover {
  border-color: var(--clr-sage-lt);
  color: #fff;
  background: rgba(255,255,255,.07);
}

/* Large */
.btn--lg { padding: 0.9rem 2rem; font-size: var(--text-base); }

/* Store buttons */
.btn--store {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.28);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  gap: 0.7rem;
}
.btn--store:hover {
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.5);
}
.btn--store .btn__icon       { font-size: 1.55rem; line-height: 1; }
.btn--store .btn__store-text { display: flex; flex-direction: column; text-align: left; }
.btn--store .btn__label      { font-size: 0.62rem; opacity: .75; line-height: 1.2; }
.btn--store .btn__name       { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }

/* Newsletter */
.btn--newsletter {
  background: var(--clr-amber);
  color: var(--clr-forest);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(201,168,108,.32);
}
.btn--newsletter:hover {
  background: var(--clr-amber-lt);
  box-shadow: 0 5px 18px rgba(201,168,108,.42);
}

/* Ko-fi */
.btn--kofi {
  background: #ff5e5b;
  color: #fff;
  box-shadow: 0 3px 12px rgba(255,94,91,.3);
  font-size: var(--text-base);
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius-lg);
}
.btn--kofi:hover {
  background: #ff3a37;
  box-shadow: 0 5px 18px rgba(255,94,91,.42);
}

/* ─── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  padding-block: 0.875rem;
  padding-inline: var(--gutter);
  transition: background-color .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav--scrolled {
  background: rgba(20, 38, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px rgba(0,0,0,.22);
}
.nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo-img { height: 34px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav__link {
  color: rgba(238,245,240,.8);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 7px;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border-radius: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(240,247,242,.9);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    var(--clr-forest)
    url('https://cdn.prod.website-files.com/67e881c6b85d1d23574c26b5/67e8977f10ab90a96982085e_fond-eoncollect-realiste.png.png')
    center / cover no-repeat;
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,18,12,.72) 0%,
    rgba(8,18,12,.52) 50%,
    rgba(8,18,12,.80) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: 860px;
}
.hero__logo {
  width: 88px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.45));
}
.hero__title {
  font-size: clamp(3.25rem, 9vw, 5.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}
.hero__tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
  color: var(--clr-amber);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: rgba(228,240,232,.82);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* Scroll hint line */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  margin: 0 auto;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); }
}

/* ─── Why section ─────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  align-items: start;
}
.why-text p {
  margin-bottom: 1.1rem;
  color: var(--tx);
  line-height: 1.72;
}
.why-text p:last-child { margin-bottom: 0; }
.why-text strong { color: var(--clr-earth); }

.why-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--clr-sage);
}
.highlight-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.highlight-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 0.2rem;
}
.highlight-item p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--tx-2);
  line-height: 1.55;
}

/* ─── Features ────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border-top: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--clr-sage);
}
.feature-card__icon  { font-size: 2.25rem; margin-bottom: 1rem; }
.feature-card__title {
  font-size: var(--text-xl);
  color: var(--tx);
  margin-bottom: 0.7rem;
}
.feature-card__text  {
  font-size: var(--text-sm);
  color: var(--tx-2);
  line-height: 1.65;
}

/* ─── Quote section ───────────────────────────────────────────────────────── */
.section--quote {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(rgba(10,22,15,.80), rgba(10,22,15,.80)),
    url('https://cdn.prod.website-files.com/67e881c6b85d1d23574c26b5/67e8977f10ab90a96982085e_fond-eoncollect-realiste.png.png')
    center / cover no-repeat;
}
.quote-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.quote-block__text {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(var(--text-xl), 3.5vw, var(--text-3xl));
  color: #fff;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  max-width: none;
}
.quote-block__cite {
  display: block;
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-amber);
}

/* ─── Roadmap ─────────────────────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.roadmap-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--bg-medium);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.roadmap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.roadmap-card--done   { border-top-color: var(--clr-sage); }
.roadmap-card--active { border-top-color: var(--clr-amber); }

.roadmap-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.roadmap-card__phase {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx-muted);
}
.roadmap-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  background: var(--bg-medium);
  color: var(--tx-2);
}
.roadmap-card__badge--done   { background: rgba(104,160,122,.15); color: var(--clr-earth); }
.roadmap-card__badge--active { background: rgba(201,168,108,.18); color: #8a6830; }

.roadmap-card__title {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 0.5rem;
}
.roadmap-card__text {
  font-size: var(--text-sm);
  color: var(--tx-2);
  line-height: 1.6;
}

/* ─── Screens section ─────────────────────────────────────────────────────── */
.screens-cta { text-align: center; }

/* ─── Team ────────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.team-card__avatar {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-medium);
  border-radius: 50%;
}
.team-card__name {
  font-size: var(--text-xl);
  color: var(--tx);
  margin-bottom: 0.2rem;
}
.team-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-sage);
  margin-bottom: 0.75rem;
}
.team-card__bio {
  font-size: var(--text-sm);
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: var(--bg-medium);
  color: var(--tx-2);
  border-radius: 100px;
}

/* ─── Support ─────────────────────────────────────────────────────────────── */
.support-block {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.support-block__icon  { font-size: 2.75rem; margin-bottom: 1rem; }
.support-block__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  color: var(--tx-light);
  margin-bottom: 1rem;
}
.support-block__text {
  font-size: var(--text-base);
  color: rgba(238,245,240,.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: none;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: #091009;
  padding-block: 3rem;
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}
.footer__logo-img { height: 42px; width: auto; }
.footer__tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: rgba(238,245,240,.4);
}
.footer__social {
  display: flex;
  gap: 0.6rem;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(238,245,240,.65);
  font-size: 0.95rem;
  transition: background .2s, color .2s, transform .2s;
  text-decoration: none;
}
.footer__social-link:hover {
  background: var(--clr-sage);
  color: #fff;
}
.footer__social-link i {
  display: inline-block;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.footer__social-link:hover i {
  transform: rotate(360deg) scale(1.1);
}
.footer__social-link:focus-visible {
  outline: 2px solid var(--clr-sage);
  outline-offset: 3px;
}
.footer__divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin-bottom: 1.75rem;
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}
.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(238,245,240,.4);
  transition: color .2s;
  text-decoration: none;
}
.footer__legal-link:hover { color: rgba(238,245,240,.85); }
.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(238,245,240,.25);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .why-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .features-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .roadmap-grid  { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .team-card     { flex-direction: column; gap: 1rem; }

  .hero__cta     { flex-direction: column; align-items: stretch; }
  .btn--store    { justify-content: center; }

  .nav__toggle { display: flex; }
  .nav__links  {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 14, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    z-index: 199;
  }
  .nav__links--open { display: flex; }
  .nav__link        { font-size: var(--text-xl); padding: 0.75rem 2rem; }
  .nav__links li:last-child { margin-top: 0.75rem; }
  .nav__links .btn--outline-sm {
    font-size: var(--text-sm);
    padding: 0.6rem 1.5rem;
    border-color: rgba(255,255,255,.35);
    color: rgba(240,247,242,.85);
  }
}
