/* =========================
   TapIt Solutions - style.css
   ========================= */

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

:root {
  --bg: #050509;
  --panel: rgba(9, 9, 15, 0.96);
  --panel-strong: rgba(11, 11, 19, 0.98);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.8);
  --gold: #ffb347;
  --coral: #ff5252;
  --cyan: #3bd3ff;
  --green: #70ffb9;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top left, #1b0d24 0, #050509 45%),
    radial-gradient(circle at bottom right, #051a23 0, #050509 55%);
  color: var(--text);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.offer-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  background: rgba(5, 5, 9, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.offer-bar.offer-footer {
  position: relative;
  top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.offer-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  padding: 0.55rem 0;
  will-change: transform;
  animation: marqueeLeft 18s linear infinite;
}

.offer-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .offer-track { animation: none; justify-content: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #050509;
  box-shadow: 0 10px 30px rgba(255, 115, 80, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 115, 80, 0.7);
}

.btn-outline {
  border: 1px solid rgba(245, 245, 247, 0.35);
  background: rgba(5, 5, 9, 0.7);
  color: var(--text);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #171720, #282239);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover { background: rgba(245, 245, 247, 0.08); }

.btn-full { width: 100%; }

.nav {
  position: sticky;
  top: 2.1rem;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 5, 9, 0.95), rgba(5, 5, 9, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.nav-links a { position: relative; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transition: width 0.2s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(255, 82, 82, 0.35), transparent 60%),
    radial-gradient(circle at bottom right, rgba(66, 230, 149, 0.25), transparent 60%);
  opacity: 0.9;
  z-index: -2;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background: #ff7b5c;
  top: -120px;
  left: -80px;
  animation: blobMove1 16s infinite alternate ease-in-out;
}

.hero::after {
  background: var(--cyan);
  bottom: -160px;
  right: -140px;
  animation: blobMove2 18s infinite alternate ease-in-out;
}

@keyframes blobMove1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 120px) scale(1.15); }
}

@keyframes blobMove2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -80px) scale(1.12); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-badges span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.8);
  border: 1px solid rgba(245, 245, 247, 0.12);
  animation: badgePulse 4s ease-in-out infinite alternate;
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 rgba(255, 178, 71, 0); }
  100% { box-shadow: 0 0 18px rgba(255, 178, 71, 0.45); }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.stat-number { font-size: 1.25rem; font-weight: 600; }
.stat-suffix { font-size: 0.95rem; font-weight: 500; margin-right: 0.25rem; }
.stat-label { font-size: 0.8rem; opacity: 0.8; }

.hero-media {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.hero-card {
  position: relative;
  background: rgba(5, 5, 9, 0.88);
  border-radius: 1.4rem;
  padding: 0.9rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  width: min(440px, 100%);
}

.hero-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 11 / 13;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.hero-media-asset {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.section { padding: 4rem 0; }

.section-alt {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-header h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.section-header p { color: var(--muted); }

.how-story {
  --stand-in: 0;
  --phone-in: 0;
  --tap-in: 0;
  --pulse-in: 0;
  --review-in: 0;
  position: relative;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 22% 26%, rgba(59, 211, 255, 0.1), transparent 26%),
    radial-gradient(circle at 78% 24%, rgba(255, 179, 71, 0.12), transparent 24%),
    linear-gradient(180deg, #08090d 0%, #050509 100%);
  overflow: clip;
}

.how-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 60%);
  pointer-events: none;
}

.how-story-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2rem;
}

.how-story-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.78rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 245, 247, 0.82);
}

.how-story-header p {
  max-width: 38rem;
  margin: 0.55rem auto 0;
  color: rgba(245, 245, 247, 0.72);
}

.how-story-shell {
  position: relative;
  min-height: 245vh;
}

.how-story-stage {
  position: sticky;
  top: 5.6rem;
  min-height: calc(100vh - 6.6rem);
  display: grid;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 2.2rem;
}

