/* =========================
   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;
  --section-space: clamp(3.6rem, 6vw, 6rem);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

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;
  overflow-x: hidden;
  width: 100%;
}

body.modal-open { overflow: hidden; }

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

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

.hero-copy,
.hero-media,
.hero-card,
.contact-copy,
.faq-panel,
.customer-card,
.benefit-card,
.pricing-card,
.featured-story,
.featured-story-copy {
  min-width: 0;
}

.offer-bar {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  max-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;
  min-width: max-content;
  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; }

  #home .hero-copy::before {
    animation: none;
  }

  #home .eyebrow,
  #home .hero-line,
  #home .hero-subtitle {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.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 {
  padding: 0.35rem 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.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-links a:hover,
.nav-links a.is-current { color: #fff; }
.nav-links a.is-current::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.75rem 0 var(--section-space);
  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;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.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;
  max-width: 100%;
}

@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: linear-gradient(135deg, rgba(8, 8, 14, 0.98), rgba(15, 16, 25, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
  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-card--showcase {
  width: min(760px, 100%);
  padding: 1rem;
  border-radius: 1.8rem;
}

@keyframes heroCardIdle {
  0% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-6px) rotateX(2deg) rotateY(-2.5deg); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-card {
    animation: heroCardIdle 7s ease-in-out infinite;
  }
}

.tapit-product-hero {
  position: relative;
  min-height: 34rem;
  border-radius: 1.7rem;
  overflow: visible;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 1.35rem;
}

.tapit-product-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  pointer-events: none;
  z-index: 0;
}

.tapit-product-hero__orb--cyan {
  width: 18rem;
  height: 18rem;
  right: -2rem;
  top: 0.5rem;
  background: rgba(76, 223, 255, 0.3);
}

.tapit-product-hero__orb--blue {
  width: 14rem;
  height: 14rem;
  left: -1.5rem;
  bottom: 1rem;
  background: rgba(79, 119, 255, 0.22);
}

.tapit-product-hero__glass {
  position: absolute;
  inset: 9% 10% 11%;
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 55%);
  border: 1px solid rgba(197, 237, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 0;
}

.tapit-product-hero__backplate {
  position: absolute;
  inset: 16% 21% 15%;
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(112, 214, 255, 0.12), transparent 62%);
  border: 1px solid rgba(204, 240, 255, 0.14);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translate3d(1rem, 1rem, 0) rotate(-4deg);
  transform-origin: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 0;
}

.tapit-product-hero__product {
  position: relative;
  margin: 0;
  width: min(420px, 100%);
  transform: perspective(1400px) rotateX(8deg) rotateY(-13deg) rotateZ(-1deg) scale(1.035);
  transform-style: preserve-3d;
  animation: tapitProductFloat 8.5s ease-in-out infinite;
  z-index: 1;
}

.tapit-product-hero__product::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -1.95rem;
  height: 3.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.56), transparent 72%);
  filter: blur(22px);
  z-index: -1;
}

.tapit-product-hero__sheen {
  position: absolute;
  inset: 0 auto auto 0;
  width: 70%;
  height: 42%;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: skewX(-16deg) translateX(-12%);
  opacity: 0.42;
  pointer-events: none;
  z-index: 2;
}

.tapit-product-hero__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.45rem;
  border: 1px solid rgba(213, 243, 255, 0.14);
  box-shadow:
    0 34px 64px rgba(0, 0, 0, 0.38),
    0 16px 40px rgba(39, 199, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

@keyframes tapitProductFloat {
  0%, 100% { transform: perspective(1400px) rotateX(8deg) rotateY(-13deg) rotateZ(-1deg) translateY(0) scale(1.035); }
  50% { transform: perspective(1400px) rotateX(8deg) rotateY(-13deg) rotateZ(-1deg) translateY(-12px) scale(1.05); }
}

#home.hero {
  padding-top: 5.1rem;
}

#home .hero-inner {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4vw, 4.25rem);
  align-items: center;
}

#home .hero-copy {
  max-width: 28rem;
  position: relative;
  isolation: isolate;
}

#home .eyebrow {
  margin-bottom: 0.85rem;
  color: rgba(245, 245, 247, 0.82);
}

#home h1 {
  font-size: clamp(2.45rem, 3vw + 1.6rem, 4.15rem);
  line-height: 0.98;
  max-width: 10.5ch;
  margin-bottom: 1rem;
}

#home .hero-subtitle {
  max-width: 24rem;
  margin-bottom: 1.35rem;
  font-size: 1rem;
  line-height: 1.65;
}

#home .hero-copy::before {
  content: "";
  position: absolute;
  inset: -1.4rem -1.8rem -1.4rem -1.2rem;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 179, 71, 0.08), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(59, 211, 255, 0.09), transparent 38%);
  filter: blur(18px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
  animation: heroCopyGlowDrift 14s ease-in-out infinite alternate;
}

#home .eyebrow,
#home .hero-line,
#home .hero-subtitle {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

#home .eyebrow {
  animation: heroCopyReveal 0.72s 0.08s forwards;
}

#home .hero-line {
  display: block;
  animation: heroCopyReveal 0.82s forwards;
}

#home .hero-line:nth-child(1) {
  animation-delay: 0.2s;
}

#home .hero-line:nth-child(2) {
  animation-delay: 0.34s;
}

#home .hero-line:nth-child(3) {
  animation-delay: 0.48s;
}

#home .hero-subtitle {
  animation: heroCopyRevealSoft 0.9s 0.62s forwards;
}

@keyframes heroCopyReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroCopyRevealSoft {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCopyGlowDrift {
  0% {
    transform: translate3d(-10px, -6px, 0) scale(0.98);
  }

  100% {
    transform: translate3d(12px, 8px, 0) scale(1.03);
  }
}

#home .hero-actions {
  margin-bottom: 0;
}

#home .hero-media {
  justify-content: flex-end;
}

#home .hero-card--showcase {
  position: relative;
  padding: 1.2rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(8, 10, 17, 0.7), rgba(5, 7, 12, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 45%);
  border: 1px solid rgba(205, 238, 255, 0.14);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 18px 48px rgba(54, 199, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: visible;
}

#home .hero-card--showcase::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(2rem - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%);
  pointer-events: none;
}

#home .hero-card--showcase::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1.3rem;
  height: 2.8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.4), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

.hero-scene-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  pointer-events: none;
  z-index: 0;
}

.hero-scene-glow--cyan {
  width: 18rem;
  height: 18rem;
  right: -3rem;
  top: 1.25rem;
  background: rgba(57, 214, 255, 0.26);
}

.hero-scene-glow--amber {
  width: 13rem;
  height: 13rem;
  left: -2.5rem;
  bottom: 2rem;
  background: rgba(255, 143, 87, 0.18);
}

#home .tapit-product-hero {
  position: relative;
  z-index: 1;
}

#home .tapit-product-hero__product {
  will-change: transform;
}

.hero-scene-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-scene-badge {
  position: absolute;
  max-width: 14rem;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background:
    linear-gradient(135deg, rgba(11, 14, 22, 0.82), rgba(8, 11, 18, 0.62)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
  border: 1px solid rgba(205, 240, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 10px 22px rgba(45, 187, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-scene-badge--reviews {
  top: 2rem;
  left: 1.25rem;
}

.hero-scene-badge--chip {
  top: 3rem;
  right: 0.9rem;
}

@keyframes mobileHeroFloat {
  0%, 100% { transform: translateY(-0.3rem) scale(1.04); }
  50% { transform: translateY(-0.7rem) scale(1.05); }
}

.trust-strip {
  padding-top: 0;
}

.trust-strip-shell {
  display: grid;
  gap: 1.35rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(11, 12, 19, 0.9), rgba(8, 9, 14, 0.82));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.trust-strip-copy {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.trust-strip-kicker {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.8);
}

.trust-strip-copy h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.15rem);
  line-height: 1.08;
}

.trust-strip-copy p {
  margin-top: 0.55rem;
  color: rgba(245, 245, 247, 0.72);
}

.trust-logo-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(156px, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.trust-logo-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.2rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 20, 28, 0.86), rgba(9, 11, 17, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 48%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.trust-logo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(74, 214, 255, 0.12), transparent 34%);
  opacity: 0.8;
  pointer-events: none;
}

.trust-logo-image {
  width: auto;
  max-width: 100%;
  height: 38px;
  object-fit: contain;
  filter: grayscale(0.15) brightness(1.08) contrast(1.08) opacity(0.92);
  transition: filter 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
  position: relative;
  z-index: 1;
}

.trust-logo-item:hover {
  transform: translateY(-4px);
  border-color: rgba(113, 227, 255, 0.22);
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(101, 223, 255, 0.08),
    0 12px 28px rgba(50, 184, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-logo-item:hover .trust-logo-image {
  filter: grayscale(0) brightness(1.16) contrast(1.14) opacity(1);
  transform: translateY(-1px) scale(1.02);
}

.section { padding: var(--section-space) 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;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.3rem;
  margin-bottom: 1.8rem;
  padding: 1.2rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(13, 13, 21, 0.98), rgba(8, 8, 15, 0.9)),
    radial-gradient(circle at top right, rgba(255, 178, 71, 0.08), transparent 35%);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.featured-story-media {
  position: relative;
  min-height: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #050509;
}

.featured-story-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-story-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 0.45rem 0.35rem 0.45rem 0.25rem;
}

.featured-story-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.82);
}

.featured-story-copy h3 {
  font-size: clamp(1.45rem, 1.4vw + 1rem, 2rem);
  line-height: 1.08;
}

.featured-story-location {
  color: rgba(245, 245, 247, 0.68);
  font-size: 0.94rem;
}

.featured-story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.featured-story-stat {
  min-width: 140px;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.featured-story-stat strong {
  display: block;
  font-size: 1.05rem;
}

.featured-story-stat span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(245, 245, 247, 0.72);
  font-size: 0.82rem;
}

.featured-story-body {
  color: rgba(245, 245, 247, 0.88);
  line-height: 1.72;
}

.featured-story-support {
  color: rgba(255, 179, 71, 0.86);
  font-weight: 500;
}

.featured-story-cta {
  width: fit-content;
}

.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;
  perspective: 1600px;
}

.customer-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-lift: 0px;
  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;
  cursor: pointer;
  transform:
    perspective(1200px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    translate3d(0, var(--card-lift), 0);
  transform-style: preserve-3d;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}

.customer-card:hover {
  --card-lift: -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;
  transform: translateZ(18px);
}

.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-content { position: relative; transform: translateZ(26px); }
.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;
}

.customer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 178, 71, 0.12), transparent 36%);
  opacity: 0.7;
  pointer-events: none;
}

.customer-card::after {
  content: "";
  position: absolute;
  inset-inline: 8%;
  bottom: -18%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.38), transparent 72%);
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.customer-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.35s ease;
}

.customer-details p {
  color: rgba(245, 245, 247, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.customer-card-cta,
.customer-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
}

.customer-card-cta {
  margin-top: 0.9rem;
  padding: 0.78rem 1rem;
  background: linear-gradient(135deg, rgba(255, 178, 71, 0.18), rgba(59, 211, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.customer-card-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 179, 71, 0.3);
}

.customer-card-toggle {
  margin-top: 1rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.customer-card-toggle::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.28s ease;
}

.customer-card.is-open {
  --card-lift: -10px;
  border-color: rgba(255, 178, 71, 0.5);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.52),
    0 8px 24px rgba(59, 211, 255, 0.08);
}

.customer-card.is-open .customer-details {
  max-height: 220px;
  margin-top: 1rem;
  opacity: 1;
  transform: translateY(0);
}

.customer-card.is-open .customer-card-toggle {
  background: rgba(255, 178, 71, 0.12);
  border-color: rgba(255, 178, 71, 0.35);
}

.customer-card.is-open .customer-card-toggle::after {
  transform: rotate(45deg);
}

.customer-card.is-pressed {
  transform:
    perspective(1200px)
    rotateX(0deg)
    rotateY(0deg)
    translate3d(0, -2px, 0)
    scale(0.992);
}

@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-hero-panel {
  width: min(100%, 460px);
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.pricing-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pricing-hero-panel h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem);
  line-height: 1.08;
}

.pricing-hero-panel p {
  color: var(--muted);
}

.pricing-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pricing-hero-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.pricing-hero-stat strong {
  display: block;
  font-size: 1.05rem;
}

.pricing-hero-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: rgba(245, 245, 247, 0.72);
}

.pricing-summary-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: rgba(245, 245, 247, 0.84);
}

.pricing-summary-list li {
  position: relative;
  padding-left: 1.1rem;
}

.pricing-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--coral));
}

.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;
  min-width: 0;
}

.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);
  min-width: 0;
}

.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: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.reveal-ready .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) {
  .trust-logo-row {
    grid-auto-columns: minmax(168px, 1fr);
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .trust-logo-row::-webkit-scrollbar {
    display: none;
  }

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

  .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) {
  .offer-bar {
    position: relative;
  }

  .offer-track {
    gap: 1.5rem;
    padding: 0.5rem 0;
    animation-duration: 22s;
  }

  .offer-track span {
    font-size: 0.72rem;
  }

  .nav { top: 0; }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #050509;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1.05rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease;
  }

  .nav-links a {
    padding: 0.85rem 0.3rem;
    border-radius: 0.9rem;
  }

  .nav-links a::after {
    bottom: 0.45rem;
    left: 0.3rem;
  }

  .nav-links.open {
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero { padding-top: 3.4rem; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .hero-copy,
  .hero-media {
    width: 100%;
    max-width: none;
  }
  .hero-media {
    justify-content: stretch;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    padding-bottom: 0.75rem;
  }

  .hero-card--showcase {
    padding: 0.85rem;
  }

  #home.hero {
    padding-top: 3.8rem;
  }

  #home .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.9rem;
  }

  #home .hero-copy {
    max-width: none;
    text-align: center;
  }

  #home h1 {
    max-width: 11ch;
    font-size: clamp(2.15rem, 7vw, 3.1rem);
  }

  #home .hero-subtitle {
    max-width: 100%;
  }

  #home .hero-media {
    order: -1;
    justify-content: center;
    margin-top: 0;
  }

  #home .hero-card--showcase {
    padding: 1rem;
  }

  .hero h1 { font-size: clamp(1.9rem, 6vw, 2.45rem); }
  .hero-subtitle { max-width: 100%; }
  .hero-stats { flex-direction: column; }
  .stat { width: 100%; justify-content: flex-start; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { width: 100%; }
  .hero-badges {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-badges span { white-space: normal; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card:hover { transform: translateY(-8px); }
  .pricing-hero-stats { grid-template-columns: 1fr; }
  .featured-story-stats { grid-template-columns: 1fr; }
  .contact-social,
  .footer-social { flex-wrap: wrap; }

  .tapit-product-hero {
    min-height: 28rem;
    padding: 1rem;
    border-radius: 1.35rem;
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.34),
      0 10px 26px rgba(18, 132, 184, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
  }

  .tapit-product-hero__glass {
    inset: 11% 8% 13%;
  }

  .tapit-product-hero__backplate {
    inset: 18% 23% 16%;
    transform: translate3d(0.8rem, 0.8rem, 0) rotate(-3deg);
  }

  .tapit-product-hero__product {
    width: min(360px, 100%);
  }

  .tapit-product-hero__image {
    min-height: 0;
  }

  .hero-scene-badges {
    position: absolute;
    inset: 0;
    margin-top: 0;
    pointer-events: none;
  }

  .hero-scene-badge {
    max-width: 11.5rem;
  }

  .hero-scene-badge--reviews {
    top: 1rem;
    left: 0.35rem;
  }

  .hero-scene-badge--chip {
    top: 3.55rem;
    right: 0.35rem;
  }
}

@media (max-width: 640px) {
  .trust-strip-shell {
    padding: 1.15rem;
  }

  .trust-logo-row {
    grid-auto-columns: minmax(152px, 64vw);
    gap: 0.75rem;
  }

  .trust-logo-item {
    min-height: 82px;
    padding: 1rem 1.05rem;
  }

  .trust-logo-image {
    height: 32px;
  }

  .featured-story {
    padding: 0.95rem;
    border-radius: 1.35rem;
  }

  .featured-story-image {
    min-height: 240px;
  }

  .featured-story-copy {
    padding: 0.1rem 0.1rem 0.25rem;
  }

  .featured-story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }

  .hero-inner {
    gap: 1.4rem;
    align-items: start;
  }

  .hero h1 { font-size: 1.9rem; }

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

  .hero-badges { flex-direction: column; }
  .hero-subtitle { margin-bottom: 1rem; }
  .hero-stats { margin-top: 1rem; }
  .section { padding: 3.2rem 0; }
  .hero-media {
    width: 100%;
    margin-top: 0.25rem;
    opacity: 1;
    transform: none;
  }

  #home .hero-inner {
    gap: 1.55rem;
  }

  #home .hero-copy {
    text-align: center;
  }

  #home h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  #home .hero-subtitle {
    margin-inline: auto;
  }

  #home .hero-actions {
    justify-content: center;
    margin-top: 0.25rem;
  }

  #home .hero-media {
    order: -1;
    margin-top: 0;
    justify-content: center;
  }

  #home .hero-card--showcase {
    padding: 0.85rem;
    border-radius: 1.4rem;
    transform: translateY(-0.3rem) scale(1.04);
  }

  .hero-card {
    width: 100%;
    padding: 0.75rem;
  }

  .hero-media.reveal,
  .hero-media.reveal.visible {
    opacity: 1;
    transform: none;
  }

  .tapit-product-hero {
    min-height: 24rem;
    padding: 0.85rem;
    border-radius: 1.2rem;
  }

  .tapit-product-hero__glass {
    inset: 10% 7% 12%;
  }

  .tapit-product-hero__backplate {
    inset: 17% 18% 16%;
    transform: translate3d(0.55rem, 0.55rem, 0) rotate(-2.5deg);
  }

  .tapit-product-hero__orb--cyan {
    width: 10rem;
    height: 10rem;
    right: -2rem;
    top: -1.5rem;
  }

  .tapit-product-hero__orb--blue {
    width: 9rem;
    height: 9rem;
    left: -1.5rem;
    bottom: -2rem;
  }

  .tapit-product-hero__product {
    width: min(320px, 100%);
    transform: perspective(1100px) rotateX(5deg) rotateY(-8deg) rotateZ(-0.8deg) translateY(-0.2rem) scale(1.03);
  }

  .tapit-product-hero__image {
    border-radius: 1.2rem;
  }

  .hero-scene-badges {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
  }

  .hero-scene-badge {
    position: absolute;
    max-width: 11rem;
    min-height: auto;
    padding: 0.72rem 0.82rem;
  }

  .hero-scene-badge--reviews {
    top: 0.85rem;
    left: 0.25rem;
  }

  .hero-scene-badge--chip {
    top: 3.4rem;
    right: 0.2rem;
  }

  .customer-card {
    --card-tilt-x: 0deg;
    --card-tilt-y: 0deg;
  }

  .customer-card:hover {
    --card-lift: 0px;
  }

  .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;
  }

  .featured-story-stats {
    grid-template-columns: 1fr;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #home .tapit-product-hero__product {
    animation: mobileHeroFloat 7.5s ease-in-out infinite;
  }
}

/* Refined How TapIt Works */
#how.how-story {
  --how-glow-strength: 0.42;
  --how-phone-shift: 0px;
  --how-review-shift: 0px;
  --how-pulse-scale: 0.88;
  --how-pulse-opacity: 0.18;
}

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

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

