:root {
  --blue: #2f66f6;
  --blue-2: #2462ff;
  --ink: #070707;
  --muted: #666d7a;
  --line: #d8dce4;
  --soft-blue: #f1f5ff;
  --soft-blue-2: #eaf1ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family:'Poppins',sans-serif;
  background: white;
  padding: 0px;
}

.page-container { max-width: 1285px; }
.py-lg-6 { padding-top: 5.4rem !important; padding-bottom: 5.4rem !important; }

.site-header { border-bottom: 1px solid #f3f3f3; }
.navbar { min-height: 92px; }
.brand-logo { width: 100px; height: 62px; object-fit: contain; object-position: left center; }
.nav-link { color: #202020; font-size: .95rem; padding-left: 1rem !important; padding-right: 1rem !important; }
.nav-link:hover { color: var(--blue); }
.login-btn { min-width: 100px; border-radius: 8px; background: var(--blue); border-color: var(--blue); }

.hero-section {
  background: radial-gradient(circle at 17% 35%, rgba(97, 144, 255, .10), transparent 28%),
              linear-gradient(95deg, #f6f8ff 0%, #f3f6ff 55%, #f9fbff 100%);
  min-height: 548px;
}

.eyebrow-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: .46rem 1.1rem;
  font-size: .88rem;
  line-height: 1;
  background: rgba(255,255,255,.38);
}
.star { font-size: 1.3rem; line-height: .7; }

.display-title {
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 740;
  max-width: 850px;
}
.display-title span { color: var(--blue); }
.hero-copy {
  max-width: 680px;
  color: #666b75;
  line-height: 1.75;
  font-size: 1.05rem;
}
.cta-btn { border-radius: 7px; padding: .76rem 1.35rem; }
.trader-btn { background: #fff; border: 1px solid #efefef; color: #181818; }
.trader-btn:hover { background: #f8f8f8; color: #181818; }

.convert-card {
  max-width: 410px;
  background: #fff;
  border: 1px solid #dcdfe5;
  border-radius: 13px;
  box-shadow: 0 5px 19px rgba(25, 43, 72, .16);
  padding: 1.7rem 1.65rem 1.55rem;
}
.convert-title { font-size: 1.45rem; font-weight: 720; }
.market-badge { font-size: .68rem; color: var(--blue); background: #edf3ff; border-radius: 999px; padding: .42rem .72rem; }
.small-label { font-size: .86rem; color: #222; margin-bottom: .65rem; }
.custom-input-group .form-control { border-color: #dcdfe5; height: 42px; font-size: .9rem; color: #727782; box-shadow: none; }
.custom-input-group .input-group-text { width: 76px; justify-content: center; background: #c8d8ff; color: #25345a; border-color: #c8d8ff; font-size: .86rem; }
.rate-text { color: #6f747e; font-size: .74rem; margin-left: .55rem; }
.continue-btn { min-width: 170px; border-radius: 8px; padding: .64rem 1.3rem; box-shadow: 0 6px 14px rgba(47,102,246,.20); }

.features-section {
  background: radial-gradient(circle at 80% 30%, rgba(71, 113, 255, .06), transparent 28%), #fff;
}
.section-title { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 735; letter-spacing: -0.035em; }
.section-copy { max-width: 760px; color: #2f3339; line-height: 1.7; font-size: .95rem; }

.feature-card {
  border: 1px solid #d9dce3;
  border-radius: 9px;
  padding: 1.35rem 1.35rem 1.25rem;
  background: #fff;
  min-height: 188px;
}
.feature-card.featured { border-color: var(--blue); box-shadow: 0 1px 0 rgba(47,102,246,.03); }
.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf0ff;
  border-radius: 5px;
  font-size: 1.32rem;
  margin-bottom: .95rem;
      padding: 7px 9px;
}
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .8rem; }
.feature-card p { color: #656a73; font-size: .86rem; line-height: 1.25; margin: 0; }

.scale-cta { background: linear-gradient(90deg, #2e66f7, #2f64f2); color: #fff; }
.scale-cta h2 { font-size: clamp(2rem, 3vw, 2.55rem); font-weight: 730; }
.scale-cta p { color: rgba(255,255,255,.86); }
.scale-cta .btn { border-radius: 7px; min-width: 150px; }

.disclaimer-section {
  background: radial-gradient(circle at 16% 35%, rgba(58, 107, 245, .06), transparent 24%),
              linear-gradient(90deg, #f7f9ff 0%, #f9fbff 60%, #fff 100%);
}
.disclaimer-title { font-size: 1.2rem; font-weight: 700; }
.disclaimer-copy { font-size: .76rem; line-height: 1.75; color: #262a31; }
.disclaimer-copy p { margin-bottom: .55rem; }
.footer-divider { border-color: #d8dde7; opacity: 1; }
.footer-copy { color: #6e737c; font-size: .83rem; }
.footer-copy a { color: #6e737c; text-decoration: none; }
.footer-copy a:hover { color: var(--blue); }

@media (max-width: 991.98px) {
  .navbar { min-height: 76px; }
  .brand-logo { width: 86px; height: 50px; }
  .navbar-collapse { padding: 1rem 0 1.2rem; }
  .hero-section { min-height: auto; }
  .display-title { font-size: clamp(2.75rem, 8vw, 4.2rem); }
  .convert-card { max-width: 560px; margin-left: 0 !important; }
}

@media (max-width: 575.98px) {
  .hero-section .container { padding-top: 3rem !important; padding-bottom: 3.2rem !important; }
  .display-title { font-size: 2.7rem; }
  .hero-copy { font-size: .96rem; }
  .eyebrow-pill { font-size: .78rem; }
  .cta-btn { width: 100%; text-align: center; }
  .convert-card { padding: 1.3rem 1rem; }
  .features-section { padding-top: 3.7rem !important; padding-bottom: 3.7rem !important; }
  .feature-card { min-height: auto; }
}

/* ===== Premium slow scroll + hover motion ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body { overflow-x: hidden; }

/* Slow, clean entrance. No blur, no bounce. */
.reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1.15s cubic-bezier(.22, .61, .36, 1),
    transform 1.15s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero converter enters gently from the right */
.convert-card.reveal-item {
  transform: translateX(42px) translateY(14px);
}

.convert-card.reveal-item.reveal-visible {
  transform: translateX(0) translateY(0);
}

/* Premium cards */
.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    box-shadow .55s ease,
    border-color .4s ease,
    background-color .4s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(47,102,246,.045), transparent 55%);
  opacity: 0;
  transition: opacity .45s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(47,102,246,.42);
  box-shadow: 0 18px 42px rgba(34,62,120,.11);
  background: linear-gradient(45deg, #fefeff, #dfeaff);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  transition:
    transform .5s cubic-bezier(.22,.61,.36,1),
    box-shadow .45s ease,
    background-color .45s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) scale(1.06);
  background: #1a64ec;
  box-shadow: 0 8px 20px rgba(47,102,246,.14);
  color: #fff;
}
.feature-card:hover .feature-icon i{color: #fff}
/* Converter hover stays subtle */
.convert-card {
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}

.convert-card.reveal-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(25,43,72,.17);
}

.custom-input-group {
  transition: transform .3s ease, box-shadow .3s ease;
}

.custom-input-group:focus-within {
  transform: translateY(-2px);
}

.custom-input-group:focus-within .form-control,
.custom-input-group:focus-within .input-group-text {
  border-color: var(--blue);
}

/* Buttons: smooth lift + soft glow + arrow travel */
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease,
    background-color .35s ease,
    border-color .35s ease,
    color .35s ease;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
}

.btn:hover::after { left: 150%; }
.btn:hover { transform: translateY(-3px); }

.btn-primary:hover {
  background: #245cf0;
  border-color: #245cf0;
  box-shadow: 0 12px 26px rgba(47,102,246,.26);
}

.trader-btn:hover,
.scale-cta .btn-light:hover {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 26px rgba(21,42,82,.12);
}

.btn span {
  display: inline-block;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}

.btn:hover span { transform: translateX(6px); }

/* Navbar */
.nav-link {
  position: relative;
  transition: color .3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.nav-link:hover::after { transform: scaleX(1); }

@media (max-width: 767.98px) {
  .reveal-item {
    transform: translateY(24px);
    transition-duration: .9s;
  }

  .convert-card.reveal-item {
    transform: translateY(28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-item {
    opacity: 1;
    transform: none !important;
  }
}
