/* Add Inter font - must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* PitchIt MVP - Dark Theme Design System */
/* Based on original design with Bootstrap 5 adaptation */

:root {
  /* PitchIt Modern Fintech Investment Platform */
  --background: #F4F6FA;
  --foreground: #111827;

  --card: #FFFFFF;
  --card-foreground: #111827;
  --card-translucent: #F4F6FA;
  --border-translucent: rgba(31, 143, 229, 0.2);

  --popover: #FFFFFF;
  --popover-foreground: #111827;
  
  /* Modern Fintech Primary Colors */
  --primary: #1F8FE5;
  --primary-foreground: #FFFFFF;
  --secondary: #1037B8;
  --secondary-foreground: #FFFFFF;
  --accent: #49C6F3;
  --accent-foreground: #FFFFFF;
  --dark-primary: #0A1F6B;

  --muted: #F4F6FA;
  --muted-foreground: #6B7280;

  --destructive: #EA3943;
  --destructive-foreground: #FFFFFF;

  --border: #E5E7EB;
  --input: #FFFFFF;
  --ring: #1F8FE5;

  /* Investment Platform Gradient Colors */
  --gradient-primary: #0A1F6B;
  --gradient-secondary: #1037B8;
  --gradient-accent: #1F8FE5;
  
  /* Enhanced Shadows & Glows - Light Fintech Theme */
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow-primary: 0 0 20px rgba(31, 143, 229, 0.15);
  --shadow-glow-secondary: 0 0 20px rgba(16, 55, 184, 0.15);
  --shadow-glow-accent: 0 0 20px rgba(73, 198, 243, 0.15);

  /* Bootstrap Color Overrides - Modern Fintech Platform */
  --bs-primary: #1F8FE5;
  --bs-secondary: #6B7280;
  --bs-success: #16C784;
  --bs-info: #49C6F3;
  --bs-warning: #F59E0B;
  --bs-danger: #EA3943;
  --bs-light: #F4F6FA;
  --bs-dark: #0A1F6B;
  
  /* Spacing */
  --section-padding: 2rem;
  --card-border-radius: 1rem;
  
  /* Advanced Border Radius */
  --radius: 1rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
}

/* Light Theme Variables */
[data-theme="light"] {
  /* PitchIt Professional Investment Colors - Light Mode */
  --background: #F7F9FC;
  --foreground: #111827;

  --card: #FFFFFF;
  --card-foreground: #111827;
  --card-translucent: #F7F9FC;
  --border-translucent: rgba(31, 143, 229, 0.2);

  --popover: #FFFFFF;
  --popover-foreground: #111827;
  
  /* Professional Investment Platform Colors - Light Mode */
  --primary: #1F8FE5;
  --primary-foreground: #FFFFFF;
  --secondary: #F7F9FC;
  --secondary-foreground: #111827;
  --accent: #46C7F3;
  --accent-foreground: #FFFFFF;

  --muted: #F7F9FC;
  --muted-foreground: #6B7280;

  --destructive: #EA3943;
  --destructive-foreground: #FFFFFF;

  --border: #E5E7EB;
  --input: #FFFFFF;
  --ring: #1F8FE5;

  /* Investment Platform Gradient Colors - Light Mode */
  --gradient-primary: #10b981;
  --gradient-secondary: #059669;
  --gradient-accent: #f8fafc;
  
  /* Enhanced Shadows & Glows - Light Mode */
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-glow-primary: 0 0 20px rgba(16, 185, 129, 0.1);
  --shadow-glow-secondary: 0 0 20px rgba(248, 250, 252, 0.1);
  --shadow-glow-accent: 0 0 20px rgba(5, 150, 105, 0.1);

  /* Bootstrap Color Overrides - Light Mode */
  --bs-primary: #10b981;
  --bs-secondary: #64748b;
  --bs-success: #10b981;
  --bs-info: #0ea5e9;
  --bs-warning: #f59e0b;
  --bs-danger: #dc2626;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
}

/* Light theme background adjustments */
[data-theme="light"] .auth-page {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  background-size: 400% 400%;
}

[data-theme="light"] .home-page {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  background-size: 400% 400%;
}

/* Theme toggle styles removed - using permanent dark mode */

/* Smooth theme transition */
html {
  transition: color-scheme 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

*,
*::before,
*::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

/* Global Styles - Light Theme */
html {
  color-scheme: light;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--foreground);
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Animated Investment Platform Background for Auth Pages */
.auth-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: visible;
}

/* ================================================================
   LANDING PAGE — Modern Layout Styles
   ================================================================ */

/* ================================================================
   WORKHOOD-INSPIRED HOMEPAGE STYLES
   ================================================================ */
body.home-page {
  background: #f4f7fb;
  color: #0f172a;
}

.home-page .container {
  position: relative;
  z-index: 5;
}

.wh-spacer {
  background: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.wh-hero {
  background: linear-gradient(170deg, #0A1F6B 0%, #1037B8 70%, #1a49d2 100%);
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.wh-hero::before,
.wh-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.wh-hero::before {
  width: 580px;
  height: 580px;
  right: -160px;
  top: -220px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.35) 0%, rgba(73, 198, 243, 0) 70%);
}

.wh-hero::after {
  width: 420px;
  height: 420px;
  left: -150px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.wh-hero__container {
  position: relative;
  z-index: 3;
}

.wh-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.wh-title {
  font-size: clamp(2.2rem, 5.1vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
}

.wh-subtitle {
  margin-top: 18px;
  margin-bottom: 0;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.wh-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.wh-hero-copy-col {
  padding-left: clamp(12px, 2.2vw, 42px);
}

.wh-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.wh-btn-primary {
  background: #fff;
  color: #0A1F6B;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(7, 18, 63, 0.25);
}

.wh-btn-primary:hover {
  color: #0A1F6B;
  transform: translateY(-1px);
}

.wh-btn-outline {
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.wh-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.wh-hero-visual {
  position: relative;
}

.wh-hero-visual__copy {
  margin-bottom: 18px;
  max-width: 460px;
}

.wh-hero-visual__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wh-hero-visual__copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.18;
  font-weight: 800;
  color: #ffffff;
}

.wh-hero-visual__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.wh-hero-photo {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
}

.wh-hero-photo__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at 78% 26%, rgba(73, 198, 243, 0.18), transparent 24%),
    linear-gradient(120deg, rgba(10, 31, 107, 0.08) 0%, rgba(10, 31, 107, 0.52) 100%);
}

.wh-hero-photo__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.03) brightness(0.72);
  mix-blend-mode: screen;
  opacity: 0.96;
}

.wh-hero-photo__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1037B8 0%, rgba(16, 55, 184, 0.16) 32%, rgba(16, 55, 184, 0) 58%),
    linear-gradient(180deg, rgba(10, 31, 107, 0.02) 0%, rgba(10, 31, 107, 0.78) 100%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.wh-hero-photo__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 20px;
}

.wh-hero-photo__logo {
  width: 156px;
  max-width: 56%;
  height: auto;
  opacity: 0.88;
}

.wh-hero-photo__caption {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
  text-shadow: 0 8px 24px rgba(10, 31, 107, 0.55);
}

.wh-hero-photo__card {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(4, 16, 58, 0.28);
}

.wh-hero-photo__card--tag {
  left: 20px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 31, 107, 0.86);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.wh-hero-photo__card--tag i {
  color: #49C6F3;
}

.wh-mini-stat {
  text-align: center;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px 6px;
}

.wh-mini-stat strong {
  display: block;
  font-size: 1.02rem;
  color: #0A1F6B;
}

.wh-mini-stat span {
  display: block;
  font-size: 0.73rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wh-strip {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}

.wh-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wh-strip__item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 11px 12px;
  text-align: center;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
}

.wh-strip__item i {
  color: #1F8FE5;
  margin-right: 6px;
}

.wh-section {
  padding: 78px 0;
}

.wh-section--soft {
  background: #eef4fb;
}

