/* =====================================================================
   BUTTONS + HERO + APPROACH  (loaded after style.css)
   - Header: only the Client Login button
   - Hero: 8 animated buttons (4 on top row, 4 on bottom row)
   - Approach: open "timeline" design, no boxes
   ===================================================================== */

/* ---------- Header: logo + Client Login only ---------- */
.main-header {
  height: auto;
  position: relative;
  padding: 14px 0;
  background: linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
  border-bottom: 1px solid #e3ebf3;
  z-index: 30
}

.main-header .header-inner {
  height: auto;
  gap: 22px
}

.main-header .logo-link img {
  width: 330px;
  max-height: 74px
}

.main-header .quick-links {
  display: flex !important;
  position: static;
  align-items: center
}

.mobile-menu {
  display: none !important
}

/* ---------- Shared animated button (.qbtn) ---------- */
.main-header .quick-links .qbtn,
.hero-btns .qbtn {
  --c1: #2563eb;
  --c2: #1e3a8a;
  --glow: 37, 99, 235;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 15px 0 7px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  background: linear-gradient(120deg, var(--c1), var(--c2), var(--c1));
  background-size: 200% 100%;
  box-shadow: 0 4px 12px rgba(var(--glow), .30), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s ease;
  animation: qbIn .6s cubic-bezier(.2, .8, .2, 1) backwards, qbFlow 7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 70ms), 0s
}

.qbtn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: qbShine 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 420ms)
}

.qbtn::after {
  content: "→";
  width: 0;
  opacity: 0;
  margin-left: -6px;
  overflow: hidden;
  font-size: 14px;
  flex: none;
  transition: width .25s ease, opacity .25s ease, margin .25s ease
}

.qbtn:hover::after,
.qbtn:focus-visible::after {
  width: 14px;
  opacity: 1;
  margin-left: -2px
}

.qi {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
  transition: transform .35s cubic-bezier(.3, 1.6, .4, 1)
}

.qbtn:hover .qi,
.qbtn:focus-visible .qi {
  transform: rotate(-14deg) scale(1.18)
}

.qt {
  position: relative;
  line-height: 1.2
}

.main-header .quick-links .qbtn:hover,
.main-header .quick-links .qbtn:focus-visible,
.hero-btns .qbtn:hover,
.hero-btns .qbtn:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 24px rgba(var(--glow), .45), 0 0 0 3px rgba(var(--glow), .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  background-position: 100% 0;
  color: #fff;
  outline: none
}

.main-header .quick-links .qbtn:active,
.hero-btns .qbtn:active {
  transform: translateY(-1px) scale(.97)
}

/* individual colours (no red) */
.main-header .quick-links .c-blue,
.hero-btns .qbtn.c-blue {
  --c1: #3b82f6;
  --c2: #1e3a8a;
  --glow: 37, 99, 235
}

.main-header .quick-links .c-teal,
.hero-btns .qbtn.c-teal {
  --c1: #2dd4bf;
  --c2: #0f766e;
  --glow: 13, 148, 136
}

.main-header .quick-links .c-amber,
.hero-btns .qbtn.c-amber {
  --c1: #fbbf24;
  --c2: #b45309;
  --glow: 217, 119, 6
}

.main-header .quick-links .c-purple,
.hero-btns .qbtn.c-purple {
  --c1: #a78bfa;
  --c2: #5b21b6;
  --glow: 124, 58, 237
}

.main-header .quick-links .c-green,
.hero-btns .qbtn.c-green {
  --c1: #34d399;
  --c2: #047857;
  --glow: 16, 185, 129
}

.main-header .quick-links .c-indigo,
.hero-btns .qbtn.c-indigo {
  --c1: #22d3ee;
  --c2: #4338ca;
  --glow: 67, 56, 202
}

.main-header .quick-links .c-fuchsia,
.hero-btns .qbtn.c-fuchsia {
  --c1: #e879f9;
  --c2: #86198f;
  --glow: 192, 38, 211
}

.main-header .quick-links .c-orange,
.hero-btns .qbtn.c-orange {
  --c1: #fb923c;
  --c2: #c2410c;
  --glow: 234, 88, 12
}

.main-header .quick-links .c-lime,
.hero-btns .qbtn.c-lime {
  --c1: #a3e635;
  --c2: #3f6212;
  --glow: 101, 163, 13
}