#how .how-scene {
  position: relative;
  min-height: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 2rem;
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(16, 17, 25, 0.96), rgba(7, 7, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#how .how-spotlight {
  inset: auto;
  width: 34rem;
  height: 18rem;
  bottom: -5rem;
  background: radial-gradient(circle, rgba(255, 178, 71, 0.1), transparent 68%);
  filter: blur(20px);
  opacity: 0.85;
}

#how .how-scene-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

#how .how-scene-aura--cyan {
  width: 16rem;
  height: 16rem;
  top: 12%;
  right: 16%;
  background: rgba(69, 220, 255, var(--how-glow-strength));
}

#how .how-scene-aura--amber {
  width: 13rem;
  height: 13rem;
  left: 18%;
  bottom: 18%;
  background: rgba(255, 179, 71, 0.18);
}

#how .how-scene-backplate {
  position: absolute;
  inset: 16% auto auto 50%;
  width: min(420px, 62%);
  height: 58%;
  border-radius: 1.8rem;
  transform: translateX(-50%) rotate(-3deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(111, 222, 255, 0.12), transparent 58%);
  border: 1px solid rgba(214, 242, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 0;
}

#how .how-scene-lane {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  z-index: 0;
}

#how .tapit-stand {
  position: relative;
  left: auto;
  bottom: auto;
  width: clamp(250px, 29vw, 340px);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.45s ease, filter 0.45s ease;
  z-index: 1;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.34));
}

