.position-relative {
  position: relative !important;
}

.site-header .site-primary-header-wrap {
  position: fixed;
  left: 0;
  right: 0;
}

/* Links */
.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-underline-offset: 0.25em;
}

.site-header .ast-builder-grid-row {
  background: var(--ast-global-color-4);
  padding-inline: 20px;
  border-radius: 100px;
  border: 1px solid rgba(73, 170, 222, 1);
}

/* Mobile Menu */
#ast-hf-mobile-menu {
    position: fixed;
    top: 0;
    margin-top: 70px;
    margin-inline: 20px;
    width: stretch;
    border-radius: 0px 0px 30px 30px;
    padding-top: 30px;
    overflow: hidden;
    border: 1px solid var(--ast-global-color-0);
}

#ast-hf-mobile-menu .menu-link {
	text-align: center;
}

/* Phone graphic */

.phone-effect .phone,
.phone-effect .card-1,
.phone-effect .card-2,
.phone-effect .download {
  opacity: 0;
  transform: translateY(30px) scale(0.5);
  will-change: transform, opacity;
}

/* .phone {
  position: absolute;
  right: 7%;
  top: 7%;
} */

.card-1 {
  position: absolute;
  z-index: 2;
  left: 26%;
  bottom: 73%;
}

.card-2 {
  position: absolute;
  z-index: 2;
  right: 26%;
  top: 33%;
}

.download {
  position: absolute;
  z-index: 2;
  top: 56%;
  left: 34%;
}

@media (max-width: 768px) {
  .download {
    top: 52%;
  }
}

/* Zoom */
.client-zoom {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0) scale(1);
  transition: transform 0.5s ease;
  will-change: transform;
}

@media (hover: hover) {
  .client-zoom:hover {
    transform: translateZ(0) scale(1.05);
  }
}

/* Footer Logo */
.footer-logo {
  filter: brightness(0) invert(1);
}

/* Gravity Forms (1)  */
#gform_1 .gform_fields {
	grid-row-gap: 0;
}

#gform_1 .gform_footer {
	margin: 0;
	padding: 10px 0;
}

#gform_confirmation_message_1 {
	text-align: center;
	background: #49aade;
	padding: 1rem;
	border-radius: 5px;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2.gform_submission_error {
	font-size: 0.9rem;
	line-height: normal;
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Explainer Videos (Iphone Mockup)
   -------------------------------------------------------------------------- */
.iphone-mockup .scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .iphone-mockup .phone {
    position: relative;
    width: 320px;
    height: 650px;
  }

  .iphone-mockup .shell {
    position: absolute;
    inset: 0;
    border-radius: 54px;
    background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 40%, #111 100%);
/*     box-shadow:
      0 0 0 1px #3a3a3c,
      0 0 0 1.5px #111,
      inset 0 0 0 1px rgba(255,255,255,0.08),
      0 40px 100px rgba(0,0,0,0.8),
      0 10px 30px rgba(0,0,0,0.5); */
  }

  .iphone-mockup .shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 54px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
  }

  .iphone-mockup .btn-right {
    position: absolute;
    right: -3px;
    top: 160px;
    width: 4px;
    height: 80px;
    background: linear-gradient(to right, #2a2a2c, #3a3a3c);
    border-radius: 0 3px 3px 0;
/*     box-shadow: 1px 0 2px rgba(0,0,0,0.5); */
  }

  .iphone-mockup .btn-silent {
    position: absolute;
    left: -3px;
    top: 110px;
    width: 4px;
    height: 32px;
    background: linear-gradient(to left, #2a2a2c, #3a3a3c);
    border-radius: 3px 0 0 3px;
/*     box-shadow: -1px 0 2px rgba(0,0,0,0.5); */
  }

  .iphone-mockup .btn-vol-up {
    position: absolute;
    left: -3px;
    top: 158px;
    width: 4px;
    height: 56px;
    background: linear-gradient(to left, #2a2a2c, #3a3a3c);
    border-radius: 3px 0 0 3px;
/*     box-shadow: -1px 0 2px rgba(0,0,0,0.5); */
  }

  .iphone-mockup .btn-vol-down {
    position: absolute;
    left: -3px;
    top: 224px;
    width: 4px;
    height: 56px;
    background: linear-gradient(to left, #2a2a2c, #3a3a3c);
    border-radius: 3px 0 0 3px;
/*     box-shadow: -1px 0 2px rgba(0,0,0,0.5); */
  }

  .iphone-mockup .bezel {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 44px;
    background: #000;
    overflow: hidden;
  }

  .iphone-mockup .screen {
    position: absolute;
    inset: 0;
    border-radius: 44px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .iphone-mockup .screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .iphone-mockup .screen.drag-over {
    outline: 3px solid #0a84ff;
    outline-offset: -3px;
  }

  .iphone-mockup .status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 12px 28px 8px 28px;
    pointer-events: none;
	align-items: center;
	color: black;
  }

  .iphone-mockup .status-time {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
  }

  .iphone-mockup .status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .iphone-mockup .status-icons svg {
    width: 16px;
    height: 16px;
  }

  .iphone-mockup .island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 34px;
    background: #000;
    border-radius: 20px;
    z-index: 30;
    pointer-events: none;
  }

  .iphone-mockup .home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    z-index: 20;
    pointer-events: none;
  }

  /* ── Custom play button ── */
  .iphone-mockup .play-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .iphone-mockup .play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgb(10, 31, 68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgb(10, 31, 68);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
  }

  .iphone-mockup .play-btn:hover {
    background: rgb(73, 170, 222);
    transform: scale(1.08);
    border-color: rgb(73, 170, 222);
  }

  .iphone-mockup .play-btn:active {
    transform: scale(0.95);
  }

  .iphone-mockup .play-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    /* nudge icon to visually centre the play triangle */
    margin-left: 3px;
    transition: opacity 0.15s;
  }

  .iphone-mockup .play-btn .icon-pause {
    display: none;
    margin-left: 0;
  }

  /* when playing, swap icons and fade the overlay */
  .iphone-mockup .play-overlay.playing .play-btn .icon-play  { display: none; }
  .iphone-mockup .play-overlay.playing .play-btn .icon-pause { display: block; }
  .iphone-mockup .play-overlay.playing { opacity: 0; transition: opacity 0.4s; }
  .iphone-mockup .play-overlay.playing:hover { opacity: 1; }