.wh-section--primary {
  background: linear-gradient(135deg, #1F8FE5 0%, #1037B8 100%);
  color: #fff;
}

.wh-section--primary .wh-section__kicker {
  color: rgba(255, 255, 255, 0.8);
}

.wh-section--primary .wh-section__title {
  color: #fff;
}

.wh-section--primary .wh-section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.wh-section__kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.wh-section__title {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.wh-section__subtitle {
  margin: 12px auto 0;
  max-width: 650px;
  color: #64748b;
  font-size: 1.02rem;
}

.wh-panel {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(30, 41, 59, 0.07);
}

.wh-panel__title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  color: #0A1F6B;
}

.wh-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.wh-steps li {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
}

.wh-steps li strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.wh-steps li span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.wh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.wh-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cfd8e5;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.wh-tag:hover {
  border-color: #1F8FE5;
  color: #1F8FE5;
}

.wh-section--primary .wh-tag {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  color: #1F8FE5;
}

.wh-section--primary .wh-tag:hover {
  background: #fff;
  border-color: #fff;
  color: #1037B8;
}

.wh-review {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  padding: 22px;
}

.wh-review__stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.wh-review p {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.68;
  margin-bottom: 12px;
}

.wh-review h4 {
  margin: 0;
  font-size: 0.97rem;
  color: #0f172a;
  font-weight: 700;
}

.wh-review span {
  color: #64748b;
  font-size: 0.82rem;
}

.wh-cta {
  background: linear-gradient(160deg, #0A1F6B 0%, #1037B8 100%);
  padding: 74px 0;
}

.wh-cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wh-cta__subtitle {
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.wh-btn-light {
  background: #fff;
  color: #0A1F6B;
  border-radius: 10px;
  font-weight: 700;
  border: none;
}

.wh-btn-light:hover {
  color: #0A1F6B;
}

.wh-btn-ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}

.wh-btn-ghost-light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .wh-hero {
    padding: 42px 0 52px;
  }

  .wh-hero-copy-col {
    padding-left: 12px;
  }

  .wh-hero-photo {
    min-height: 430px;
  }

  .wh-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wh-hero-photo {
    min-height: 360px;
    border-radius: 24px;
  }

  .wh-hero-photo__image {
    object-position: 58% center;
  }

  .wh-hero-photo__overlay {
    padding: 20px;
  }

  .wh-hero-photo__logo {
    width: 128px;
  }

  .wh-hero-photo__caption {
    max-width: 200px;
    font-size: 0.84rem;
  }

  .wh-hero-photo__card--tag {
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    font-size: 0.82rem;
  }
}

@media (max-width: 767px) {
  .wh-map-card__footer {
    grid-template-columns: 1fr;
  }

  .wh-strip__grid {
    grid-template-columns: 1fr;
  }

  .wh-section {
    padding: 58px 0;
  }

  .wh-map-grid {
    height: 240px;
  }
}

/* Override dark color-scheme for landing page — prevents browser dark rendering */
body.home-page {
  color-scheme: light;
  background: #F4F6FA;
  color: #111827;
  min-height: 100vh;
}

/* All landing-page sections: ensure light backgrounds are never overridden */
.home-page section,
.home-page .lp-section,
.home-page .lp-trust-bar,
.home-page .lp-stats-banner,
.home-page .lp-cta-banner {
  color-scheme: light;
}

/* White & light sections: explicit text color reset */
.lp-section--white,
.lp-section--light {
  color: #111827;
}

/* Home page navbar stays dark */
.home-page .navbar {
  background: rgba(10, 31, 107, 0.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 143, 229, 0.2);
  margin-bottom: 0 !important;
}

.home-page #main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home-page .wh-hero {
  margin-top: 0 !important;
}

/* --- Shared Tokens --- */
.lp-text-accent        { color: #1F8FE5; }
.text-success-lp       { color: #16C784 !important; }
.text-amber-lp         { color: #F59E0B !important; }
.bg-success-lp         { background-color: #16C784 !important; }

/* --- Badge --- */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(31, 143, 229, 0.1);
  color: #1F8FE5;
  border: 1px solid rgba(31, 143, 229, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.lp-badge--blue  { background: rgba(31,143,229,0.1);  color: #1F8FE5;  border-color: rgba(31,143,229,0.25); }
.lp-badge--green { background: rgba(22,199,132,0.1);  color: #16C784;  border-color: rgba(22,199,132,0.25); }

/* --- Shared Buttons --- */
.lp-btn-primary {
  background: linear-gradient(135deg, #1F8FE5, #1037B8);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(31, 143, 229, 0.4);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 143, 229, 0.5);
  color: #fff;
}
.lp-btn-ghost {
  background: transparent;
  color: #0A1F6B;
  border: 2px solid #0A1F6B;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s;
}
.lp-btn-ghost:hover {
  background: #0A1F6B;
  color: #fff;
}
.lp-btn-white {
  background: #fff;
  color: #0A1F6B;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.2); color: #0A1F6B; }
.lp-btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s;
}
.lp-btn-ghost-white:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

/* ================================================================
   ABOUT + FOUNDING TEAM PAGES
   ================================================================ */
.brand-page .navbar {
  background: rgba(10, 31, 107, 0.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 143, 229, 0.2);
}

.brand-hero {
  background: linear-gradient(160deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 88px 0 74px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.brand-hero::before,
.brand-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.brand-hero::before {
  width: 520px;
  height: 520px;
  top: -210px;
  right: -120px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.32) 0%, rgba(73, 198, 243, 0) 72%);
}

.brand-hero::after {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
}

.brand-hero__kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.brand-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-hero__subtitle {
  margin: 16px auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.72;
}

.brand-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
  padding: 26px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #1037B8;
  background: #e8f1fd;
}

.brand-card__title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0A1F6B;
}

.brand-card__text {
  color: #475569;
  line-height: 1.75;
}

.brand-pill-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.brand-pill-card__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f1ff;
  color: #1037B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.brand-pill-card h3 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0A1F6B;
}

.brand-pill-card p {
  color: #475569;
  line-height: 1.75;
}

/* ================================================================
   DASHBOARD – Modern Fintech Layout
   ================================================================ */

/* Header banner */
.db-header {
  background: linear-gradient(135deg, #0A1F6B 0%, #1037B8 60%, #1F8FE5 100%);
  padding: 36px 0 32px;
  position: relative;
  overflow: hidden;
}

.db-header::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  right: -160px;
  top: -200px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 70%);
}

.db-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.db-header__greeting {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

.db-header__name {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.db-header__wave {
  font-style: normal;
}

.db-header__sub {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.db-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Status badges in header */
.db-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.db-badge--success {
  background: #ffffff;
  border-color: #ffffff;
  color: #059669;
}

.db-badge--warning {
  background: #ffffff;
  border-color: #ffffff;
  color: #B45309;
}

.db-badge--danger {
  background: #ffffff;
  border-color: #ffffff;
  color: #DC2626;
}

.db-badge--muted {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

/* Notice banners */
.db-notice {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  font-size: 0.92rem;
}

.db-notice--info    { border-left: 4px solid #1F8FE5; }
.db-notice--warning { border-left: 4px solid #F59E0B; }
.db-notice--danger  { border-left: 4px solid #EA3943; }
.db-notice--success { border-left: 4px solid #16C784; }

.db-notice__link {
  color: #1037B8;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.db-notice__link:hover {
  text-decoration: underline;
}

.db-notice__close {
  flex-shrink: 0;
  opacity: 0.5;
}

/* Stat cards */
.db-stat-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.db-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16,24,40,0.1);
}

.db-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.db-stat-card__body {
  flex: 1;
  min-width: 0;
}

.db-stat-card__label {
  margin: 0 0 2px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
}

.db-stat-card__value {
  margin: 0 0 2px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.db-stat-card__sub {
  margin: 0;
  font-size: 0.78rem;
  color: #9CA3AF;
}

.db-stat-link {
  color: #1F8FE5;
  font-weight: 600;
  text-decoration: none;
}

.db-stat-link:hover {
  color: #1037B8;
  text-decoration: underline;
}

/* Section containers */
.db-section {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  padding: 22px 20px;
}

.db-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0A1F6B;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Quick action buttons */
.db-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.db-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.db-action-btn i {
  font-size: 1rem;
}

.db-action-btn--primary {
  background: linear-gradient(135deg, #1037B8, #1F8FE5);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16,55,184,0.22);
}

.db-action-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16,55,184,0.3);
}

.db-action-btn--outline {
  background: #fff;
  color: #1037B8;
  border: 1px solid rgba(16,55,184,0.22);
}

.db-action-btn--outline:hover {
  background: #f0f5ff;
  color: #0A1F6B;
  border-color: #1037B8;
  transform: translateY(-1px);
}

.db-action-btn--warning {
  background: #F59E0B;
  color: #fff;
  box-shadow: 0 6px 16px rgba(245,158,11,0.22);
}

.db-action-btn--warning:hover {
  color: #fff;
  background: #D97706;
  transform: translateY(-1px);
}

/* ================================================================
   PROFILE PAGE – Modern Layout
   ================================================================ */
.profile-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  right: -170px;
  top: -220px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.profile-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.profile-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.profile-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
}

.profile-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-shell {
  margin-top: 6px;
}

.profile-main-card,
.profile-settings-card {
  border-radius: 18px;
}

.profile-main-card__header {
  background: linear-gradient(180deg, rgba(244,246,250,0.7) 0%, rgba(255,255,255,0) 100%);
}

.profile-page .profile-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef5ff 0%, #ddeaff 100%);
  border: 2px solid #dce9fa;
  box-shadow: 0 8px 24px rgba(16,24,40,0.12);
}

.profile-page .form-control,
.profile-page .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 44px;
}

.profile-page .form-control:focus,
.profile-page .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.profile-page .btn {
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .profile-hero {
    padding: 24px 0 20px;
  }

  .profile-hero__actions {
    width: 100%;
  }

  .profile-main-card .card-body,
  .profile-settings-card .card-body {
    padding: 1rem;
  }
}

/* ================================================================
   PITCHES PAGE – Modern Layout
   ================================================================ */
.pitch-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.pitch-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.pitch-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pitch-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.pitch-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pitch-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
}

.pitch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pitches-shell {
  margin-top: 6px;
}

.pitches-filter-section,
.pitches-list-section {
  border-radius: 16px;
}

.pitches-filter-section .form-label {
  font-weight: 700;
  color: #334155;
  font-size: 0.86rem;
}

.pitches-filter-section .form-control,
.pitches-filter-section .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 42px;
}

.pitches-filter-section .form-control:focus,
.pitches-filter-section .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.pitch-item-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
}

.pitch-item-card .badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ================================================================
   PITCH CREATE PAGE – Modern Layout
   ================================================================ */
.pitch-create-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.pitch-create-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.pitch-create-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pitch-create-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.pitch-create-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pitch-create-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 740px;
}

.pitch-create-shell {
  margin-top: 6px;
}

.pitch-create-card {
  border-radius: 18px;
}

.pitch-create-card__header {
  background: linear-gradient(180deg, rgba(244,246,250,0.7) 0%, rgba(255,255,255,0) 100%);
}

.pitch-create-form .section-header {
  margin-bottom: 1.2rem;
}

.pitch-create-form .gradient-line {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(31,143,229,0.4), rgba(31,143,229,0));
}

.pitch-create-form .form-label {
  font-weight: 700;
  color: #334155;
  font-size: 0.88rem;
}

.pitch-create-form .form-control,
.pitch-create-form .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 42px;
}

.pitch-create-form .form-control:focus,
.pitch-create-form .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.pitch-create-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.pitch-create-form .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* ================================================================
   PITCH VIEW PAGE – Modern Layout
   ================================================================ */
.pitch-view-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.pitch-view-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.pitch-view-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pitch-view-hero__title {
  margin: 6px 0 4px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pitch-view-hero__funding {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 1rem;
}

.pitch-view-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.pitch-view-shell {
  margin-top: 6px;
}

/* Main content card */
.pitch-view-main {
  border-radius: 18px;
}

/* Section blocks inside main card */
.pitch-section {
  position: relative;
}

.pitch-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #0A1F6B;
  margin-bottom: 14px;
}

.pitch-section__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6f0ff;
  color: #1037B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.pitch-content-box {
  background: #f8fbff;
  border-left: 4px solid #1F8FE5;
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  color: #334155;
  line-height: 1.75;
}

