/* ============================================================
   ObsiBank – Corporate Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:          #1B2B4A;
  --navy-dark:     #0F1A2E;
  --navy-light:    #2B3F6A;
  --gold:          #B8972D;
  --gold-light:    #D4B24A;
  --gold-pale:     #F5EED6;
  --white:         #FFFFFF;
  --off-white:     #FAFAF8;
  --gray-light:    #F2F1ED;
  --gray:          #E5E3DC;
  --gray-mid:      #C8C5BB;
  --text:          #1A1A1A;
  --text-sec:      #5A5A5A;
  --text-light:    #8A8A8A;
  --error:         #C0392B;
  --error-bg:      #FDEDEB;
  --success:       #1A6B2A;
  --success-bg:    #EAF4EC;
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.14);
  --radius:        3px;
  --radius-md:     6px;
  --t:             0.2s ease;
  --max-width:     1200px;
}

/* ============================================================
   Demo Banner
   ============================================================ */
.demo-banner {
  background: #0A0A0A;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.35rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.demo-banner-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.demo-banner a {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.demo-banner a:hover { color: #fff; }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--off-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-sec); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover:not(:disabled) { background: var(--navy-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover:not(:disabled) { background: #9E7E24; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover:not(:disabled) { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover:not(:disabled) { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 0.95rem; }

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}
.btn-loading .btn-text { opacity: 0; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav.scrolled {
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-logo-text { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em; }
.nav-logo-sub  { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; display: block; line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 400;
  white-space: nowrap;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  transition: var(--t);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-lang {
  display: flex;
  gap: 0.1rem;
}
.nav-lang button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  transition: var(--t);
  border-radius: 2px;
}
.nav-lang button:hover,
.nav-lang button.active { color: var(--gold); }
.nav-lang .sep { color: rgba(255,255,255,0.2); font-size: 0.75rem; align-self: center; }

.nav-cta { margin-left: 0.5rem; }

/* ============================================================
   Page Header (sub-pages)
   ============================================================ */
.page-header {
  background: var(--navy);
  padding: 7rem 2rem 3.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-header p  { color: rgba(255,255,255,0.65); margin-top: 0.5rem; font-size: 0.95rem; }

/* ============================================================
   Hero (landing)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 18, 34, 0.82) 0%,
    rgba(27, 43, 74, 0.70) 50%,
    rgba(10, 18, 34, 0.50) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  width: 100%;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 { color: var(--white); max-width: 640px; }
.hero-content h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 1.25rem 0 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  text-align: right;
  z-index: 1;
}
.hero-badge strong { display: block; font-size: 1.1rem; font-family: var(--font-serif); color: var(--white); }

/* ============================================================
   Trust Strip
   ============================================================ */
.trust-strip {
  background: var(--navy);
  padding: 1.5rem 2rem;
}
.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
}
.trust-item-icon {
  font-size: 1.3rem;
  opacity: 0.7;
}
.trust-item-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-serif);
}
.trust-item-text span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   Sections
   ============================================================ */
section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--navy); margin-bottom: 0.75rem; }
.section-header p  { max-width: 520px; margin: 0 auto; font-size: 0.95rem; }

/* ============================================================
   Services Section
   ============================================================ */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--t);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { color: var(--navy); margin-bottom: 0.5rem; }