#how .tapit-stand::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -1.55rem;
  height: 2.6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.48), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}

#how .tapit-stand-image {
  border-radius: 1.5rem;
}

#how .phone-shell {
  position: absolute;
  right: 16%;
  top: 14%;
  width: clamp(180px, 16vw, 230px);
  transform: translate3d(0, var(--how-phone-shift), 0) rotate(7deg);
  opacity: 1;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  z-index: 2;
}

#how .phone-screen {
  overflow: hidden;
}

#how .screen-review {
  opacity: 0.78;
  transform: translateY(var(--how-review-shift));
  transition: opacity 0.45s ease, transform 0.45s ease;
}

#how .screen-idle {
  opacity: 0.92;
}

#how .nfc-pulse {
  position: absolute;
  left: calc(50% + 78px);
  bottom: 34%;
  width: 64px;
  opacity: var(--how-pulse-opacity);
  transform: scale(var(--how-pulse-scale));
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 1;
}

#how .nfc-pulse-secondary {
  display: none;
}

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

#how .how-story-notes::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 179, 71, 0.18), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

#how .how-step {
  position: relative;
  padding: 1.25rem 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: rgba(245, 245, 247, 0.64);
  cursor: pointer;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

#how .how-step::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 179, 71, 0.52);
  box-shadow: 0 0 0 0.3rem rgba(255, 179, 71, 0.08);
}

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

