/* ============================================================
   HERO SECTION — Modern Fin-Tech Design
   Dark base  |  Cyan #00d4ff accent  |  Glass elements
   ============================================================ */

:root {
  --h-bg: #0a0e27;
  --h-bg2: #0f1b3d;
  --h-cyan: #00d4ff;
  --h-cyan-dim: rgba(0, 212, 255, 0.12);
  --h-cyan-glow: rgba(0, 212, 255, 0.25);
  --h-purple: #6366f1;
  --h-text: #b8c9e0;
  --h-text-light: #dce6f0;
  --h-border: rgba(0, 212, 255, 0.15);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .swiper-container {
  height: 100vh;
  min-height: 620px;
}

.hero-section .swiper-slide {
  position: relative;
  background: var(--h-bg);
  height: 100%;
  display: flex;
  align-items: center;
}

/* ── Background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 8000ms ease, opacity 1400ms ease;
  z-index: 1;
  filter: brightness(0.30) saturate(0.7) contrast(1.1);
}

.hero-section .swiper-slide-active .hero-bg {
  transform: scale(1);
  opacity: 1;
}

/* ── Overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    120deg,
    rgba(10, 14, 39, 0.97) 0%,
    rgba(10, 14, 39, 0.75) 40%,
    rgba(15, 27, 61, 0.45) 70%,
    rgba(10, 14, 39, 0.25) 100%
  );
}

/* ── Floating Shapes ── */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1500ms ease;
}

.swiper-slide-active .hero-shape {
  opacity: 1;
}

.hero-shape--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  animation: heroFloat 12s ease-in-out infinite;
}

.hero-shape--2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  animation: heroFloat 16s ease-in-out infinite reverse;
}

.hero-shape--3 {
  width: 180px;
  height: 180px;
  top: 30%;
  right: 25%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  animation: heroFloat 10s ease-in-out infinite 2s;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ── Container ── */
.hero-section .container {
  position: relative;
  z-index: 10;
  padding-top: 140px;
  padding-bottom: 90px;
}

/* ── Tag ── */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--h-cyan-dim);
  border: 1px solid var(--h-border);
  border-radius: 100px;
  padding: 6px 18px 6px 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms ease 300ms, transform 800ms ease 300ms;
}

.swiper-slide-active .hero-tag {
  opacity: 1;
  transform: translateY(0);
}

.hero-tag i {
  font-size: 12px;
  color: var(--h-cyan);
}

.hero-tag span {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--h-cyan);
}

/* ── Heading ── */
.hero-section h2 {
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(38px, 5vw, 70px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin-bottom: 22px !important;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1000ms ease 450ms, transform 1000ms ease 450ms;
}

.hero-section .hero-hl {
  background: linear-gradient(135deg, var(--h-cyan), var(--h-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.swiper-slide-active h2 {
  opacity: 1;
  transform: translateY(0);
}

/* ── Description ── */
.hero-section .hero-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--h-text);
  max-width: 540px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1000ms ease 650ms, transform 1000ms ease 650ms;
}

.hero-section .swiper-slide-active .hero-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms ease 800ms, transform 900ms ease 800ms;
}

.swiper-slide-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.hero-btn--primary {
  background: linear-gradient(135deg, var(--h-cyan), #0099cc);
  color: #0a0e27 !important;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.30);
}

.hero-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
}

.hero-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  color: #ffffff !important;
  border-radius: 6px;
}

.hero-btn--ghost:hover {
  border-color: var(--h-cyan);
  background: var(--h-cyan-dim);
  transform: translateY(-3px);
}

/* ── Card ── */
.hero-card {
  background: rgba(10, 14, 39, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--h-border);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: opacity 1100ms ease 700ms, transform 1100ms ease 700ms;
}

.swiper-slide-active .hero-card {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--h-border);
}

.hero-card__head i {
  font-size: 14px;
  color: var(--h-cyan);
}

.hero-card__head span {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--h-text-light);
}

.hero-card__body {
  padding: 4px 24px 14px;
}

.hero-card__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card__item:last-child {
  border-bottom: none;
}

.hero-card__label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--h-text);
  font-weight: 400;
}

.hero-card__right {
  text-align: right;
}

.hero-card__val {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-card__chg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 212, 255, 0.10);
  border: 1px solid rgba(0, 212, 255, 0.20);
  color: var(--h-cyan);
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 8px;
  letter-spacing: 0.2px;
}

.hero-card__chg i {
  font-size: 8px;
}

.hero-card__chg--neutral {
  color: var(--h-text-light);
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Bottom Strip ── */
.hero-strip {
  position: relative;
  z-index: 10;
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid var(--h-border);
  border-bottom: 1px solid var(--h-border);
  padding: 18px 0;
}

.hero-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-strip__item i {
  color: var(--h-cyan);
  font-size: 15px;
  opacity: 0.8;
}

.hero-strip__item strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.hero-strip__item span {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: var(--h-text);
}

/* ── Pagination ── */
.hero-section .swiper-pagination {
  position: absolute;
  bottom: 72px !important;
  z-index: 20;
  text-align: center;
  width: 100%;
}

.hero-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.20);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.35s ease;
  margin: 0 6px !important;
}

.hero-section .swiper-pagination-bullet-active {
  background: var(--h-cyan);
  width: 10px;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.50);
}

/* ── Nav ── */
.hero-nav {
  position: absolute;
  bottom: 64px;
  right: 40px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.hero-nav__btn {
  position: relative !important;
  width: 44px !important;
  height: 44px !important;
  margin-top: 0 !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  left: auto !important;
  right: auto !important;
  border-radius: 6px;
}

.hero-nav__btn::after {
  display: none !important;
}

.hero-nav__btn i {
  font-size: 14px;
}

.hero-nav__btn:hover {
  background: var(--h-cyan);
  border-color: var(--h-cyan);
  color: var(--h-bg) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.30);
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .hero-section h2 {
    font-size: clamp(32px, 4.2vw, 50px) !important;
  }
}

@media (max-width: 991px) {
  .hero-section .container {
    padding-top: 140px;
    padding-bottom: 90px;
  }
  .hero-card { display: none; }
  .hero-strip__inner { gap: 22px; }
  .hero-desc { max-width: 100%; }
  .hero-shape--1 { width: 300px; height: 300px; }
  .hero-shape--2 { width: 200px; height: 200px; }
}

@media (max-width: 767px) {
  .hero-nav { display: none; }
}

@media (max-width: 576px) {
  .hero-strip { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-section .container {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-section .swiper-pagination {
    bottom: 24px !important;
  }
  .hero-shape--1 { width: 200px; height: 200px; top: -60px; }
  .hero-shape--2 { display: none; }
  .hero-shape--3 { display: none; }
}