.service-card-body p  { font-size: 0.875rem; line-height: 1.65; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--t);
}
.service-card-link:hover { gap: 0.7rem; color: #9E7E24; }

/* ============================================================
   About / Image-Text Block
   ============================================================ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-text .eyebrow { margin-bottom: 0.75rem; }
.about-text h2 { color: var(--navy); margin-bottom: 1.25rem; }
.about-text p  { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.about-text .btn { margin-top: 0.75rem; }

/* ============================================================
   eBanking CTA Section
   ============================================================ */
.ebanking-section { background: var(--gray-light); }
.ebanking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.ebanking-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ebanking-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.ebanking-card.featured p { color: rgba(255,255,255,0.7); }
.ebanking-card h3 { font-size: 1.4rem; }
.ebanking-card.featured h3 { color: var(--white); }
.ebanking-card p { font-size: 0.9rem; flex: 1; }
.ebanking-card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ============================================================
   Stats Row
   ============================================================ */
.stats-section { background: var(--navy-dark); padding: 4rem 2rem; }
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold-light); display: block; line-height: 1; }
.stat-label  { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-top: 0.4rem; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.82rem; transition: var(--t); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}
.footer-badges { display: flex; gap: 0.5rem; align-items: center; }
.badge-finma {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   Cards / Containers
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.card-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.card-header h2, .card-header h3 { color: var(--navy); }

/* ============================================================
   Forms
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-sec);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 43, 74, 0.08);
}
input.error, select.error { border-color: var(--error); }
.field-error { font-size: 0.75rem; color: var(--error); margin-top: 0.3rem; }

/* ============================================================
   Step Wizard
   ============================================================ */
.wizard-container { max-width: 680px; margin: 0 auto; }

.wizard-progress {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gray);
  z-index: 0;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--t);
}
.wizard-step.active .step-dot   { border-color: var(--navy); background: var(--navy); color: var(--white); }
.wizard-step.done .step-dot     { border-color: var(--gold); background: var(--gold); color: var(--white); }
.step-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
}
.wizard-step.active .step-label { color: var(--navy); font-weight: 600; }
.wizard-step.done .step-label   { color: var(--gold); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

/* ============================================================
   Password Strength Meter
   ============================================================ */
.strength-meter { margin-top: 0.75rem; }
.strength-bar-track {
  height: 5px;
  background: var(--gray);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.strength-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease, background 0.4s ease;
  width: 0%;
}
.strength-bar-fill[data-score="0"] { width: 10%; background: #E74C3C; }
.strength-bar-fill[data-score="1"] { width: 28%; background: #E67E22; }
.strength-bar-fill[data-score="2"] { width: 52%; background: #F1C40F; }
.strength-bar-fill[data-score="3"] { width: 76%; background: #2ECC71; }
.strength-bar-fill[data-score="4"] { width: 100%; background: #27AE60; }

.strength-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.strength-label { font-size: 0.75rem; font-weight: 600; }
.strength-entropy { font-size: 0.7rem; color: var(--text-light); }

.strength-suggestions {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  list-style: none;
}
.strength-suggestions li {
  font-size: 0.78rem;
  color: var(--text-sec);
  padding: 0.15rem 0;
}
.strength-suggestions li::before { content: '→ '; color: var(--gold); font-weight: 600; }
.strength-checking {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}
.mini-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--gray);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ============================================================
   Alerts / Banners
   ============================================================ */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.alert-error   { background: var(--error-bg);   color: var(--error);   border-left: 3px solid var(--error);   }
.alert-success { background: var(--success-bg); color: var(--success); border-left: 3px solid var(--success); }
.alert-info    { background: var(--gold-pale);  color: #7A5C0A;        border-left: 3px solid var(--gold);    }
.alert.hidden  { display: none; }

/* ============================================================
   Login Page
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-dark);
}
.login-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}
.login-left {
  background-image: url('https://images.unsplash.com/photo-1527168027773-0cc890c4f212?auto=format&fit=crop&w=900&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
}
.login-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,34,0.55) 0%, rgba(27,43,74,0.7) 100%);
}
.login-left-content {
  position: relative;
  z-index: 1;
  padding: 4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.login-left-content blockquote {
  color: rgba(255,255,255,0.95);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  max-width: 360px;
}
.login-left-content cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
.login-right {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.login-form-wrap { width: 100%; max-width: 400px; }
.login-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.login-logo .nav-logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
.login-logo .nav-logo-text { color: var(--navy); font-size: 1.4rem; }
.login-form-wrap h2 { color: var(--navy); font-size: 1.6rem; margin-bottom: 0.35rem; }
.login-form-wrap .subtitle { font-size: 0.875rem; color: var(--text-light); margin-bottom: 2rem; }
.login-footer-link { text-align: center; margin-top: 1.75rem; font-size: 0.82rem; color: var(--text-light); }
.login-footer-link a { color: var(--navy); font-weight: 500; }
.login-footer-link a:hover { text-decoration: underline; }

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard-page { min-height: 100vh; background: var(--gray-light); }
.dashboard-nav {
  background: var(--navy-dark);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
}
.dashboard-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
}
.dashboard-nav .nav-logo { margin-right: auto; }
.dashboard-welcome {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-right: 1.5rem;
}
.dashboard-welcome strong { color: var(--white); }
.dashboard-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
.account-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}
.account-card-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-bottom: 0.25rem; }
.account-card-iban  { font-family: var(--font-sans); font-size: 0.9rem; letter-spacing: 0.05em; opacity: 0.85; margin-bottom: 1.5rem; }
.account-card-balance-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 0.2rem; }
.account-card-balance { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--gold-light); }
.account-card-footer { margin-top: 1.5rem; display: flex; gap: 0.75rem; }

.transactions-card { }
.transactions-table { width: 100%; border-collapse: collapse; }
.transactions-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.5rem 0.75rem 0.75rem;
  border-bottom: 2px solid var(--gray);
}
.transactions-table td {
  padding: 0.9rem 0.75rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-light);
}
.transactions-table tr:last-child td { border-bottom: none; }
.tx-amount { font-weight: 600; text-align: right; }
.tx-amount.positive { color: var(--success); }
.tx-amount.negative { color: var(--text); }
.tx-date { color: var(--text-light); font-size: 0.8rem; }
.tx-type-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gray-light);
  color: var(--text-sec);
}

.sidebar-card { position: sticky; top: 1.5rem; }
.quick-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--gray-light);
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sec);
  cursor: not-allowed;
  opacity: 0.65;
}
.quick-action-btn .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.coming-soon {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gray);
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  margin-left: auto;
  color: var(--text-light);
}

/* ============================================================
   KYC Success State
   ============================================================ */
.kyc-success {
  text-align: center;
  padding: 2rem 1rem;
}
.kyc-success-icon {
  width: 72px; height: 72px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.kyc-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.kyc-success p  { font-size: 0.9rem; margin-bottom: 1.5rem; }
.kyc-detail {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.kyc-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray);
}
.kyc-detail-row:last-child { border-bottom: none; }
.kyc-detail-row .key   { color: var(--text-light); }
.kyc-detail-row .value { font-weight: 600; color: var(--navy); font-family: var(--font-sans); }

/* ============================================================
   Loading overlay
   ============================================================ */
.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--gray);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-overlay p { color: var(--text-sec); font-size: 0.9rem; }

/* ============================================================
   Utility
   ============================================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .about-grid, .ebanking-grid, .login-main { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-main { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .trust-divider { display: none; }
  .trust-strip-inner { gap: 0.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
