/* ============================================================
   NALUX TRADE — Investment Packages
   Scoped with prefix: nt-pkg__
   Fonts: Inter & Onest (already loaded by the page)
   ============================================================ */

/* ── Section wrapper ── */
#nt-investment-packages {
  padding: 100px 0 110px;
  background: #f7f9fc;
  position: relative;
  overflow: hidden;
}

#nt-investment-packages::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(10, 40, 100, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 90% 100%, rgba(10, 40, 100, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Section heading ── */
.nt-pkg__section-label {
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a3a6e;
  display: block;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: ntFadeUp 0.6s ease forwards;
}

.nt-pkg__section-title {
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #0d1f3c;
  line-height: 1.15;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: ntFadeUp 0.6s ease 0.1s forwards;
}

.nt-pkg__section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #5a6880;
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: ntFadeUp 0.6s ease 0.2s forwards;
}

/* ── Grid ── */
.nt-pkg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 991px) {
  .nt-pkg__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nt-pkg__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Card ── */
.nt-pkg__card {
  position: relative;
  border-radius: 20px;
  padding: 38px 32px 36px;
  background: #ffffff;
  border: 1.5px solid rgba(26, 58, 110, 0.09);
  box-shadow:
    0 4px 16px rgba(13, 31, 60, 0.06),
    0 1px 4px rgba(13, 31, 60, 0.04);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.nt-pkg__card.nt-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.nt-pkg__card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(13, 31, 60, 0.13),
    0 6px 16px rgba(13, 31, 60, 0.07);
  border-color: rgba(26, 58, 110, 0.22);
}

/* Featured / popular card */
.nt-pkg__card--featured {
  background: linear-gradient(148deg, #0d2459 0%, #1a3a8f 55%, #0f2f72 100%);
  border-color: transparent;
  box-shadow:
    0 12px 40px rgba(13, 36, 89, 0.35),
    0 4px 12px rgba(13, 36, 89, 0.2);
  transform: translateY(-10px);
}

.nt-pkg__card--featured.nt-visible {
  transform: translateY(-10px);
}

.nt-pkg__card--featured:hover {
  transform: translateY(-18px);
  box-shadow:
    0 28px 60px rgba(13, 36, 89, 0.42),
    0 8px 20px rgba(13, 36, 89, 0.25);
}

/* Decorative glow blob on featured */
.nt-pkg__card--featured::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* Popular badge */
.nt-pkg__badge {
  display: inline-block;
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

/* ── Plan name ── */
.nt-pkg__plan-name {
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0d1f3c;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.nt-pkg__card--featured .nt-pkg__plan-name {
  color: #ffffff;
}

/* ── ROI highlight ── */
.nt-pkg__roi {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.nt-pkg__roi-value {
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #1a3a8f;
  line-height: 1;
  letter-spacing: -2px;
}

.nt-pkg__card--featured .nt-pkg__roi-value {
  color: #ffffff;
}

.nt-pkg__roi-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a6880;
  padding-bottom: 4px;
}

.nt-pkg__card--featured .nt-pkg__roi-label {
  color: rgba(255, 255, 255, 0.65);
}

/* ── Divider ── */
.nt-pkg__divider {
  height: 1px;
  background: rgba(26, 58, 110, 0.09);
  margin: 24px 0;
}

.nt-pkg__card--featured .nt-pkg__divider {
  background: rgba(255, 255, 255, 0.15);
}

/* ── Key-value rows ── */
.nt-pkg__details {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nt-pkg__detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nt-pkg__detail-key {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #6b7a95;
}

.nt-pkg__card--featured .nt-pkg__detail-key {
  color: rgba(255, 255, 255, 0.6);
}

.nt-pkg__detail-value {
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0d1f3c;
  text-align: right;
}

.nt-pkg__card--featured .nt-pkg__detail-value {
  color: #ffffff;
}

/* Small accent dot before each key */
.nt-pkg__detail-key::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a3a8f;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.45;
}

.nt-pkg__card--featured .nt-pkg__detail-key::before {
  background: #ffffff;
  opacity: 0.45;
}

/* ── Invest button ── */
.nt-pkg__btn {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Ripple layer */
.nt-pkg__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nt-pkg__btn:hover::after {
  opacity: 1;
}

/* Default card button */
.nt-pkg__btn--outline {
  background: #f0f4ff;
  color: #1a3a8f;
  border: 1.5px solid rgba(26, 58, 110, 0.2);
}

.nt-pkg__btn--outline:hover {
  background: #1a3a8f;
  color: #ffffff;
  border-color: #1a3a8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 110, 0.28);
  text-decoration: none;
}

/* Featured card button */
.nt-pkg__btn--solid {
  background: #ffffff;
  color: #0d2459;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nt-pkg__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #0d2459;
  text-decoration: none;
}

/* ── Stagger animation delays ── */
.nt-pkg__card:nth-child(1) { transition-delay: 0s; }
.nt-pkg__card:nth-child(2) { transition-delay: 0.12s; }
.nt-pkg__card:nth-child(3) { transition-delay: 0.24s; }

/* ── Keyframes ── */
@keyframes ntFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