.how-scene {
  position: relative;
  min-height: min(72vh, 760px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(16, 17, 25, 0.98), rgba(7, 7, 12, 0.98));
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.how-spotlight {
  position: absolute;
  inset: auto 50% 10%;
  width: min(720px, 72vw);
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(59, 211, 255, 0.04) 45%, transparent 72%);
  filter: blur(14px);
  opacity: 0.9;
}

.tapit-stand {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: clamp(250px, 26vw, 340px);
  transform: translateX(-50%) translateY(calc(36px - 36px * var(--stand-in))) scale(calc(0.88 + 0.12 * var(--stand-in)));
  transform-origin: center bottom;
  opacity: calc(0.08 + 0.92 * var(--stand-in));
  transition: transform 0.18s linear, opacity 0.18s linear;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.38));
}

.tapit-stand-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.35rem;
}

.phone-shell {
  position: absolute;
  right: 10%;
  top: 18%;
  width: clamp(210px, 18vw, 270px);
  aspect-ratio: 10 / 19.5;
  border-radius: 2rem;
  padding: 0.8rem;
  background: linear-gradient(160deg, #1d2330, #080b12 52%, #020306);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: calc(0.02 + 0.98 * var(--phone-in));
  transform:
    translate3d(calc(180px - 180px * var(--phone-in) - 50px * var(--tap-in)), calc(12px + 105px * var(--tap-in)), 0)
    rotate(calc(14deg - 15deg * var(--phone-in) - 3deg * var(--tap-in)))
    scale(calc(0.84 + 0.16 * var(--phone-in)));
  transform-origin: center center;
  transition: transform 0.18s linear, opacity 0.18s linear;
}

.phone-gloss {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 22%, transparent 65%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  width: 34%;
  height: 1.1rem;
  border-radius: 0 0 1rem 1rem;
  background: #05070b;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 1.45rem;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1420, #080b12);
}

.screen-state {
  position: absolute;
  inset: 0;
  padding: 1rem;
}

.screen-idle {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 24%, rgba(88, 170, 255, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.94), rgba(5, 8, 12, 0.98));
  opacity: calc(1 - var(--review-in));
  transition: opacity 0.18s linear;
}

.screen-idle-chip {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.82);
}

.screen-idle-wave {
  width: 100%;
  height: 44%;
  margin-top: 0.8rem;
  border-radius: 1.3rem 1.3rem 0 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 211, 255, 0.32), transparent 22%),
    linear-gradient(180deg, rgba(25, 48, 84, 0.96), rgba(9, 17, 34, 0.95));
}

.screen-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, #ffffff, #eef1f5);
  color: #111;
  opacity: var(--review-in);
  transform: translateY(calc(18px - 18px * var(--review-in)));
  transition: opacity 0.18s linear, transform 0.18s linear;
}

.review-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(#4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.review-panel {
  margin-top: 0.2rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(18, 24, 34, 0.12);
}

