/* =========================================================
   Binance Clone — Section Redesigns
   ========================================================= */

.bn-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.bn-section--alt {
  background: hsl(var(--section-bg));
}

.bn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--base));
  margin-bottom: 12px;
}

.bn-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: hsl(var(--base));
}

.bn-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: hsl(var(--heading-color));
  margin-bottom: 12px;
  line-height: 1.2;
}

.bn-sub {
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--light));
  max-width: 640px;
  margin: 0 auto 40px;
}

.bn-sub--left {
  margin-left: 0;
}

.bn-card {
  background: hsl(var(--section-bg-two));
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bn-card:hover {
  border-color: hsl(var(--base) / 0.45);
}

/* ---------- Banner ---------- */
.bn-banner {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 100px 0 72px;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, hsl(45 92% 49% / 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, hsl(155 87% 43% / 0.06), transparent 50%),
    hsl(var(--body-bg));
  overflow: hidden;
}

.bn-banner__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(215 12% 20% / 0.35) 1px, transparent 1px),
    linear-gradient(90deg, hsl(215 12% 20% / 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.bn-banner__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: hsl(var(--heading-color));
  margin-bottom: 20px;
}

.bn-banner__title span {
  color: hsl(var(--base));
}

.bn-banner__desc {
  font-size: 18px;
  line-height: 1.6;
  color: hsl(var(--light));
  max-width: 520px;
  margin-bottom: 32px;
}

.bn-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bn-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: hsl(var(--section-bg-two));
  border: 1px solid hsl(var(--border-color));
  border-radius: 4px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  text-decoration: none;
  min-height: 48px;
}

.bn-ticker:hover {
  border-color: hsl(var(--base));
  color: hsl(var(--base));
}

.bn-ticker__pair {
  font-size: 13px;
  color: hsl(var(--light));
}

.bn-ticker__price {
  font-size: 16px;
  color: hsl(var(--success));
  font-variant-numeric: tabular-nums;
}

.bn-banner__media {
  position: relative;
}

.bn-banner__media-main {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.bn-banner__media-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.bn-banner__float {
  display: none;
}

.bn-banner__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: hsl(var(--section-bg-two) / 0.92);
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.35);
  animation: bn-float 4s ease-in-out infinite;
  min-width: 96px;
}

.bn-banner__chip--a {
  top: 10%;
  left: 0;
}

.bn-banner__chip--b {
  bottom: 14%;
  right: 2%;
  animation-delay: 1.2s;
}

.bn-banner__chip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--light));
}

.bn-banner__chip-val {
  font-size: 16px;
  font-weight: 700;
  color: hsl(var(--base));
  font-variant-numeric: tabular-nums;
}

.bn-banner__chip-val.bn-up {
  color: hsl(var(--success));
}

@keyframes bn-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .bn-banner {
    min-height: auto;
    padding: 88px 0 48px;
    text-align: center;
  }
  .bn-banner__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .bn-banner__actions {
    justify-content: center;
  }
  .bn-banner__media {
    margin-top: 40px;
  }
  .bn-banner__media-main {
    margin: 0 auto;
  }
  .bn-banner__float {
    display: none;
  }
  .bn-banner__chip {
    display: none;
  }
}

/* ---------- About ---------- */
.bn-about__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  background: hsl(var(--section-bg-two));
}

.bn-about__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.bn-about__media img,
.bn-about__ceo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.bn-about__body {
  padding-left: 24px;
}

.bn-about__body p,
.bn-about__body li {
  color: hsl(var(--light));
  line-height: 1.7;
}

.bn-about__ceo-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-top: 48px;
}

.bn-about__ceo {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  aspect-ratio: 1;
}

.bn-about__ceo-name {
  font-size: 22px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin-bottom: 4px;
}

.bn-about__ceo-role {
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--base));
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .bn-about__body { padding-left: 0; margin-top: 24px; }
  .bn-about__ceo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bn-about__ceo {
    max-width: 180px;
    margin: 0 auto;
  }
}

/* ---------- Why Choose / Features ---------- */
.bn-feature {
  height: 100%;
  padding: 28px 24px;
  position: relative;
}

.bn-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--base)), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.bn-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: hsl(var(--base) / 0.12);
  border: 1px solid hsl(var(--base) / 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bn-feature__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bn-feature__title {
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin-bottom: 10px;
}

.bn-feature__desc {
  font-size: 14px;
  line-height: 1.65;
  color: hsl(var(--light));
  margin: 0;
}

/* ---------- How it works ---------- */
.bn-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: bn-step;
}

