
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f9fc;
  color: #111827;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:root {
  --primary: #1737ff;
  --primary-dark: #1028c7;
  --blue-light: #eef2ff;
  --dark: #07111f;
  --dark-2: #0c1728;
  --text: #111827;
  --muted: #667085;
  --white: #ffffff;
  --border: #e5e7eb;
  --bg: #f7f9fc;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf0f5;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
}

.nav-container {
  max-width: 1400px;
  min-height: 78px;
  margin: auto;
  padding: 0 35px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo > span:last-child > span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary);
  bottom: -9px;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.signup-btn {
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s;
}

.signup-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.login-btn {
  cursor: pointer;
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  color: var(--dark);
  font-size: 24px;
}


/* =========================================================
   PREMIUM CARD HERO
========================================================= */

.navsection {
  min-height: 620px;
  padding: 80px 8%;
  background:
    linear-gradient(
      120deg,
      rgba(4, 13, 30, 0.98),
      rgba(12, 35, 80, 0.94)
    );
  color: white;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.promisecard {
  color: #91a5ff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  grid-column: 1;
}

.nextGen {
  font-size: clamp(45px, 6vw, 85px);
  line-height: 0.95;
  font-weight: 800;
  text-transform: capitalize;
  grid-column: 1;
}

.nextGen span {
  color: #5c73ff;
}

.exclusive {
  grid-column: 1;
  width: auto !important;
  max-width: 550px;
  line-height: 1.8;
  opacity: 0.8;
}

.firstcardpremuim {
  grid-column: 1;
  flex-wrap: wrap;
}

.firstcardpremuim a {
  background: var(--primary) !important;
  transition: 0.25s;
}

.firstcardpremuim a:hover {
  background: #4357ff !important;
  transform: translateY(-2px);
}

.firstcardpremuim select {
  background: rgba(255, 255, 255, 0.08) !important;
}

.navsection > div:last-child {
  grid-column: 2;
  grid-row: 1 / span 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navsection > div:last-child img {
  width: min(550px, 100%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}


/* =========================================================
   LOGIN
========================================================= */

.loginSection {
  width: min(430px, calc(100% - 30px));
  margin: 40px auto;
  padding: 35px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: none;
}

.loginSection.loginSectionCard {
  display: block;
  animation: loginOpen 0.35s ease;
}

@keyframes loginOpen {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loginmessage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.loginmessage h2 {
  font-size: 22px;
}

.loginmessage img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.loginSection > h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#loginForm input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: #f9fafb;
  transition: 0.2s;
}

#loginForm input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(23, 55, 255, 0.08);
}

#loginForm button {
  border: none;
  padding: 14px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  transition: 0.25s;
}

#loginForm button:hover {
  background: var(--primary-dark);
}

#message {
  margin-top: 15px;
  text-align: center;
  color: var(--danger);
}


/* =========================================================
   CUSTOMER DASHBOARD
========================================================= */

#dashboardSection {
  max-width: 1250px;
  margin: 40px auto;
  padding: 0 25px;
}

.profile-card {
  position: relative;
  background: linear-gradient(135deg, #0a1830, #162d59);
  color: white;
  padding: 35px;
  border-radius: 22px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  right: -100px;
  top: -100px;
  background: rgba(255,255,255,0.05);
}

#profilePhoto {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.8);
  margin-bottom: 15px;
}

.profile-card h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.profile-card p {
  color: #cbd5e1;
}

#editProfileBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 13px 28px;
  border-radius: 9px;
  font-weight: 700;
  margin-bottom: 30px;
  transition: 0.25s;
}

.balance-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.balance-card p {
  color: var(--muted);
  font-size: 14px;
}

.balance-card h1 {
  font-size: clamp(35px, 5vw, 55px);
  margin-top: 5px;
  color: var(--dark);
}