#how .how-step:focus-visible {
  outline: 2px solid rgba(255, 179, 71, 0.45);
  outline-offset: 2px;
}

#how .how-step-index {
  margin-bottom: 0.7rem;
  padding-left: 1.05rem;
}

#how .how-step p {
  font-size: 0.95rem;
  line-height: 1.45;
}

#how[data-active-step="1"] {
  --how-glow-strength: 0.34;
  --how-phone-shift: 8px;
  --how-review-shift: 10px;
  --how-pulse-scale: 0.84;
  --how-pulse-opacity: 0.12;
}

#how[data-active-step="2"] {
  --how-glow-strength: 0.42;
  --how-phone-shift: -10px;
  --how-review-shift: 4px;
  --how-pulse-scale: 1;
  --how-pulse-opacity: 0.52;
}

#how[data-active-step="3"] {
  --how-glow-strength: 0.48;
  --how-phone-shift: -4px;
  --how-review-shift: 0px;
  --how-pulse-scale: 1.16;
  --how-pulse-opacity: 0.92;
}

#how[data-active-step="4"] {
  --how-glow-strength: 0.52;
  --how-phone-shift: -6px;
  --how-review-shift: -6px;
  --how-pulse-scale: 1.04;
  --how-pulse-opacity: 0.4;
}

