/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Poppins:wght@500;600&display=swap");

.hs-services-cards {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.hs-services-cards__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border: none !important;
}

.hs-services-cards__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px 32px;
  background-color: #fff;
  border: none !important;
}

/* Gray separator lines between cards */
.hs-services-cards__card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 40px;
  width: 1px;
  background-color: #d1d1d1;
  z-index: 10;
}

.hs-services-cards__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hs-services-cards__title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  margin: 0;
  color: #111;
}

.hs-services-cards__body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  color: #666;
}

.hs-services-cards__cta {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.hs-services-cards__cta:hover {
  gap: 10px;
}

.hs-services-cards__cta span {
  transition: transform 0.3s ease;
}

.hs-services-cards__cta:hover span {
  transform: translateX(4px);
}

.hs-services-cards__image-wrap {
  margin-top: auto;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.hs-services-cards__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hs-services-cards__card:hover .hs-services-cards__image {
  transform: scale(1.08);
}

/* ========== IPHONE ANIMATION STYLES (Card 2 Only) ========== */

.iphone-animation-overlay {
  position: relative;
  width: 100%;
  height: 240px;
}

.iphone-mockup-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.iphone-screen-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px, 24px;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}

.zip-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.zip-input-container {
  position: relative;
  width: 95%;
}

.zip-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid rgba(253, 82, 1, 1);
  border-radius: 100px;
  outline: none;
  text-align: center;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  caret-color: transparent;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.03),               /* 1. Very faint grounding shadow */
    0 0 15px rgba(253, 82, 1, 0.15),           /* 2. Soft, thin ambient glow */
    0 28px 25px -15px rgba(253, 82, 1, 0.35) !important;  /* 3. Tapered "pointed" glow */
}
}

.zip-input.active-glow {
  border-color: rgba(253, 82, 1,);
  box-shadow: 
    0 0 30px rgba(0px 20px 30px -10px),
    0 4px 12px rgba(0px 20px 30px -10px),
    0 4px 8px rgba(0, 0, 0, 0.15);
}

.typing-cursor {
  position: flexbox;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5px;
  height: 16px;
  background-color: #333;
  opacity: 0;
  pointer-events: none;
}

.typing-cursor.active {
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Disable hover zoom on iPhone card */
.has-iphone-animation .iphone-mockup-bg {
  transition: none;
}

.hs-services-cards__card:hover .has-iphone-animation .iphone-mockup-bg {
  transform: none;
}

/* Mobile */
@media (max-width: 900px) {
  .hs-services-cards__inner {
    grid-template-columns: 1fr;
  }
  
  .hs-services-cards__card {
    padding: 32px 28px;
  }
  
  .hs-services-cards__card:not(:last-child)::after {
    display: none;
  }
  
  .hs-services-cards__card:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background-color: #d1d1d1;
    z-index: 10;
  }
  
  .iphone-screen-overlay {
    top: 30%;
    width: 60%;
  }
  
  .zip-label {
    font-size: 9px;
  }
  
  .zip-input {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .typing-cursor {
    height: 14px;
  }
}

@media (max-width: 640px) {
  .iphone-screen-overlay {
    top: 50%;
  }
  
  .zip-label {
    font-size: 14px;
  }
  
  .zip-input {
    font-size: 14px;
    padding: 7px 10px;
  }
  
  .typing-cursor {
    height: 12px;
  }
}