.pitch-content-box h6 {
  font-weight: 700;
  color: #0A1F6B;
  margin-bottom: 6px;
}

/* Document items */
.pitch-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce9fa;
  border-radius: 12px;
  padding: 12px 14px;
}

.pitch-doc-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e6f0ff;
  color: #1037B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pitch-doc-item__name {
  font-weight: 700;
  color: #0A1F6B;
  text-decoration: none;
  font-size: 0.92rem;
}

.pitch-doc-item__name:hover {
  color: #1F8FE5;
  text-decoration: underline;
}

/* Sidebar cards */
.pitch-view-sidebar-card,
.pitch-view-actions-card {
  border-radius: 16px;
  border: 1px solid #dce9fa;
  box-shadow: 0 4px 18px rgba(10,31,107,0.07);
}

.pitch-view-sidebar-card .card-header,
.pitch-view-actions-card .card-header {
  background: linear-gradient(180deg, rgba(244,246,250,0.8) 0%, rgba(255,255,255,0) 100%);
  border-radius: 16px 16px 0 0;
}

.pitch-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4fa;
}

.pitch-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pitch-info-item label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
  margin: 0;
}

.pitch-info-item .value {
  font-size: 0.92rem;
  color: #111827;
  font-weight: 500;
}

.pitch-view-actions-card .btn {
  border-radius: 10px;
  font-weight: 600;
}

.pitches-list-section .btn,
.pitches-filter-section .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* ================================================================
   WALLET PAGE – Modern Layout
   ================================================================ */
.wallet-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.wallet-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.wallet-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.wallet-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.wallet-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wallet-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 700px;
}

.wallet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-shell {
  margin-top: 6px;
}

.wallet-banking-card,
.wallet-history-section,
.wallet-disbursements-section {
  border-radius: 16px;
}

.wallet-history-section .table th {
  border-top: none;
  font-weight: 700;
  color: #334155;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-history-section .table td {
  vertical-align: middle;
}

/* ================================================================
   NOTIFICATIONS PAGE – Modern Layout
   ================================================================ */
.notifications-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.notifications-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.notifications-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.notifications-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.notifications-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.notifications-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
}

.notifications-shell {
  margin-top: 6px;
}

.notifications-main-card {
  border-radius: 18px;
}

.notifications-main-card__header {
  background: linear-gradient(180deg, rgba(244,246,250,0.7) 0%, rgba(255,255,255,0) 100%);
}

.notifications-page .section-header h5 {
  font-size: 1rem;
  font-weight: 700;
}

.notifications-page .gradient-line {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(31,143,229,0.4), rgba(31,143,229,0));
}

.notifications-page .form-check.form-switch {
  background: #f8fbff;
  border: 1px solid #dce9fa;
  border-radius: 12px;
  padding: 14px 16px;
}

.notifications-page .form-check-input {
  width: 2.2em;
  height: 1.2em;
  margin-top: 0.2em;
}

.notifications-page .form-check-label strong {
  color: #0A1F6B;
}

.notifications-info-alert {
  border-radius: 12px;
}

.notifications-page .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* ================================================================
   BANKING SETTINGS PAGE – Modern Layout
   ================================================================ */
.banking-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.banking-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.banking-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.banking-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.banking-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.banking-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 700px;
}

.banking-shell {
  margin-top: 6px;
}

.banking-status-card,
.banking-main-card,
.banking-help-card {
  border-radius: 16px;
}

.banking-main-card__header {
  background-color: #1037B8;
}

.banking-page .form-label {
  font-weight: 700;
  color: #334155;
  font-size: 0.88rem;
}

.banking-page .form-control,
.banking-page .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 42px;
}

.banking-page .form-control:focus,
.banking-page .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.banking-security-alert {
  border-radius: 12px;
}

.banking-page .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* ================================================================
   ADMIN PITCHES PAGE – Modern Layout
   ================================================================ */
.admin-pitches-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.admin-pitches-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.admin-pitches-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.admin-pitches-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.admin-pitches-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-pitches-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
}

.admin-pitches-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pitches-shell {
  margin-top: 6px;
  max-width: 1280px;
}

.admin-pitches-filter {
  border-radius: 16px;
}

.admin-pitches-filter .form-label {
  font-weight: 700;
  color: #334155;
  font-size: 0.86rem;
}

.admin-pitches-filter .form-control,
.admin-pitches-filter .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 42px;
}

.admin-pitches-filter .form-control:focus,
.admin-pitches-filter .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.admin-pitches-table-card {
  border-radius: 16px;
}

.admin-pitches-table-card .table th {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-pitches-table-card .table td {
  vertical-align: middle;
}

/* KYC / role badge chips (shared across admin KYC pages) */
.role-badge-entrepreneur {
  background-color: #dbeafe;
  color: #1e3a8a;
}

.role-badge-admin {
  background-color: #fee2e2;
  color: #991b1b;
}

.role-badge-investor {
  background-color: #dcfce7;
  color: #166534;
}

.kyc-badge-approved {
  background-color: #dcfce7;
  color: #166534;
}

.kyc-badge-pending,
.kyc-badge-expired {
  background-color: #fef3c7;
  color: #92400e;
}

.kyc-badge-submitted {
  background-color: #dbeafe;
  color: #1e3a8a;
}

.kyc-badge-rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

.kyc-badge-not-required {
  background-color: #e5e7eb;
  color: #374151;
}

/* KYC review: recent uploads feed */
.upload-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upload-item {
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(107,114,128,0.25);
}

.upload-item:last-child {
  border-bottom: 0;
}

/* ================================================================
   ADMIN REPORTS PAGE – Modern Layout
   ================================================================ */
.admin-reports-range .form-select {
  min-width: 180px;
  border-radius: 10px;
  border-color: #d8e2f0;
}

.admin-reports-page .kpi-sub {
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.admin-reports-page .report-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(107,114,128,0.25);
}

.admin-reports-page .report-stat-row:last-child {
  border-bottom: 0;
}

.admin-reports-page .activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-reports-page .activity-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.admin-reports-page .activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.admin-reports-page .activity-dot.approved { background: #16c784; }
.admin-reports-page .activity-dot.rejected { background: #ea3943; }
.admin-reports-page .activity-dot.pending { background: #f59e0b; }

.admin-reports-page .table > :not(caption) > * > * {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 767px) {
  .admin-pitches-hero {
    padding: 24px 0 20px;
  }

  .admin-pitches-hero__actions {
    width: 100%;
  }

  .admin-reports-range {
    width: 100%;
  }

  .admin-reports-range .form-select {
    width: 100%;
  }
}

/* ================================================================
   KYC STATUS PAGE – Modern Layout
   ================================================================ */
.kyc-hero {
  background: linear-gradient(140deg, #0A1F6B 0%, #1037B8 65%, #1F8FE5 100%);
  padding: 34px 0 30px;
  position: relative;
  overflow: hidden;
}

.kyc-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -230px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73,198,243,0.28) 0%, rgba(73,198,243,0) 72%);
}

.kyc-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.kyc-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.76);
}

.kyc-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kyc-hero__subtitle {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  max-width: 700px;
}

.kyc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kyc-shell {
  margin-top: 6px;
}

.kyc-status-card,
.kyc-account-card,
.kyc-warning-card,
.kyc-upload-card,
.kyc-documents-card {
  border-radius: 16px;
}

.kyc-progress {
  background-color: #e9ecef;
  height: 25px;
}

.kyc-account-card .card-header h5,
.kyc-upload-card .card-header h5,
.kyc-documents-card .card-header h5 {
  color: #334155;
  font-weight: 700;
}

.kyc-upload-card .form-label {
  font-weight: 700;
  color: #334155;
  font-size: 0.88rem;
}

.kyc-upload-card .form-control,
.kyc-upload-card .form-select {
  border-radius: 10px;
  border-color: #d8e2f0;
  min-height: 42px;
}

.kyc-upload-card .form-control:focus,
.kyc-upload-card .form-select:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31,143,229,0.15);
}

.kyc-guidelines {
  border-radius: 12px;
}

.kyc-docs-table th {
  border-top: none;
  font-weight: 700;
  color: #334155;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kyc-docs-table td {
  vertical-align: middle;
}

.kyc-page .alert i {
  opacity: 0.82;
}