/* Client Login: bigger + pulsing ring */
.main-header .quick-links .qbtn.pulse {
  height: 50px;
  padding: 0 20px 0 8px;
  font-size: 14px;
  animation: qbIn .6s cubic-bezier(.2, .8, .2, 1) backwards, qbFlow 7s ease-in-out infinite alternate, qbPulse 2.2s ease-out infinite;
  animation-delay: calc(var(--i) * 70ms), 0s, 1s
}

.main-header .quick-links .qbtn.pulse .qi {
  width: 34px;
  height: 34px;
  font-size: 17px
}

@keyframes qbIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.9)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes qbFlow {
  from {
    background-position: 0 0
  }

  to {
    background-position: 100% 0
  }
}

@keyframes qbShine {
  0% {
    left: -80%
  }

  35%,
  100% {
    left: 140%
  }
}

@keyframes qbPulse {
  0% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, .30), 0 0 0 0 rgba(16, 185, 129, .55)
  }

  70%,
  100% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, .30), 0 0 0 13px rgba(16, 185, 129, 0)
  }
}

/* ---------- Hero: taller, 8 buttons in a 4 x 2 grid ---------- */
.hero {
  height: auto;
  min-height: 608px;
  padding: 70px 0 76px
}

.hero-inner {
  height: auto;
  align-items: center
}

.hero-copy {
  padding-top: 0
}

.registration-card {
  margin-top: 0;
  height: auto
}

.hero-copy>p {
  margin-bottom: 30px
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.hero .btn {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 12px;
  min-height: 56px;
  transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s ease, background .28s ease, color .28s ease
}

.hero .btn:hover {
  transform: translateY(-5px) scale(1.03)
}

.hero .btn:active {
  transform: translateY(-1px) scale(.97)
}

.hero-primary {
  color: #0b2038;
  background: linear-gradient(120deg, #fde047, #fb923c, #fde047);
  background-size: 220% 100%;
  box-shadow: 0 8px 22px rgba(251, 146, 60, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  animation: qbFlow 5s ease-in-out infinite alternate
}

.hero-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg);
  animation: qbShine 4.5s ease-in-out infinite
}

.hero-primary:hover {
  box-shadow: 0 16px 34px rgba(251, 146, 60, .6), 0 0 0 4px rgba(253, 224, 71, .25)
}

.hero-primary .arr {
  display: inline-block;
  transition: transform .3s ease
}

.hero-primary:hover .arr {
  transform: translateX(7px)
}

.hero-ghost {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px)
}

.hero-ghost .ring {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #fff;
  font-size: 15px;
  animation: qbPulse 2.2s ease-out infinite
}

.hero-ghost:hover {
  background: #fff;
  color: #0b2038;
  border-color: #fff;
  box-shadow: 0 14px 30px rgba(255, 255, 255, .25)
}

.hero-ghost:hover .ring {
  animation: ringShake .6s ease
}

@keyframes ringShake {

  0%,
  100% {
    transform: rotate(0)
  }

  20% {
    transform: rotate(-18deg)
  }

  40% {
    transform: rotate(16deg)
  }

  60% {
    transform: rotate(-12deg)
  }

  80% {
    transform: rotate(8deg)
  }
}

/* ---------- 8 buttons: sit ABOVE "Helping Investors Stay Focused" (4 + 4) ---------- */
.hero-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 64px;
  padding: 0 25px;
  position: relative;
  z-index: 1
}

.hero-btns .qbtn {
  height: auto;
  min-height: 58px;
  padding: 7px 12px 7px 7px;
  font-size: 12.5px
}

.hero-btns .qbtn .qt {
  flex: 1
}

/* ---------- Approach: open timeline design (no boxes) ---------- */
.approach {
  position: relative;
  overflow: hidden;
  padding-top: 60px
}

.approach::before,
.approach::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .10;
  pointer-events: none
}

.approach::before {
  background: #3b82f6;
  left: -140px;
  top: 120px
}

.approach::after {
  background: #a855f7;
  right: -140px;
  bottom: 20px
}

.ap-flow {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: stretch
}

.ap-item {
  position: relative;
  padding: 34px 44px 30px;
  opacity: 0;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1)
}

.ap-item.left {
  text-align: right;
  transform: translateX(-50px)
}

.ap-item.right {
  text-align: left;
  transform: translateX(50px)
}

.ap-item.in {
  opacity: 1;
  transform: none
}