.bn-step {
  padding: 28px 20px;
  position: relative;
  height: 100%;
}

.bn-step__num {
  font-size: 13px;
  font-weight: 700;
  color: #0b0e11;
  background: hsl(var(--base));
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bn-step__thumb {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.bn-step__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bn-step__title {
  font-size: 16px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin-bottom: 8px;
}

.bn-step__desc {
  font-size: 13px;
  line-height: 1.6;
  color: hsl(var(--light));
  margin: 0;
}

@media (max-width: 1199px) {
  .bn-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .bn-steps { grid-template-columns: 1fr; }
}

/* ---------- Plans ---------- */
.bn-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.bn-plan {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bn-plan__name {
  font-size: 20px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin-bottom: 6px;
}

.bn-plan__duration {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: hsl(var(--base) / 0.12);
  color: hsl(var(--base));
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.bn-plan__table {
  width: 100%;
  margin-bottom: 24px;
  flex: 1;
}

.bn-plan__table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--light));
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border-color));
}

.bn-plan__table td {
  font-size: 14px;
  color: hsl(var(--heading-color));
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border-color) / 0.6);
  font-variant-numeric: tabular-nums;
}

.bn-plan__table td:last-child {
  text-align: right;
  color: hsl(var(--success));
  font-weight: 600;
}

.bn-plan__btn {
  margin-top: auto;
}

.bn-plan__btn .btn {
  width: 100%;
  min-height: 44px;
}

/* ---------- Referral ---------- */
.bn-referral__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bn-referral__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.bn-referral__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: hsl(var(--form-bg));
  border: 1px solid hsl(var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bn-referral__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bn-referral__meta {
  flex: 1;
  min-width: 0;
}

.bn-referral__level {
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin-bottom: 2px;
}

.bn-referral__note {
  font-size: 13px;
  color: hsl(var(--light));
  margin: 0;
}

.bn-referral__note strong {
  color: hsl(var(--base));
}

.bn-referral__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
}

.bn-referral__media img {
  width: 100%;
  display: block;
}

/* ---------- FAQ ---------- */
.bn-faq .accordion-item {
  background: hsl(var(--section-bg-two)) !important;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 8px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.bn-faq .accordion-button {
  background: transparent !important;
  color: hsl(var(--heading-color)) !important;
  font-weight: 600;
  font-size: 15px;
  box-shadow: none !important;
  padding: 18px 20px;
}

.bn-faq .accordion-button:not(.collapsed) {
  color: hsl(var(--base)) !important;
}

.bn-faq .accordion-button::after {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(5deg);
}

.bn-faq .accordion-body {
  color: hsl(var(--light));
  font-size: 14px;
  line-height: 1.7;
  padding: 0 20px 18px;
  background: transparent;
}

.bn-faq__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
}

.bn-faq__media img {
  width: 100%;
  display: block;
}

/* ---------- Partners / Audited ---------- */
.bn-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.bn-logo-card {
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.bn-logo-card img {
  max-width: 160px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2) brightness(1.05);
}

/* ---------- Transactions ---------- */
.bn-market {
  padding: 0;
  overflow: hidden;
}

.bn-market__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.bn-market__title {
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin: 0;
}

.bn-market__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.bn-market__badge--up {
  background: hsl(var(--success) / 0.15);
  color: hsl(var(--success));
}

.bn-market__badge--down {
  background: hsl(var(--danger) / 0.15);
  color: hsl(var(--danger));
}

.bn-market table {
  margin: 0;
  width: 100%;
}

.bn-market thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--light)) !important;
  background: hsl(var(--section-bg)) !important;
  border: none !important;
  padding: 10px 18px !important;
  font-weight: 600;
}

.bn-market tbody td {
  font-size: 13px;
  color: hsl(var(--heading-color));
  border-color: hsl(var(--border-color)) !important;
  padding: 12px 18px !important;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}

.bn-market tbody tr:hover {
  background: hsl(var(--section-bg) / 0.65) !important;
}

.bn-market__amount--up { color: hsl(var(--success)) !important; font-weight: 600; }
.bn-market__amount--down { color: hsl(var(--danger)) !important; font-weight: 600; }

/* ---------- Testimonials ---------- */
.bn-quote {
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bn-quote__text {
  font-size: 15px;
  line-height: 1.7;
  color: hsl(var(--heading-color));
  margin-bottom: 24px;
  flex: 1;
}

.bn-quote__user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.bn-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  flex-shrink: 0;
}