.review-label {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.review-stars {
  display: flex;
  gap: 0.32rem;
  margin: 0.85rem 0 0.75rem;
}

.review-stars span {
  font-size: 1.25rem;
  color: #fbbc05;
  opacity: 0;
  transform: translateY(12px) scale(0.8);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.how-story.review-ready .review-stars span {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.how-story.review-ready .review-stars span:nth-child(1) { transition-delay: 0ms; }
.how-story.review-ready .review-stars span:nth-child(2) { transition-delay: 55ms; }
.how-story.review-ready .review-stars span:nth-child(3) { transition-delay: 110ms; }
.how-story.review-ready .review-stars span:nth-child(4) { transition-delay: 165ms; }
.how-story.review-ready .review-stars span:nth-child(5) { transition-delay: 220ms; }

.review-copy {
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.review-button {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #171717, #323232);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.nfc-pulse {
  position: absolute;
  left: calc(50% + 105px);
  bottom: 37%;
  width: clamp(58px, 6vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(94, 198, 255, 0.55);
  background: radial-gradient(circle, rgba(125, 214, 255, 0.22), rgba(59, 211, 255, 0.02));
  opacity: calc(0.9 * var(--pulse-in));
  transform: scale(calc(0.5 + 1.25 * var(--pulse-in)));
  filter: blur(0.2px);
  transition: transform 0.18s linear, opacity 0.18s linear;
}

.nfc-pulse-secondary {
  width: clamp(92px, 9vw, 126px);
  left: calc(50% + 86px);
  bottom: calc(37% - 22px);
  opacity: calc(0.5 * var(--pulse-in));
  transform: scale(calc(0.38 + 1.4 * var(--pulse-in)));
}

.how-story-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.how-step {
  padding: 1rem 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 245, 247, 0.52);
  transition: transform 0.28s ease, border-color 0.28s ease, color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.how-step.is-active {
  color: rgba(245, 245, 247, 0.96);
  border-color: rgba(255, 179, 71, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

.how-step-index {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 179, 71, 0.82);
}

.how-step p {
  font-size: 0.92rem;
  line-height: 1.45;
}
.how-video-modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s ease, visibility 0.34s ease;
  z-index: 8;
}

.how-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.how-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.7);
  backdrop-filter: blur(14px);
}

.how-video-dialog {
  position: relative;
  width: min(860px, 100%);
  padding: 1rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(16, 18, 24, 0.96), rgba(8, 10, 14, 0.96));
  box-shadow: 0 42px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
}

.how-video-modal.is-open .how-video-dialog {
  transform: translateY(0) scale(1);
}

.how-video-frame {
  overflow: hidden;
  border-radius: 1.1rem;
  background: #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.how-video-player {
  display: block;
  width: 100%;
  max-height: min(72vh, 680px);
  background: #000;
}

.how-video-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.92);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.how-video-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

#clients { position: relative; overflow: hidden; }

#clients.section-alt {
  background:
    radial-gradient(circle at top center, rgba(255, 178, 71, 0.1), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 211, 255, 0.1), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 82, 82, 0.06), transparent 55%);
}

.clients-header p {
  max-width: 34rem;
  margin: 0.2rem auto 1.2rem auto;
}

.clients-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
}

.clients-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 178, 71, 0.7);
  background: rgba(5, 5, 9, 0.9);
  color: rgba(245, 245, 247, 0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.customers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.customer-card {
  background: var(--panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.customer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 178, 71, 0.7);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.customer-image-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 240px;
}

.customer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s ease;
}

.customer-card:hover .customer-photo { transform: scale(1.12); }

.customer-content { padding: 1.5rem 1.6rem 1.7rem; }
.customer-name { margin-bottom: 0.45rem; font-size: 1.02rem; }

.customer-metric {
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.customer-quote {
  color: rgba(245, 245, 247, 0.9);
  line-height: 1.6;
  font-size: 0.93rem;
}

.customers-footnote {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: rgba(245, 245, 247, 0.75);
}

.customer-chip {
  position: absolute;
  bottom: 10%;
  left: 8%;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--panel);
  border-radius: 1.4rem;
  padding: 1.6rem 1.6rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 178, 71, 0.7);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.pricing-card-featured {
  border-color: rgba(255, 178, 71, 0.9);
  box-shadow: 0 18px 60px rgba(255, 115, 80, 0.4);
}

.pricing-card .badge {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  background: rgba(255, 178, 71, 0.13);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price { font-size: 1.6rem; font-weight: 600; }
.price-label { font-size: 0.8rem; font-weight: 400; opacity: 0.8; margin-left: 0.3rem; }

.price-old {
  display: block;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.6);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0.8rem 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: rgba(245, 245, 247, 0.85);
}

.pricing-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.9);
}

.benefits-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(232, 228, 221, 0.96), rgba(205, 201, 194, 0.94)),
    repeating-linear-gradient(0deg, rgba(26, 26, 26, 0.028) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(26, 26, 26, 0.02) 0 1px, transparent 1px 52px);
  color: #111;
  isolation: isolate;
}

.benefits-section::before,
.benefits-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.benefits-section::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.78), transparent 0 28%),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.38), transparent 0 24%),
    radial-gradient(circle at 50% 75%, rgba(0, 0, 0, 0.08), transparent 0 35%);
  mix-blend-mode: soft-light;
  opacity: 0.72;
}

