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

:root {
  --navy: #0A2540;
  --navy-mid: #1B3A6B;
  --royal: #1652F0;
  --royal-light: #3B72F6;
  --gold: #C9973A;
  --white: #FFFFFF;
  --off-white: #F4F7FB;
  --border: #D8E2F0;
  --text-dark: #0A2540;
  --text-mid: #4A5E7A;
  --text-muted: #8A9BBB;
  --green: #0E9F6E;
  --red: #E53E3E;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.glass-light {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  margin: 18px auto;
  max-width: 1100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--royal);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}

.logo span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-btn {
  background: var(--royal);
  border: none;
  padding: 10px 22px;
  color: var(--white);
  border-radius: 9px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: var(--royal-light);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 90px 40px 110px;
  min-height: 88vh;
  background: linear-gradient(160deg, #0A2540 0%, #1B3A6B 60%, #0A2540 100%);
}

.hero-text {
  max-width: 500px;
}

.hero-badge {
  display: inline-block;
  background: rgba(22, 82, 240, 0.18);
  border: 1px solid rgba(22, 82, 240, 0.35);
  color: #93BBFD;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-text h1 {
  font-family: 'Sora', sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--white);
}

.highlight {
  color: var(--gold);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 34px;
}

.buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.primary {
  background: var(--royal);
  border: none;
  padding: 13px 26px;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.primary:hover {
  background: var(--royal-light);
  transform: translateY(-1px);
}

.primary.full {
  width: 100%;
  margin-top: 10px;
}

.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 13px 26px;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
}

.trust-bar {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
}

.hero-card {
  width: 300px;
  padding: 28px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(27, 58, 107, 0.7), rgba(10, 37, 64, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), #E8BA60);
  border-radius: 6px;
  margin-bottom: 28px;
}

.card-balance-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.card-balance {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 26px;
}

.card-row {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
}

.card-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-val {
  font-size: 15px;
  font-weight: 600;
}

.card-val.income {
  color: #4ADE80;
}

.card-val.spending {
  color: #F87171;
}

.card-number {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 2.5px;
}

.section {
  padding: 80px 40px;
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--royal-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-section {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.09);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon.blue {
  background: #EBF0FF;
  color: var(--navy-mid);
}

.feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

.mission-section {
  background: var(--off-white);
  padding: 0 40px 80px;
}

.mission-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 38px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mission-block h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mission-block p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}

.divider {
  height: 1px;
  background: var(--border);
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DFFBEE;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.footer {
  background: #060F1C;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 15, 28, 0.75);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.login-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal-content {
  padding: 38px;
  width: 380px;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.13);
}

.modal-content input {
  width: 100%;
  padding: 12px 14px;
  margin: 6px 0;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-content input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.modal-content input:focus {
  border-color: var(--royal-light);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.login-logo-img {
  width: 90px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
}

.login-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  margin-bottom: 20px;
}

.login-footer-text {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  margin-top: 16px;
}

.login-footer-text a {
  color: var(--royal-light);
  text-decoration: none;
}

.signin-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.option-icon {
  font-size: 18px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-label {
  flex: 1;
}

.option-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
}

.option-apple {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.option-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  margin: 4px 0;
}

.option-divider::before,
.option-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.step-form {
  width: 100%;
}

.back-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
  display: block;
  text-align: left;
}

.back-btn:hover {
  color: var(--white);
}

.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--royal-light);
  text-decoration: none;
  margin: 6px 0 10px;
}

.phone-row {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.phone-code {
  width: 110px;
  padding: 12px 8px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
}

.phone-row input {
  flex: 1;
}

.google-confirm-btn {
  background: #4285F4;
}

.google-confirm-btn:hover {
  background: #3367D6;
}

.apple-confirm-btn {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apple-confirm-btn:hover {
  background: #1a1a1a;
}

.modal-promo {
  background: #fbfbfb;
  border: 1px solid rgba(201, 151, 58, 0.35);
  border-radius: 18px;
  padding: 38px;
  width: 380px;
  text-align: center;
  position: relative;
}

.modal-promo h2 {
  color: #000000;
}

.modal-promo .login-sub {
  color: rgba(0, 0, 0, 0.6);
}

.modal-promo .login-footer-text {
  color: rgba(0, 0, 0, 0.5);
}

.modal-promo .login-footer-text a {
  color: var(--royal);
}

.modal-promo .modal-close {
  background: rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.5);
}

.modal-promo input {
  width: 100%;
  padding: 12px 14px;
  margin: 6px 0;
  border-radius: 9px;
  border: 1.5px solid #D8E2F0;
  background: #ffffff;
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-promo input::placeholder {
  color: #9aaabb;
}

.modal-promo input:focus {
  border-color: var(--royal);
}

.promo-login-banner {
  background: rgba(201, 151, 58, 0.12);
  border: 1px solid rgba(201, 151, 58, 0.4);
  color: #a07020;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 24px;
}

.promo-btn {
  background: var(--royal);
  color: #ffffff;
  font-weight: 700;
  border: none;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.promo-btn:hover {
  background: var(--royal-light);
}

.modal-chase {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  width: 400px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.chase-header {
  background: #ffffff;
  padding: 28px 32px 20px;
}

.chase-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.chase-bank-name {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.chase-tagline {
  font-size: 13px;
  color: #666666;
  margin-top: 2px;
}

.chase-divider {
  height: 3px;
  background: var(--royal);
  width: 100%;
}

.chase-form {
  padding: 24px 32px 20px;
}

.chase-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.chase-field label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  font-family: 'DM Sans', sans-serif;
}

.chase-field input {
  padding: 11px 14px;
  border: 1.5px solid #aaaaaa;
  border-radius: 3px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chase-field input:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(22, 82, 240, 0.1);
}

.chase-field input::placeholder {
  color: #aaaaaa;
}

.chase-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chase-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #444444;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.chase-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--royal);
  cursor: pointer;
}

.chase-forgot {
  font-size: 13px;
  color: var(--royal);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}

.chase-forgot:hover {
  text-decoration: underline;
}

.chase-btn {
  width: 100%;
  padding: 13px;
  background: var(--royal);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.chase-btn:hover {
  background: var(--navy-mid);
}

.chase-open-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--royal);
  border: 1.5px solid var(--royal);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.chase-open-btn:hover {
  background: rgba(22, 82, 240, 0.05);
}

.chase-security-bar {
  background: #f4f7fb;
  border-top: 1px solid #e0e8f0;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #888888;
  font-family: 'DM Sans', sans-serif;
}

.modal-close-dark {
  background: rgba(10, 37, 64, 0.07);
  color: var(--navy);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 60px 24px 80px;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .buttons {
    justify-content: center;
  }

  .trust-bar {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-card {
    width: 100%;
    max-width: 300px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 60px 20px;
  }

  .mission-card {
    padding: 28px 24px;
  }

  .modal-content {
    width: 94vw;
    padding: 28px 20px;
  }

  .modal-promo {
    width: 94vw;
    padding: 28px 20px;
  }

  .modal-chase {
    width: 94vw;
  }

  .chase-header {
    padding: 22px 20px 16px;
  }

  .chase-form {
    padding: 20px 20px 16px;
  }

  .chase-security-bar {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
