/* ==========================================================================
   Code Works — main stylesheet
   Brand: Montserrat / #2ecc71 / #27ae60 / #2c3e50
   ========================================================================== */

:root {
  --green: #2ecc71;
  --green-dark: #27ae60;
  --ink: #2c3e50;

  --bg: #0c141d;
  --bg-2: #101a25;
  --surface: #14212d;
  --line: rgba(255, 255, 255, 0.08);

  --text: #eef4f1;
  --muted: #8fa3b1;

  --font: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: auto; /* GSAP ScrollTo handles smooth anchors */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--green); color: var(--bg); }

/* ---------- Custom cursor: targeting reticle ---------- */

/* JS adds this class only when the reticle is actually driven */
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor [data-hover] {
  cursor: none;
}

.cursor-dot, .cursor-frame {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  z-index: 10000;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}
.cursor-frame {
  z-index: 9999;
  width: 42px; height: 42px;
  filter: drop-shadow(0 0 6px rgba(46, 204, 113, 0.45));
}
.cursor-frame span {
  position: absolute;
  width: 11px; height: 11px;
  border: 0 solid var(--green);
}
.cursor-frame span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.cursor-frame span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.cursor-frame span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.cursor-frame span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }

@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-frame { display: none; }
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader__inner { text-align: center; width: min(320px, 70vw); }
.preloader__logo { height: 44px; margin: 0 auto 2rem; }
.preloader__count {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.preloader__bar {
  height: 2px;
  margin-top: 1.25rem;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 600;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 var(--pad);
  background: linear-gradient(rgba(12, 20, 29, 0.85), rgba(12, 20, 29, 0.55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
  max-width: 1500px;
  margin: 0 auto;
}
.nav__logo img { height: 34px; }
.nav__links {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}
.nav__links a [data-nav-index] {
  color: var(--green);
  font-size: 0.6rem;
  vertical-align: super;
  margin-right: 0.35em;
  font-weight: 700;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.nav__cta:hover {
  background: var(--green-dark);
  box-shadow: 0 0 28px rgba(46, 204, 113, 0.45);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.lang-switch a {
  color: var(--muted);
  transition: color 0.3s;
}
.lang-switch a:hover { color: var(--green); }
.lang-switch .is-active { color: var(--green); }
.lang-switch__sep { color: rgba(255, 255, 255, 0.25); }

.lang-switch--menu {
  font-size: 1rem;
  gap: 0.7rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 8px 4px;
}
.nav__burger span {
  width: 28px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav__burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Mobile menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: flex; flex-direction: column; gap: 0.5rem; }
.menu__links a {
  font-size: clamp(2.2rem, 9vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.menu__links a:active { color: var(--green); }
.menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.menu__mail { color: var(--green); font-weight: 600; }

/* ---------- Shared ---------- */

section { position: relative; }

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.section-tag--center { text-align: center; }

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

/* split-text helpers (spans injected by JS) */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; will-change: transform; }
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: pre; }

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.btn span { position: relative; z-index: 1; }
.btn--solid {
  background: var(--green);
  color: var(--bg);
}
.btn--solid:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 40px rgba(46, 204, 113, 0.4);
}
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.18);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: -2% -2%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  opacity: 0.7;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__orb--a {
  width: 46vw; height: 46vw;
  max-width: 640px; max-height: 640px;
  right: -12vw; top: -8vw;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.22), transparent 65%);
}
.hero__orb--b {
  width: 34vw; height: 34vw;
  max-width: 460px; max-height: 460px;
  left: -10vw; bottom: -6vw;
  background: radial-gradient(circle, rgba(44, 62, 80, 0.9), transparent 65%);
}

.hero__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.65); opacity: 0.6; }
}

.hero__title {
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.hero__line { display: block; }
.hero__line--accent {
  color: var(--green);
  text-shadow: 0 0 60px rgba(46, 204, 113, 0.35);
}

.hero__sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 3rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll span:first-child {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll-track {
  width: 1.5px;
  height: 64px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll-track span {
  display: block;
  width: 100%; height: 40%;
  background: var(--green);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(280%); }
}
@media (max-width: 900px) {
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__group span {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1.6rem;
  color: var(--text);
}
.marquee__group span:nth-child(4n + 1) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 244, 241, 0.55);
}
.marquee__group i {
  font-style: normal;
  color: var(--green);
  font-size: 0.9rem;
}

/* ---------- Services ---------- */

.services { background: var(--bg); }

.services__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad);
  overflow: hidden;
}