@media (max-width: 767px) {
  .wallet-hero {
    padding: 24px 0 20px;
  }

  .wallet-hero__actions {
    width: 100%;
  }

  .wallet-history-section .table-responsive {
    overflow: visible;
  }

  .wallet-history-section .table thead {
    display: none;
  }

  .wallet-history-section .table,
  .wallet-history-section .table tbody,
  .wallet-history-section .table tr,
  .wallet-history-section .table td {
    display: block;
    width: 100%;
  }

  .wallet-history-section .table tr {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  }

  .wallet-history-section .table td {
    border: 0;
    padding: 6px 0;
  }

  .notifications-hero {
    padding: 24px 0 20px;
  }

  .notifications-hero__actions {
    width: 100%;
  }

  .notifications-main-card .card-body {
    padding: 1rem;
  }

  .banking-hero {
    padding: 24px 0 20px;
  }

  .banking-hero__actions {
    width: 100%;
  }

  .pitch-create-hero {
    padding: 24px 0 20px;
  }

  .pitch-create-hero__actions {
    width: 100%;
  }

  .pitch-create-card .card-body {
    padding: 1rem;
  }

  .pitch-create-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pitch-create-actions .btn {
    width: 100%;
  }

  .kyc-hero {
    padding: 24px 0 20px;
  }

  .kyc-hero__actions {
    width: 100%;
  }

  .kyc-documents-card .table-responsive {
    overflow: visible;
  }

  .kyc-documents-card .table thead {
    display: none;
  }

  .kyc-documents-card .table,
  .kyc-documents-card .table tbody,
  .kyc-documents-card .table tr,
  .kyc-documents-card .table td {
    display: block;
    width: 100%;
  }

  .kyc-documents-card .table tr {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  }

  .kyc-documents-card .table td {
    border: 0;
    padding: 6px 0;
  }
}

@media (max-width: 767px) {
  .pitch-hero {
    padding: 24px 0 20px;
  }

  .pitch-hero__actions {
    width: 100%;
  }

  .pitches-list-section .btn-group {
    display: none;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .db-header { padding: 24px 0 20px; }
  .db-header__name { font-size: 1.5rem; }
  .db-header__badges { width: 100%; }
  .db-stat-card { padding: 14px 12px; gap: 10px; }
  .db-stat-card__value { font-size: 1.2rem; }
  .db-actions { gap: 8px; }
  .db-action-btn { padding: 9px 14px; font-size: 0.84rem; }

  /* Convert admin recent-pitches table rows into cards on mobile */
  .db-section .table-responsive {
    overflow: visible;
  }

  .db-section .table thead {
    display: none;
  }

  .db-section .table,
  .db-section .table tbody,
  .db-section .table tr,
  .db-section .table td {
    display: block;
    width: 100%;
  }

  .db-section .table tr {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  }

  .db-section .table td {
    border: 0;
    padding: 6px 0;
  }

  .db-section .table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
    margin-bottom: 2px;
  }

  .db-section .table td.ps-3,
  .db-section .table td.pe-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .db-section .table td[data-label="Action"] .btn {
    width: 100%;
  }
}

.founder-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.11);
}

.founder-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.founder-card__photo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  border: 2px solid #dce9fa;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
  flex-shrink: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  transform-origin: center;
}

.founder-card__photo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #d9e9ff 0%, #bfdbff 100%);
  color: #0A1F6B;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (hover: hover) and (pointer: fine) {
  .founder-card__photo:hover,
  .founder-card__photo--fallback:hover {
    transform: scale(1.7);
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0.24);
    z-index: 3;
    position: relative;
  }
}

.founder-card__focus {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #1F8FE5;
}

.founder-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e6f0ff 0%, #d7e8ff 100%);
  color: #1037B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.founder-card__name {
  color: #0A1F6B;
  font-size: 1.12rem;
  font-weight: 800;
}

.founder-card__role {
  color: #1F8FE5;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.founder-card__summary {
  color: #475569;
  line-height: 1.72;
}

.founder-card__contact {
  padding-top: 14px;
  border-top: 1px solid #e6edf7;
}

.founder-card__email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #1037B8 0%, #1F8FE5 100%);
  border: 1px solid #1037B8;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
  box-shadow: 0 10px 20px rgba(16, 55, 184, 0.18);
}

.founder-card__email-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0A1F6B 0%, #1037B8 100%);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 31, 107, 0.22);
}

.brand-team-banner {
  background: linear-gradient(145deg, #0A1F6B 0%, #1037B8 62%, #1F8FE5 100%);
  border-radius: 24px;
  border: 1px solid rgba(73, 198, 243, 0.35);
  padding: 34px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(10, 31, 107, 0.28);
}

.brand-team-banner::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.42) 0%, rgba(73, 198, 243, 0) 72%);
}

.brand-team-banner__kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  position: relative;
  z-index: 2;
}

.brand-team-banner h2 {
  margin: 12px 0 10px;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  position: relative;
  z-index: 2;
}

.brand-team-banner p {
  margin: 0 auto;
  max-width: 850px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

.brand-team-banner .wh-btn-primary {
  background: #ffffff;
  color: #0A1F6B;
  box-shadow: 0 10px 24px rgba(4, 16, 58, 0.26);
}

.brand-team-banner .wh-btn-primary:hover {
  color: #0A1F6B;
}

.brand-team-banner .wh-btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.brand-team-banner .wh-btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.brand-home-card {
  background: linear-gradient(140deg, #ffffff 0%, #f1f7ff 100%);
  border-radius: 20px;
  border: 1px solid #d7e3f3;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.07);
}

/* About page refresh */
.about-hero {
  background: linear-gradient(150deg, #071649 0%, #0A1F6B 45%, #1037B8 75%, #1F8FE5 100%);
  padding: 92px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-hero::before,
.about-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.about-hero::before {
  width: 540px;
  height: 540px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.36) 0%, rgba(73, 198, 243, 0) 72%);
}

.about-hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.about-hero__kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.about-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-hero__subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.74;
}

.about-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: 0 16px 36px rgba(4, 16, 58, 0.28);
  position: relative;
  z-index: 2;
}

.about-hero-card__label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
}

.about-hero-card__grid {
  display: grid;
  gap: 10px;
}

.about-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px;
}

.about-stat strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.about-stat span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.about-story {
  background: linear-gradient(180deg, #eef4fb 0%, #f7faff 100%);
}

.about-story__intro {
  background: #fff;
  border: 1px solid #d8e2f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
}

.about-section__title {
  margin: 0 0 10px;
  color: #0A1F6B;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-story__intro p {
  color: #475569;
  line-height: 1.75;
}

.about-split-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.about-split-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.about-split-card--problem {
  border-top: 4px solid #ea3943;
}

.about-split-card--problem .about-split-card__icon {
  background: #fcebee;
  color: #ea3943;
}

.about-split-card--solution {
  border-top: 4px solid #16c784;
}

.about-split-card--solution .about-split-card__icon {
  background: #e9f9f2;
  color: #16c784;
}

.about-pillars {
  background: linear-gradient(145deg, #0A1F6B 0%, #1037B8 62%, #1F8FE5 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-pillars::before {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -190px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.34) 0%, rgba(73, 198, 243, 0) 72%);
}

.about-pillars .wh-section__kicker {
  color: rgba(255, 255, 255, 0.82);
}

.about-pillars .wh-section__title {
  color: #fff;
}

.about-pillars .wh-section__subtitle {
  color: rgba(255, 255, 255, 0.84);
}

.about-pillar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(5, 18, 65, 0.2);
}

.about-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about-pillar h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.about-pillar p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.72;
}

.about-direction {
  background: linear-gradient(180deg, #f1f6fe 0%, #ffffff 100%);
}

/* Privacy page refresh */
.privacy-hero {
  background: linear-gradient(150deg, #071649 0%, #0A1F6B 45%, #1037B8 75%, #1F8FE5 100%);
  padding: 92px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before,
.privacy-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.privacy-hero::before {
  width: 540px;
  height: 540px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.36) 0%, rgba(73, 198, 243, 0) 72%);
}

.privacy-hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.privacy-hero__kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.privacy-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.privacy-hero__subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.74;
}

.privacy-hero__updated {
  margin: 16px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.privacy-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: 0 16px 36px rgba(4, 16, 58, 0.28);
  position: relative;
  z-index: 2;
}

.privacy-hero-card__label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
}

.privacy-hero-card__grid {
  display: grid;
  gap: 10px;
}

.privacy-point {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px;
}

.privacy-point strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-point span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.privacy-content {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.privacy-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.privacy-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  background: #e6f1ff;
  color: #1037B8;
}

.privacy-card__title {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0A1F6B;
}

.privacy-card__lead {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.72;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.privacy-list li {
  position: relative;
  color: #334155;
  line-height: 1.65;
  padding-left: 20px;
}

.privacy-list li::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 0.62em;
  background: #1F8FE5;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.privacy-check i {
  margin-top: 2px;
  color: #16c784;
}

.privacy-check span {
  color: #334155;
  font-size: 0.92rem;
}

.privacy-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid #d8e6f8;
  background: #f3f8ff;
  padding: 10px 12px;
}

.privacy-badge i {
  color: #1037B8;
}

.privacy-badge span {
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 600;
}

.privacy-contact {
  background: linear-gradient(145deg, #0A1F6B 0%, #1037B8 62%, #1F8FE5 100%);
  border-radius: 20px;
  border: 1px solid rgba(73, 198, 243, 0.36);
  box-shadow: 0 18px 42px rgba(10, 31, 107, 0.28);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.privacy-contact::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -170px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.4) 0%, rgba(73, 198, 243, 0) 72%);
}

.privacy-contact__title-wrap,
.privacy-contact__text {
  position: relative;
  z-index: 2;
}

.privacy-contact__title-wrap i {
  color: #fff;
  font-size: 1.4rem;
}

.privacy-contact__title-wrap h4 {
  color: #fff;
  font-weight: 800;
}

