/* ============================================
   HS Vaults — Bank Landing Page
   Clean vanilla CSS · Red palette
   ============================================ */

:root {
  /* Reds */
  --maroon-950: #250a0d;
  --maroon-900: #33121a;
  --maroon-800: #431722;
  --red-700: #a3131f;
  --red-600: #d0021b;
  --red-500: #e3222b;
  --red-400: #ff4438;
  --pink-100: #ffe1dd;
  --pink-200: #ffcfc8;
  --peach-100: #ffe4d2;
  --peach-200: #ffd2b8;
  --accent-light: #ff9d94;

  /* Neutrals */
  --ink: #1d1216;
  --muted: #6f5f63;
  --paper: #ffffff;
  --bg: #faf6f5;
  --line: #efe4e2;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(51, 18, 26, 0.25);

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-red { background: var(--red-600); color: #fff; }
.btn-red:hover { background: var(--red-700); }

.btn-dark { background: var(--maroon-900); color: #fff; }
.btn-dark:hover { background: var(--maroon-800); }

.btn-light { background: #fff; color: var(--maroon-900); }
.btn-light:hover { background: var(--pink-100); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--maroon-950);
  color: #fff;
  font-size: 12.5px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.topbar-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-tabs::-webkit-scrollbar { display: none; }
.topbar-tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: color 0.2s;
}
.topbar-tabs a:hover { color: #fff; }
.topbar-tabs a.active {
  background: var(--red-600);
  color: #fff;
  font-weight: 600;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  color: #fff;
}

/* ---------- Main nav ---------- */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--red-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}
.brand span em { color: var(--red-600); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: #44353a;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--red-600); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 6px;
}

.nav-toggle {
  display: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}

/* ---------- Hero bento ---------- */
.hero { padding: 28px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 18px;
}

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero-main {
  grid-column: span 7;
  background: var(--maroon-900);
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
  align-items: center;
  min-height: 380px;
}
.hero-main-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.badge-arrow {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--red-600);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}
.hero-main h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero-main h1 em { color: var(--accent-light); font-style: normal; }
.hero-main p { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; max-width: 34ch; }
.store-row { display: flex; gap: 10px; }
.store-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.store-btn:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.store-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* CSS phone mockup */
.phone {
  justify-self: center;
  width: 200px;
  height: 400px;
  background: #120507;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
  transform: rotate(6deg) translateY(36px);
}
.phone-screen {
  background: linear-gradient(170deg, #fff5f3 0%, #ffe3de 100%);
  border-radius: 26px;
  height: 100%;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone-notch {
  width: 70px;
  height: 16px;
  background: #120507;
  border-radius: 999px;
  margin: 0 auto;
}
.phone-balance-label { font-size: 10px; color: var(--muted); }
.phone-balance { font-size: 22px; font-weight: 800; color: var(--maroon-900); }
.phone-card {
  background: var(--red-600);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-card strong { font-size: 13px; letter-spacing: 0.08em; }
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 10.5px;
  color: var(--ink);
}
.phone-row .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--red-600);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.phone-row .amt { margin-left: auto; font-weight: 700; }
.amt.pos { color: #0d8a4f; }

.hero-photo {
  grid-column: span 5;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(37, 10, 13, 0) 55%, rgba(37, 10, 13, 0.55) 100%);
}
.hero-photo .photo-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  z-index: 1;
  max-width: 24ch;
}

.hero-tile {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 230px;
}
.hero-tile h3 { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
}

.tile-deposit { grid-column: span 4; background: var(--peach-100); }
.tile-deposit .tile-icon { background: var(--maroon-900); color: #fff; }

.tile-rates { grid-column: span 4; background: var(--pink-200); }
.tile-rates .tile-icon { background: var(--red-600); color: #fff; }
.rate-chip {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
}

.tile-account {
  grid-column: span 4;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.tile-account::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 10, 13, 0.45) 0%, rgba(37, 10, 13, 0.82) 100%);
}
.tile-account > * { position: relative; z-index: 1; }
.tile-account h3 em { color: var(--accent-light); font-style: normal; }
.tile-account p { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ---------- Sections shared ---------- */
.section { padding: 84px 0; }
.eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto 48px;
}
.section-title em { color: var(--red-600); font-style: normal; }

/* ---------- Advantages bento ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adv-col { display: flex; flex-direction: column; gap: 18px; }
.adv-card {
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-card h4 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; }
.adv-card p { font-size: 13.5px; opacity: 0.75; }
.adv-card .adv-icon {
  margin-top: auto;
  align-self: flex-end;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.adv-icon svg { width: 26px; height: 26px; }

.adv-tall { min-height: 300px; }
.adv-short { min-height: 190px; }

.adv-dark { background: var(--maroon-900); color: #fff; }
.adv-dark .adv-icon { background: rgba(255, 255, 255, 0.08); color: var(--accent-light); }

.adv-darker { background: var(--maroon-800); color: #fff; }
.adv-darker .adv-icon { background: rgba(255, 255, 255, 0.08); color: var(--accent-light); }

.adv-pink { background: var(--pink-200); }
.adv-pink .adv-icon { background: rgba(255, 255, 255, 0.6); color: var(--red-600); }

.adv-peach { background: var(--peach-200); }
.adv-peach .adv-icon { background: rgba(255, 255, 255, 0.6); color: var(--red-700); }

.adv-red { background: var(--red-600); color: #fff; }
.adv-red p { opacity: 0.85; }
.adv-red .adv-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }

.adv-blush { background: var(--pink-100); }
.adv-blush .adv-icon { background: #fff; color: var(--red-600); }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--maroon-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--accent-light); }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }

/* ---------- Feature split (app) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.split h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.split h2 em { color: var(--red-600); font-style: normal; }
.split > div > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; max-width: 48ch; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--red-600);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

/* ---------- Security cards ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.trio-card .adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--pink-100);
  color: var(--red-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.trio-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.trio-card p { font-size: 14px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card p { font-size: 14.5px; color: #4a3a40; }
.quote-stars { color: var(--red-500); font-size: 14px; letter-spacing: 2px; }
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-person b { display: block; font-size: 14px; }
.quote-person span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.faq summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--red-600);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta {
  background: var(--red-600);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
.cta p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-950);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 84px;
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-grid p { max-width: 30ch; font-size: 13.5px; }
.footer h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   Login page
   ============================================ */
.login-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-visual {
  background-size: cover;
  background-position: center;
  position: relative;
}
.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(210deg, rgba(208, 2, 27, 0.25) 0%, rgba(37, 10, 13, 0.85) 100%);
}
.login-visual-copy {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  color: #fff;
  z-index: 1;
}
.login-visual-copy h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.login-visual-copy p { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}
.login-box { width: min(400px, 100%); margin: 0 auto; }
.login-box .brand { margin-bottom: 36px; }
.login-box h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.login-box > p { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(208, 2, 27, 0.12);
  background: #fff;
}
.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 24px;
}
.login-row label { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.login-row input { accent-color: var(--red-600); }
.login-row a { color: var(--red-600); font-weight: 700; }

.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }

.login-foot { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); }
.login-foot a { color: var(--red-600); font-weight: 700; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.back-home:hover { color: var(--red-600); }

.login-alert {
  display: none;
  background: #e8f7ef;
  color: #0d6b3f;
  border: 1px solid #bfe8d2;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
.login-alert.show { display: block; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .hero-main { grid-column: span 12; grid-template-columns: 1fr; }
  .phone { display: none; }
  .hero-photo { grid-column: span 12; min-height: 280px; }
  .tile-deposit, .tile-rates, .tile-account { grid-column: span 12; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-body { grid-template-columns: 1fr; }
  .login-visual { display: none; }
}

@media (max-width: 620px) {
  .topbar-right { display: none; }
  .nav-actions .btn-dark { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; padding: 36px 24px; }
  .cta { padding: 40px 28px; }
  .section { padding: 60px 0; }
}