.services__head {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto 3.5rem;
}

.services__track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  will-change: transform;
}

.service-card {
  width: clamp(300px, 34vw, 460px);
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.6rem, 2.5vw, 2.6rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(46, 204, 113, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(46, 204, 113, 0.45);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.service-card__num {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  line-height: 1;
  transition: -webkit-text-stroke-color 0.4s;
}
.service-card:hover .service-card__num { -webkit-text-stroke-color: rgba(46, 204, 113, 0.6); }

.service-card__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.25);
  display: grid;
  place-items: center;
  color: var(--green);
  margin-bottom: 1.6rem;
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.services__progress {
  max-width: 1500px;
  width: 100%;
  margin: 3.5rem auto 0;
  height: 2px;
  background: var(--line);
}
.services__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
}

/* mobile: vertical stack, no pin */
@media (max-width: 899px) {
  .services__pin { min-height: 0; }
  .services__track {
    flex-direction: column;
    width: 100%;
  }
  .service-card { width: 100%; }
  .services__progress { display: none; }
}

/* ---------- Work / Apps ---------- */

.work {
  padding: 8rem var(--pad);
  max-width: 1500px;
  margin: 0 auto;
}
.work__head { margin-bottom: 4rem; max-width: 720px; }
.work__sub { color: var(--muted); margin-top: 1.4rem; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.work-card:hover {
  border-color: rgba(46, 204, 113, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.work-card__top {
  position: relative;
  height: 240px;
  flex-shrink: 0;
  background:
    radial-gradient(120% 130% at 85% 110%, rgba(46, 204, 113, 0.16), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.work-card__icon {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2.4rem);
  bottom: clamp(1.4rem, 3vw, 2.4rem);
  width: 96px; height: 96px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.work-card__shot {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  top: 2.2rem;
  width: 150px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  transform: rotate(5deg);
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__shot { transform: rotate(2deg) translateY(-8px); }
.work-card__shot img { width: 100%; }

.work-card__body { padding: clamp(1.6rem, 2.5vw, 2.4rem); }

/* mobile: composed showcase instead of a cramped strip.
   Icon and shot position against the card itself so the icon can
   straddle the image/body boundary without being clipped. */
@media (max-width: 699px) {
  .work-card { position: relative; }
  .work-card__top {
    position: static;
    height: 265px;
    background:
      radial-gradient(130% 120% at 50% 120%, rgba(46, 204, 113, 0.2), transparent 60%),
      var(--bg-2);
  }
  .work-card__shot {
    width: min(62%, 220px);
    height: 205px;
    left: 0; right: 0;
    margin-inline: auto;
    top: 1.9rem;
    transform: none;
    rotate: 4deg;
    border-radius: 22px;
  }
  .work-card__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .work-card__icon {
    width: 74px; height: 74px;
    border-radius: 19px;
    left: 1.4rem;
    top: 228px;
    bottom: auto;
    z-index: 2;
  }
  .work-card__body { padding-top: 3.2rem; }
}
.work-card__body h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.work-card__tagline {
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.3rem 0 0.9rem;
}
.work-card__blurb { color: var(--muted); font-size: 0.97rem; }
.work-card__link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.work-card__link span {
  display: inline-block;
  color: var(--green);
  transition: transform 0.35s var(--ease);
}
.work-card:hover .work-card__link span { transform: translateX(6px); }

/* ---------- App detail pages ---------- */

.app-main { padding-top: 76px; }

.app-hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--pad) 3rem;
  overflow: hidden;
}
.app-hero__orb {
  position: absolute;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  right: -15vw; top: -20vw;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.16), transparent 62%);
  filter: blur(80px);
  pointer-events: none;
}
.app-hero__back {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.8rem;
  transition: color 0.3s;
}
.app-hero__back:hover { color: var(--green); }

.app-hero__id {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 2rem;
}
.app-hero__icon {
  width: clamp(84px, 12vw, 128px);
  height: clamp(84px, 12vw, 128px);
  border-radius: 26%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.app-hero__name {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.app-hero__tagline {
  color: var(--green);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-top: 0.6rem;
}

.app-hero__desc {
  position: relative;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.6rem;
}

.app-hero__stores { position: relative; }
.app-hero__stores-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.app-hero__badges { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 0.35s, color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.store-badge svg { width: 20px; height: 20px; }
.store-badge:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.2);
}

.app-shots {
  padding: 3rem 0 2rem;
  overflow: hidden;
}
.app-shots__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  padding: 1rem var(--pad);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.app-shots__track::-webkit-scrollbar { display: none; }

.app-shot-wrap {
  flex-shrink: 0;
  width: clamp(220px, 24vw, 300px);
  scroll-snap-align: center;
  will-change: transform;
}
.app-shot {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s;
  will-change: transform;
}
.app-shot:hover { border-color: rgba(46, 204, 113, 0.4); }
.app-shot img { width: 100%; }

/* big screens: centered card fan, no scroll strip */
@media (min-width: 1100px) {
  .app-shots {
    padding: 4rem 0 5.5rem;
  }
  .app-shots__track {
    overflow: visible;
    justify-content: center;
    scroll-snap-type: none;
    gap: 0;
    padding: 2rem var(--pad) 3rem;
  }
  .app-shot-wrap {
    width: clamp(200px, 15.5vw, 290px);
    margin-inline: calc(clamp(200px, 15.5vw, 290px) * -0.045);
  }
}

/* ---------- App "how we built it" ---------- */

.app-built {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 6rem var(--pad);
}
.app-built__inner { max-width: 880px; margin: 0 auto; }
.app-built__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}
.app-built__text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}
.app-built__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.app-built__chips li {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(46, 204, 113, 0.07);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
}
.app-built__chips li:hover {
  border-color: var(--green);
  background: rgba(46, 204, 113, 0.16);
  transform: translateY(-3px);
}

.app-cta {
  text-align: center;
  padding: 6rem var(--pad) 7rem;
}
.app-cta__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.app-cta__text {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.4rem;
}

/* ---------- About ---------- */

.about {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__statement-wrap {
  padding: clamp(7rem, 16vh, 12rem) var(--pad);
  max-width: 1200px;
  margin: 0 auto;
}

.about__statement {
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.about__statement .word { opacity: 0; }

.about__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad) 7rem;
}

.about__col {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 3rem);
  background: var(--bg);
  position: relative;
}
.about__col-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 1.4rem;
}
.about__col h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.about__col p { color: var(--muted); }