.ap-num {
  position: absolute;
  top: -6px;
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -6px;
  z-index: -1;
  user-select: none;
  background: linear-gradient(160deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .13;
  transition: opacity .4s ease, transform .5s ease
}

.ap-item.left .ap-num {
  left: 0
}

.ap-item.right .ap-num {
  right: 0;
  background-image: linear-gradient(160deg, #f59e0b, #ec4899)
}

.ap-item:hover .ap-num {
  opacity: .26;
  transform: scale(1.06)
}

.ap-ico {
  display: inline-block;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 12px rgba(59, 130, 246, .35));
  animation: apFloat 3.6s ease-in-out infinite
}

.ap-item.right .ap-ico {
  filter: drop-shadow(0 8px 12px rgba(236, 72, 153, .35));
  animation-delay: .8s
}

@keyframes apFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-9px) rotate(-6deg)
  }
}

.ap-item h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  background: linear-gradient(90deg, #1d4ed8, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.ap-item.right h3 {
  background-image: linear-gradient(90deg, #c026d3, #f97316)
}

.ap-line {
  display: block;
  height: 4px;
  width: 56px;
  border-radius: 4px;
  margin: 0 0 16px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transition: width .45s ease
}

.ap-item.left .ap-line {
  margin-left: auto
}

.ap-item.right .ap-line {
  background-image: linear-gradient(90deg, #c026d3, #f97316)
}

.ap-item:hover .ap-line {
  width: 150px
}

.ap-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #58708a
}

/* centre spine with glowing dot */
.ap-mid {
  position: relative;
  display: flex;
  justify-content: center
}

.ap-mid::before {
  content: "";
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, transparent, #3b82f6 20%, #a855f7 55%, #f97316 85%, transparent)
}

.ap-mid i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #a855f7;
  animation: apDot 2.4s ease-out infinite
}

@keyframes apDot {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, .55)
  }

  70%,
  100% {
    box-shadow: 0 0 0 16px rgba(168, 85, 247, 0)
  }
}

@media(max-width:820px) {
  .ap-flow {
    grid-template-columns: 1fr;
    padding: 0 20px
  }

  .ap-mid {
    height: 44px
  }

  .ap-mid::before {
    width: 70%;
    height: 3px;
    align-self: center;
    background: linear-gradient(90deg, transparent, #3b82f6, #a855f7, #f97316, transparent)
  }

  .ap-item,
  .ap-item.left,
  .ap-item.right {
    text-align: center;
    padding: 28px 10px;
    transform: translateY(30px)
  }

  .ap-item.in {
    transform: none
  }

  .ap-item .ap-line,
  .ap-item.left .ap-line {
    margin-left: auto;
    margin-right: auto
  }

  .ap-item .ap-num,
  .ap-item.left .ap-num,
  .ap-item.right .ap-num {
    top: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 110px
  }

  .ap-item:hover .ap-num {
    transform: translateX(-50%) scale(1.06)
  }
}

/* ---------- Commission Disclosure: feature banner ---------- */
.commission {
  padding: 40px 0 100px
}

.cd-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 1175px;
  margin: 0 auto;
  padding: 60px 64px;
  border-radius: 28px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .35), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(217, 70, 239, .35), transparent 50%),
    linear-gradient(135deg, #0b2545 0%, #1e3a8a 55%, #5b21b6 100%);
  box-shadow: 0 30px 60px rgba(30, 58, 138, .35), inset 0 0 0 1px rgba(255, 255, 255, .12);
  opacity: 0;
  transform: translateY(40px) scale(.98);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1)
}

.cd-card.in {
  opacity: 1;
  transform: none
}

.cd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 65%);
  mask-image: linear-gradient(120deg, #000, transparent 65%)
}

.cd-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(46px);
  animation: cdDrift 9s ease-in-out infinite alternate
}

.cd-orb.o1 {
  width: 220px;
  height: 220px;
  background: #22d3ee;
  opacity: .28;
  left: -60px;
  bottom: -70px
}

.cd-orb.o2 {
  width: 260px;
  height: 260px;
  background: #f0abfc;
  opacity: .25;
  right: -70px;
  top: -90px;
  animation-delay: -4s
}

@keyframes cdDrift {
  from {
    transform: translate(0, 0)
  }

  to {
    transform: translate(40px, -30px)
  }
}

.cd-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  color: #fde68a
}

.cd-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  animation: cdBlink 1.6s ease-out infinite
}

@keyframes cdBlink {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .7)
  }

  80%,
  100% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0)
  }
}

.cd-left h2 {
  margin: 20px 0 14px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #fff 30%, #bae6fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.cd-left p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.65;
  color: #dbe7f5;
  max-width: 480px
}

.cd-tags {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.cd-tags li {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #e0f2fe;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: transform .25s ease, background .25s ease
}

.cd-tags li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .2)
}