.privacy-contact__text {
  color: rgba(255, 255, 255, 0.86);
  margin-left: 2.05rem;
}

.privacy-contact .wh-btn-light {
  position: relative;
  z-index: 2;
}

/* Terms page refresh */
.terms-hero {
  background: linear-gradient(150deg, #071649 0%, #0A1F6B 45%, #1037B8 75%, #1F8FE5 100%);
  padding: 92px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.terms-hero::before,
.terms-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.terms-hero::before {
  width: 540px;
  height: 540px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.36) 0%, rgba(73, 198, 243, 0) 72%);
}

.terms-hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.terms-hero__kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.terms-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.terms-hero__subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.74;
}

.terms-hero__updated {
  margin: 16px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.terms-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: 0 16px 36px rgba(4, 16, 58, 0.28);
  position: relative;
  z-index: 2;
}

.terms-hero-card__label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
}

.terms-hero-card__grid {
  display: grid;
  gap: 10px;
}

.terms-point {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px;
}

.terms-point strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.terms-point span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.terms-content {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.terms-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.terms-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.terms-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: #e6f1ff;
  color: #1037B8;
  flex-shrink: 0;
}

.terms-card__head h2 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0A1F6B;
}

.terms-card p {
  color: #475569;
  line-height: 1.72;
}

.terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.terms-list li {
  position: relative;
  color: #334155;
  line-height: 1.65;
  padding-left: 20px;
}

.terms-list li::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 0.62em;
  background: #1F8FE5;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.terms-check i {
  margin-top: 2px;
  color: #16c784;
}

.terms-check span {
  color: #334155;
  font-size: 0.92rem;
}

.terms-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid #d8e6f8;
  background: #f3f8ff;
  padding: 10px 12px;
}

.terms-badge i {
  color: #1037B8;
}

.terms-badge span {
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 600;
}

.terms-contact {
  background: linear-gradient(145deg, #0A1F6B 0%, #1037B8 62%, #1F8FE5 100%);
  border-radius: 20px;
  border: 1px solid rgba(73, 198, 243, 0.36);
  box-shadow: 0 18px 42px rgba(10, 31, 107, 0.28);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.terms-contact::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -170px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.4) 0%, rgba(73, 198, 243, 0) 72%);
}

.terms-contact__title-wrap,
.terms-contact__text {
  position: relative;
  z-index: 2;
}

.terms-contact__title-wrap i {
  color: #fff;
  font-size: 1.4rem;
}

.terms-contact__title-wrap h4 {
  color: #fff;
  font-weight: 800;
}

.terms-contact__text {
  color: rgba(255, 255, 255, 0.86);
  margin-left: 2.05rem;
}

.terms-contact .wh-btn-light {
  position: relative;
  z-index: 2;
}

/* Support page refresh */
.support-hero {
  background: linear-gradient(150deg, #071649 0%, #0A1F6B 45%, #1037B8 75%, #1F8FE5 100%);
  padding: 92px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.support-hero::before,
.support-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.support-hero::before {
  width: 540px;
  height: 540px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.36) 0%, rgba(73, 198, 243, 0) 72%);
}

.support-hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.support-hero__kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.support-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.support-hero__subtitle {
  margin-top: 16px;
  margin-bottom: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.74;
}

.support-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: 0 16px 36px rgba(4, 16, 58, 0.28);
  position: relative;
  z-index: 2;
}

.support-hero-card__label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.75rem;
}

.support-hero-card__grid {
  display: grid;
  gap: 10px;
}

.support-point {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px;
}

.support-point strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.support-point span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
}

.support-content {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.support-quick-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 22px;
  text-align: center;
}

.support-quick-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #e6f1ff;
  color: #1037B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.support-quick-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0A1F6B;
}

.support-quick-card p {
  color: #475569;
  margin-bottom: 12px;
}

.support-section-block {
  margin-top: 22px;
}

#faq .support-card {
  background: linear-gradient(145deg, #0A1F6B 0%, #1037B8 62%, #1F8FE5 100%);
  border: 1px solid rgba(73, 198, 243, 0.34);
  box-shadow: 0 18px 42px rgba(10, 31, 107, 0.28);
  position: relative;
  overflow: hidden;
}

#faq .support-card::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -180px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.42) 0%, rgba(73, 198, 243, 0) 72%);
}

#faq .support-card__title {
  color: #ffffff;
  position: relative;
  z-index: 2;
}

#faq .support-card__title i {
  color: #49C6F3;
}

.support-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.support-card__title {
  margin: 0 0 12px;
  color: #0A1F6B;
  font-weight: 800;
  font-size: 1.45rem;
}

.support-card__lead {
  color: #475569;
  margin-bottom: 18px;
}

.support-accordion .accordion-item {
  border: 1px solid #dbe6f5;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

#faq .support-accordion .accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 18px rgba(5, 18, 65, 0.2);
}

.support-accordion .accordion-button {
  font-weight: 700;
  color: #0A1F6B;
}

#faq .support-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.94);
}

.support-accordion .accordion-button:not(.collapsed) {
  background: #eef5ff;
  color: #0A1F6B;
}

#faq .support-accordion .accordion-button:not(.collapsed) {
  background: #d8ebff;
  color: #0A1F6B;
}

.support-accordion .accordion-body {
  color: #475569;
  line-height: 1.72;
}

#faq .support-accordion .accordion-body {
  background: rgba(255, 255, 255, 0.95);
}

.support-step {
  background: #f8fbff;
  border: 1px solid #d8e6f8;
  border-radius: 14px;
  padding: 18px;
}

.support-step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0A1F6B;
}

.support-step p {
  color: #475569;
  line-height: 1.72;
}

.support-form .form-label {
  color: #1e293b;
}

.support-form .form-control {
  border-radius: 10px;
  border: 1px solid #cdd9ec;
}

.support-form .form-control:focus {
  border-color: #1F8FE5;
  box-shadow: 0 0 0 0.2rem rgba(31, 143, 229, 0.18);
}

.support-alert-tip {
  background: #eef5ff;
  color: #1e3a8a;
}

.support-alert-error {
  background: #fde8e8;
  color: #b91c1c;
}

.support-alert-success {
  background: #e8f8ef;
  color: #166534;
}

/* Login premium refresh */
.login-premium {
  position: relative;
}

.login-shell {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #d8e2f0;
  box-shadow: 0 22px 52px rgba(16, 24, 40, 0.14);
  background: #fff;
}