#how[data-active-step="4"] .screen-review {
  opacity: 1;
}

#how[data-active-step="2"] .phone-shell,
#how[data-active-step="3"] .phone-shell,
#how[data-active-step="4"] .phone-shell {
  box-shadow:
    0 30px 55px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: no-preference) {
  #how .tapit-stand {
    animation: howStandFloat 7.5s ease-in-out infinite;
  }

  #how .nfc-pulse {
    animation: howPulseGlow 2.8s ease-in-out infinite;
  }
}

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

@keyframes howPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(87, 220, 255, 0.22); }
  50% { box-shadow: 0 0 0 14px rgba(87, 220, 255, 0); }
}

@media (max-width: 900px) {
  #how .how-scene {
    padding: 1.35rem 1rem 1.2rem;
  }

  #how .how-scene-backplate {
    inset: 18% auto auto 50%;
    width: min(360px, 70%);
  }

  #how .phone-shell {
    right: 9%;
    top: 16%;
    width: clamp(168px, 28vw, 210px);
  }

  #how .nfc-pulse {
    left: calc(50% + 58px);
    bottom: 33%;
    width: 56px;
  }

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

  #how .how-story-notes::before {
    display: none;
  }
}

@media (max-width: 640px) {
  #how .how-story-header {
    margin-bottom: 1.4rem;
  }

  #how .how-scene {
    padding: 1.15rem 0.85rem 1rem;
    border-radius: 1.5rem;
  }

  #how .how-scene-backplate {
    inset: 22% auto auto 50%;
    width: min(280px, 76%);
    height: 48%;
    transform: translateX(-50%) rotate(-2deg);
  }

  #how .how-scene-lane {
    left: 14%;
    right: 14%;
    top: 56%;
  }

  #how .tapit-stand {
    width: min(220px, 68vw);
  }

  #how .phone-shell {
    right: 0.75rem;
    top: 12%;
    width: min(154px, 44vw);
  }

  #how .nfc-pulse {
    left: calc(50% + 36px);
    bottom: 33%;
    width: 46px;
  }

  #how .how-story-notes {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  #how .how-step {
    padding: 1rem 0.95rem 0.95rem;
  }

  #how .how-step p {
    font-size: 0.9rem;
  }
}

