/* ============ Apprende - Landing Page Styles ============ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --green: #628f1b;
  --green-mid: #6b8e23;
  --green-light: #8cbf3f;
  --green-dark: #2e5c1e;
  --orange: #f59e0b;
  --ink: #17181a;
  --ink-soft: #3c4049;
  --gray: #5c6066;
  --bg-alt: #f3f7f6;
  --icon-bg: #e9f2d5;
  --footer-bg: #202124;
  --card-radius: 20px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: block;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

section {
  position: relative;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(98, 143, 27, 0.55);
}
.btn-primary:hover {
  background: #567c17;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #d8dbd6;
}
.btn-outline:hover {
  border-color: var(--ink);
}

.btn-white {
  background: #fff;
  color: var(--green);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.25);
}
.btn-white:hover {
  background: #f4f4f4;
}

.btn-nav {
  background: var(--green);
  color: #fff;
  padding: 12px 26px;
  font-size: 14.5px;
}
.btn-nav:hover {
  background: #567c17;
}

#faq {
  scroll-margin-top: 100px;
}

/* -------- Navbar -------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef0ec;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.nav-logo img {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-links a.active {
  color: var(--green);
  font-weight: 600;
  border-bottom-color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* -------- Hero -------- */
.hero {
  overflow: hidden;
  padding: 76px 0 100px;
  background: radial-gradient(
    65% 75% at 8% 15%,
    #e2ecd2 0%,
    #eef4e2 35%,
    #ffffff 70%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.14;
  margin-bottom: 22px;
}
.hero-text p.lead {
  font-size: 17px;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 34px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-checks svg {
  flex-shrink: 0;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 520px;
}

/* -------- Section headers (centered) -------- */
.section-head {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--gray);
  font-size: 16.5px;
}
.section-head.align-left {
  text-align: left;
  margin: 0 0 52px;
}

/* -------- Why Apprende -------- */
.why {
  background: var(--bg-alt);
  padding: 100px 0;
}
.why .section-head {
  text-align: left;
  margin: 0 0 52px;
  max-width: 1000px;
}
.why .section-head h2 {
  white-space: nowrap;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 32px 28px;
  box-shadow: 0 4px 22px -8px rgba(20, 20, 20, 0.06);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Core values grid: icon + label only, centered */
.values-grid .feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.values-grid .feature-icon {
  margin-left: auto;
  margin-right: auto;
}
.values-grid .feature-card h3 {
  margin-bottom: 0;
}

/* Mission & Vision / Core Values grids (About page) */
.card-grid-3.mission-vision-grid {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid-3.values-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* -------- How it works -------- */
.how {
  padding: 100px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  text-align: center;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: calc(100% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), #e6eae0);
  z-index: 0;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  color: var(--gray);
  font-size: 14px;
  padding: 0 8px;
}

/* -------- Platform features -------- */
.platform {
  background: var(--bg-alt);
  padding: 100px 0;
}
.card-grid-3.platform-grid {
  gap: 22px;
}

/* -------- Product tour -------- */
.tour {
  padding: 100px 0;
}
.tour-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.tour-track::-webkit-scrollbar {
  display: none;
}
.tour-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  scroll-snap-align: start;
}
.tour-card .tour-img {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 450px;
  background: linear-gradient(160deg, #e2ecd2 0%, #f3f7ec 55%, #ffffff 100%);
}
.tour-card .tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.tour-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.tour-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.tour-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}
.tour-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dde1d8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.tour-nav button:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.tour-nav button.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* -------- CTA banner -------- */
.cta-banner-wrap {
  padding: 0 0 100px;
}
.cta-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 21, 19, 0.5) 0%,
    rgba(20, 21, 19, 0.75) 100%
  );
  z-index: 1;
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 24px;
}
.cta-banner-content h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 16px;
}
.cta-banner-content p {
  color: #edefea;
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* -------- Benefits -------- */
.benefits {
  padding: 20px 0 110px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.benefits h2 {
  font-size: 34px;
  margin-bottom: 26px;
  line-height: 1.2;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
}
.benefits-list svg {
  flex-shrink: 0;
}

.benefits-visual {
  position: relative;
  text-align: center;
}
.benefits-visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
}
.stats-card {
  position: absolute;
  left: -8%;
  bottom: -8%;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 20px 40px -12px rgba(20, 20, 20, 0.18);
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 300px;
}
.donut {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(
    #14b8a6 0deg 220deg,
    #3b82f6 220deg 300deg,
    #facc15 300deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.donut-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-inner span {
  font-size: 9px;
  color: var(--gray);
}
.donut-inner b {
  font-size: 15px;
  color: var(--ink);
}

.stats-legend {
  font-size: 12.5px;
  color: var(--ink-soft);
}
.stats-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  padding: 3px 0;
  min-width: 150px;
}
.stats-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.stats-legend b {
  color: var(--ink);
  font-weight: 700;
}

/* -------- Footer -------- */
footer {
  background: var(--footer-bg);
  color: #c7c9c4;
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #a8aba4;
  max-width: 360px;
}
footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}
footer .footer-links li {
  margin-bottom: 13px;
}
footer .footer-links a {
  font-size: 14.5px;
  color: #a8aba4;
  transition: color 0.15s ease;
}
footer .footer-links a:hover {
  color: var(--green-light);
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-link svg {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #33353a;
  padding: 24px 0;
  text-align: center;
  font-size: 13.5px;
  color: #858782;
}

/* -------- Store badges (App Store / Google Play) -------- */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #000;
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid #000;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.store-btn:hover {
  background: #222;
  transform: translateY(-1px);
}
.store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-text-small {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #d7d7d7;
}
.store-text-big {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* -------- Legal / content pages (Science, Support, Privacy) -------- */
.page-hero {
  padding: 64px 0 56px;
  background: var(--bg-alt);
  text-align: center;
}
.page-hero .eyebrow {
  justify-content: center;
  display: flex;
}
.page-hero h1 {
  font-size: 40px;
  max-width: 760px;
  margin: 0 auto 16px;
}
.page-hero p {
  color: var(--gray);
  font-size: 16.5px;
  max-width: 640px;
  margin: 0 auto;
}

.content-section {
  padding: 72px 0;
}
.content-section + .content-section {
  padding-top: 0;
}
.section-tinted {
  background: #f7f8f3;
}
.content-section + .section-tinted {
  padding-top: 72px;
}
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 27px;
  margin: 48px 0 18px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 19px;
  margin: 28px 0 10px;
  color: var(--green-dark);
}
.prose p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul {
  margin: 0 0 16px;
  padding-left: 4px;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.prose a {
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid rgba(98, 143, 27, 0.35);
}
.prose a:hover {
  border-bottom-color: var(--green);
}
.prose hr {
  border: none;
  border-top: 1px solid #ebede7;
  margin: 40px 0;
}

/* Callout box (e.g. Myelin Connection) */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 26px 28px;
  margin: 28px 0;
}
.callout h3 {
  margin-top: 0 !important;
}
.callout p {
  margin-bottom: 0;
}
.callout p + p {
  margin-top: 12px;
}