.cd-card .commission-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 12px;
  min-width: 0;
  margin: 0;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 14px !important;
  font-size: 15px;
  font-weight: 800;
  color: #3b1d00 !important;
  background: linear-gradient(120deg, #fde047, #fb923c, #fde047) !important;
  background-size: 220% 100% !important;
  box-shadow: 0 10px 26px rgba(251, 146, 60, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s ease;
  animation: qbFlow 5s ease-in-out infinite alternate, cdBtnPulse 2.4s ease-out infinite
}

.cd-card .commission-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg);
  animation: qbShine 4.2s ease-in-out infinite
}

.cd-card .commission-btn:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 18px 36px rgba(251, 146, 60, .65)
}

.cd-card .commission-btn .ci {
  display: inline-block;
  transition: transform .35s cubic-bezier(.3, 1.6, .4, 1)
}

.cd-card .commission-btn:hover .ci {
  transform: rotate(-14deg) scale(1.25)
}

.cd-arrow {
  display: inline-block;
  transition: transform .3s ease
}

.cd-card .commission-btn:hover .cd-arrow {
  transform: translateX(7px)
}

@keyframes cdBtnPulse {
  0% {
    box-shadow: 0 10px 26px rgba(251, 146, 60, .5), 0 0 0 0 rgba(253, 224, 71, .55)
  }

  70%,
  100% {
    box-shadow: 0 10px 26px rgba(251, 146, 60, .5), 0 0 0 16px rgba(253, 224, 71, 0)
  }
}

/* document illustration */
.cd-visual {
  position: relative;
  height: 320px;
  perspective: 900px
}

.cd-paper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 290px;
  border-radius: 18px
}

.cd-paper.back {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%) rotate(9deg) translateX(34px);
  animation: cdSway 6s ease-in-out infinite alternate-reverse
}

.cd-paper.front {
  background: #fff;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%) rotate(-6deg);
  animation: cdSway 6s ease-in-out infinite alternate
}

@keyframes cdSway {
  to {
    margin-top: -12px
  }
}

.cd-ph {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px
}

.cd-ph b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #6366f1, #a855f7)
}

.cd-ph span {
  flex: 1;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #c7d2fe, #e9d5ff)
}

.cd-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 22px
}

.cd-lines i {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 5px;
  background: #e2e8f0;
  transform-origin: left;
  animation: cdLine 3.4s ease-in-out infinite
}

.cd-lines i:nth-child(2) {
  animation-delay: .2s
}

.cd-lines i:nth-child(3) {
  animation-delay: .4s
}

.cd-lines i:nth-child(4) {
  animation-delay: .6s
}

@keyframes cdLine {

  0%,
  100% {
    transform: scaleX(1)
  }

  50% {
    transform: scaleX(.82)
  }
}

.cd-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 84px;
  padding-top: 6px;
  border-top: 1px dashed #cbd5e1
}

.cd-bars u {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #22d3ee, #6366f1);
  text-decoration: none;
  transform-origin: bottom;
  animation: cdBar 2.8s ease-in-out infinite
}

.cd-bars u:nth-child(2) {
  animation-delay: .25s
}

.cd-bars u:nth-child(3) {
  animation-delay: .5s
}

.cd-bars u:nth-child(4) {
  animation-delay: .75s
}

.cd-bars u:nth-child(5) {
  animation-delay: 1s
}

@keyframes cdBar {

  0%,
  100% {
    transform: scaleY(1)
  }

  50% {
    transform: scaleY(.6)
  }
}

.cd-float {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .4);
  animation: cdBob 4s ease-in-out infinite
}

.cd-float.f1 {
  left: 8%;
  top: 12%;
  background: linear-gradient(135deg, #fbbf24, #f97316)
}

.cd-float.f2 {
  right: 6%;
  top: 30%;
  background: linear-gradient(135deg, #34d399, #059669);
  animation-delay: -1.3s
}

.cd-float.f3 {
  left: 16%;
  bottom: 6%;
  width: 46px;
  height: 46px;
  font-size: 20px;
  background: linear-gradient(135deg, #e879f9, #7c3aed);
  animation-delay: -2.4s
}

@keyframes cdBob {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-14px) rotate(8deg)
  }
}

@media(max-width:900px) {
  .cd-card {
    grid-template-columns: 1fr;
    padding: 44px 26px 30px;
    text-align: center;
    gap: 6px
  }

  .cd-left p {
    margin-left: auto;
    margin-right: auto
  }

  .cd-tags {
    justify-content: center
  }

  .cd-left h2 {
    font-size: 34px
  }

  .cd-visual {
    height: 330px;
    margin-top: 26px
  }
}

@media(max-width:520px) {
  .commission {
    padding: 20px 15px 70px
  }

  .cd-card {
    border-radius: 22px
  }

  .cd-card .commission-btn {
    width: 100%;
    padding: 0 16px;
    font-size: 14px
  }
}

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 10px;
  border-radius: 12px !important;
  background: linear-gradient(120deg, #25d366, #128c7e, #25d366) !important;
  background-size: 220% 100% !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), box-shadow .28s ease;
  animation: qbFlow 5s ease-in-out infinite alternate, qbPulseWa 2.4s ease-out infinite
}

