/* The Plate — brand tokens from identity guide */
:root {
  --green: #3b6049;
  --green-dark: #2f4d3a;
  --green-light: #4a7560;
  --white: #fdfdfd;
  --black: #1c1c1c;
  --purple: #6d67f4;
  --yellow: #f4ca2a;
  --gray-100: #f5f5f4;
  --gray-200: #e8e8e6;
  --gray-400: #9a9a97;
  --gray-600: #5c5c59;

  --font-display: "Gabarito", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-soft: 0 4px 24px rgba(28, 28, 28, 0.06);
  --shadow-medium: 0 12px 48px rgba(28, 28, 28, 0.1);
  --shadow-hero: 0 24px 80px rgba(28, 28, 28, 0.14);

  --header-height: 72px;
  --max-width: 1120px;
  --section-pad: clamp(4rem, 10vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(253, 253, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.brand__mark {
  height: 32px;
  width: auto;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.lang-switcher {
  display: flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.lang-switcher__btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.375rem 0.625rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-switcher__btn:hover {
  color: var(--black);
}

.lang-switcher__btn.is-active {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 1px 4px rgba(28, 28, 28, 0.08);
}

.site-nav {
  display: none;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--black);
}

@media (max-width: 480px) {
  .app-store-btn--compact .app-store-btn__text {
    display: none;
  }

  .app-store-btn--compact {
    padding: 0.5rem;
    border-radius: 10px;
  }
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .header-actions {
    gap: 1rem;
  }
}

/* ── App Store button ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.app-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.2);
}

.app-store-btn:active {
  transform: translateY(0);
}

.app-store-btn__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.app-store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
}

.app-store-btn__text small {
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.85;
}

.app-store-btn--large {
  padding: 0.75rem 1.5rem 0.75rem 1.125rem;
  border-radius: 14px;
}

.app-store-btn--large .app-store-btn__icon {
  width: 1.75rem;
  height: 1.75rem;
}

.app-store-btn--large .app-store-btn__text {
  font-size: 1.0625rem;
}

.app-store-btn--large .app-store-btn__text small {
  font-size: 0.6875rem;
}

.app-store-btn--inverted {
  background: var(--white);
  color: var(--black);
}

.app-store-btn--inverted:hover {
  background: var(--gray-100);
}

/* ── Typography ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: rgba(253, 253, 253, 0.7);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 32rem;
}

.lead--light {
  color: rgba(253, 253, 253, 0.8);
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.2) 0%,
    rgba(28, 28, 28, 0.35) 40%,
    rgba(28, 28, 28, 0.72) 78%,
    rgba(28, 28, 28, 0.85) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 3rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 36rem;
}

.hero__copy h1 {
  color: var(--white);
}

.hero__copy .app-store-btn {
  margin-top: 2rem;
}

.eyebrow--hero {
  color: rgba(253, 253, 253, 0.72);
}

.lead--hero {
  color: rgba(253, 253, 253, 0.88);
}

.app-store-btn--hero {
  background: var(--white);
  color: var(--black);
}

.app-store-btn--hero:hover {
  background: var(--gray-100);
}

/* ── Video placeholders ── */
.video-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.video-placeholder--hero {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(160deg, #3b6049 0%, #2a4535 45%, #1c1c1c 100%);
}

.video-placeholder--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(109, 103, 244, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(244, 202, 42, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.play-btn--hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  background: rgba(253, 253, 253, 0.15);
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 253, 253, 0.2);
}

.play-btn--hero:hover {
  opacity: 0.85;
  transform: translate(-50%, -50%) scale(1.06);
}

.video-placeholder__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.video-placeholder__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--black);
  margin-top: 1rem;
}

.video-placeholder__hint {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.video-placeholder--ugc {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.video-placeholder--ugc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(28, 28, 28, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.video-placeholder--ugc:nth-child(1) {
  background: linear-gradient(160deg, #e8e4df 0%, #d4cfc8 100%);
}

.video-placeholder--ugc:nth-child(2) {
  background: linear-gradient(160deg, #dfe8e0 0%, #c5d4c8 100%);
}

.video-placeholder--ugc:nth-child(3) {
  background: linear-gradient(160deg, #e5e0ea 0%, #cdc5d8 100%);
}

.video-placeholder--ugc:nth-child(4) {
  background: linear-gradient(160deg, #ebe5d5 0%, #d8cfba 100%);
}

.video-placeholder__tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(253, 253, 253, 0.92);
  color: var(--green);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(28, 28, 28, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}

.play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 3px;
}

.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(28, 28, 28, 0.16);
}

.play-btn--small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  z-index: 2;
}

.play-btn--small svg {
  width: 1rem;
  height: 1rem;
}

.play-btn--small:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* ── Sections ── */
.section {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
}

.section--light {
  background: var(--white);
}

.section--green {
  background: var(--green);
  color: var(--white);
}

.section--cta {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__inner--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__header--center {
  text-align: center;
}

.section__header--center h2 {
  margin: 0 auto;
}

.section__subtitle {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 28rem;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Testimonials ── */
.testimonials__group-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(253, 253, 253, 0.55);
  margin-bottom: 1.25rem;
}

.testimonials__group-label:not(:first-child) {
  margin-top: 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.testimonial-card {
  background: rgba(253, 253, 253, 0.08);
  border: 1px solid rgba(253, 253, 253, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(253, 253, 253, 0.12);
}

.testimonial-card__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1.25rem;
  color: var(--yellow);
}

.testimonial-card__stars svg {
  width: 1rem;
  height: 1rem;
}

.testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-card__author cite {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: 0.9375rem;
  display: block;
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: rgba(253, 253, 253, 0.6);
}

.testimonial-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(253, 253, 253, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── UGC grid ── */
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .ugc-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* ── CTA ── */
.cta-logo {
  width: 5rem;
  height: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.section--cta h2 {
  margin-bottom: 1rem;
}

.section--cta .lead {
  margin-bottom: 2.5rem;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--gray-200);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    row-gap: 1rem;
  }

  .site-footer__copy {
    order: 3;
    width: 100%;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__mark {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green);
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--purple);
  background: rgba(109, 103, 244, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-link:hover {
  background: rgba(109, 103, 244, 0.15);
  transform: translateY(-2px);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .play-btn:hover,
  .feature-card:hover,
  .app-store-btn:hover,
  .social-link:hover {
    transform: none;
  }
}
