:root {
  --green-deep: #06251C;
  --green: #0B3D2E;
  --green-mid: #0F5C45;
  --gold: #D4AF37;
  --gold-light: #F0D890;
  --gold-dark: #8B6914;
  --cream: #F4F7F5;
  --ink: #10241D;
  --muted: #4B5E56;
  --white: #FFFFFF;
  --line: rgba(11, 61, 46, 0.12);
  --shadow: 0 18px 48px rgba(6, 37, 28, 0.18);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Cairo", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 28px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 100% -10%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(180deg, #F8FBF9 0%, var(--cream) 50%, #EAF1EE 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
figure { margin: 0; }

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn--gold {
  background: linear-gradient(180deg, #E8C65A, var(--gold));
  color: var(--green-deep);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}
.btn--gold:hover { background: linear-gradient(180deg, #F0D890, #E0BC45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  border-color: rgba(240, 216, 144, 0.45);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(240, 216, 144, 0.14); }
.btn--sm { min-height: 42px; padding: 0 14px; font-size: 14px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  white-space: nowrap;
}

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-solid {
  background: rgba(6, 37, 28, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(6, 37, 28, 0.28);
}
.nav__inner {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nav__links {
  display: none;
  gap: 20px;
  font-weight: 700;
  font-size: 14px;
}
.nav__links a {
  text-decoration: none;
  color: rgba(247, 245, 239, 0.9);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__cta { flex-shrink: 0; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #F7F5EF;
  overflow: hidden;
  z-index: 1;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease;
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 14s ease-out forwards;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 37, 28, 0.55) 0%, rgba(6, 37, 28, 0.2) 38%, rgba(6, 37, 28, 0.92) 100%),
    radial-gradient(80% 50% at 70% 10%, rgba(212, 175, 55, 0.2), transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: calc(72px + env(safe-area-inset-top, 0px)) 0 72px;
}
.brand-mark {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 12vw, 4.8rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 0.92;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}
.hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 5.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 18ch;
}
.hero__lead {
  margin: 0 0 22px;
  max-width: 36ch;
  font-size: clamp(0.95rem, 3.4vw, 1.08rem);
  color: rgba(247, 245, 239, 0.92);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__cta .btn { width: 100%; }
.hero__dots {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(247, 245, 239, 0.35);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.hero__dot.is-active {
  width: 22px;
  background: var(--gold);
}

/* —— Sections —— */
.section {
  padding: clamp(56px, 10vw, 88px) 0;
  position: relative;
  z-index: 1;
}
.section__head {
  max-width: 36rem;
  margin-bottom: clamp(24px, 5vw, 40px);
}
.section__head--center {
  text-align: center;
  margin-inline: auto;
}
.section__head h2,
.split__copy h2,
.moment h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  color: var(--green);
  font-weight: 800;
  line-height: 1.3;
}
.section__head p,
.split__copy > p,
.moment p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
}

/* —— Features (3) —— */
.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.feature {
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--green);
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Mosaic —— */
.mosaic {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(6, 37, 28, 0.12);
  min-height: 200px;
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--hero { min-height: 240px; }
.mosaic__item--hero img { min-height: 240px; }
.mosaic__item--tall,
.mosaic__item--wide { min-height: 180px; }

/* —— Split —— */
.split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--green-deep);
  color: #F2F5F3;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.split__stack {
  position: relative;
  padding: var(--pad) var(--pad) 8px;
}
.split__stack-main {
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.split__stack-float {
  position: absolute;
  width: min(42%, 160px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid rgba(247, 245, 239, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  inset-inline-start: calc(var(--pad) + 12px);
  bottom: 0;
  transform: rotate(-3deg);
}
.split__copy {
  padding: 40px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(212, 175, 55, 0.16), transparent 55%),
    linear-gradient(160deg, #0B3D2E, #06251C);
}
.split__copy h2 { color: var(--gold-light); }
.split__copy > p { color: rgba(247, 245, 239, 0.86); }
.split__copy .btn { align-self: stretch; }
.check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check li {
  position: relative;
  padding-inline-start: 26px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(247, 245, 239, 0.95);
}
.check li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* —— Plans —— */
.plan-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.plan {
  border-radius: 20px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.06);
}
.plan--accent {
  background: linear-gradient(165deg, #0F5C45, #06251C);
  color: #F7F5EF;
  border-color: transparent;
  box-shadow: var(--shadow);
}
.plan--accent h3,
.plan--accent .plan__hint,
.plan--accent .plan__note { color: #F7F5EF; }
.plan--accent .plan__hint,
.plan--accent .plan__note { opacity: 0.88; }
.plan--accent .plan__prices li { border-color: rgba(240, 216, 144, 0.22); }
.plan__badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}
.plan h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: var(--green);
}
.plan__hint {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--green-mid);
  font-size: 0.95rem;
}
.plan__note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan__prices {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan__prices li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
}
.plan__prices strong { color: var(--gold-dark); }
.plan--accent .plan__prices strong { color: var(--gold-light); }

/* —— Downloads —— */
.downloads {
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(11, 61, 46, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 55%);
}
.download-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 420px;
  margin-inline: auto;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #F7F5EF;
  background: linear-gradient(165deg, #0F5C45, #06251C);
  border: 1px solid rgba(240, 216, 144, 0.22);
  box-shadow: 0 12px 32px rgba(6, 37, 28, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store-btn__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  flex-shrink: 0;
}
.store-btn__icon svg { width: 24px; height: 24px; }
.store-btn__text {
  display: grid;
  gap: 2px;
  text-align: start;
}
.store-btn__text small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}
.store-btn__text strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
}
.store-btn--android .store-btn__icon { color: #7BE495; }

/* —— Moment —— */
.moment {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  overflow: hidden;
  z-index: 1;
}
.moment__media {
  position: absolute;
  inset: 0;
}
.moment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.moment__overlay {
  position: relative;
  z-index: 1;
  padding: 64px 0 calc(48px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, rgba(6, 37, 28, 0.8) 42%, rgba(6, 37, 28, 0.96) 100%);
  color: #F7F5EF;
}
.moment h2 { color: var(--gold-light); max-width: 16ch; }
.moment p {
  margin: 0 0 18px;
  max-width: 34ch;
  color: rgba(247, 245, 239, 0.9);
}
.moment .btn { width: 100%; max-width: 280px; }

.footer {
  background: var(--green-deep);
  color: rgba(247, 245, 239, 0.82);
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.footer__links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
}
.footer__links a:hover { text-decoration: underline; }
.footer__copy { margin: 0; font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  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-in {
  opacity: 1;
  transform: none;
}

@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* —— Tablet+ —— */
@media (min-width: 640px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero__cta .btn { width: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
    width: 100%;
  }
  .mosaic {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .mosaic__item--hero {
    grid-row: 1 / span 2;
    min-height: 0;
  }
  .mosaic__item--hero img,
  .mosaic__item img { min-height: 0; height: 100%; }
  .mosaic__item--tall { grid-column: 2; grid-row: 1; min-height: 0; }
  .mosaic__item--wide { grid-column: 2; grid-row: 2; min-height: 0; }
  .download-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
  .store-btn {
    width: auto;
    min-width: 220px;
    flex: 0 1 240px;
  }
  .split__copy .btn,
  .moment .btn { width: auto; align-self: flex-start; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__inner { min-height: 72px; }
  .brand__name { font-size: 1.5rem; }
  .hero__content { padding: 130px 0 100px; }
  .hero__slide { object-position: center 30%; }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid .feature:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
  }
  .split__stack {
    min-height: 100%;
    padding: 48px 32px 48px 40px;
    display: flex;
    align-items: center;
  }
  .split__stack-main {
    min-height: 420px;
    max-height: none;
    height: 100%;
  }
  .split__stack-float {
    width: 180px;
    inset-inline-start: 48px;
    bottom: 48px;
  }
  .split__copy { padding: 64px 48px; }
  .mosaic {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
  }
  .mosaic__item--hero { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic__item--tall { grid-column: 2; grid-row: 1 / span 2; }
  .mosaic__item--wide { grid-column: 3; grid-row: 1 / span 2; }
  .moment { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide,
  .hero__slide.is-active {
    animation: none;
    transition: opacity 0.35s ease;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .feature,
  .mosaic__item img,
  .store-btn { transition: none; }
}