.whatsapp::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  animation: qbShine 4.5s ease-in-out infinite
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 32px rgba(37, 211, 102, .55)
}

.whatsapp .wi {
  display: inline-block;
  animation: wiWave 2.4s ease-in-out infinite
}

@keyframes wiWave {

  0%,
  60%,
  100% {
    transform: rotate(0)
  }

  70% {
    transform: rotate(-14deg)
  }

  80% {
    transform: rotate(12deg)
  }

  90% {
    transform: rotate(-8deg)
  }
}

@keyframes qbPulseWa {
  0% {
    box-shadow: 0 8px 22px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .5)
  }

  70%,
  100% {
    box-shadow: 0 8px 22px rgba(37, 211, 102, .4), 0 0 0 16px rgba(37, 211, 102, 0)
  }
}

/* ---------- Complaint form button in modal ---------- */
.modal-box .form-btn {
  background: linear-gradient(120deg, #2563eb, #7c3aed) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .35);
  transition: transform .25s ease, box-shadow .25s ease
}

.modal-box .form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(79, 70, 229, .5)
}

/* ---------- Responsive ---------- */
@media(max-width:1000px) {
  .hero-btns {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
  }

  .hero-btns .qbtn {
    font-size: 11px
  }

  .hero-btns .qi {
    width: 26px;
    height: 26px;
    font-size: 13px
  }
}

@media(max-width:780px) {
  .hero {
    padding: 44px 0 56px
  }

  .main-header .logo-link img {
    width: 220px
  }

  .main-header .quick-links .qbtn.pulse {
    height: 44px;
    padding: 0 14px 0 6px;
    font-size: 12.5px
  }

  .hero-btns {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    padding: 0 18px;
    margin-bottom: 48px
  }

  .hero .btn {
    width: 100%
  }

  .hero-btns .qbtn {
    font-size: 12px
  }
}

@media(max-width:420px) {
  .main-header .logo-link img {
    width: 170px
  }

  .main-header .quick-links .qbtn.pulse .qt {
    font-size: 12px
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-primary,
  .hero-primary::before,
  .hero-ghost .ring,
  .qbtn,
  .qbtn::before,
  .cd-card .commission-btn,
  .cd-card .commission-btn::before,
  .cd-orb,
  .cd-paper,
  .cd-float,
  .cd-bars u,
  .cd-lines i,
  .cd-chip i,
  .whatsapp,
  .whatsapp::before,
  .whatsapp .wi,
  .ap-ico,
  .ap-mid i {
    animation: none !important
  }

  .ap-item,
  .cd-card {
    opacity: 1;
    transform: none;
    transition: none
  }
}
/* ---------- Jash Investment Services: logo + name lockup ---------- */
.main-header .logo-link.jash-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none
}

.main-header .logo-link.jash-brand img {
  width: 74px;
  height: 64px;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 120, 190, .25);
  flex: none
}

.jb-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1
}

.jb-line {
  font-size: 27px;
  color: #0b2545;
  letter-spacing: -.2px;
  white-space: nowrap
}

.jb-line span {
  font-weight: 900;
  color: #0b8ac9
}

.jb-line b {
  font-weight: 900;
  color: #d52d38
}

.jb-txt small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .9px;
  color: #51627a
}

@media(max-width:780px) {
  .main-header .logo-link.jash-brand img {
    width: 56px;
    height: 48px;
    width: 56px
  }

  .jb-line {
    font-size: 19px
  }

  .jb-txt small {
    font-size: 8px;
    letter-spacing: .4px
  }
}

@media(max-width:420px) {
  .main-header .logo-link.jash-brand {
    gap: 9px
  }

  .main-header .logo-link.jash-brand img {
    width: 46px;
    height: 40px
  }

  .jb-line {
    font-size: 15px
  }

  .jb-txt small {
    display: none
  }
}
