/* NexBank desktop landing — DigiBank Blade */

html,
body {
  overflow-x: hidden;
}

.nx-hero,
.nx-section,
.nx-browser,
.nx-photo {
  max-width: 100%;
}

.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nx-btn:hover {
  transform: translateY(-1px);
}

.nx-btn-primary {
  background: #dc2626;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.28);
}

.nx-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.nx-btn-dark {
  background: #fff;
  color: #18181b !important;
}

.nx-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  backdrop-filter: blur(12px);
}

.nx-section {
  padding: 96px 0;
}

.nx-section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #18181b;
  margin: 12px 0 16px;
}

.nx-section-title span {
  color: #dc2626;
}

.nx-section-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #71717a;
  max-width: 640px;
}

.dark-theme .nx-section-title {
  color: #fafafa;
}

.dark-theme .nx-section-sub {
  color: #a1a1aa;
}

.nx-glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 24, 27, 0.08);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(24, 24, 27, 0.08);
}

.dark-theme .nx-glass {
  background: rgba(24, 24, 27, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Hero */
.nx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.nx-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 8s ease;
}

.nx-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.nx-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.nx-hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
}

.nx-hero-copy .nx-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nx-hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 18px 0 16px;
  color: #fff;
}

.nx-hero-copy p {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.nx-hero-proof {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.nx-hero-proof strong {
  color: #fff;
}

.nx-money-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 50px rgba(220, 38, 38, 0.15);
}

.nx-money-card .label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
}

.nx-money-card .balance {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.nx-money-card .balance small {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.6);
}

.nx-money-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.nx-money-tile {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px;
}

.nx-money-tile .val {
  font-size: 20px;
  font-weight: 800;
}

.nx-pos { color: #34d399; }
.nx-neg { color: #f87171; }

.nx-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.nx-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
}

.nx-hero-dots button.is-active {
  width: 28px;
  background: #dc2626;
}

/* Dashboard preview */
.nx-browser {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: hsl(0 0% 100% / 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(24, 24, 27, 0.12);
}

.dark-theme .nx-browser {
  background: hsl(0 0% 9% / 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.nx-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(24, 24, 27, 0.04);
  font-size: 13px;
  color: #71717a;
}

.nx-browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.nx-browser-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
}

.nx-dash-nav {
  padding: 20px 14px;
  border-right: 1px solid rgba(24, 24, 27, 0.06);
}

.nx-dash-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #52525b;
  font-weight: 600;
  font-size: 14px;
}

.nx-dash-nav a.active {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.nx-dash-main {
  padding: 24px;
}

.nx-kpi-grid,
.nx-highlights,
.nx-feature-grid,
.nx-how-grid,
.nx-stat-kpis,
.nx-review-grid {
  display: grid;
  gap: 18px;
}

.nx-kpi-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.nx-highlights,
.nx-feature-grid,
.nx-review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.nx-how-grid {
  grid-template-columns: repeat(4, 1fr);
}

.nx-stat-kpis {
  grid-template-columns: repeat(4, 1fr);
}

.nx-card {
  padding: 22px;
}

.nx-card h3,
.nx-card h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nx-tx-list {
  margin-top: 18px;
}

.nx-tx {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(24, 24, 27, 0.06);
  font-size: 14px;
}

.nx-spend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: #71717a;
}

/* Team / stats photos */
.nx-photo {
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.nx-photo-label {
  position: absolute;
  inset: auto 20px 20px 20px;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

.nx-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.nx-photo > * {
  position: relative;
  z-index: 1;
}

.nx-stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Features / how */
.nx-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  margin-bottom: 16px;
  font-size: 20px;
}

.nx-how-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.nx-how-card .nx-card {
  border-radius: 0 0 20px 20px;
}

/* Security */
.nx-secure {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.nx-secure video {
  width: 100%;
  border-radius: 24px;
  background: #0a0a0a;
}

.nx-secure-item {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Smart money */
.nx-smart-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.nx-earn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.nx-earn-card {
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.nx-earn-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.nx-earn-card .content {
  position: absolute;
  inset: auto 22px 22px 22px;
  z-index: 1;
}

.nx-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

/* Invest */
.nx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #18181b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.nx-chip em {
  color: #34d399;
  font-style: normal;
}

/* Reviews */
.nx-stars {
  color: #fbbf24;
  margin-bottom: 12px;
}

.nx-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
}

/* Mobile CTA */
.nx-mobile {
  background: linear-gradient(135deg, #0a0a0a, #171717 50%, #0a0a0a);
  color: #fff;
}

.nx-mobile .nx-section-title,
.nx-mobile .nx-section-sub {
  color: #fff;
}

.nx-mobile img {
  max-width: 360px;
  margin: 0 auto;
  display: block;
}

.nx-team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* FAQ */
.nx-faq details {
  border-bottom: 1px solid rgba(24, 24, 27, 0.08);
  padding: 16px 0;
}

.nx-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
}

.nx-faq details p {
  margin: 10px 0 0;
  color: #71717a;
}

/* Final CTA */
.nx-final {
  background: linear-gradient(135deg, #dc2828, #9f1239);
  color: #fff;
  text-align: center;
}

.nx-final .nx-section-title,
.nx-final .nx-section-sub {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

/* Header landing nav */
.nx-nav a {
  font-weight: 600 !important;
}

.header-area.nx-sticky-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(24, 24, 27, 0.06);
}

.dark-theme .header-area.nx-sticky-glass {
  background: rgba(10, 10, 10, 0.72);
}

@media (max-width: 1199px) {
  .nx-browser-body,
  .nx-secure,
  .nx-smart-grid {
    grid-template-columns: 1fr;
  }

  .nx-dash-nav {
    display: none;
  }

  .nx-how-grid,
  .nx-stat-kpis,
  .nx-kpi-grid,
  .nx-team-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .nx-hero {
    min-height: auto;
  }

  .nx-hero-inner {
    padding: 110px 0 48px;
  }

  .nx-hero-copy h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .nx-hero-copy p {
    font-size: 16px;
  }

  .nx-money-card {
    margin-top: 8px;
  }

  .nx-money-card .balance {
    font-size: 32px;
  }

  .nx-section {
    padding: 56px 0;
  }

  .nx-section-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .nx-section-sub {
    font-size: 16px;
  }

  .nx-highlights,
  .nx-feature-grid,
  .nx-review-grid,
  .nx-earn-grid,
  .nx-how-grid,
  .nx-stat-kpis,
  .nx-kpi-grid,
  .nx-spend,
  .nx-team-stats {
    grid-template-columns: 1fr;
  }

  .nx-photo,
  .nx-earn-card {
    min-height: 220px;
  }

  .nx-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nx-hero-actions .nx-btn,
  .nx-final .nx-btn {
    width: 100%;
  }

  .nx-dash-main {
    padding: 16px;
  }

  .nx-browser {
    border-radius: 16px;
  }

  .nx-mobile img {
    max-width: 220px;
  }

  .nx-faq summary {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .nx-money-row {
    grid-template-columns: 1fr;
  }

  .nx-card {
    padding: 16px;
  }

  .nx-stat-value {
    font-size: 28px;
  }

  .nx-hero-dots {
    margin-top: 18px;
  }
}