/* How TapIt Works: 2-column redesign */
#how.how-story {
  --how-card-border: rgba(255, 255, 255, 0.08);
  --how-card-bg: linear-gradient(180deg, rgba(18, 20, 28, 0.88), rgba(9, 11, 17, 0.96));
  --how-glow-cyan: rgba(72, 220, 255, 0.24);
  --how-glow-amber: rgba(255, 179, 71, 0.18);
}

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

#how .how-story-header p {
  max-width: 34rem;
}

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

#how .how-story-stage {
  position: relative;
  top: 0;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 0;
}

#how .how-scene {
  min-height: auto;
  display: grid;
  place-items: center;
  position: relative;
  padding: 1.6rem;
  border-radius: 1.9rem;
  overflow: hidden;
  border: 1px solid var(--how-card-border);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(14, 16, 24, 0.98), rgba(7, 8, 14, 0.98));
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#how .how-spotlight {
  width: 20rem;
  height: 10rem;
  bottom: -3.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 179, 71, 0.1), transparent 70%);
  filter: blur(18px);
  opacity: 0.8;
}

#how .how-scene-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

#how .how-scene-aura--cyan {
  width: 15rem;
  height: 15rem;
  top: 10%;
  right: 12%;
  background: var(--how-glow-cyan);
}