.bn-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bn-quote__name {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin: 0;
}

.bn-quote__role {
  font-size: 12px;
  color: hsl(var(--light));
  margin: 0;
}

/* ---------- Blog ---------- */
.bn-blog {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bn-blog__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(var(--section-bg));
}

.bn-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bn-blog:hover .bn-blog__thumb img {
  transform: scale(1.04);
}

.bn-blog__body {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bn-blog__date {
  font-size: 12px;
  color: hsl(var(--light));
  margin-bottom: 8px;
}

.bn-blog__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.bn-blog__title a {
  color: hsl(var(--heading-color));
  text-decoration: none;
}

.bn-blog__title a:hover {
  color: hsl(var(--base));
}

/* ---------- Breadcrumb ---------- */
.bn-breadcrumb {
  padding: 48px 0 32px;
  background: hsl(var(--section-bg));
  border-bottom: 1px solid hsl(var(--border-color));
}

.bn-breadcrumb__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: hsl(var(--heading-color));
  margin: 0;
  letter-spacing: -0.02em;
}

/* ---------- Footer ---------- */
.bn-footer {
  background: hsl(var(--section-bg));
  border-top: 1px solid hsl(var(--border-color));
  padding-top: 56px;
}

.bn-footer__logo img {
  max-height: 40px;
  width: auto;
}

.bn-logo {
  height: 40px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.bn-logo--auth {
  height: 56px;
  max-width: 320px;
  margin-bottom: 8px;
}

.theme-binanceclone .navbar-brand.logo img,
.theme-binanceclone .sidebar-logo__link img {
  height: 40px !important;
  width: auto !important;
  max-width: 260px;
  object-fit: contain;
}

.theme-binanceclone .account-form__logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 320px;
}

.bn-footer__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--heading-color));
  margin-bottom: 18px;
}

.bn-footer__link {
  display: block;
  color: hsl(var(--light));
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
}

.bn-footer__link:hover {
  color: hsl(var(--base));
}

.bn-footer__contact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: hsl(var(--light));
  font-size: 14px;
}

.bn-footer__contact i,
.bn-footer__contact svg {
  color: hsl(var(--base));
}

.bn-footer__bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid hsl(var(--border-color));
  text-align: center;
  color: hsl(var(--light));
  font-size: 13px;
}

.bn-footer__bottom a {
  color: hsl(var(--base));
  text-decoration: none;
}

/* ---------- Dashboard shell polish ---------- */
.theme-binanceclone .dashboard-body__title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.theme-binanceclone .dashboard-widget,
.theme-binanceclone .dashboard-card,
.theme-binanceclone .card {
  border-radius: 8px !important;
}

.theme-binanceclone .alert {
  border-radius: 8px;
  border: 1px solid hsl(var(--border-color));
}

/* Dashboard widgets — Binance market cards */
.theme-binanceclone .dashboard-widget {
  background: hsl(var(--section-bg-two)) !important;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 20px !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme-binanceclone .dashboard-widget:hover {
  border-color: hsl(var(--base) / 0.5) !important;
  transform: translateY(-2px);
}

.theme-binanceclone .dashboard-widget__icon {
  background: hsl(var(--base) / 0.12) !important;
  color: hsl(var(--base)) !important;
  border-radius: 8px !important;
}

.theme-binanceclone .dashboard-widget__text {
  color: hsl(var(--light)) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.theme-binanceclone .dashboard-widget__number {
  color: hsl(var(--heading-color)) !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.theme-binanceclone .dashboard-body {
  background: transparent;
}

.theme-binanceclone .dashboard-body__top {
  border-bottom: 1px solid hsl(var(--border-color));
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.theme-binanceclone .sidebar-logo {
  padding: 20px 16px 12px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.theme-binanceclone .sidebar-menu-list {
  padding: 12px 0 24px;
}

/* Hide old decorative shapes in this theme */
.theme-binanceclone .banner-shape__one,
.theme-binanceclone .shape,
.theme-binanceclone .shape-one,
.theme-binanceclone .shape-two,
.theme-binanceclone .shape-three,
.theme-binanceclone .shape-four,
.theme-binanceclone .investment-shape,
.theme-binanceclone .investment-shape__two,
.theme-binanceclone .testimonials__shape-one,
.theme-binanceclone .testimonials__shape-two,
.theme-binanceclone .testimonials__shape-three,
.theme-binanceclone .testimonials__shape-four {
  display: none !important;
}