.login-shell__aside {
  background: linear-gradient(155deg, #071649 0%, #0A1F6B 48%, #1037B8 78%, #1F8FE5 100%);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.login-shell__aside::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -160px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(73, 198, 243, 0.4) 0%, rgba(73, 198, 243, 0) 72%);
}

.login-shell__brand {
  display: inline-block;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.login-shell__brand img {
  height: 3.1rem;
  filter: drop-shadow(0 0 14px rgba(73, 198, 243, 0.35));
}

.login-shell__kicker {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.login-shell__title {
  margin: 10px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.login-shell__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.72;
  position: relative;
  z-index: 2;
}

.login-shell__benefits {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.login-benefit {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
}

.login-benefit i {
  color: #49C6F3;
}

.login-benefit span {
  font-size: 0.92rem;
}

.login-shell__help {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

.login-shell__help a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.login-shell__help a:hover {
  text-decoration: underline;
}

.login-shell__form {
  padding: 28px;
}

.login-form__title {
  margin: 0;
  color: #0A1F6B;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.login-form__subtitle {
  margin: 6px 0 18px;
  color: #64748b;
}

.login-form .form-label {
  color: #1e293b;
}

.login-form .form-control {
  border-radius: 10px;
  border: 1px solid #cdd9ec;
}

.login-password-group .btn {
  border-color: #cdd9ec;
}

.login-forgot {
  font-size: 0.9rem;
  color: #1037B8;
  text-decoration: none;
  font-weight: 600;
}

.login-forgot:hover {
  color: #0A1F6B;
  text-decoration: underline;
}

.login-register {
  margin-top: 8px;
  color: #6b7280;
}

.login-register a {
  color: #1037B8;
  font-weight: 700;
  text-decoration: none;
}

.login-register a:hover {
  color: #0A1F6B;
  text-decoration: underline;
}

.forgot-info-alert {
  background: #eef5ff;
  color: #1e3a8a;
}

@media (max-width: 767px) {
  .brand-hero {
    padding: 72px 0 58px;
  }

  .about-hero {
    padding: 72px 0 62px;
  }

  .privacy-hero {
    padding: 72px 0 62px;
  }

  .terms-hero {
    padding: 72px 0 62px;
  }

  .support-hero {
    padding: 72px 0 62px;
  }

  .login-shell {
    border-radius: 18px;
  }

  .login-shell__aside,
  .login-shell__form {
    padding: 20px;
  }

  .login-shell__title {
    font-size: 1.65rem;
  }

  .brand-card,
  .brand-pill-card,
  .founder-card,
  .about-story__intro,
  .about-split-card,
  .about-pillar,
  .privacy-card,
  .privacy-contact,
  .terms-card,
  .terms-contact,
  .support-card,
  .support-quick-card,
  .support-step {
    padding: 20px;
  }

  .privacy-contact__text {
    margin-left: 0;
  }

  .terms-contact__text {
    margin-left: 0;
  }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.lp-hero {
  background: linear-gradient(160deg, #0A1F6B 0%, #0d2580 55%, #1037B8 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  color: #fff;
}

/* Decorative background shapes */
.lp-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.lp-hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.lp-hero__shape--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #49C6F3, transparent 70%);
  top: -200px; right: -150px;
}
.lp-hero__shape--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #1F8FE5, transparent 70%);
  bottom: -100px; left: -100px;
}
.lp-hero__shape--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #fff, transparent 70%);
  top: 40%; left: 40%;
  opacity: 0.04;
}

.lp-hero__inner { position: relative; z-index: 2; }

.lp-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
.lp-hero__title .lp-text-accent { color: #49C6F3; }

.lp-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 1rem;
}

.lp-hero__note {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0;
}

/* Hero floating metric cards */
.lp-hero__visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-hero__center-orb {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #49C6F3;
  animation: lpPulse 3s ease-in-out infinite;
}

.lp-hero__card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  min-width: 180px;
  animation: lpFloat 4s ease-in-out infinite;
}
.lp-hero__card--main      { top: 10%;  left: 0;   animation-delay: 0s; }
.lp-hero__card--secondary { bottom: 20%; right: 0; animation-delay: 1.2s; }
.lp-hero__card--tertiary  { top: 50%;  left: -10%; animation-delay: 2.4s; }

.lp-hero__card-icon {
  width: 44px; height: 44px;
  background: rgba(31,143,229,0.35);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #49C6F3; flex-shrink: 0;
}
.lp-hero__card-icon--green { background: rgba(22,199,132,0.3); color: #16C784; }
.lp-hero__card-icon--amber { background: rgba(245,158,11,0.3);  color: #F59E0B; }
.lp-hero__card-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.lp-hero__card-value { font-size: 1.35rem; font-weight: 800; color: #fff; }

@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes lpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(73,198,243,0.4); }
  50%       { box-shadow: 0 0 0 20px rgba(73,198,243,0); }
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.lp-trust-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 20px 0;
}
.lp-trust-bar__label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  font-weight: 600;
  margin-bottom: 14px;
}
.lp-trust-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
.lp-trust-bar__item {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6B7280;
  padding: 0 24px;
}
.lp-trust-bar__sep {
  width: 1px;
  height: 20px;
  background: #E5E7EB;
}

/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.lp-section { padding: 80px 0; }
.lp-section--light { background: #F4F6FA; }
.lp-section--white { background: #fff; }

.lp-section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lp-section__sub {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ================================================================
   HOW IT WORKS — STEP CARDS
   ================================================================ */
.lp-step-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lp-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31,143,229,0.12);
  border-color: #1F8FE5;
}
.lp-step-card--featured {
  background: linear-gradient(135deg, #0A1F6B, #1037B8);
  border-color: transparent;
  color: #fff;
}
.lp-step-card--featured .lp-step-card__title,
.lp-step-card--featured .lp-step-card__text { color: rgba(255,255,255,0.9); }
.lp-step-card--featured .lp-step-card__link { color: #49C6F3; }

.lp-step-card__number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(31,143,229,0.12);
  line-height: 1;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}
.lp-step-card--featured .lp-step-card__number { color: rgba(255,255,255,0.1); }
.lp-step-card__icon {
  font-size: 2.2rem;
  color: #1F8FE5;
  margin-bottom: 16px;
}
.lp-step-card--featured .lp-step-card__icon { color: #49C6F3; }
.lp-step-card__title { font-size: 1.15rem; font-weight: 700; color: #111827; margin-bottom: 10px; }
.lp-step-card__text  { font-size: 0.93rem; color: #6B7280; line-height: 1.65; margin-bottom: 16px; }
.lp-step-card__link  { font-size: 0.9rem; font-weight: 600; color: #1F8FE5; text-decoration: none; }
.lp-step-card__link:hover { text-decoration: underline; }

/* ================================================================
   BENEFIT CARDS
   ================================================================ */
.lp-benefit-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lp-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(31,143,229,0.1);
  border-color: #1F8FE5;
}
.lp-benefit-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.lp-benefit-card__icon--blue   { background: rgba(31,143,229,0.1);  color: #1F8FE5; }
.lp-benefit-card__icon--green  { background: rgba(22,199,132,0.1);  color: #16C784; }
.lp-benefit-card__icon--amber  { background: rgba(245,158,11,0.1);  color: #F59E0B; }
.lp-benefit-card__icon--purple { background: rgba(139,92,246,0.1);  color: #8B5CF6; }
.lp-benefit-card__icon--teal   { background: rgba(20,184,166,0.1);  color: #14B8A6; }
.lp-benefit-card__icon--red    { background: rgba(234,57,67,0.1);   color: #EA3943; }
.lp-benefit-card__title { font-size: 1.05rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.lp-benefit-card__text  { font-size: 0.9rem; color: #6B7280; line-height: 1.65; margin: 0; }

/* ================================================================
   STATS BANNER
   ================================================================ */
.lp-stats-banner {
  background: linear-gradient(160deg, #0A1F6B 0%, #0d2580 55%, #1037B8 100%);
  padding: 60px 0;
}
.lp-stat__value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lp-stat + .lp-stat { border-left: 1px solid rgba(255,255,255,0.15); }

/* ================================================================
   FOR INVESTORS — SPLIT ROW
   ================================================================ */
.lp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 0.98rem;
  padding: 6px 0;
  font-weight: 500;
}
.lp-checklist li i { color: #16C784; font-size: 1.1rem; flex-shrink: 0; }

/* Mock pitch card visual */
.lp-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-feature-visual__card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(31,143,229,0.12);
  max-width: 380px;
  width: 100%;
}
.lp-fv__avatar {
  width: 44px; height: 44px;
  background: rgba(31,143,229,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #1F8FE5;
}
.lp-fv__name { font-weight: 700; color: #111827; font-size: 0.98rem; }
.lp-fv__meta { font-size: 0.78rem; color: #9CA3AF; }
.lp-fv__badge {
  background: rgba(245,158,11,0.12);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lp-fv__progress { background: #F3F4F6; border-radius: 999px; }
.lp-fv__progress .progress-bar { background: linear-gradient(90deg, #1F8FE5, #49C6F3); border-radius: 999px; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.lp-cta-banner {
  background: linear-gradient(135deg, #1037B8 0%, #0A1F6B 50%, #1F8FE5 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.lp-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.lp-cta-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.lp-cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 991px) {
  .lp-hero { padding: 70px 0 60px; }
  .lp-hero__visual { height: 260px; }
  .lp-hero__card { min-width: 140px; padding: 10px 14px; }
  .lp-hero__card-value { font-size: 1.1rem; }
  .lp-hero__center-orb { width: 90px; height: 90px; font-size: 2.2rem; }
}
@media (max-width: 767px) {
  .lp-hero__visual { display: none; }
  .lp-section { padding: 56px 0; }
  .lp-stats-banner { padding: 48px 0; }
  .lp-stat + .lp-stat { border-left: none; }
  .lp-trust-bar__sep { display: none; }
  .lp-trust-bar__items { gap: 8px; }
  .lp-trust-bar__item { padding: 4px 12px; }
}

/* Keep existing hero-title for dashboard */
.dashboard-page .hero-title {
  color: #1F8FE5 !important;
  text-shadow: 0 0 20px rgba(31, 143, 229, 0.08);
}

.auth-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  animation: floatBubbles 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.auth-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(16, 185, 129, 0.06) 81px),
    linear-gradient(transparent 79px, rgba(16, 185, 129, 0.06) 81px);
  background-size: 80px 80px;
  animation: gridMove 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Moving Geometric Shapes */
.auth-page .moving-shapes,
.home-page .moving-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.moving-shape {
  position: absolute;
  opacity: 0.4;
  animation: moveShape 25s linear infinite;
}

.shape-circle {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(31, 143, 229, 0.3);
  border-radius: 50%;
  top: 10%;
  left: -10%;
  animation-delay: -5s;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid rgba(73, 198, 243, 0.25);
  top: 60%;
  right: -5%;
  animation: moveShapeReverse 30s linear infinite;
  animation-delay: -10s;
}

.shape-square {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(31, 143, 229, 0.2);
  transform: rotate(45deg);
  top: 30%;
  left: 120%;
  animation: moveShapeReverse 35s linear infinite;
  animation-delay: -15s;
}

.shape-hexagon {
  width: 50px;
  height: 50px;
  background: rgba(16, 55, 184, 0.15);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  top: 80%;
  left: -5%;
  animation-delay: -20s;
}

/* Floating Particles System */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(31, 143, 229, 0.6);
  border-radius: 50%;
  animation: floatParticle 15s linear infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  animation-delay: -2s;
  animation-duration: 18s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 25%;
  animation-delay: -5s;
  animation-duration: 22s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 40%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 20s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  left: 80%;
  animation-delay: -15s;
  animation-duration: 19s;
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 90%;
  animation-delay: -18s;
  animation-duration: 17s;
}

/* Pulsing Investment Orbs */
.investment-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.investment-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 143, 229, 0.2) 0%, transparent 70%);
  animation: pulseOrb 8s ease-in-out infinite;
}

.orb-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 80%;
  animation-delay: -2s;
}

.orb-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 120px;
  height: 120px;
  top: 70%;
  right: 15%;
  animation-delay: -6s;
}

/* Investment Chart Line Animation */
.auth-page .container-fluid::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(16, 185, 129, 0.4) 20%, 
    rgba(16, 185, 129, 0.6) 50%, 
    rgba(16, 185, 129, 0.4) 80%, 
    transparent 100%);
  animation: chartLine1 12s ease-in-out infinite;
  z-index: 1;
}

.auth-page .container-fluid::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(5, 150, 105, 0.3) 30%, 
    rgba(5, 150, 105, 0.5) 60%, 
    rgba(5, 150, 105, 0.3) 90%, 
    transparent 100%);
  animation: chartLine2 15s ease-in-out infinite reverse;
  z-index: 1;
}

/* Floating Investment Particles */
.auth-page .card,
.home-page .card {
  position: relative;
  z-index: 10;
}

/* Ensure content is visible on terms and privacy pages */
.auth-page .container,
.home-page .container {
  position: relative;
  z-index: 15;
}

.auth-page .container .card,
.home-page .container .card {
  position: relative;
  z-index: 16;
}

/* Investment Floating Icons */
.auth-page .floating-icons,
.home-page .floating-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  color: rgba(31, 143, 229, 0.4);
  animation: floatIcon 20s linear infinite;
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(31, 143, 229, 0.3);
}

.floating-icon:nth-child(1) {
  left: 10%;
  animation-delay: -2s;
  animation-duration: 25s;
}

.floating-icon:nth-child(2) {
  left: 20%;
  animation-delay: -5s;
  animation-duration: 30s;
  font-size: 1.2rem;
}

.floating-icon:nth-child(3) {
  left: 70%;
  animation-delay: -8s;
  animation-duration: 22s;
  font-size: 1.8rem;
}

.floating-icon:nth-child(4) {
  left: 85%;
  animation-delay: -12s;
  animation-duration: 28s;
  font-size: 1.3rem;
}

.floating-icon:nth-child(5) {
  left: 50%;
  animation-delay: -15s;
  animation-duration: 35s;
  font-size: 1.1rem;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatBubbles {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
  33% { 
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
  66% { 
    transform: translateY(10px) scale(0.9);
    opacity: 0.9;
  }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

@keyframes chartLine1 {
  0%, 100% { 
    transform: translateX(-100px) scaleX(0.8);
    opacity: 0.3;
  }
  50% { 
    transform: translateX(100px) scaleX(1.2);
    opacity: 0.6;
  }
}

@keyframes chartLine2 {
  0%, 100% { 
    transform: translateX(100px) scaleY(0.5);
    opacity: 0.2;
  }
  50% { 
    transform: translateX(-100px) scaleY(1.5);
    opacity: 0.5;
  }
}

@keyframes floatIcon {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes moveShape {
  0% {
    transform: translateX(-100px) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(100vw) rotate(360deg);
    opacity: 0;
  }
}

@keyframes moveShapeReverse {
  0% {
    transform: translateX(100px) rotate(360deg);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(-100vw) rotate(0deg);
    opacity: 0.1;
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50px) translateX(50px);
    opacity: 0;
  }
}

@keyframes pulseOrb {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .auth-page::after,
  .home-page::after {
    background-size: 40px 40px;
  }
  
  .floating-icon {
    font-size: 1.2rem !important;
  }
  
  .auth-page .container-fluid::before,
  .auth-page .container-fluid::after {
    display: none;
  }
  
  .moving-shape {
    display: none;
  }
  
  .particle {
    width: 2px !important;
    height: 2px !important;
  }
  
  .investment-orb {
    transform: scale(0.6) !important;
  }
}

/* Prevent browser autofill from forcing white input backgrounds */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--card) inset !important;
  box-shadow: 0 0 0px 1000px var(--card) inset !important;
  -webkit-text-fill-color: var(--foreground) !important;
  caret-color: var(--foreground) !important;
  transition: background-color 9999s ease-out 0s;
}

/* Bootstrap Overrides for Investment Platform */
.bg-primary {
  background: #10b981 !important;
}

.btn-primary {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: #10b981;
  border-color: #10b981;
}

.btn-outline-primary:hover {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.btn-outline-secondary {
  color: #334155;
  border-color: #334155;
}

.btn-outline-secondary:hover {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

.btn-primary {
  border: none;
  color: var(--primary-foreground);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue));
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.bg-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple)) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-muted {
  color: var(--muted-foreground) !important;
}

/* Investment Platform Gradient Text */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--gradient-secondary), var(--gradient-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Advanced Card System - Modern Fintech */
.card {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--card-foreground);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #1F8FE5;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 0 1px rgba(31, 143, 229, 0.1);
}

.card-header {
  background: #F4F6FA;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 12px 12px 0 0;
  color: #111827;
}

.card-body {
  background: transparent;
  color: #111827;
}

.card-footer {
  background: #F4F6FA;
  border-top: 1px solid #E5E7EB;
  border-radius: 0 0 12px 12px;
  color: #6B7280;
}

/* Investment Platform Card Variations */
.card-glow-primary {
  border: 1px solid rgba(31, 143, 229, 0.2);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 
              0 0 0 1px rgba(31, 143, 229, 0.05);
}

.card-glow-primary:hover {
  border-color: #1F8FE5;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 20px rgba(31, 143, 229, 0.15);
}

.card-glow-secondary {
  border: 1px solid rgba(16, 55, 184, 0.2);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 
              0 0 0 1px rgba(16, 55, 184, 0.05);
}

.card-glow-secondary:hover {
  border-color: #1037B8;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 20px rgba(16, 55, 184, 0.15);
}

/* Dashboard Background Animation - Modern Fintech */
.dashboard-page {
  background: linear-gradient(135deg, #F4F6FA 0%, #E5E7EB 100%);
  position: relative;
  min-height: 100vh;
}

.dashboard-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 75%, rgba(31, 143, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(73, 198, 243, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 55, 184, 0.03) 0%, transparent 50%);
  animation: fintech-breathe 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.dashboard-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(31, 143, 229, 0.02) 81px),
    linear-gradient(transparent 79px, rgba(31, 143, 229, 0.02) 81px);
  background-size: 80px 80px;
  animation: gridMoveFintech 60s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes fintech-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes gridMoveFintech {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

/* Dashboard Content */
.dashboard-page .container {
  position: relative;
  z-index: 2;
}

.dashboard-page .card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
}
.dashboard-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F4F6FA 100%);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 143, 229, 0.1), transparent);
  transition: left 0.5s ease;
}

.dashboard-card:hover::before {
  left: 100%;
}

.dashboard-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #1F8FE5;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 
              0 10px 10px -5px rgb(0 0 0 / 0.04),
              0 0 30px rgba(31, 143, 229, 0.2);
}

/* Investment Status Cards */
.profit-card {
  border-left: 4px solid #16C784;
  background: linear-gradient(145deg, #FFFFFF, #F0FDF9);
}

.loss-card {
  border-left: 4px solid #EA3943;
  background: linear-gradient(145deg, #FFFFFF, #FEF2F2);
}

.neutral-card {
  border-left: 4px solid #1F8FE5;
  background: linear-gradient(145deg, #FFFFFF, #EFF6FF);
}

.card-glow-accent {
  box-shadow: 0 0 30px rgba(5, 150, 105, 0.1), 
              inset 0 0 60px rgba(5, 150, 105, 0.03);
}

.card-glow-accent:hover {
  box-shadow: 0 0 40px rgba(5, 150, 105, 0.2), 
              0 8px 32px rgba(0, 0, 0, 0.15),
              inset 0 0 80px rgba(5, 150, 105, 0.05);
}

/* Floating Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.glow-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Advanced Form Styling */
.form-control,
.form-select {
  background: var(--card);
  border: 1px solid var(--border-translucent);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
  color: var(--foreground);
}

.form-control::placeholder {
  color: var(--muted-foreground);
  opacity: 0.8;
}

.form-label {
  color: var(--foreground);
  font-weight: 500;
}

/* Modern Input Group */
.input-group .form-control:focus {
  z-index: 3;
}

.input-group .btn {
  border-color: var(--border-translucent);
}

.input-group .btn:hover {
  background: var(--card);
  border-color: var(--primary);
}

/* Enhanced Navigation - Modern Fintech Platform */
.navbar {
  background: #0A1F6B !important;
  border-bottom: 1px solid rgba(31, 143, 229, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1030;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF !important;
  text-decoration: none;
}

.navbar-brand img {
  height: 56px;
  width: auto;
  transition: all 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: 0.5rem;
  text-shadow: 0 0 10px rgba(73, 198, 243, 0.3);
}

/* Responsive logo sizing */
@media (max-width: 576px) {
  .navbar-brand img {
    height: 44px;
  }
  .navbar-brand span {
    font-size: 1.25rem;
  }
}

/* Admin breadcrumb bar */
.breadcrumb-bar {
    background: #f8f9fb;
    border-color: rgba(0,0,0,.08) !important;
}

.breadcrumb-bar .breadcrumb-item a {
    color: #1F8FE5;
}

.breadcrumb-bar .breadcrumb-item.active {
    color: #6B7280;
}

.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    color: #9ca3af;
}

.navbar-nav .nav-link {
  color: #FFFFFF !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
  color: #49C6F3 !important;
  background: rgba(73, 198, 243, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(73, 198, 243, 0.2);
}

.navbar-nav .nav-link.active {
  color: #49C6F3 !important;
  background: rgba(73, 198, 243, 0.16);
  box-shadow: inset 0 0 0 1px rgba(73, 198, 243, 0.28);
}

.navbar-toggler {
  border: 1px solid rgba(31, 143, 229, 0.3);
  color: #FFFFFF;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 143, 229, 0.25);
}

.navbar-social-links {
  flex-shrink: 0;
}

.navbar-social-link,
.footer-social-link {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.navbar-social-link i,
.footer-social-link i {
  font-size: 1.25rem;
  line-height: 1;
}

.navbar-social-link {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-social-link:hover {
  color: #49C6F3;
  background: rgba(73, 198, 243, 0.14);
  border-color: rgba(73, 198, 243, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(73, 198, 243, 0.18);
}

.footer-social-link {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
  color: #FFFFFF;
  background: rgba(73, 198, 243, 0.18);
  border-color: rgba(73, 198, 243, 0.28);
  transform: translateY(-1px);
}

.dropdown-menu {
  background: var(--card);
  border: 1px solid var(--border-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow-cyan);
  z-index: 1040;
}

.dropdown-item {
  color: var(--foreground);
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 191, 166, 0.1);
  color: var(--primary);
}

/* Enhanced Button System */
.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  border-radius: 1rem;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple));
  border: none;
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple));
  opacity: 0.9;
  box-shadow: var(--shadow-glow-blue);
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline-secondary:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-success {
  background: #10b981;
  border: none;
}

.btn-success:hover {
  background: #059669;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  color: #1a2332;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  opacity: 0.9;
}

.btn-danger {
  background: #ef4444;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Enhanced Alerts */
.alert {
  border-radius: 0.75rem;
  border: 1px solid var(--border-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--foreground);
}

.alert-primary {
  background: rgba(0, 191, 166, 0.1);
  border-color: rgba(0, 191, 166, 0.3);
  color: var(--primary);
}

.alert-secondary {
  background: rgba(61, 189, 250, 0.1);
  border-color: rgba(61, 189, 250, 0.3);
  color: var(--secondary);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-info {
  background: rgba(61, 189, 250, 0.1);
  border-color: rgba(61, 189, 250, 0.3);
  color: var(--secondary);
}

.alert-light {
  background: rgba(248, 250, 252, 0.1);
  border-color: rgba(248, 250, 252, 0.2);
  color: var(--foreground);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.alert-dismissible .btn-close {
  background: transparent;
  color: currentColor;
  opacity: 0.7;
}

.alert-dismissible .btn-close:hover {
  opacity: 1;
}

/* Utility Classes */
.min-vh-100 {
  min-height: 100vh !important;
}

.cursor-pointer {
  cursor: pointer;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Advanced Loading Animations */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes lift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

.fade-in {
  animation: fade-in 0.3s ease-out;
}

.fade-out {
  animation: fade-out 0.3s ease-out;
}

.lift {
  animation: lift 0.2s ease-out;
}

/* Scroll Animations */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-delay-1 {
  transition-delay: 0.1s;
}

.scroll-delay-2 {
  transition-delay: 0.2s;
}

.scroll-delay-3 {
  transition-delay: 0.3s;
}

/* Modern Image Upload Zone */
.image-upload-zone {
  border: 2px dashed var(--border-translucent);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(0, 191, 166, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(0, 191, 166, 0.1);
  box-shadow: 0 0 20px rgba(0, 191, 166, 0.2);
}

.image-preview {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}

.image-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.image-preview .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Progress Bar Enhancements */
.progress {
  border-radius: 1rem;
  height: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border-translucent);
}

.progress-bar {
  transition: width 0.6s ease;
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue));
  border-radius: 1rem;
}

/* Responsive Tables with Dark Theme */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--foreground);
  --bs-table-border-color: var(--border-translucent);
  --bs-table-striped-bg: rgba(0, 191, 166, 0.05);
  --bs-table-hover-bg: rgba(0, 191, 166, 0.1);
}

.table-dark {
  --bs-table-color: var(--foreground);
  --bs-table-bg: var(--card);
  --bs-table-border-color: var(--border-translucent);
}

/* Footer Styling */
footer {
  background: #0A1F6B !important;
  border-top: 1px solid rgba(31, 143, 229, 0.2);
  color: var(--muted-foreground);
}

footer .text-muted {
  color: rgba(255, 255, 255, 0.68) !important;
}

/* Badge Enhancements */
.badge {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

.bg-primary.badge,
.badge-primary {
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue)) !important;
  color: var(--primary-foreground);
}

.bg-secondary.badge,
.badge-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple)) !important;
  color: var(--secondary-foreground);
}

.bg-danger.badge,
.badge-danger {
  background: var(--destructive) !important;
  color: var(--destructive-foreground);
}

@media (max-width: 767.98px) {
  .table-responsive-stack table,
  .table-responsive-stack thead,
  .table-responsive-stack tbody,
  .table-responsive-stack th,
  .table-responsive-stack td,
  .table-responsive-stack tr {
    display: block;
  }

  .table-responsive-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-stack tr {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .table-responsive-stack td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .table-responsive-stack td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* Image Upload Styles */
.image-upload-zone {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #f8f9fa;
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
  border-color: var(--pitchit-primary);
  background: var(--pitchit-light-blue);
}

.image-preview {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}

.image-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.image-preview .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Progress Bar Enhancements */
.progress {
  border-radius: 0.5rem;
  height: 0.75rem;
}

.progress-bar {
  transition: width 0.6s ease;
}

/* Mobile-First Responsive Design */

/* Responsive Tables with Dark Theme */
.table-responsive-stack {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Mobile-First Responsive Design */

/* Responsive Tables with Dark Theme */
.table-responsive-stack {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
  .table-responsive-stack table,
  .table-responsive-stack thead,
  .table-responsive-stack tbody,
  .table-responsive-stack th,
  .table-responsive-stack td,
  .table-responsive-stack tr {
    display: block;
  }

  .table-responsive-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-stack tr {
    border: 1px solid var(--border-translucent);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #0f172a;
  }

  .table-responsive-stack td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .table-responsive-stack td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    font-weight: bold;
    white-space: nowrap;
    color: var(--primary);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  :root {
    --section-padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --section-padding: 3rem;
  }
  
  .form-control-lg {
    font-size: 1.2rem;
    padding: 0.875rem 1.125rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --section-padding: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  :root {
    --section-padding: 5rem;
  }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 0.875rem;
  }
  
  .modal-dialog {
    margin: 1rem;
  }

  /* Modal Dark Theme Styling */
  .modal-content {
    background: #1e293b !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
  }

  .modal-header {
    background: #1e293b !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #f8fafc !important;
  }

  .modal-title {
    color: #f8fafc !important;
    font-weight: 600 !important;
  }

  .modal-body {
    background: #1e293b !important;
    color: #f8fafc !important;
  }

  .modal-body p {
    color: #f8fafc !important;
  }

  .modal-footer {
    background: #1e293b !important;
    border-top: 1px solid rgba(16, 185, 129, 0.2) !important;
  }

  .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.8);
  }

  /* Keep create-investor modal on a white surface for readability on mobile */
  #createInvestorModal .modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #111827 !important;
  }

  #createInvestorModal .modal-header,
  #createInvestorModal .modal-body,
  #createInvestorModal .modal-footer {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
  }

  #createInvestorModal .modal-title,
  #createInvestorModal .form-label,
  #createInvestorModal .text-muted,
  #createInvestorModal small,
  #createInvestorModal p {
    color: #111827 !important;
  }

  #createInvestorModal .btn-close {
    filter: none;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  /* Mobile-friendly form spacing */
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  /* Improve touch targets */
  .btn,
  .form-control,
  .form-select {
    min-height: 44px;
  }
  
  /* Optimize text for mobile */
  body {
    font-size: 0.95rem;
  }
  
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.6rem; }
  h3, .h3 { font-size: 1.4rem; }
  h4, .h4 { font-size: 1.2rem; }
  h5, .h5 { font-size: 1.1rem; }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
}