.tier-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.tier-card > div {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.tier-card span {
  color: var(--muted);
  font-size: 13px;
}

.tier-card h3 {
  margin-top: 5px;
  color: var(--primary);
}

.card-details-box {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.card-details-box h3 {
  margin-bottom: 8px;
}

.card-details-box p {
  color: var(--muted);
  margin-bottom: 20px;
}

#applyCardBtn {
  border: none;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
}

.transfer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  padding: 13px 28px;
  border-radius: 9px;
  font-weight: 700;
  margin-bottom: 30px;
  transition: 0.25s;
}

.transfer-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

#transactions {
  background: white;
  min-height: 120px;
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

#transactions h2 {
  margin-bottom: 15px;
}

#logout {
  border: none;
  background: #fee2e2;
  color: #b91c1c;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
}


/* =========================================================
   SOLID MENU
========================================================= */

.solidmenu {
  max-width: 1350px;
  margin: 50px auto !important;
  min-height: 200px;
  background: white !important;
  box-shadow: var(--shadow);
  border: 1px solid #edf0f5;
}

.solidmenu > div {
  flex: 1;
  padding: 15px;
  border-right: 1px solid #e5e7eb;
}

.solidmenu > div:last-child {
  border-right: none;
}

.solidmenu a {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

.solidmenu p {
  color: var(--muted);
  font-size: 14px;
  margin: 3px 0;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 25px;
}

.features > p:first-child {
  border-left: 3px solid var(--primary) !important;
  border-radius: 4px;
  color: var(--primary) !important;
}

.features > p:nth-child(2) {
  font-size: clamp(28px, 4vw, 45px) !important;
  margin: 18px 0;
  color: var(--dark);
}

.features > p:nth-child(3) {
  color: var(--muted);
  line-height: 1.8;
}

.monthlydiv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}

.monthlydiv > div {
  width: auto !important;
  min-height: 210px;
  padding: 30px !important;
  background: white !important;
  border: 1px solid #e8ebf0 !important;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.monthlydiv > div:hover {
  transform: translateY(-5px);
}

.monthlydiv h3 {
  font-size: 20px;
}

.monthlydiv p {
  color: var(--muted);
}

.monthlydiv a {
  color: var(--primary);
  font-weight: 600;
}


/* =========================================================
   FINANCIAL CONSULTATION
========================================================= */

