/* ============================================================
   WaveXLR — design system
   Base: soft studio light (#f4f4f2) matching product shots
   UI:   charcoal cards, green fader accent, blue knob accent
   Type: Clash Display (display) + Satoshi (body)
   ============================================================ */

:root {
  --bg:        #f4f4f2;
  --bg-alt:    #ececea;
  --ink:       #0e0e10;
  --ink-soft:  #4a4a4f;
  --line:      rgba(14, 14, 16, 0.09);
  --green:     #2fbf5f;
  --blue:      #3fa9f5;
  --mint:      #dff3ea;
  --lavender:  #e9e2f6;
  --radius:    22px;
  --font-display: "Clash Display", "Space Grotesk", sans-serif;
  --font-body:    "Satoshi", "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

@keyframes pagein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body { animation: pagein 0.55s ease both; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; }

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

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

/* ---------- shared bits ---------- */

.grad-text {
  background: linear-gradient(92deg, var(--green) 10%, var(--blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}

.eyebrow--dark { color: var(--ink-soft); }

.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(47, 191, 95, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 191, 95, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(47, 191, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 95, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn--primary {
  background: var(--green);
  color: #07130b;
  box-shadow: 0 10px 30px rgba(47, 191, 95, 0.35);
}
.btn--primary:hover { background: #3ad06e; box-shadow: 0 16px 40px rgba(47, 191, 95, 0.45); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 34px rgba(14, 14, 16, 0.3);
}
.btn--dark:hover { background: #1e1e22; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 18px 24px auto 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(244, 244, 242, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(244, 244, 242, 0.9);
  box-shadow: 0 14px 40px rgba(14, 14, 16, 0.12);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav__word em { font-style: normal; color: var(--green); }
.nav__word--light { color: #fff; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav__links a { opacity: 0.75; transition: opacity 0.2s ease, color 0.2s ease; }
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { opacity: 1; color: var(--green-dim, #26a551); }

.nav__cta {
  background: var(--ink);
  color: #fff !important;
  opacity: 1 !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav__cta:hover { background: var(--green); color: #07130b !important; transform: translateY(-1px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 6vw 11vh;
  color: #fff;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { height: 100%; object-fit: cover; object-position: center 38%; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 8, 12, 0.82) 0%, rgba(10, 8, 12, 0.35) 45%, rgba(10, 8, 12, 0.05) 75%),
    linear-gradient(100deg, rgba(10, 8, 12, 0.35) 0%, transparent 55%);
}

.hero__copy { max-width: 720px; }

.hero h1 {
  font-size: clamp(56px, 8.5vw, 118px);
  font-weight: 700;
  margin-bottom: 24px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sections ---------- */

.section { padding: clamp(90px, 11vw, 150px) 6vw; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 760px; margin-bottom: clamp(44px, 5.5vw, 72px); }

.section__head h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 20px; }

.section__head p { color: var(--ink-soft); font-size: 18px; max-width: 560px; }

/* ---------- app screenshots — shown FULL, never cropped ---------- */

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(14, 14, 16, 0.13);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 44px 100px rgba(14, 14, 16, 0.18);
}

.shot img { height: auto; } /* natural aspect — the whole UI, edge to edge */

.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: start;
}

/* ---------- gallery (real desk photography) ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(14, 14, 16, 0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.gallery__item:hover {
  transform: scale(1.015);
  box-shadow: 0 34px 90px rgba(14, 14, 16, 0.2);
}

.gallery__item img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery__item:hover img { transform: scale(1.03); }

.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item--wide img { aspect-ratio: 21 / 9; }

/* ---------- CTA ---------- */

.cta {
  margin: 0 6vw clamp(90px, 11vw, 150px);
  border-radius: calc(var(--radius) * 1.4);
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(63, 169, 245, 0.22), transparent 60%),
    radial-gradient(900px 500px at 85% 100%, rgba(47, 191, 95, 0.35), transparent 60%),
    linear-gradient(160deg, var(--mint), var(--lavender));
  border: 1px solid var(--line);
  text-align: center;
}

.cta__inner { padding: clamp(80px, 10vw, 130px) 24px; }

.cta h2 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 18px; }

.cta p { color: var(--ink-soft); font-size: 18px; margin-bottom: 34px; }

.cta__note { margin-top: 26px; margin-bottom: 0 !important; font-size: 13.5px !important; letter-spacing: 0.06em; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 6vw;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__links { display: flex; gap: 26px; font-size: 14.5px; }
.footer__links a { opacity: 0.65; transition: opacity 0.2s ease; }
.footer__links a:hover { opacity: 1; color: var(--green); }

.footer__legal { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav { inset: 12px 12px auto 12px; }
  .nav__links { gap: 16px; font-size: 13.5px; }
  .nav__links a:not(.nav__cta):nth-child(3) { display: none; }
  .duo, .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide img { aspect-ratio: 16 / 10; }
  .footer__inner { flex-direction: column; text-align: center; }
}
