/* BankCare360 — premium marketing home */

.hp {
  --hp-ink: #f3efe6;
  --hp-muted: #9aa3b5;
  --hp-navy: #050d1a;
  --hp-deep: #030910;
  --hp-gold: #d4af37;
  --hp-gold-soft: #e8c968;
  --hp-display: "Cormorant Garamond", Georgia, serif;
  --hp-body: "Outfit", "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
  background: var(--hp-navy);
  color: var(--hp-ink);
  font-family: var(--hp-body);
  -webkit-font-smoothing: antialiased;
}

.hp-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}
.hp-logo {
  font-family: var(--hp-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hp-ink);
  text-decoration: none;
}
.hp-logo span { color: var(--hp-gold); }
.hp-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.hp-nav__links a {
  color: var(--hp-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.hp-nav__links a:hover { color: var(--hp-ink); }
.hp-nav__signin {
  color: #050d1a !important;
  background: var(--hp-gold);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.hp-nav__signin:hover {
  background: var(--hp-gold-soft);
  color: #050d1a !important;
  transform: translateY(-1px);
}

.hp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
  background: #02060e;
}

.hp-carousel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hp-carousel__viewport {
  position: absolute;
  inset: 0;
}

.hp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  pointer-events: none;
}
.hp-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hp-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 6.5s ease-out;
}
.hp-slide.is-active .hp-slide__img {
  transform: scale(1);
}

.hp-slide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 14, 0.55) 0%, rgba(2, 6, 14, 0.35) 38%, rgba(2, 6, 14, 0.78) 72%, rgba(2, 6, 14, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 6, 14, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.hp-slide__copy {
  position: absolute;
  left: clamp(1.25rem, 5vw, 4rem);
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: clamp(5.5rem, 12vh, 7.5rem);
  z-index: 2;
  max-width: 34rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.hp-slide.is-active .hp-slide__copy {
  opacity: 1;
  transform: translateY(0);
}
.hp-slide__num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--hp-gold);
  font-weight: 500;
}
.hp-slide__copy h2 {
  margin: 0;
  font-family: var(--hp-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: #f7f2e8;
}
.hp-slide__copy p {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(243, 239, 230, 0.82);
  max-width: 28rem;
}
.hp-slide__cta {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--hp-gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(232, 201, 104, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hp-slide__cta:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hp-hero__stage {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(6.5rem, 14vh, 9rem) 1.5rem 2rem;
  pointer-events: none;
}
.hp-hero__stage .hp-cta,
.hp-hero__stage a {
  pointer-events: auto;
}

.hp-carousel__ui {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hp-carousel__btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 14, 0.45);
  color: #f3efe6;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hp-carousel__btn:hover {
  border-color: var(--hp-gold);
  background: rgba(212, 175, 55, 0.15);
  transform: scale(1.05);
}
.hp-carousel__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.hp-carousel__dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hp-carousel__dots button.is-active {
  width: 1.45rem;
  background: var(--hp-gold);
}

.hp-kicker {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hp-gold);
}

.hp-wordmark {
  margin: 0;
  font-family: var(--hp-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #f7f2e8;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hp-wordmark__care { color: var(--hp-gold); }
.hp-wordmark__360 {
  display: inline-block;
  margin-left: 0.08em;
  background: linear-gradient(120deg, var(--hp-gold-soft), var(--hp-gold), #a8892a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hp-shimmer 6s ease-in-out infinite;
}

.hp-sub {
  margin: 1.35rem auto 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--hp-muted);
}

.hp-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn--gold {
  background: var(--hp-gold);
  color: #050d1a;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.28);
}
.hp-btn--gold:hover { background: var(--hp-gold-soft); color: #050d1a; }
.hp-btn--line {
  color: var(--hp-ink);
  border: 1px solid rgba(243, 239, 230, 0.28);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.hp-btn--line:hover {
  border-color: var(--hp-gold);
  color: var(--hp-gold-soft);
}

.hp-hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(168, 176, 191, 0.7);
  animation: hp-pulse 2.8s ease-in-out infinite;
}

/* Presence */
.hp-presence {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, #ebe6dc 0%, #f7f3eb 100%);
  color: #152033;
}
.hp-presence__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hp-presence h2 {
  margin: 0;
  font-family: var(--hp-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #0a1a33;
}
.hp-presence p {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: #5a6578;
}

/* Feature cards */
.hp-features {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    var(--hp-deep);
}

.hp-features__head {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.hp-features__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hp-gold);
}
.hp-features__head h2 {
  margin: 0;
  font-family: var(--hp-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f3efe6;
}
.hp-features__head > p {
  margin: 1rem auto 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--hp-muted);
}

.hp-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1180px;
  margin: 0 auto;
}

.hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 280px;
  padding: 0 0 1.35rem;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}
.hp-card__thumb {
  display: block;
  height: 118px;
  margin: 0 0 0.35rem;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.88);
  transition: filter 0.35s ease, transform 0.5s ease;
}
.hp-card:hover .hp-card__thumb {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.03);
}
.hp-card__num,
.hp-card h3,
.hp-card p,
.hp-card__go {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}
.hp-card__num { padding-top: 0.35rem; }
.hp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hp-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hp-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.hp-card:hover,
.hp-card:focus-visible {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(165deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.03) 55%);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 0 40px rgba(212, 175, 55, 0.12);
  outline: none;
}
.hp-card:hover::before,
.hp-card:focus-visible::before { opacity: 1; }
.hp-card:hover::after,
.hp-card:focus-visible::after {
  opacity: 1;
  transform: translate(-12px, -12px);
}