.finacialconsult {
  max-width: 1200px;
  margin: 80px auto;
  padding: 45px;
  border-radius: 25px;
  background: linear-gradient(135deg, #08172e, #102d5c);
  color: white;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.consultation h3,
.benefit h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.consultation > p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.consultation form {
  margin-top: 20px;
}

.consultation select,
.consultation input {
  border: none;
  outline: none;
  padding: 13px;
  border-radius: 9px;
  background: white !important;
  color: #111827;
}

.consultation input {
  width: 100%;
}

.consultation form > div:last-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.consultation button {
  border: none !important;
  background: var(--primary) !important;
  padding: 14px !important;
}

.benefit {
  background: rgba(255,255,255,0.06);
  padding: 30px;
  border-radius: 18px;
}

.benefit > p {
  color: #dbe4f2;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* =========================================================
   IMAGE SLIDER
========================================================= */

.slider {
  max-width: 1200px;
  margin: 70px auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.slides {
  display: flex;
  transition: transform 0.7s ease;
}

.slide {
  min-width: 100%;
  height: 480px;
}

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


/* =========================================================
   MAIN DASHBOARD HERO
========================================================= */

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: white;

  display: flex;
  align-items: center;
  padding: 80px 8%;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 10, 25, 0.92),
      rgba(3, 10, 25, 0.55),
      rgba(3, 10, 25, 0.35)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(45px, 6vw, 78px);
  line-height: 1;
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: #7183ff;
}

.hero-content > p {
  color: #d7dfed;
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 30px;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 9px;
  font-weight: 700;
  transition: 0.25s;
}

.primary-btn {
  background: var(--primary);
  color: white;
}

.primary-btn:hover {
  background: #4055ff;
  transform: translateY(-2px);
}

.secondary-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.secondary-btn:hover {
  background: white;
  color: var(--dark);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 8%;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #cbd5e1;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome-section {
  max-width: 1250px;
  margin: 70px auto 30px;
  padding: 0 25px;

  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.welcome-section h2,
.section-heading h2,
.connected-section h2,
.security-content h2,
.promo-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.welcome-section p {
  color: var(--muted);
  margin-top: 8px;
}

.date-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  padding: 15px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.date-card > i {
  color: var(--primary);
  font-size: 22px;
}

.date-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
  max-width: 1250px;
  margin: 90px auto;
  padding: 0 25px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-top: 5px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.action-card {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
}

.action-card:hover {
  transform: translateY(-5px);
}

.action-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--primary);
  border-radius: 13px;
}

.action-card h3 {
  font-size: 16px;
}

.action-card p {
  color: var(--muted);
  font-size: 13px;
}

.action-card > i:last-child {
  color: #98a2b3;
}


/* =========================================================
   BANK CARDS
========================================================= */

.cards-section {
  padding: 90px max(25px, calc((100% - 1250px) / 2));
  background: var(--dark);
  color: white;
}

.section-heading.light h2 {
  color: white;
}

.light-link {
  color: #8ea0ff;
  font-weight: 700;
}

.bank-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.bank-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.standard-card {
  background: linear-gradient(135deg, #1a2741, #344a70);
}

.premium-card {
  background: linear-gradient(135deg, #111827, #243a65);
}

.bank-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  right: -100px;
  bottom: -140px;
  background: rgba(255,255,255,0.07);
}

.card-header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header {
  font-weight: 700;
}

.card-header i {
  font-size: 23px;
}

.chip {
  width: 45px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d7b56d, #f1d98d);
  position: relative;
  margin-top: 15px;
}

.chip span {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
}

.card-number {
  font-size: 20px;
  letter-spacing: 2px;
  margin: 10px 0;
}

.card-footer small {
  display: block;
  font-size: 9px;
  opacity: 0.7;
}

.card-footer strong {
  font-size: 13px;
}

.premium-symbol {
  font-size: 45px;
  font-weight: 900;
  color: #8ea0ff;
}

.apply-card {
  min-height: 260px;
  border: 1px dashed #52617c;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: white;
  transition: 0.3s;
}

.apply-card:hover {
  border-color: #7183ff;
  background: rgba(255,255,255,0.04);
}

.apply-card > div {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202e4b;
  color: #8ea0ff;
  border-radius: 50%;
  margin-bottom: 15px;
}

.apply-card p {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 8px;
}


/* =========================================================
   ANALYTICS
========================================================= */

.analytics-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 25px;
}

.chart-card,
.spending-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-header span {
  color: var(--muted);
  font-size: 14px;
}

.chart-header h3 {
  font-size: 32px;
}

.positive {
  color: var(--success) !important;
  font-weight: 700;
}

.chart {
  height: 280px;
  position: relative;
  margin-top: 25px;
  border-bottom: 1px solid #e5e7eb;
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed #e5e7eb;
}

.line-one {
  top: 25%;
}

.line-two {
  top: 50%;
}

.line-three {
  top: 75%;
}

.chart svg {
  width: 100%;
  height: 100%;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.chart-days {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding-top: 10px;
}

#chartPeriod {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: white;
}

.spending-card > p {
  color: var(--muted);
  margin-bottom: 25px;
}

.movement {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f4;
}

.movement-icon {
  width: 43px;
  height: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.movement-icon.incoming {
  background: #dcfce7;
  color: #16a34a;
}

.movement-icon.outgoing {
  background: #fee2e2;
  color: #dc2626;
}

.movement-icon.savings {
  background: #eef2ff;
  color: var(--primary);
}

.movement span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.movement strong {
  font-size: 15px;
}


/* =========================================================
   GOALS
========================================================= */

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.goal-card {
  background: white;
  padding: 25px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.goal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.goal-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--primary);
  border-radius: 13px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.goal-top > span {
  color: var(--primary);
  font-weight: 800;
}

.goal-card h3 {
  margin-top: 20px;
}

.goal-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 15px;
}

.progress {
  height: 7px;
  background: #e8ecf3;
  border-radius: 20px;
  overflow: hidden;
}

.progress span {
  height: 100%;
  display: block;
  background: var(--primary);
  border-radius: inherit;
}


/* =========================================================
   CONNECTED BANK
========================================================= */

.connected-section {
  max-width: 1250px;
  margin: 90px auto;
  padding: 45px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 25px;
  align-items: center;
  background: white;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.connected-section > div:first-child p {
  color: var(--muted);
  margin-top: 10px;
}

.connected-bank {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: #f7f9fc;
  border-radius: 15px;
}

.bank-logo {
  width: 45px;
  height: 45px;
  background: var(--blue-light);
  color: var(--primary);
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bank-info span {
  color: var(--muted);
  font-size: 13px;
}

.verified {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.connect-bank-btn {
  border: 1px solid #dbe1ea;
  background: white;
  color: var(--primary);
  padding: 13px 18px;
  border-radius: 9px;
  font-weight: 700;
}


/* =========================================================
   SECURITY
========================================================= */

.security-section {
  max-width: 1250px;
  margin: 90px auto;
  padding: 0 25px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.security-content p {
  max-width: 600px;
  color: var(--muted);
  margin: 20px 0;
}

.security-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.security-check {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;

  display: flex;
  align-items: center;
  justify-content: center;
}

.security-status strong,
.security-status span {
  display: block;
}

.security-status span {
  color: var(--muted);
  font-size: 13px;
}

.security-image {
  position: relative;
  min-height: 420px;
  border-radius: 25px;
  overflow: hidden;
}

.security-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.security-overlay {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  padding: 18px;
  border-radius: 15px;
  background: rgba(5, 15, 30, 0.8);
  backdrop-filter: blur(10px);
  color: white;

  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}

.security-overlay i {
  grid-row: span 2;
  font-size: 25px;
  color: #8ea0ff;
}

.security-overlay span {
  color: #cbd5e1;
  font-size: 12px;
}


/* =========================================================
   PROMO
========================================================= */

.promo-section {
  max-width: 1250px;
  margin: 90px auto;
  padding: 0 25px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.promo-image {
  border-radius: 25px;
  overflow: hidden;
  min-height: 420px;
}

.promo-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.promo-content p {
  color: var(--muted);
  margin: 20px 0 30px;
  font-size: 16px;
}

.promo-content .primary-btn {
  color: white;
}


/* =========================================================
   SUPPORT
========================================================= */

.support-section {
  max-width: 1250px;
  margin: 80px auto;
  padding: 0 25px;
}

.support-card {
  background: linear-gradient(135deg, #0a1830, #173d79);
  color: white;
  border-radius: 22px;
  padding: 35px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
}

.support-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.support-card span {
  font-size: 11px;
  color: #9fb0ff;
  font-weight: 800;
  letter-spacing: 1px;
}

.support-card h3 {
  font-size: 25px;
}

.support-card p {
  color: #cbd5e1;
}

.support-card > a {
  background: white;
  color: var(--dark);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}


/* =========================================================
   FOOTER
========================================================= */


/* ================= FOOTER ================= */

footer {
  background: #050f1d;

  color: white;

  padding: 70px 8% 25px;
}

.footer-main {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 55px;
}

.footer-brand p {
  max-width: 300px;

  color: #8496ab;

  font-size: 13px;

  margin-top: 18px;
}

.social-links {
  display: flex;

  gap: 9px;

  margin-top: 25px;
}

.social-links a {
  width: 37px;
  height: 37px;

  border: 1px solid #25384f;

  border-radius: 8px;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #91a1b4;

  transition: .25s;
}

.social-links a:hover {
  background: #1677ff;
  border-color: #1677ff;
  color: white;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.footer-column h4 {
  font-size: 14px;

  margin-bottom: 8px;
}

.footer-column a {
  color: #8496ab;

  font-size: 13px;

  transition: .25s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 22px;

  border-top: 1px solid #1b2b3f;

  display: flex;

  justify-content: space-between;

  color: #718297;

  font-size: 11px;
}

.footer-bottom div {
  display: flex;

  gap: 25px;
}


.balance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

#toggleBalance {
    border: none;
    background: transparent;
    color: #0b3a6f;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

#toggleBalance:hover {
    opacity: 0.7;
}

/* ==========================================
   EDIT PROFILE MODAL
========================================== */

.profile-modal {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    padding: 20px;

    box-sizing: border-box;
}


/* ==========================================
   MODAL CONTENT
========================================== */

.profile-modal-content {
    width: 100%;
    max-width: 450px;

    background: #ffffff;

    border-radius: 18px;

    padding: 30px;

    box-sizing: border-box;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);

    animation: profileModalIn 0.25s ease;
}


/* ==========================================
   MODAL ANIMATION
========================================== */

@keyframes profileModalIn {

    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* ==========================================
   TITLE
========================================== */

.profile-modal-content h2 {

    margin: 0 0 25px;

    text-align: center;

    color: #123b70;

    font-size: 24px;

    font-weight: 700;
}


/* ==========================================
   FORM
========================================== */

#editProfileForm {

    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* ==========================================
   LABEL
========================================== */

#editProfileForm label {

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}


/* ==========================================
   FILE INPUT
========================================== */

#profilePhotoInput {

    width: 100%;

    padding: 12px;

    box-sizing: border-box;

    border: 1px solid #d8dee8;

    border-radius: 10px;

    background: #f8fafc;

    color: #475569;

    cursor: pointer;

    font-size: 14px;

    transition: 0.2s ease;
}


#profilePhotoInput:hover {

    border-color: #2563eb;

    background: #f8fbff;
}


#profilePhotoInput:focus {

    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* ==========================================
   PHOTO PREVIEW
========================================== */

#photoPreview {

    width: 100%;

    min-height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 5px 0;
}


#photoPreview img {

    width: 120px;

    height: 120px;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid #e8f0ff;

    box-shadow:
        0 5px 18px rgba(37, 99, 235, 0.18);
}


/* ==========================================
   UPLOAD BUTTON
========================================== */

#saveProfileBtn {

    width: 100%;

    border: none;

    border-radius: 10px;

    padding: 13px 18px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


#saveProfileBtn:hover {

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.25);
}