/* ---------- Why us ---------- */

.why {
  padding: 8rem var(--pad);
  max-width: 1500px;
  margin: 0 auto;
}
.why__head { margin-bottom: 4rem; }

.why__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}

.why-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: clamp(1.8rem, 2.6vw, 2.8rem);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s;
}
.why-card:hover { border-color: rgba(46, 204, 113, 0.5); }

.why-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
}
.why-card:hover .why-card__glow { opacity: 1; }

.why-card__num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green);
}
.why-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 1.1rem 0 0.9rem;
}
.why-card p { color: var(--muted); font-size: 0.97rem; }

.why-card__arrow {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 1.4rem;
  color: var(--green);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.why-card:hover .why-card__arrow { transform: translateX(0); opacity: 1; }

/* ---------- Contact ---------- */

.contact {
  padding: 9rem var(--pad) 8rem;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact__orb {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46, 204, 113, 0.13), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

.contact__title {
  position: relative;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.contact__sub {
  position: relative;
  max-width: 540px;
  margin: 0 auto 3.5rem;
  color: var(--muted);
}

.contact__mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: clamp(1.25rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
  padding: 1.2rem 2.4rem;
  border: 1.5px solid rgba(46, 204, 113, 0.4);
  border-radius: 100px;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.contact__mail:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 14px 70px rgba(46, 204, 113, 0.45);
}
.contact__mail-arrow {
  display: grid;
  place-items: center;
  width: 1.2em; height: 1.2em;
}
.contact__mail-arrow svg {
  width: 100%; height: 100%;
  transition: transform 0.4s var(--ease);
}
.contact__mail:hover .contact__mail-arrow svg { transform: translate(4px, -4px); }

.contact__social {
  position: relative;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.contact__social a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.contact__social a:hover { color: var(--green); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad);
  background: var(--bg);
}
.footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer__logo img { height: 26px; opacity: 0.85; }
.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__top {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer__top:hover { color: var(--green); }

/* ---------- 404 ---------- */

.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
  gap: 1rem;
}
.error-page h1 {
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--green);
}
.error-page p { color: var(--muted); }

/* ---------- Reveal defaults (JS sets initial states; this is the no-JS fallback) ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