.hp-card__num {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--hp-gold);
  font-weight: 500;
}
.hp-card h3 {
  margin: 0;
  font-family: var(--hp-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #f7f2e8;
  line-height: 1.15;
}
.hp-card p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--hp-muted);
  flex: 1;
}
.hp-card__go {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hp-gold-soft);
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}
.hp-card:hover .hp-card__go,
.hp-card:focus-visible .hp-card__go {
  transform: translateX(4px);
  letter-spacing: 0.04em;
}

.hp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--hp-muted);
  background: #02060e;
}
.hp-foot .hp-logo { font-size: 1.05rem; }

/* Motion */
.anim-fade {
  opacity: 0;
  animation: hp-in 1s ease forwards 0.15s;
}
.anim-rise {
  opacity: 0;
  transform: translateY(28px);
  animation: hp-rise 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.25s;
}
.anim-fade-delay {
  opacity: 0;
  animation: hp-in 1s ease forwards 0.55s;
}
.anim-fade-delay2 {
  opacity: 0;
  animation: hp-in 1s ease forwards 0.85s;
}

@keyframes hp-in {
  to { opacity: 1; }
}
@keyframes hp-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hp-drift {
  from { transform: rotate(-2deg) translateX(0); }
  to { transform: rotate(-2deg) translateX(-3%); }
}
@keyframes hp-grain {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1%, 1%); }
}
@keyframes hp-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}
@keyframes hp-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes hp-orb {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-4%, 6%) scale(1.08); opacity: 1; }
}

@media (max-width: 1100px) {
  .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .hp-card { min-height: 220px; }
}
@media (max-width: 640px) {
  .hp-nav__links a:not(.hp-nav__signin) { display: none; }
  .hp-cards { grid-template-columns: 1fr; }
  .hp-wordmark { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hp-card:hover { transform: translateY(-6px); }
  .hp-slide__copy {
    bottom: clamp(4.5rem, 10vh, 6rem);
  }
  .hp-hero__stage {
    padding-top: clamp(5.5rem, 12vh, 7rem);
  }
  .hp-slide__copy p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-card,
  .hp-card::before,
  .hp-card::after,
  .hp-card__go,
  .anim-fade,
  .anim-rise,
  .anim-fade-delay,
  .anim-fade-delay2 {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