#saveProfileBtn:active {

    transform: translateY(0);
}


#saveProfileBtn:disabled {

    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* ==========================================
   CANCEL BUTTON
========================================== */

#closeProfileModal {

    width: 100%;

    border: 1px solid #d8dee8;

    border-radius: 10px;

    padding: 12px 18px;

    background: #ffffff;

    color: #475569;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


#closeProfileModal:hover {

    background: #f1f5f9;

    border-color: #cbd5e1;

    color: #1e293b;
}


/* ==========================================
   MESSAGE
========================================== */

#profileMessage {

    min-height: 20px;

    margin: 5px 0 0;

    text-align: center;

    color: #2563eb;

    font-size: 14px;

    font-weight: 500;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 500px) {

    .profile-modal {

        padding: 15px;

    }


    .profile-modal-content {

        padding: 22px;

        border-radius: 15px;

    }


    .profile-modal-content h2 {

        font-size: 21px;

        margin-bottom: 20px;

    }


    #photoPreview img {

        width: 100px;

        height: 100px;

    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

  .nav-container {
    padding: 0 22px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .bank-cards {
    grid-template-columns: 1fr 1fr;
  }

  .apply-card {
    grid-column: span 2;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .connected-section {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  /* NAVIGATION */

  .nav-container {
    min-height: 70px;
    padding: 0 18px;
  }

  .nav-actions {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    background: white;
    padding: 20px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    border-top: 1px solid #edf0f5;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 14px 5px;
    font-size: 15px;
  }

  .nav-links a.active::after {
    display: none;
  }


  /* PREMIUM HERO */

  .navsection {
    min-height: auto;
    padding: 60px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .promisecard,
  .nextGen,
  .exclusive,
  .firstcardpremuim {
    width: 100%;
  }

  .nextGen {
    font-size: clamp(45px, 14vw, 75px);
  }

  .firstcardpremuim {
    flex-direction: column;
  }

  .firstcardpremuim a,
  .firstcardpremuim select {
    width: 100% !important;
  }

  .navsection > div:last-child {
    width: 100%;
    order: 5;
  }


  /* LOGIN */

  .loginSection {
    padding: 25px 20px;
  }


  /* DASHBOARD */

  #dashboardSection {
    margin-top: 25px;
    padding: 0 15px;
  }

  .profile-card {
    padding: 25px 20px;
  }

  
    #editProfileBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 140px;
  min-height: 45px;
  padding: 13px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
  

  .tier-card {
    grid-template-columns: 1fr;
  }


  /* SOLID MENU */

  .solidmenu {
    margin: 30px 15px !important;
    height: auto !important;
    flex-direction: column;
    align-items: stretch !important;
    padding: 15px !important;
  }

  .solidmenu > div {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 10px;
  }

  .solidmenu > div:last-child {
    border-bottom: none;
  }


  /* FEATURES */

  .features {
    margin: 60px auto;
    padding: 0 20px;
  }

  .monthlydiv {
    grid-template-columns: 1fr;
  }


  /* CONSULTATION */

  .finacialconsult {
    margin: 50px 15px;
    padding: 30px 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .consultation form > div:last-of-type {
    grid-template-columns: 1fr;
  }


  /* SLIDER */

  .slider {
    margin: 50px 15px;
  }

  .slide {
    height: 250pxpx;
  }


  /* HERO */

  .hero-section {
    min-height: 600px;
    padding: 70px 25px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .hero-content > p {
    font-size: 15px;
  }

  .hero-scroll {
    left: 25px;
  }


  /* WELCOME */

  .welcome-section {
    margin-top: 50px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
  }


  /* SECTIONS */

  .section {
    margin: 65px auto;
    padding: 0 20px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }


  /* CARDS */

  .cards-section {
    padding: 65px 20px;
  }

  .bank-cards {
    grid-template-columns: 1fr;
  }

  .apply-card {
    grid-column: auto;
  }


  /* ANALYTICS */

  .chart-card,
  .spending-card {
    padding: 22px;
  }

  .chart {
    height: 220px;
  }

  .chart-header h3 {
    font-size: 25px;
  }


  /* GOALS */

  .goals-grid {
    grid-template-columns: 1fr;
  }


  /* CONNECTED */

  .connected-section {
    margin: 60px 15px;
    padding: 30px 20px;
  }

  .connected-bank {
    flex-wrap: wrap;
  }


  /* SECURITY */

  .security-section {
    grid-template-columns: 1fr;
    margin: 60px auto;
    padding: 0 20px;
  }

  .security-image {
    min-height: 300px;
  }

  .security-image img {
    min-height: 300px;
  }


  /* PROMO */

  .promo-section {
    grid-template-columns: 1fr;
    padding: 0 20px;
    margin: 60px auto;
  }

  .promo-image {
    min-height: 300px;
  }

  .promo-image img {
    min-height: 300px;
  }


  /* SUPPORT */

  .support-section {
    padding: 0 20px;
  }

  .support-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }


  /* FOOTER */

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

  .logo {
    font-size: 17px;
  }

  .logo-icon img {
    width: 34px !important;
    height: 34px !important;
  }

  .profile-card h2 {
    font-size: 21px;
  }

  .balance-card h1 {
    font-size: 38px;
  }

  .hero-section {
    min-height: 570px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .card-number {
    font-size: 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }


  .support-card {
    padding: 28px 20px;
  }

}