/* Accessibility Enhancements */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus indicators with theme colors */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--primary);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dashboard Background Animation - Modern Fintech */
.dashboard-page {
  background: linear-gradient(135deg, #F4F6FA 0%, #E5E7EB 100%);
  position: relative;
  min-height: 100vh;
}

.dashboard-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 75%, rgba(31, 143, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(73, 198, 243, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 55, 184, 0.03) 0%, transparent 50%);
  animation: fintech-breathe 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.dashboard-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(31, 143, 229, 0.02) 81px),
    linear-gradient(transparent 79px, rgba(31, 143, 229, 0.02) 81px);
  background-size: 80px 80px;
  animation: gridMoveFintech 60s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes fintech-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes gridMoveFintech {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

/* Dashboard Content */
.dashboard-page .container {
  position: relative;
  z-index: 2;
}

.dashboard-page .card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
}

/* Fintech Text Colors - Dashboard */
.text-primary {
  color: #1F8FE5 !important;
}

.text-success {
  color: #16C784 !important;
}

.text-danger {
  color: #EA3943 !important;
}

.text-warning {
  color: #F59E0B !important;
}

.text-muted {
  color: #6B7280 !important;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #1F8FE5 0%, #1037B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, #1F8FE5 0%, #1037B8 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #49C6F3 0%, #1F8FE5 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(31, 143, 229, 0.2);
}

/* Print Styles */
@media print {
  .no-print,
  .navbar,
  .btn,
  .alert-dismissible .btn-close {
    display: none !important;
  }
  
  .card {
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a[href]:after {
    content: none;
  }
}

/* Advanced Scrollbar Styling */
.scrollbar-translucent {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}

.scrollbar-translucent::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-translucent::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-translucent::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 3px;
  transition: background 0.2s ease;
}

.scrollbar-translucent::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.6);
}

/* Custom Spinner for Loading States */
.spinner-border-primary {
  border-color: var(--primary);
  border-right-color: transparent;
}

.spinner-border-secondary {
  border-color: var(--secondary);
  border-right-color: transparent;
}

/* Smooth transitions for interactive elements */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-2px);
}

/* Investment Platform Text Colors */
.text-primary { color: #10b981 !important; }
.text-secondary { color: #334155 !important; }
.text-success { color: #10b981 !important; }
.text-muted { color: #94a3b8 !important; }

/* Investment Platform Utility Classes */
.bg-navy { background-color: #0f172a !important; }
.bg-emerald { background-color: #10b981 !important; }
.text-navy { color: #0f172a !important; }
.text-emerald { color: #10b981 !important; }