.benefits-section::after {
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.14) 0.7px, transparent 0.8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  background-size: 4px 4px, 100% 100%;
  opacity: 0.22;
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

.benefits-heading {
  max-width: 980px;
  margin-bottom: 2.4rem;
  color: #111;
}

.benefits-heading.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  filter: blur(10px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
}

.benefits-heading.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.benefits-breaking-line {
  display: inline-block;
  width: 100%;
  padding: 0.55rem 0;
  margin-bottom: 1.35rem;
  border-top: 2px solid rgba(17, 17, 17, 0.72);
  border-bottom: 2px dashed rgba(17, 17, 17, 0.5);
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1rem, 1.2vw + 0.8rem, 1.55rem);
  letter-spacing: 0.01em;
  text-transform: none;
}

.benefits-breaking-line::first-letter {
  font-weight: 700;
}

.benefits-title {
  margin-bottom: 0.7rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.benefits-title span {
  display: block;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(2.6rem, 5vw + 0.8rem, 5.3rem);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.benefits-dek {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.74);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.benefit-card {
  position: relative;
  min-height: 250px;
  padding: 1.4rem 1.55rem 1.5rem;
  border-radius: 0.18rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(231, 228, 223, 0.96)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 26px);
  color: #111;
  box-shadow:
    0 24px 40px rgba(0, 0, 0, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  overflow: hidden;
}

.benefit-card::before,
.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.benefit-card::before {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(0, 0, 0, 0.085), transparent 26%);
  opacity: 0.9;
}

.benefit-card::after {
  inset: auto 1.55rem 1.15rem;
  height: 1px;
  background: rgba(17, 17, 17, 0.14);
}

.benefit-card.reveal {
  opacity: 0;
  transform: translateY(54px) scale(0.985);
  filter: grayscale(1) blur(12px) contrast(1.28);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s ease,
    box-shadow 0.32s ease;
  transition-delay: calc(var(--card-order, 0) * 140ms + 140ms);
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: grayscale(1) blur(0) contrast(1.02);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 46px rgba(0, 0, 0, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

.benefit-card-label {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.32);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
}

.benefit-card h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(17, 17, 17, 0.2);
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1.95rem, 1.5vw + 1.1rem, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.benefit-card p {
  max-width: 24rem;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(1.15rem, 0.8vw + 1rem, 1.55rem);
  line-height: 1.18;
  color: rgba(17, 17, 17, 0.88);
}

.faq-section {
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 5% auto auto 8%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 211, 255, 0.1), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
}

.faq-panel {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(13, 13, 21, 0.98), rgba(8, 8, 14, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.faq-panel-intro {
  padding: 1.8rem;
  position: sticky;
  top: 6rem;
  overflow: hidden;
}

.faq-panel-intro::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -24%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.16), transparent 70%);
  filter: blur(10px);
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  position: relative;
  overflow: hidden;
  background: rgba(10, 10, 17, 0.96);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0), rgba(255, 179, 71, 0.95), rgba(59, 211, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover,
.faq-item.is-open {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 71, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 179, 71, 0.08);
  background: linear-gradient(135deg, rgba(13, 13, 21, 0.98), rgba(10, 10, 17, 0.95));
}

.faq-item:hover::before,
.faq-item.is-open::before { opacity: 1; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  font-weight: 500;
  line-height: 1.45;
}

.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-icon::after {
  width: 1.5px;
  height: 8px;
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.1);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-answer p {
  overflow: hidden;
  padding: 0 1.3rem;
  color: rgba(245, 245, 247, 0.78);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1.25rem;
}

.section-contact {
  background:
    radial-gradient(circle at top right, rgba(255, 82, 82, 0.24), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 178, 71, 0.18), transparent 55%);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-copy h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.contact-copy p { margin-bottom: 1rem; }

.contact-details {
  list-style: none;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.9);
}

.contact-details li + li { margin-top: 0.4rem; }