#how .how-scene-aura--amber {
  width: 12rem;
  height: 12rem;
  left: 14%;
  bottom: 14%;
  background: var(--how-glow-amber);
}

#how .how-scene-backplate {
  position: absolute;
  inset: 16% 18% 18%;
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(111, 222, 255, 0.12), transparent 60%);
  border: 1px solid rgba(214, 242, 255, 0.14);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translate(0.8rem, 0.8rem) rotate(-4deg);
  z-index: 0;
}

#how .tapit-stand {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(100%, 360px);
  transform: translateX(0);
  opacity: 1;
  z-index: 1;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.34));
}

#how .tapit-stand::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -1.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.46), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}

#how .tapit-stand-image {
  border-radius: 1.45rem;
}

#how .how-story-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-content: center;
}

#how .how-story-notes::before {
  display: none;
}

#how .how-step {
  position: relative;
  padding: 1.1rem 1.05rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid var(--how-card-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: none;
}

#how .how-step:hover,
#how .how-step.is-active {
  border-color: rgba(255, 179, 71, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 179, 71, 0.05);
  transform: translateY(-2px);
}

#how .how-step::before {
  display: none;
}

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

#how .how-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
  color: rgba(245, 245, 247, 0.96);
}

#how .how-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 245, 247, 0.7);
}

