/* Servicebuz storefront */
:root {
  --bg: #07090d;
  --card: #12161d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #9aa3b2;
  --green: #c6f135;
  --green-2: #9ad40f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font: "Plus Jakarta Sans", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(198, 241, 53, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 4vw;
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.logo { font-weight: 800; letter-spacing: -0.04em; }

.links {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #111; }
.btn-green:hover { background: #d5ff55; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }

.menu { display: none; }

.hero, .services, .method, .system, .work, .quotes, .close {
  padding: 4.5rem 4vw;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 4.5rem);
}

.hero-copy > * {
  animation: rise 0.8s ease both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

.eyebrow {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1, h2 { letter-spacing: -0.045em; line-height: 0.98; margin: 0.3rem 0 0.8rem; }
h1 { font-size: clamp(3.6rem, 7vw, 6.4rem); font-weight: 800; text-transform: uppercase; }
h1 span { color: var(--green); display: inline-block; animation: glow 3.4s ease-in-out infinite; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; }

.lede { max-width: 36rem; color: #c5ccd6; font-size: 1.08rem; }

.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.3rem 0; }

.pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pills li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-stage {
  position: relative;
  min-height: 28rem;
  --mx: 0px;
  --my: 0px;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  animation: bob 8s ease-in-out infinite;
}

.hero-stage::before {
  width: 9rem;
  height: 9rem;
  top: 8%;
  left: 4%;
  background: rgba(198, 241, 53, 0.22);
}

.hero-stage::after {
  width: 6rem;
  height: 6rem;
  right: 4%;
  bottom: 14%;
  background: rgba(120, 170, 255, 0.2);
  animation-delay: -2.4s;
}

.laptop, .phone, .float {
  position: absolute;
  box-shadow: var(--shadow);
}

.laptop {
  right: 0;
  top: 3rem;
  width: min(100%, 34rem);
  animation: laptop-bob 7.2s ease-in-out infinite;
  translate: calc(var(--mx) * 0.35) calc(var(--my) * 0.35);
}

.screen {
  background: linear-gradient(180deg, #1a2030, #10141c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  padding: 1rem;
  min-height: 16rem;
}

.dash-top, .dash-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #c9d0da;
}

.dash-top span { color: var(--green); font-weight: 800; }

.chart {
  height: 8.5rem;
  margin: 0.8rem 0;
  border-radius: 0.7rem;
  background:
    linear-gradient(180deg, transparent 40%, rgba(198, 241, 53, 0.18)),
    linear-gradient(115deg, transparent 20%, #c6f135 20.4%, transparent 21%),
    #0d1118;
  animation: chart-pulse 3.6s ease-in-out infinite;
}

.laptop-base {
  height: 0.7rem;
  background: #2a303a;
  border-radius: 0 0 0.6rem 0.6rem;
}

.phone {
  left: 6%;
  bottom: 1.5rem;
  width: 9.2rem;
  padding: 0.7rem;
  border-radius: 1.3rem;
  background: #0e1218;
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: phone-bob 6.1s ease-in-out infinite;
  translate: calc(var(--mx) * -0.7) calc(var(--my) * -0.55);
}

.phone-shot {
  height: 8rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 50% 30%, #3a4250, transparent 40%),
    linear-gradient(180deg, #2a241c, #111);
}

.phone p, .phone strong, .phone span { display: block; margin: 0.25rem 0 0; }
.phone p { font-size: 0.75rem; }
.phone span {
  margin-top: 0.4rem;
  text-align: center;
  background: var(--green);
  color: #111;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem;
}

.float {
  z-index: 2;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  background: #171c24;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  animation: bob 5.2s ease-in-out infinite;
  translate: calc(var(--mx) * 1.15) calc(var(--my) * 1.05);
}

.float-shop { top: 1.2rem; left: 18%; animation-delay: -0.4s; }
.float-wp { top: 0.4rem; right: 18%; animation-delay: -1.6s; }
.float-woo { top: 4.5rem; right: 0; animation-delay: -2.4s; }
.float-cart { bottom: 5rem; right: 8%; animation-delay: -3.1s; }

.trust { padding: 0 4vw 2rem; }
.trust p { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: nowrap;
  width: max-content;
  color: #d5dbe3;
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0.8;
  animation: marquee 28s linear infinite;
}

.trust-row span { padding-right: 1.2rem; }
.marquee:hover .trust-row { animation-play-state: paused; }

.split-head, .system {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.services p, .system p, .section-kicker p, .close p { color: var(--muted); max-width: 36rem; }

.text-link { color: var(--green); font-weight: 700; }

.cards, .work-grid, .quote-grid, .stats, .phases {
  display: grid;
  gap: 0.8rem;
}

.cards, .work-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
.stats { grid-template-columns: repeat(4, 1fr); padding: 0 4vw 1rem; }
.phases { grid-template-columns: repeat(3, 1fr); }

.cards article, .phases li, .stats article, .quote-grid blockquote, .work-grid article, .close {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.cards article, .phases li, .quote-grid blockquote { padding: 1.1rem; }
.cards h3, .phases h3, .work-grid h3 { margin: 0 0 0.35rem; }
.cards p, .phases li, .work-grid p { color: var(--muted); margin: 0; }

.phases { list-style: none; padding: 0; margin: 0; }
.phases span { color: var(--green); font-weight: 800; }
.phases ul { margin: 0.6rem 0 0; padding-left: 1rem; }

.section-kicker { margin-bottom: 1.2rem; }

.orbit {
  min-height: 22rem;
  position: relative;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 241, 53, 0.16), transparent 28%),
    #10141b;
}

.orbit span, .orbit strong {
  position: absolute;
  border: 1px solid var(--line);
  background: #171c24;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
}

.orbit strong {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--green);
  color: #111;
  font-weight: 800;
  border: 0;
  animation: pulse 3.2s ease-in-out infinite;
}

.orbit span { animation: bob 6s ease-in-out infinite; }
.orbit span:nth-child(1) { top: 12%; left: 38%; }
.orbit span:nth-child(2) { top: 28%; right: 8%; animation-delay: -1s; }
.orbit span:nth-child(3) { bottom: 28%; right: 10%; animation-delay: -2s; }
.orbit span:nth-child(4) { bottom: 12%; left: 36%; animation-delay: -2.8s; }
.orbit span:nth-child(5) { bottom: 30%; left: 6%; animation-delay: -3.6s; }
.orbit span:nth-child(6) { top: 30%; left: 8%; animation-delay: -4.4s; }

.stats article { padding: 1.2rem; }
.stats strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.stats span { color: var(--muted); }

.shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
}
.work-grid article { padding: 0.7rem; background: transparent; border: 0; }

.shot-card { cursor: pointer; }
.shot-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.lightbox {
  width: min(880px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  margin: auto;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #0c1016;
  color: var(--text);
  overflow: auto;
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.78); }

.lightbox img { display: block; width: 100%; height: auto; border-radius: 0.7rem; }

.lightbox-close {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 0.5rem auto;
  display: block;
  border: 1px solid var(--line);
  background: #171c24;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.work-grid p { font-size: 0.85rem; }

.quote-grid blockquote { margin: 0; }
.quote-grid p { color: var(--text); }
.quote-grid footer { margin-top: 1rem; color: var(--muted); }
.quote-grid strong { display: block; color: var(--text); }

.close {
  margin: 1rem 4vw 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(400px 180px at 90% 80%, rgba(198, 241, 53, 0.2), transparent 60%),
    var(--card);
}

.bag {
  width: 7rem;
  height: 7rem;
  border-radius: 1.4rem;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #111;
  font-size: 3rem;
  font-weight: 800;
  animation: bob 5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal .cards article,
.reveal .phases li,
.reveal .stats article,
.reveal .work-grid article,
.reveal .quote-grid blockquote {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.35s ease;
}

.reveal.is-in .cards article,
.reveal.is-in .phases li,
.reveal.is-in .stats article,
.reveal.is-in .work-grid article,
.reveal.is-in .quote-grid blockquote {
  opacity: 1;
  transform: none;
}

.reveal.is-in .cards article:nth-child(2),
.reveal.is-in .phases li:nth-child(2),
.reveal.is-in .work-grid article:nth-child(2),
.reveal.is-in .quote-grid blockquote:nth-child(2),
.reveal.is-in .stats article:nth-child(2) { transition-delay: 0.08s; }

.reveal.is-in .cards article:nth-child(3),
.reveal.is-in .phases li:nth-child(3),
.reveal.is-in .work-grid article:nth-child(3),
.reveal.is-in .quote-grid blockquote:nth-child(3),
.reveal.is-in .stats article:nth-child(3) { transition-delay: 0.16s; }

.reveal.is-in .cards article:nth-child(4),
.reveal.is-in .stats article:nth-child(4) { transition-delay: 0.24s; }

.reveal.is-in .cards article:nth-child(5) { transition-delay: 0.32s; }
.reveal.is-in .cards article:nth-child(6) { transition-delay: 0.4s; }

.reveal.is-in .cards article:hover,
.reveal.is-in .phases li:hover,
.reveal.is-in .work-grid article:hover,
.reveal.is-in .quote-grid blockquote:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 241, 53, 0.35);
  transition-delay: 0s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes laptop-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-16px); }
}

@keyframes phone-bob {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(12px); }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 22px rgba(198, 241, 53, 0.55); }
}

@keyframes chart-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal .cards article,
  .reveal .phases li,
  .reveal .stats article,
  .reveal .work-grid article,
  .reveal .quote-grid blockquote {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (scripting: none) {
  .reveal,
  .reveal .cards article,
  .reveal .phases li,
  .reveal .stats article,
  .reveal .work-grid article,
  .reveal .quote-grid blockquote {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu { display: inline-flex; margin-left: auto; background: none; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.7rem; }
  .nav .btn-green { display: none; }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 4vw 1.2rem;
    background: #0c1016;
    border-bottom: 1px solid var(--line);
  }
  .links.is-open { display: flex; }
  .hero, .split-head, .system, .phases, .cards, .work-grid, .quote-grid, .stats { grid-template-columns: 1fr; }
  .hero-stage { min-height: 24rem; }
  .laptop { width: 88%; }
  .close { flex-direction: column; align-items: flex-start; }
}
