html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
}

* {
  font-family: "Inter", sans-serif;
}

.wave-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='wave' patternUnits='userSpaceOnUse' width='200' height='200'%3E%3Cpath d='M0 50 Q 50 0 100 50 T 200 50' stroke='%23e5e5e5' stroke-width='0.5' fill='none'/%3E%3Cpath d='M0 100 Q 50 50 100 100 T 200 100' stroke='%23e5e5e5' stroke-width='0.5' fill='none'/%3E%3Cpath d='M0 150 Q 50 100 100 150 T 200 150' stroke='%23e5e5e5' stroke-width='0.5' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wave)'/%3E%3C/svg%3E");
}

.tracking-ultra {
  letter-spacing: 0.15em;
}

.servicify-logo {
  display: inline-block;
  width: 480px; /* change this to resize the logo */
  margin-top: -62px
}

.servicify-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.sc-black {
  fill: #111111;
  stroke: #111111;
  stroke-width: 3;
  transition:
    fill 0.2s ease,
    transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
}

.sc-black:hover {
  fill: #ffffff;
  stroke: #111111;
  transform: scale(1.12);
}

.sc-green {
  fill: #2d7a5a;
  stroke: #2d7a5a;
  stroke-width: 2;
  transition:
    fill 0.2s ease,
    transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
}

/* How it works showcase */
.how-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.how-showcase-media {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.3rem;
}

.how-showcase-media::-webkit-scrollbar {
  display: none;
}

.how-media-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  background: #111111;
  transition: transform 0.35s ease, opacity 0.3s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.how-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.how-media-card-one {
  width: 9.6rem;
  height: 11rem;
}

.how-media-card-two {
  width: 10.8rem;
  height: 12rem;
  margin-top: 2.5rem;
}

.how-media-card-three {
  width: 10rem;
  height: 11.4rem;
  margin-top: 1rem;
}

.how-media-step {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.78);
}

.how-media-label {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.7rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-weight: 700;
}

.how-media-card.is-active {
  opacity: 1;
  border-color: #2d7a5a;
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.16);
  transform: translateY(-6px);
}

.how-media-card.is-active img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}

.how-media-card.is-dimmed {
  opacity: 0.42;
}

.how-showcase-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.how-step-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.how-step-row:hover {
  border-color: #e5e7eb;
}

.how-step-row.is-active {
  border-color: #d1d5db;
  background: #fafafa;
  transform: translateY(-1px);
}

.how-step-row.is-dimmed {
  opacity: 0.5;
}

.how-step-indicator {
  width: 0.85rem;
  height: 0.6rem;
  border-radius: 0.35rem;
  background: rgba(17, 17, 17, 0.22);
  margin-top: 0.32rem;
  transition: width 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.how-step-row.is-active .how-step-indicator {
  width: 1.2rem;
  background: #111111;
}

.how-step-copy {
  flex: 1;
}

.how-step-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
}

.how-step-title {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111111;
}

.how-step-desc {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.87rem;
  line-height: 1.55;
  color: #4b5563;
}

.how-step-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9ca3af;
  margin-top: 0.4rem;
  transition: color 0.3s ease;
}

.how-step-row.is-active .how-step-number {
  color: #2d7a5a;
}

.how-step-row:focus-visible,
.how-media-card:focus-visible {
  outline: 2px solid #2d7a5a;
  outline-offset: 2px;
}

.how-trust-strip {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.how-trust-item {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4b5563;
}

@media (min-width: 768px) {
  .how-media-card-one {
    width: 11.6rem;
    height: 13rem;
  }

  .how-media-card-two {
    width: 13rem;
    height: 14.6rem;
    margin-top: 4rem;
  }

  .how-media-card-three {
    width: 12rem;
    height: 13.6rem;
    margin-top: 1.8rem;
  }

  .how-media-label {
    font-size: 0.72rem;
  }
}

@media (max-width: 1023px) {
  .how-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-showcase-steps {
    gap: 0.7rem;
  }
}

@media (max-width: 640px) {
  .how-trust-strip {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .how-media-card,
  .how-media-card img,
  .how-step-row,
  .how-step-indicator,
  .how-step-number {
    transition: none !important;
  }
}

/* Showcase - full-width carousel, mouse wheel scrolls horizontally */
.showcase-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.showcase-scroll::-webkit-scrollbar {
  display: none;
}

@view-transition {
  navigation: auto;
}

/* Sticky Header Styles */
header {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
#progress-bar {
  transform: scaleX(0);
}

/* Navigation Links - Underline on Hover */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* All buttons: reserve 2px border in default state to prevent layout twitch on hover */
.header-button,
.cta-button,
.cta-button-outline,
.cta-button-inverted,
.cta-button-outline-inverted {
  box-sizing: border-box;
  border: 2px solid transparent;
  outline: none;
}

/* Header Button - Black by default, inverts to white on hover */
.header-button {
  border-color: transparent;
}
.header-button:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* CTA Button - Black by default, inverts to white on hover */
.cta-button {
  border-color: transparent;
}
.cta-button:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* CTA Outline - White with black border, inverts to black on hover */
.cta-button-outline {
  border-color: #000;
}
.cta-button-outline:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* CTA Inverted - White on black section, inverts to black on hover */
.cta-button-inverted {
  border-color: transparent;
}
.cta-button-inverted:hover {
  background-color: #000;
  color: #fff;
  border-color: #fff;
}

/* CTA Outline Inverted - Transparent with white border, inverts to white on hover */
.cta-button-outline-inverted {
  border-color: #fff;
}
.cta-button-outline-inverted:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Footer Links */
.footer-link {
  transition: color 0.3s ease;
}

/* Social Icons - Invert on Hover */
.social-icon:hover {
  background-color: #fff;
  transform: scale(1.1);
}

/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */
/*  2 CLAUDE CARD */

/* ── Zenith Cards — add to your existing stylesheet ── */

.zenith-card {
  width: 288px; /* matches your existing w-72 */
  height: 480px; /* matches your existing h-[480px] */
  background: #0d0d0d;
  border-radius: 1rem; /* matches your existing rounded-2xl */
  overflow: hidden;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
}

/* ── Canvas / dot cluster area ── */
.zenith-canvas-wrap {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  background: #111;
}

.zenith-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Card body ── */
.zenith-body {
  padding: 18px 20px 6px 20px;
  flex: 1;
}

.zenith-title {
  font-size: 22px;
  font-weight: 700;
  color: #f5f5f0;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-top: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.zenith-price {
  font-size: 19px;
  font-weight: 700;
  color: #2d7a5a;   /*THIS ONEEEEEEEEEEEEEEEEEEEEE*/
  margin-bottom: 40px;
  letter-spacing: -0.3px;
  text-align: center;
}

/* ── Stats row ── */
.zenith-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.zenith-stat {
  text-align:center;
}

.zenith-stat-label {
  font-size: 9px;
  color: #555;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.zenith-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #f5f5f0;
}

/* ── CTA button ── */
.zenith-footer {
  text-align: center;
  padding: 0 10px 12px 10px;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.zenith-btn {
  width: 100%;
  padding: 13px;
  background: #f5f5f0;
  color: #0d0d0d;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.zenith-btn:hover {
  background: #fff;
}