/* Note / disclaimer strip */
.note {
  background: #fdf6e8;
  border: 1px solid #f2e2b3;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14px;
  color: #6b5a1f;
  line-height: 1.6;
  margin: 24px 0;
}

/* Research cards grid (Science page) */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.research-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 26px 26px;
  box-shadow: 0 4px 22px -12px rgba(20, 20, 20, 0.08);
}
.research-card .research-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.research-card h3 {
  font-size: 16.5px;
  color: var(--ink);
  margin: 0 0 10px;
}
.research-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* Bibliography */
.bibliography {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}
.bibliography li {
  padding-left: 22px;
  margin-bottom: 12px;
}
.bibliography li::before {
  background: #c7cbc0 !important;
}

/* FAQ accordion (Support page) */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #ececec;
  padding: 6px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 4px 20px;
  margin: 0;
}

/* Contact card (Support page) */
.contact-card {
  max-width: 820px;
  margin: 0 auto 20px;
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
  max-width: 480px;
}

/* Info cards (Email / Support Hours on Support page) */
.info-grid {
  max-width: 820px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 22px -10px rgba(20, 20, 20, 0.06);
}
.info-card .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.info-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.info-card a,
.info-card p {
  font-size: 14.5px;
  color: var(--gray);
}
.info-card a {
  color: var(--green-dark);
  font-weight: 600;
}
@media (max-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 420px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-3.values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .steps .step::after {
    display: none;
  }
  .tour-card {
    flex-basis: calc(50% - 12px);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefits-visual {
    margin-top: 40px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .why .section-head h2 {
    white-space: normal;
  }
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  .card-grid-3.values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .values-grid .feature-card {
    padding: 22px 16px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .tour-card {
    flex-basis: 82%;
  }
  .tour-card .tour-img {
    height: 300px;
  }
  .cta-banner-content h2 {
    font-size: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-card {
    position: static;
    margin-top: -40px;
  }
  .btn-nav {
    display: none;
  }
  .page-hero h1 {
    font-size: 29px;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .cta-banner-content {
    padding: 32px 16px;
  }
  .cta-banner-content h2 {
    font-size: 17px;
  }
  .cta-banner-content p {
    font-size: 14px;
  }
}

@media (max-width: 340px) {
  .cta-banner-content h2 {
    font-size: 15px;
  }
  .cta-banner-content p {
    font-size: 12px;
  }
}

/* ============ Motion / Scroll Animations ============ */

/* Scroll-reveal: JS adds .is-visible when an element enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Nav: soft slide-down on load */
.navbar {
  animation: navDrop 0.5s ease both;
}
@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Logo: gentle emphasis on hover */
.nav-logo img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-logo:hover img {
  transform: rotate(-6deg) scale(1.06);
}

/* Nav links: underline sweeps in from the left */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Buttons: lift + shadow bloom */
.btn {
  will-change: transform;
}
.btn-primary:hover,
.btn-white:hover,
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(98, 143, 27, 0.45);
}
.btn-outline:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* Cards: lift on hover */
.feature-card,
.research-card,
.tour-card,
.contact-card,
.info-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.feature-card:hover,
.research-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -14px rgba(20, 20, 20, 0.16);
}
.tour-card:hover {
  transform: translateY(-6px);
}

/* Feature icon: subtle pop on card hover */
.feature-card .feature-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Steps: numbered circles pulse in on hover */
.step-circle {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step:hover .step-circle {
  transform: scale(1.1);
}

/* FAQ rows: soft highlight sweep on hover */
.faq-item summary {
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.faq-item summary:hover {
  color: var(--green-dark);
}

/* CTA banner: slow ambient zoom on the background image */
.cta-banner img {
  animation: ctaZoom 16s ease-in-out infinite alternate;
}
@keyframes ctaZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .navbar,
  .cta-banner {
    animation: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}
