/* ==========================================================================
   DESIGN B: MODERN QUANTITATIVE & HIGH-PRECISION FINTECH
   Palette: Slate/Charcoal (#0F172A), Electric Steel Blue (#0284C7), Porcelain (#F8FAFC)
   Typography: Plus Jakarta Sans (Geometric Sans)
   ========================================================================== */

body.theme-modern {
  background-color: #F8FAFC;
  color: #1E293B;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.theme-modern h1,
.theme-modern h2,
.theme-modern h3,
.theme-modern .brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0F172A;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.theme-modern .brand-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0284C7;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Top Utility Bar */
.theme-modern .top-utility-bar {
  background: #0F172A;
  border-color: #1E293B;
  color: #94A3B8;
}
.theme-modern .top-badge {
  background: rgba(2, 132, 199, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.theme-modern .top-utility-link {
  color: #38BDF8;
}

/* Site Header */
.theme-modern .site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}
.theme-modern .nav-link,
.theme-modern .nav-dropdown-btn {
  color: #475569;
}
.theme-modern .nav-link:hover,
.theme-modern .nav-dropdown-btn:hover {
  color: #0284C7;
}
.theme-modern .nav-link.is-active {
  color: #0284C7;
  font-weight: 700;
}
.theme-modern .compliance-menu {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3px solid #0284C7;
}
.theme-modern .compliance-menu-link:hover {
  background: #F1F5F9;
}
.theme-modern .comp-link-title {
  color: #0F172A;
}

/* HERO SECTION */
.modern-hero {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 4.5rem 0 4rem;
  position: relative;
}
.modern-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.modern-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.modern-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284C7;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.modern-hero-title {
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.modern-hero-title span {
  color: #0284C7;
}
.modern-hero-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}
.modern-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.modern-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Right-side Terminal / Quantitative Metrics Card */
.modern-terminal-card {
  background: #0F172A;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #F8FAFC;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}
.modern-terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.modern-terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38BDF8;
  text-transform: uppercase;
}
.modern-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}
.modern-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modern-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1E293B;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
}
.metric-name {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
}
.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #38BDF8;
}

/* SECTION STRUCTURE */
.modern-section {
  padding: 5rem 0;
}
.modern-section.bg-alt {
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.modern-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.modern-section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284C7;
  margin-bottom: 0.6rem;
}
.modern-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
}
.modern-section-subtitle {
  font-size: 1.02rem;
  color: #475569;
}

/* DUAL FOUNDERS CARDS (MODERN TECH STYLE) */
.modern-founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.modern-founder-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.modern-founder-card:hover {
  border-color: #0284C7;
  box-shadow: 0 10px 25px -3px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}
.modern-founder-header {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modern-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  background: #0F172A;
  border: 2px solid #0284C7;
  padding: 2px;
  flex-shrink: 0;
}
.modern-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-sm) - 2px);
  object-fit: cover;
}
.modern-founder-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.2rem;
}
.modern-founder-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.modern-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: #E0F2FE;
  color: #0369A1;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.modern-founder-role {
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748B;
}
.modern-founder-body {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.modern-core-competencies {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}
.modern-comp-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 0.5rem;
}
.modern-comp-item {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.modern-comp-item svg {
  color: #0284C7;
  flex-shrink: 0;
}
.modern-founder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E2E8F0;
  padding-top: 1rem;
  font-size: 0.84rem;
}
.modern-contact-btn {
  font-weight: 700;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ALL 4 SEGMENTS GRID */
.modern-segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.modern-seg-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.25rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.modern-seg-card:hover {
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}
.modern-seg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  color: #15803D;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.modern-seg-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}
.modern-seg-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.modern-seg-meta {
  border-top: 1px solid #E2E8F0;
  padding-top: 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  display: flex;
  justify-content: space-between;
}

/* REGULATORY DIRECTORY */
.modern-reg-panel {
  background: #0F172A;
  border-radius: var(--radius-md);
  padding: 3rem;
  color: #FFFFFF;
}
.modern-reg-header {
  margin-bottom: 2rem;
}
.modern-reg-header h2 {
  color: #FFFFFF !important;
  font-size: 1.85rem;
}
.modern-reg-header p {
  color: #94A3B8;
  font-size: 0.95rem;
}
.modern-reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.modern-reg-link-card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}
.modern-reg-link-card:hover {
  border-color: #38BDF8;
  background: #243048;
}
.modern-reg-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modern-reg-card-sub {
  font-size: 0.74rem;
  color: #94A3B8;
}

/* DISCLAIMER & FOOTER */
.theme-modern .sebi-statutory-banner {
  background: #FFFFFF;
  border-color: #E2E8F0;
}
.theme-modern .disclaimer-badge {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.theme-modern .disclaimer-core-text {
  color: #334155;
}
.theme-modern .disclaimer-pill {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E293B;
}

.theme-modern .site-footer {
  background: #0F172A;
  color: #94A3B8;
}
.theme-modern .footer-col-title {
  color: #38BDF8;
}
.theme-modern .footer-link {
  color: #CBD5E1;
}
.theme-modern .footer-link:hover {
  color: #38BDF8;
}
.theme-modern .footer-bottom {
  border-color: #1E293B;
}

@media (max-width: 992px) {
  .modern-hero-grid { grid-template-columns: 1fr; }
  .modern-founders-grid { grid-template-columns: 1fr; }
  .modern-segments-grid { grid-template-columns: 1fr 1fr; }
  .modern-reg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .modern-segments-grid { grid-template-columns: 1fr; }
  .modern-reg-grid { grid-template-columns: 1fr; }
}