.contact-link {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.contact-link:hover { opacity: 0.8; text-decoration: underline; }

.contact-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.contact-social a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social a:hover,
.footer-social a:hover { transform: translateY(-2px); opacity: 1; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0 1.4rem;
  background: #050509;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: rgba(245, 245, 247, 0.75);
}

.footer-right { display: flex; align-items: center; gap: 1rem; }
.footer-made { opacity: 0.7; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-icon { width: 20px; height: 20px; display: block; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

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

.faq-item.reveal {
  transition-delay: calc(var(--card-order, 0) * 70ms);
}

@media (min-width: 720px) {
  .customers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-inner,
  .faq-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner { gap: 2.4rem; }
  .hero-media { justify-content: center; margin-top: 0.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .faq-panel-intro { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .nav { top: 2.1rem; }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #050509;
    flex-direction: column;
    padding: 0.8rem 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }

  .nav-links.open { max-height: 320px; }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 3.4rem; }
  .hero-stats { flex-direction: column; }
  .stat { width: 100%; justify-content: flex-start; }
  .hero-media-frame { aspect-ratio: 4 / 5; }
    .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card:hover { transform: translateY(-8px); }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 1.9rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badges { flex-direction: column; }
  .section { padding: 3.2rem 0; }
  .hero-media-frame { aspect-ratio: 10 / 11; }
  .offer-track { animation-duration: 14s; }

  .benefits-heading,
  .faq-panel-intro,
  .faq-question { padding-inline: 1.1rem; }

  .benefit-card {
    min-height: 205px;
    padding-inline: 1.15rem;
  }
}




@media (max-width: 900px) {
  .how-story-shell {
    min-height: 205vh;
  }

  .how-story-stage {
    top: 5rem;
    min-height: calc(100vh - 5.8rem);
  }

  .how-scene {
    min-height: 620px;
  }

  .phone-shell {
    right: 4%;
    top: 14%;
    width: clamp(190px, 34vw, 230px);
    transform:
      translate3d(calc(120px - 120px * var(--phone-in) - 32px * var(--tap-in)), calc(10px + 88px * var(--tap-in)), 0)
      rotate(calc(12deg - 14deg * var(--phone-in) - 3deg * var(--tap-in)))
      scale(calc(0.86 + 0.14 * var(--phone-in)));
  }

  .nfc-pulse {
    left: calc(50% + 72px);
    bottom: 39%;
  }

  .nfc-pulse-secondary {
    left: calc(50% + 56px);
    bottom: calc(39% - 18px);
  }

  .how-story-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .how-story {
    padding-top: 3.2rem;
  }

  .how-story-header {
    margin-bottom: 1.4rem;
  }

  .how-story-shell {
    min-height: auto;
  }

  .how-story-stage {
    position: relative;
    top: 0;
    min-height: auto;
    gap: 1rem;
    padding-bottom: 0;
  }

  .how-scene {
    min-height: 540px;
    border-radius: 1.5rem;
  }

  .tapit-stand {
    width: 220px;
    bottom: 11%;
  }

  .phone-shell {
    top: 8%;
    right: 2%;
    width: 180px;
    transform:
      translate3d(calc(70px - 70px * var(--phone-in) - 18px * var(--tap-in)), calc(8px + 65px * var(--tap-in)), 0)
      rotate(calc(10deg - 12deg * var(--phone-in) - 2deg * var(--tap-in)))
      scale(calc(0.9 + 0.1 * var(--phone-in)));
  }

  .review-panel {
    padding: 0.85rem;
  }

  .review-label {
    font-size: 0.96rem;
  }

  .review-stars span {
    font-size: 1.12rem;
  }

  .nfc-pulse {
    left: calc(50% + 48px);
    bottom: 38%;
    width: 56px;
  }

  .nfc-pulse-secondary {
    left: calc(50% + 32px);
    bottom: calc(38% - 14px);
    width: 86px;
  }

  .how-story-notes {
    grid-template-columns: 1fr;
  }

  .how-step {
    padding: 0.9rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-story-shell {
    min-height: auto;
  }

  .how-story-stage {
    position: relative;
    top: 0;
    min-height: auto;
  }

  .tapit-stand,
  .phone-shell,
  .nfc-pulse,
  .nfc-pulse-secondary,
  .screen-idle,
  .screen-review,
  .review-stars span {
    transition: none;
  }
}