#how[data-active-step="2"] .how-scene-aura--cyan,
#how[data-active-step="3"] .how-scene-aura--cyan,
#how[data-active-step="4"] .how-scene-aura--cyan {
  background: rgba(72, 220, 255, 0.3);
}

#how[data-active-step="3"] .tapit-stand,
#how[data-active-step="4"] .tapit-stand {
  filter:
    drop-shadow(0 30px 28px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 20px rgba(72, 220, 255, 0.12));
}

@media (prefers-reduced-motion: no-preference) {
  #how .tapit-stand {
    animation: howProductFloat 7.5s ease-in-out infinite;
  }
}

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

@media (max-width: 900px) {
  #how .how-story-stage {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #how .how-scene {
    padding: 1.35rem 1rem;
  }

  #how .how-story-notes {
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  #how .how-story-header {
    margin-bottom: 1.25rem;
  }

  #how .how-scene {
    padding: 1.1rem 0.85rem;
    border-radius: 1.5rem;
  }

  #how .how-scene-backplate {
    inset: 18% 12% 18%;
    transform: translate(0.45rem, 0.45rem) rotate(-2deg);
  }

  #how .tapit-stand {
    width: min(100%, 280px);
  }

  #how .how-step {
    padding: 1rem 0.95rem;
  }
}




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

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

  .how-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    min-height: auto;
    padding: 1.4rem 1rem 1.25rem;
    border-radius: 1.65rem;
  }

  .how-spotlight {
    display: none;
  }

  .tapit-stand {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(250px, 100%);
    transform: none;
    opacity: 1;
  }

  .phone-shell {
    position: relative;
    right: auto;
    top: auto;
    width: min(220px, 100%);
    transform: none;
    opacity: 1;
  }

  .nfc-pulse {
    position: relative;
    left: auto;
    bottom: auto;
    width: 48px;
    margin: 0;
    opacity: 0.9;
    transform: none;
  }

  .nfc-pulse-secondary {
    display: none;
  }

  .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-stage {
    gap: 1rem;
  }

  .how-scene {
    min-height: auto;
    border-radius: 1.5rem;
    padding: 1.15rem 0.85rem;
  }

  .tapit-stand {
    width: min(220px, 100%);
  }

  .phone-shell {
    width: min(188px, 100%);
  }

  .review-panel {
    padding: 0.85rem;
  }

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

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

  .nfc-pulse {
    width: 44px;
  }

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

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

  .how-step p {
    font-size: 0.88rem;
  }

  .how-video-modal {
    padding: 1rem;
  }

  .how-video-dialog {
    width: min(92vw, 560px);
  }

  .how-video-player {
    max-height: 54svh;
  }
}

@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,
  .customer-card,
  .customer-photo,
  .customer-details {
    transition: none !important;
    animation: none !important;
  }
}


/* ── Create My Page nav CTA ── */
.nav-create-cta {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-create-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
