/* ============================================
   AGENTIC WEALTH -” Main Stylesheet
   Light / White Theme
   ============================================ */

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

:root {
  --bg:           #FFFFFF;
  --bg-alt:       #F5F7FA;
  --bg-card:      #FFFFFF;
  --bg-dark:      #111C2A;
  --bg-dark-mid:  #1A2B3C;
  --gold:         #3B82F6;
  --gold-light:   #60A5FA;
  --gold-dim:     rgba(59,130,246,.10);
  --blue:         #2563EB;
  --blue-dim:     rgba(37,99,235,.10);
  --blue-glow:    rgba(37,99,235,.25);
  --green:        #16A34A;
  --amber:        #D97706;
  --red:          #DC2626;
  --text-primary:   #111C2A;
  --text-secondary: #374151;
  --text-muted:     #6B7280;
  --border:         rgba(0,0,0,.08);
  --border-blue:    rgba(37,99,235,.18);
  --glass:          rgba(255,255,255,.95);
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06),  0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:      0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
  /* legacy aliases -” light tones so inline var(--navy) panels stay neutral */
  --navy:       #F0F2F5;
  --navy-mid:   #E8EAEE;
  --navy-light: #DFE2E8;
  --navy-card:  #F5F7FA;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Roboto Slab', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem,5vw,3.8rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); }
h3 { font-size: clamp(1.25rem,2.5vw,1.7rem); }
h5 { font-family: 'Roboto', sans-serif; }

a { text-decoration: none; }

.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue) !important; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* â”€â”€ NAVBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar-custom {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  background: transparent;
  transition: var(--transition);
}
.navbar-custom.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: .8rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar-brand {
  font-family: 'Roboto Slab', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--text-primary) !important;
  display: flex; align-items: center; gap: .5rem;
}
.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-size: .875rem; font-weight: 500;
  padding: .45rem .9rem !important;
  transition: var(--transition);
  position: relative;
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--gold) !important; }
.nav-link-custom::after {
  content:''; position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-link-custom:hover::after, .nav-link-custom.active::after { width: 55%; }

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  color: #fff !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
  font-size: .82rem !important;
  padding: .45rem 1.15rem !important;
  transition: var(--transition) !important;
  cursor: pointer !important;
}
.btn-nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 22px rgba(59,130,246,.35) !important;
  color: #fff !important;
}
.btn-nav-cta::after { display: none !important; }

.btn-nav-login {
  border: 1px solid rgba(59,130,246,.35) !important;
  border-radius: 8px !important;
  padding: .4rem .9rem !important;
  color: var(--gold) !important;
  transition: var(--transition) !important;
}
.btn-nav-login:hover, .btn-nav-login.active {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}
.btn-nav-login::after { display: none !important; }

.dropdown-menu-custom {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .5rem;
  box-shadow: var(--shadow-lg);
  margin-top: .6rem !important;
  min-width: 230px;
}
.dropdown-item-custom {
  color: var(--text-secondary);
  font-size: .855rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  display: flex; align-items: center; gap: .7rem;
}
.dropdown-item-custom i { width: 18px; text-align: center; opacity: .55; }
.dropdown-item-custom:hover { background: var(--gold-dim); color: var(--gold); }

/* â”€â”€ HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(37,99,235,.06) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 18%, rgba(59,130,246,.08) 0%, transparent 42%),
    radial-gradient(ellipse at 65% 80%, rgba(37,99,235,.04) 0%, transparent 40%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-dim);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .78rem; color: var(--gold); font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.8); }
}

.hero-title { font-weight: 700; margin-bottom: 1.4rem; color: var(--text-primary); }
.hero-title em { font-style: normal; color: var(--gold); }

.typewriter-wrap {
  font-size: clamp(.95rem,2vw,1.15rem);
  color: var(--text-secondary);
  margin-bottom: 1rem; min-height: 1.8rem;
}
#typewriter { color: var(--gold); }
#typewriter::after { content: '|'; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

/* Buttons */
.btn-primary-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  border: none; padding: .85rem 2rem;
  border-radius: 8px; font-weight: 600; font-size: .95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,.38);
  color: #fff;
}
.btn-outline-light-custom {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0,0,0,.15);
  padding: .85rem 2rem;
  border-radius: 8px; font-weight: 500; font-size: .95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline-light-custom:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(59,130,246,.35);
  padding: .8rem 1.8rem; border-radius: 8px;
  font-weight: 500; font-size: .95rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline-gold:hover {
  background: var(--gold-dim); border-color: var(--gold);
  color: var(--gold); transform: translateY(-2px);
}

/* â”€â”€ STATS BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.8rem 0;
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content:''; position:absolute; right:0; top:50%;
  transform:translateY(-50%);
  height:52px; width:1px; background:var(--border);
}
.stat-number {
  font-family: 'Roboto Slab', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold); line-height: 1; display: block;
}
.stat-label {
  font-size: .8rem; color: var(--text-muted);
  margin-top: .35rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px;
}
.stat-source {
  display: block;
  font-size: .6rem; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  color: var(--text-muted); opacity: .6;
  margin-top: .25rem;
}
.stat-source a {
  color: inherit; text-decoration: underline;
  text-underline-offset: 2px;
}
.stat-source a:hover { opacity: 1; color: var(--gold); }

/* â”€â”€ SECTIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section     { padding: 5.5rem 0; }
.section-sm  { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: .7rem; display: block;
}
.section-title    { margin-bottom: .9rem; color: var(--text-primary); }
.section-subtitle {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.75; margin-bottom: 3rem;
}

/* â”€â”€ CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  height: 100%;
}
.card-glass::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: var(--transition);
}
.card-glass:hover {
  border-color: rgba(59,130,246,.30);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-glass:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.2rem;
}
.card-icon.gold   { background: rgba(59,130,246,.12); color: var(--gold); }
.card-icon.blue   { background: var(--blue-dim);      color: var(--blue); }
.card-icon.green  { background: rgba(22,163,74,.12);  color: #16A34A; }
.card-icon.purple { background: rgba(124,58,237,.12); color: #7C3AED; }
.card-icon.teal   { background: rgba(6,182,212,.12);  color: #0891B2; }
.card-icon.orange { background: rgba(234,88,12,.12);  color: #EA580C; }

.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem; color: var(--text-primary); }
.card-text  { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; }

/* â”€â”€ FEATURE TABLE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feature-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-table table { width: 100%; border-collapse: collapse; }
.feature-table thead th {
  background: var(--bg-alt); padding: .9rem 1.4rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.feature-table thead th:first-child { color: var(--gold); }
.feature-table tbody td {
  padding: .95rem 1.4rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .875rem; color: var(--text-secondary);
  vertical-align: middle;
}
.feature-table tbody tr:last-child td { border-bottom: none; }
.feature-table tbody tr:hover td { background: var(--gold-dim); }
.feature-table tbody td:first-child { color: var(--text-primary); font-weight: 600; }

/* â”€â”€ COMPARISON TABLE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.comparison-wrap { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.comparison-wrap table { width: 100%; border-collapse: collapse; }
.comparison-wrap thead th { padding: 1.1rem 1.4rem; font-weight: 600; font-size: .875rem; }
.comparison-wrap .th-feature  { background: var(--bg-alt); color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; width: 22%; }
.comparison-wrap .th-trad     { background: #FEF2F2; color: #9B1C1C; }
.comparison-wrap .th-agentic  { background: var(--gold-dim); color: var(--gold); }
.comparison-wrap tbody td     { padding: .95rem 1.4rem; font-size: .87rem; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: middle; }
.comparison-wrap tbody tr:last-child td { border-bottom: none; }
.comparison-wrap .td-feature  { background: var(--bg-alt); color: var(--text-secondary); font-weight: 500; }
.comparison-wrap .td-trad     { background: #FFF8F8; color: var(--text-muted); }
.comparison-wrap .td-agentic  { background: #FFFDF7; color: var(--text-primary); }

/* â”€â”€ PILLAR TABS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pillar-tabs { border: none; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
.pillar-tab-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); padding: .65rem 1.35rem;
  border-radius: 50px; font-size: .85rem; font-weight: 500;
  white-space: nowrap; transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.pillar-tab-btn.active,
.pillar-tab-btn:hover { background: var(--gold-dim); border-color: rgba(59,130,246,.40); color: var(--gold); }

.pillar-content { display: none; }
.pillar-content.active { display: block; }

/* â”€â”€ ARCHITECTURE LAYERS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.arch-layer {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.2rem 1.4rem;
  margin-bottom: .7rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.arch-layer:hover { border-color: rgba(59,130,246,.35); transform: translateX(4px); box-shadow: var(--shadow-md); }
.arch-layer::before {
  content:''; position:absolute; left:0; top:0; bottom:0;
  width:3px; background: var(--gold);
}
.arch-layer-icon { font-size: 1.4rem; width: 42px; text-align: center; }
.arch-layer-name { font-weight: 600; color: var(--gold); font-size: .875rem; min-width: 110px; }
.arch-layer-desc { font-size: .855rem; color: var(--text-secondary); flex: 1; }

/* â”€â”€ PROCESS STEPS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.process-step { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 1.8rem; }
.step-number {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Roboto Slab', serif; font-weight: 700;
  color: var(--gold); font-size: .95rem;
}
.step-connector {
  width: 2px; height: 28px;
  background: linear-gradient(var(--gold), transparent);
  margin-left: 19px; margin-top: -1rem; margin-bottom: -1rem;
  opacity: .3;
}

/* â”€â”€ CTA SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #FAFBFF 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content:''; position:absolute; top:-50%; left:-20%;
  width:60%; height:200%;
  background: radial-gradient(ellipse, rgba(59,130,246,.06) 0%, transparent 70%);
}

.quote-highlight {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.2rem,2.5vw,1.65rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2rem 0;
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.07); padding: 4rem 0 2rem; }
.footer-brand {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem;
}
.footer-desc { font-size: .855rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; }
.footer-heading {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .855rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.4rem; margin-top: 3rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: .8rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); margin: 0; }
.social-links { display: flex; gap: .65rem; }
.social-link {
  width: 35px; height: 35px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: .82rem;
  text-decoration: none; transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(59,130,246,.12); }

/* â”€â”€ PAGE HERO (inner pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-hero {
  padding: 148px 0 80px;
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(37,99,235,.07) 0%, transparent 58%),
    radial-gradient(ellipse at 22% 30%, rgba(59,130,246,.06) 0%, transparent 42%);
}
.breadcrumb-custom {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; margin-bottom: 1.4rem;
}
.breadcrumb-custom a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb-custom a:hover { color: var(--gold); }
.breadcrumb-custom .sep { color: rgba(0,0,0,.2); font-size: .6rem; }
.breadcrumb-custom .cur { color: var(--gold); }

/* â”€â”€ ACCORDION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.accordion-custom .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  margin-bottom: .7rem; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-custom .accordion-button {
  background: transparent; color: var(--text-primary);
  font-weight: 500; font-size: .925rem;
  padding: 1.15rem 1.4rem;
  box-shadow: none !important;
}
.accordion-custom .accordion-button:not(.collapsed) { background: var(--gold-dim); color: var(--gold); }
.accordion-custom .accordion-button::after { opacity: .6; }
.accordion-custom .accordion-body { padding: 0 1.4rem 1.15rem; color: var(--text-secondary); font-size: .88rem; line-height: 1.72; }

/* â”€â”€ FORM â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-label-custom { font-size: .835rem; font-weight: 500; color: var(--text-secondary); margin-bottom: .35rem; display: block; }
.form-control-custom,
.form-select-custom {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 9px; padding: .75rem 1rem;
  font-size: .9rem; width: 100%;
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
  appearance: none;
}
.form-control-custom::placeholder { color: var(--text-muted); }
.form-control-custom:focus,
.form-select-custom:focus {
  background: var(--bg-card);
  border-color: var(--gold);
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.14);
}
.form-select-custom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B8963E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select-custom option { background: var(--bg-card); color: var(--text-primary); padding: .45rem .9rem; }
/* multi-select combobox */
.form-multiselect-wrap { position: relative; }
.form-multiselect-trigger { display: flex; align-items: center; gap: .5rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 9px; padding: .5rem 1rem; cursor: pointer; transition: border-color .2s; }
.form-multiselect-wrap.open .form-multiselect-trigger { border-color: var(--gold); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.form-multiselect-tags { display: flex; flex-wrap: nowrap; align-items: center; gap: .35rem; flex: 1; min-height: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.form-multiselect-tags::-webkit-scrollbar { display: none; }
.form-multiselect-placeholder { font-size: .875rem; color: var(--text-muted); white-space: nowrap; }
.form-multiselect-tag { display: inline-flex; align-items: center; gap: .3rem; background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(184,150,62,.3); border-radius: 100px; padding: .12rem .45rem .12rem .6rem; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }
.form-multiselect-tag button { background: none; border: none; color: var(--gold); cursor: pointer; padding: 0; font-size: .9rem; line-height: 1; opacity: .7; }
.form-multiselect-tag button:hover { opacity: 1; }
.form-multiselect-chevron { font-size: .7rem; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.form-multiselect-wrap.open .form-multiselect-chevron { transform: rotate(180deg); }
.form-multiselect-dropdown { display: none; position: absolute; left: 0; right: 0; z-index: 200; background: var(--bg-alt); border: 1px solid var(--gold); border-top: none; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; overflow-y: auto; max-height: 246px; scrollbar-width: thin; scrollbar-color: rgba(184,150,62,.35) transparent; box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.form-multiselect-wrap.open .form-multiselect-dropdown { display: block; }
.form-multiselect-opt { display: flex; align-items: center; gap: .65rem; padding: .5rem 1rem; font-size: .9rem; color: var(--text-secondary); cursor: pointer; border-bottom: 1px solid var(--border); transition: background .15s; width: 100%; background: var(--bg-card); }
.form-multiselect-opt:last-child { border-bottom: none; }
.form-multiselect-opt:hover { background: var(--bg-alt); }
.form-multiselect-opt.checked { background: var(--gold-dim); color: var(--gold); }
.form-multiselect-opt input[type="checkbox"] { accent-color: var(--gold); flex-shrink: 0; width: 15px; height: 15px; cursor: pointer; }
.form-multiselect-group { border-top: 1px solid var(--border); }
.form-multiselect-group:first-of-type { border-top: 2px solid var(--border); }
.form-multiselect-other { border-top: 2px solid var(--border); }

/* â”€â”€ BADGES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.badge-gold   { background:rgba(59,130,246,.12); border:1px solid rgba(59,130,246,.30); color:var(--gold); font-size:.73rem; font-weight:500; padding:.28rem .7rem; border-radius:100px; display:inline-block; }
.badge-blue   { background:var(--blue-dim); border:1px solid var(--border-blue); color:var(--blue); font-size:.73rem; font-weight:500; padding:.28rem .7rem; border-radius:100px; display:inline-block; }
.badge-green  { background:rgba(22,163,74,.10); border:1px solid rgba(22,163,74,.25); color:#16A34A; font-size:.73rem; font-weight:500; padding:.28rem .7rem; border-radius:100px; display:inline-block; }
.badge-purple { background:rgba(124,58,237,.10); border:1px solid rgba(124,58,237,.25); color:#7C3AED; font-size:.73rem; font-weight:500; padding:.28rem .7rem; border-radius:100px; display:inline-block; }

.suitability-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.22rem .55rem; border-radius:6px; font-size:.72rem; font-weight:600; }
.suitability-badge.green  { background:rgba(22,163,74,.12);  color:#16A34A; }
.suitability-badge.amber  { background:rgba(217,119,6,.12);  color:#D97706; }
.suitability-badge.red    { background:rgba(220,38,38,.10);  color:#DC2626; }

.region-tag {
  display:inline-flex; align-items:center; gap:.28rem;
  background:var(--blue-dim); border:1px solid var(--border-blue);
  color:var(--blue); font-size:.72rem; font-weight:500;
  padding:.2rem .55rem; border-radius:100px;
}

/* â”€â”€ DASHBOARD MOCKUP â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dashboard-mockup { background:var(--bg-alt); border:1px solid var(--border); border-radius:18px; overflow:hidden; box-shadow: var(--shadow-lg); }
.dashboard-header {
  background:var(--bg-card); padding:.7rem 1.2rem;
  display:flex; align-items:center; gap:.45rem;
  border-bottom:1px solid var(--border);
}
.dot-red   { width:10px;height:10px;border-radius:50%;background:#FF453A; }
.dot-amber { width:10px;height:10px;border-radius:50%;background:#FF9F0A; }
.dot-green { width:10px;height:10px;border-radius:50%;background:#34C759; }
.dashboard-url {
  flex:1; background:var(--bg-alt);
  border-radius:6px; padding:.18rem .7rem;
  font-size:.72rem; color:var(--text-muted); margin:0 1rem;
}

.agent-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:11px; padding:.95rem 1rem;
  margin-bottom:.6rem;
  display:flex; align-items:flex-start; gap:.7rem;
  transition:var(--transition); cursor:pointer;
}
.agent-card:hover { border-color:rgba(59,130,246,.4); background:var(--gold-dim); }
.agent-priority { width:8px;height:8px;border-radius:50%;margin-top:.4rem;flex-shrink:0; }
.priority-high   { background:#EF4444; }
.priority-mid    { background:#F59E0B; }
.priority-low    { background:#10B981; }
.agent-card-title { font-size:.855rem; font-weight:600; color:var(--text-primary); margin-bottom:.18rem; }
.agent-card-meta  { font-size:.74rem; color:var(--text-muted); }
.agent-card-action {
  margin-left:auto; background:var(--gold-dim);
  border:1px solid rgba(59,130,246,.30); color:var(--gold);
  font-size:.68rem; font-weight:600; padding:.18rem .5rem;
  border-radius:5px; white-space:nowrap; flex-shrink:0;
}

/* â”€â”€ CONTACT PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-card { background:var(--bg-card); border:1px solid var(--border); border-radius:22px; padding:2.4rem; box-shadow: var(--shadow-sm); }
.contact-info-item { display:flex; align-items:flex-start; gap:.9rem; margin-bottom:1.4rem; }
.contact-info-icon {
  width:43px;height:43px;min-width:43px;
  border-radius:11px; background:var(--gold-dim);
  border:1px solid rgba(59,130,246,.25);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold); font-size:.95rem;
}

/* â”€â”€ MISC â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.divider-gold {
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(59,130,246,.4),transparent);
  margin:3rem 0;
}
.list-check { list-style:none; padding:0; }
.list-check li {
  display:flex; align-items:flex-start; gap:.7rem;
  margin-bottom:.7rem; font-size:.88rem; color:var(--text-secondary);
}
.list-check li::before { content:'\2022'; color:var(--gold); font-weight:700; flex-shrink:0; margin-top:.1rem; }

.agent-status { display:inline-flex; align-items:center; gap:.4rem; font-size:.74rem; color:#16A34A; }
.agent-status .pulse-dot { width:6px;height:6px;background:#16A34A;border-radius:50%;animation:pulse 2s infinite; }

.tag-row { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.9rem; }

.info-box {
  background:var(--bg-alt); border:1px solid var(--border);
  border-radius:12px; padding:1.4rem 1.6rem;
}
.info-box-label { font-size:.72rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:.3rem; }
.info-box-value { font-size:1.6rem; font-family:'Roboto Slab',serif; font-weight:700; color:var(--gold); }
.info-box-sub   { font-size:.78rem; color:var(--text-muted); margin-top:.15rem; }

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 18px; padding: 2.4rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.highlight-card::after {
  content:''; position:absolute; top:-40px; right:-40px;
  width:180px;height:180px;
  background:radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
}
.highlight-card .section-label { color: var(--gold); }

/* â”€â”€ ANIMATIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes fadeInUp    { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInLeft  { from{opacity:0;transform:translateX(-28px)} to{opacity:1;transform:translateX(0)} }
@keyframes float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fadeScaleIn { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }

.animate-fade-up  { animation: fadeInUp  .8s ease forwards; }
.animate-fade-left{ animation: fadeInLeft .8s ease forwards; }
.float-anim       { animation: float 4s ease-in-out infinite; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible   { opacity:1; transform:translateY(0); }
.reveal-delay-1   { transition-delay:.1s; }
.reveal-delay-2   { transition-delay:.2s; }
.reveal-delay-3   { transition-delay:.3s; }
.reveal-delay-4   { transition-delay:.4s; }

/* â”€â”€ SCROLLBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar        { width:6px;height:6px; }
::-webkit-scrollbar-track  { background:var(--bg-alt); }
::-webkit-scrollbar-thumb  { background:rgba(0,0,0,.15);border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gold); }

/* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width:768px) {
  .stat-item::after { display:none; }
  .section { padding:3.8rem 0; }
  .card-glass { padding:1.5rem; }
  .comparison-wrap tbody td { padding:.7rem .9rem; font-size:.8rem; }
  .contact-card { padding:1.6rem; }
  .page-hero { padding:120px 0 60px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}
@media (max-width:576px) {
  h1 { font-size:2.1rem; }
  h2 { font-size:1.65rem; }
  .btn-primary-gold,
  .btn-outline-light-custom { width:100%; justify-content:center; }
}

/* â”€â”€ THEME SWITCHER WIDGET â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.theme-switcher {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.theme-toggle-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  order: 2;
}
.theme-toggle-btn:hover,
.theme-toggle-btn.active {
  background: var(--gold-dim);
  border-color: rgba(59,130,246,.35);
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}
.theme-toggle-btn.active { transform: rotate(20deg) scale(1.08); }

.theme-panel {
  order: 1;
  margin-bottom: .7rem;
  width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}
.theme-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem .65rem;
  border-bottom: 1px solid var(--border);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold);
}

.theme-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: .85rem;
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: 4px;
  line-height: 1;
  transition: var(--transition);
}
.theme-close-btn:hover { color: var(--gold); background: var(--gold-dim); }

.theme-panel-hint {
  font-size: .73rem; color: var(--text-muted);
  padding: .55rem 1.1rem .3rem;
  margin: 0; line-height: 1.4;
}

.theme-list {
  padding: .5rem .7rem .7rem;
  display: flex; flex-direction: column;
  gap: .3rem; max-height: 360px; overflow-y: auto;
}

.theme-item {
  display: flex; align-items: center; gap: .75rem;
  width: 100%; background: transparent;
  border: 1px solid transparent;
  border-radius: 10px; padding: .6rem .8rem;
  cursor: pointer; text-align: left;
  transition: var(--transition);
}
.theme-item:hover  { background: var(--gold-dim); border-color: var(--border); }
.theme-item.active { background: var(--gold-dim); border-color: rgba(59,130,246,.35); }

.theme-swatches { display: flex; gap: 3px; flex-shrink: 0; }
.theme-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.10);
  display: block;
}
.theme-dot:nth-child(2) { transform: translateX(-4px); }
.theme-dot:nth-child(3) { transform: translateX(-8px); }

.theme-meta {
  flex: 1; display: flex; flex-direction: column; gap: .1rem; margin-left: -4px;
}
.theme-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); line-height: 1; }
.theme-tag  { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; }

.theme-check { font-size: .7rem; color: var(--gold); opacity: 0; transition: opacity .2s; flex-shrink: 0; }
.theme-item.active .theme-check { opacity: 1; }

@media (max-width: 480px) {
  .theme-switcher { bottom: 1rem; right: 1rem; }
  .theme-panel    { width: 230px; }
}

/* â”€â”€ Screenshot CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.screenshot-cta-wrap { max-width: 1000px; margin: 0 auto; }

.screenshot-browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(59,130,246,.12);
  background: var(--bg-card);
}

.screenshot-browser-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.screenshot-address-bar {
  flex: 1; text-align: center;
  font-size: .7rem; color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px; padding: .22rem .7rem;
  max-width: 380px; margin: 0 auto;
}

.screenshot-app {
  display: flex;
  height: 485px;
  overflow: hidden;
}

/* Sidebar */
.screenshot-sidebar {
  width: 52px; flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center;
  padding: .75rem 0;
  gap: .5rem;
  position: relative; z-index: 2;
}
.screenshot-sidebar-logo {
  font-size: 1rem; color: var(--gold);
  padding: .4rem;
  background: var(--gold-dim);
  border-radius: 8px;
  margin-bottom: .5rem;
  cursor: pointer;
  transition: var(--transition);
}
.screenshot-sidebar-logo.active {
  box-shadow: 0 0 0 2px var(--gold);
}
/* In-app portfolio switcher — inline in topbar */
.ss-pf-switcher {
  display: flex;
  align-items: center;
}
.ss-pf-drop { position: relative; }
.ss-pf-drop-trigger {
  display: flex; align-items: center; gap: .4rem;
  padding: .24rem .55rem .24rem .6rem;
  font-size: .72rem; font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
  user-select: none;
}
.ss-pf-drop-trigger i.fa-globe { color: var(--gold); font-size: .68rem; }
.ss-pf-caret { font-size: .58rem; color: var(--text-muted); margin-left: .1rem; }
.ss-pf-drop-trigger:hover,
.ss-pf-drop.open .ss-pf-drop-trigger { border-color: var(--gold); color: var(--text-primary); }
.ss-pf-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  min-width: 158px;
  z-index: 50;
  overflow: hidden;
}
.ss-pf-drop.open .ss-pf-drop-menu { display: block; }
.ss-pf-sw-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .45rem .75rem;
  font-size: .77rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background .15s;
  white-space: nowrap;
  font-family: 'Roboto', sans-serif;
}
.ss-pf-sw-btn i { font-size: .62rem; color: var(--text-muted); }
.ss-pf-sw-btn:hover { background: var(--gold-dim); color: var(--text-primary); }
.ss-pf-sw-btn.active { color: var(--gold); font-weight: 600; }
.ss-pf-sw-btn.active i { color: var(--gold); }
/* Client switcher dropdown items */
.ss-client-sw-btn {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .75rem;
  cursor: pointer;
  transition: background .15s;
  font-family: 'Roboto', sans-serif;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.ss-client-sw-btn:last-child { border-bottom: none; }
.ss-client-sw-btn:hover { background: var(--gold-dim); }
.ss-client-sw-btn.active { background: var(--gold-dim); }
.ss-csw-init {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-secondary); border: 1px solid var(--border);
  font-size: .63rem; font-weight: 700; color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: 'Roboto', sans-serif; letter-spacing: 0;
}
.ss-client-sw-btn.active .ss-csw-init { background: var(--gold-dim); color: var(--gold); border-color: rgba(59,130,246,.25); }
.ss-csw-info { flex: 1; min-width: 0; }
.ss-csw-name { font-size: .77rem; font-weight: 600; color: var(--text-primary); line-height: 1.25; }
.ss-csw-sub { font-size: .64rem; color: var(--text-muted); line-height: 1.2; margin-top: .08rem; }
.ss-csw-check { font-size: .6rem; color: var(--gold); flex-shrink: 0; visibility: hidden; }
.ss-client-sw-btn.active .ss-csw-check { visibility: visible; }

/* Allocation toggle (Sectors / Holdings) */
.ss-alloc-toggle { display:flex; background:var(--bg-secondary,#F3F4F6); border-radius:6px; padding:2px; gap:2px; }
.ss-alloc-btn { font-size:.58rem; font-family:'Roboto',sans-serif; font-weight:500; padding:.15rem .45rem; border:none; border-radius:4px; background:none; color:var(--text-muted); cursor:pointer; transition:var(--transition); line-height:1.4; white-space:nowrap; }
.ss-alloc-btn.active { background:var(--bg-card); color:var(--text-primary); box-shadow:0 1px 3px rgba(0,0,0,.08); }
.ss-holdings-grid { display:grid; grid-template-columns:1fr 1fr; gap:.14rem .3rem; margin-bottom:.4rem; }
.ss-holding-item { display:flex; align-items:center; gap:.22rem; font-size:.61rem; font-family:'Roboto',sans-serif; }
.ss-holding-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.ss-holding-ticker { font-weight:700; color:var(--text-primary); flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ss-holding-pct { color:var(--text-muted); white-space:nowrap; }

/* Holdings detail table (expanded panel) */
.ss-hld-table { display:flex; flex-direction:column; gap:0; margin-bottom:.35rem; max-height:220px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
.ss-hld-table::-webkit-scrollbar { width:3px; }
.ss-hld-table::-webkit-scrollbar-thumb { background:var(--border); border-radius:2px; }
.ss-hld-sector-group { }
.ss-hld-sector-hdr { display:flex; align-items:center; gap:.28rem; padding:.18rem .3rem .14rem; margin-top:.2rem; border-bottom:1px solid var(--border); cursor:pointer; user-select:none; border-radius:3px 3px 0 0; transition:background .12s; }
.ss-hld-sector-group:first-child .ss-hld-sector-hdr { margin-top:0; }
.ss-hld-sector-hdr:hover { background:var(--bg-secondary); }
.ss-hld-sector-dot { width:6px; height:6px; border-radius:2px; flex-shrink:0; }
.ss-hld-sector-name { font-size:.58rem; color:var(--text-muted); flex:1; }
.ss-hld-sector-meta { font-size:.58rem; color:var(--text-muted); white-space:nowrap; }
.ss-hld-chevron { font-size:.46rem; color:var(--text-muted); flex-shrink:0; transition:transform .2s ease; }
.ss-hld-sector-group.open .ss-hld-chevron { transform:rotate(90deg); }
.ss-hld-sector-body { display:none; }
.ss-hld-sector-group.open .ss-hld-sector-body { display:block; }
.ss-hld-row { display:flex; align-items:flex-start; gap:.3rem; padding:.14rem .15rem; border-radius:3px; cursor:default; transition:background .12s; }
.ss-hld-row:hover { background:var(--bg-secondary); }
.ss-hld-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; margin-top:.28rem; }
.ss-hld-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:.03rem; }
.ss-hld-top { display:flex; align-items:baseline; gap:.25rem; }
.ss-hld-ticker { font-size:.58rem; color:var(--text-muted); white-space:nowrap; }
.ss-hld-sector-group.open .ss-hld-ticker { font-weight: 700; }
.ss-hld-name { font-size:.58rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:110px; }
.ss-hld-meta { font-size:.58rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ss-hld-right { display:flex; flex-direction:column; align-items:flex-end; gap:.03rem; flex-shrink:0; }
.ss-hld-pl { font-size:.58rem; white-space:nowrap; }
.ss-hld-pl.pos { color:#34C759; }
.ss-hld-pl.neg { color:#FF3B30; }
.ss-hld-plpct { font-size:.58rem; white-space:nowrap; }
.ss-hld-plpct.pos { color:#34C759; }
.ss-hld-plpct.neg { color:#FF3B30; }
.ss-hld-wts { font-size:.58rem; color:var(--text-muted); white-space:nowrap; }

.screenshot-sidebar-icons { display: flex; flex-direction: column; gap: .35rem; }
.ss-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: .75rem;
  color: var(--text-muted); cursor: default;
  transition: var(--transition);
}
.ss-icon { cursor: pointer; }
.ss-icon:hover { background: var(--gold-dim); color: var(--text-secondary); }
.ss-icon.active { background: var(--gold-dim); color: var(--gold); }

/* Main content area */
.screenshot-main {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden;
}
.screenshot-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}
.screenshot-page-title { font-size: .85rem; font-weight: 700; color: var(--text-primary); display: block; }
.screenshot-page-sub   { font-size: .65rem; color: var(--text-muted); }
.screenshot-agent-badge {
  display: flex; align-items: center; gap: .4rem;
  font-size: .65rem; color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px; padding: .2rem .65rem;
}
.screenshot-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: #000;
}

/* KPI row */
.screenshot-kpi-row {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.screenshot-kpi {
  flex: 1; padding: .6rem 1rem;
  border-right: 1px solid var(--border);
}
.screenshot-kpi:last-child { border-right: none; }
.screenshot-kpi-label { font-size: .58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: .1rem; }
.screenshot-kpi-value { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
.screenshot-kpi-delta { font-size: .6rem; color: var(--text-muted); margin-top: .1rem; }
.screenshot-kpi-delta.pos { color: #34C759; }

/* Body row */
.screenshot-body-row {
  display: flex; gap: 0; flex: 1; overflow: hidden;
}

.screenshot-panel {
  border-right: 1px solid var(--border);
  padding: .65rem .8rem;
  overflow: hidden;
  transition: width .25s ease, min-width .25s ease;
}
.screenshot-panel:last-child { border-right: none; }
.screenshot-chart-panel { width: 200px; flex-shrink: 0; }

.screenshot-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .55rem;
  font-size: .65rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px;
}

/* Feed items */
.screenshot-feed-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .45rem .5rem;
  border-radius: 8px;
  margin-bottom: .3rem;
  border: 1px solid transparent;
  background: var(--bg-secondary);
}
.screenshot-feed-item.high { border-color: rgba(255,69,58,.18); }
.screenshot-feed-item.mid  { border-color: rgba(255,159,10,.18); }

.screenshot-priority-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.screenshot-priority-dot.high { background: #FF453A; box-shadow: 0 0 5px rgba(255,69,58,.5); }
.screenshot-priority-dot.mid  { background: #FF9F0A; box-shadow: 0 0 5px rgba(255,159,10,.5); }
.screenshot-priority-dot.low  { background: #34C759; }

.screenshot-feed-title { font-size: .68rem; font-weight: 600; color: var(--text-primary); }
.screenshot-feed-meta  { font-size: .6rem; color: var(--text-muted); margin-top: .05rem; }

.screenshot-action-btn {
  font-size: .6rem; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(59,130,246,.35);
  border-radius: 5px; padding: .18rem .45rem;
  white-space: nowrap; flex-shrink: 0; cursor: default;
}

/* Sparkline */
.screenshot-sparkline { width: 100%; height: 70px; display: block; }

/* Mini bars */
.screenshot-mini-bar {
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .3rem;
}
.screenshot-mini-label { font-size: .58rem; color: var(--text-muted); width: 58px; flex-shrink: 0; }
.screenshot-bar-track {
  flex: 1; height: 5px; border-radius: 3px;
  background: var(--bg-secondary);
}
.screenshot-bar-fill { height: 100%; border-radius: 3px; }
.screenshot-mini-pct { font-size: .58rem; color: var(--text-muted); width: 28px; text-align: right; flex-shrink: 0; }

/* Tab containers inside .screenshot-main */
.ss-tab        { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.ss-tab.active { display: flex; }

/* Portfolio panels — must mirror .ss-tab layout so body-row flex:1 still works */
.ss-pf-panel   { display: flex; flex-direction: column; flex: 1; overflow: hidden; }

/* Portfolio table rows */
.ss-portfolio-row {
  display: flex; align-items: center;
  padding: .3rem .5rem;
  font-size: .62rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.ss-portfolio-header {
  font-size: .56rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .7px;
  background: var(--bg-secondary);
}

/* Consumer Duty outcome rows */
.ss-cd-outcome {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .38rem .3rem;
  border-bottom: 1px solid var(--border);
}
.ss-cd-label { font-size: .63rem; font-weight: 600; color: var(--text-primary); margin-bottom: .05rem; }
.ss-cd-sub   { font-size: .57rem; color: var(--text-muted); }

/* Narrative report rows */
.ss-narrative-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .38rem .5rem;
  border-bottom: 1px solid var(--border);
}

/* Risk profile badge in client header */
.ss-risk-badge {
  display: inline-flex; align-items: center; gap: .28rem;
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .55px;
  padding: .13rem .45rem; border-radius: 4px;
  margin-top: .22rem; line-height: 1.4;
}

/* Client avatar in screenshot header */
.ss-client-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff;
}

/* Assessment + Recommendations panel — always flex column so sections scroll */
.ss-assessment-panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.ss-findings-scroll { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; padding-bottom: .1rem; }
.ss-findings-scroll::-webkit-scrollbar { width: 3px; }
.ss-findings-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.ss-recs-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; padding-bottom: .1rem; }
.ss-recs-scroll::-webkit-scrollbar { width: 3px; }
.ss-recs-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* AI assessment finding rows */
.ss-finding {
  display: flex; align-items: flex-start; gap: .4rem;
  padding: .22rem .35rem;
  border-radius: 6px;
  margin-bottom: .18rem;
  font-size: .6rem; line-height: 1.38; color: var(--text-secondary);
  border: 1px solid transparent;
}
.ss-finding.good { background: rgba(52,199,89,.07);  border-color: rgba(52,199,89,.18); }
.ss-finding.warn { background: rgba(255,159,10,.07); border-color: rgba(255,159,10,.18); }
.ss-finding.info { background: var(--gold-dim);      border-color: rgba(59,130,246,.18); }
.ss-finding i { margin-top: .1rem; font-size: .7rem; }
.ss-finding-label { font-weight: 700; color: var(--text-primary); }

/* AI recommendation rows */
.ss-rec {
  display: flex; align-items: flex-start; gap: .45rem;
  padding: .22rem .35rem;
  border-radius: 6px;
  margin-bottom: .18rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

/* ── PORTFOLIO VIEW TOGGLE (Overview / Holdings) ── */
.ss-pview-toggle { display:flex; background:var(--bg-secondary); border-radius:6px; padding:2px; gap:2px; }
.ss-pview-btn { font-size:.58rem; font-family:'Roboto',sans-serif; font-weight:500; padding:.15rem .5rem; border:none; border-radius:4px; background:none; color:var(--text-muted); cursor:pointer; transition:var(--transition); line-height:1.4; white-space:nowrap; }
.ss-pview-btn.active { background:var(--bg-card); color:var(--text-primary); box-shadow:0 1px 3px rgba(0,0,0,.08); }

/* Pview content containers */
.ss-pview-content { display:flex; flex-direction:column; flex:1; min-height:0; overflow:hidden; }

/* Client panel must be flex so screenshot-body-row height is bounded and scroll works */
.ss-client-panel { display:flex; flex-direction:column; flex:1; overflow:hidden; }

/* Holdings detail table (right-panel view 2) */
.ss-hld-detail-scroll { flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent; display:flex; flex-direction:column; align-items:center; }
.ss-hld-detail-scroll::-webkit-scrollbar { width:5px; }
.ss-hld-detail-scroll::-webkit-scrollbar-thumb { background:rgba(255,255,255,.22); border-radius:3px; }
.ss-hld-detail-scroll::-webkit-scrollbar-track { background:transparent; }
/* 8-col grid: ISIN | Tkr | Description | Qty | Price | GAIN/LOSS | GAIN/LOSS % | Sect.Wt */
.ss-hld-detail-cols,
.ss-hld-detail-row {
  display:grid;
  grid-template-columns: 95px 44px 130px 38px 54px 68px 60px 46px;
  gap:0 .35rem;
  align-items:center;
}
.ss-hld-detail-cols {
  padding:.2rem .5rem;
  font-size:.53rem; font-weight:700; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:.6px;
  position:sticky; top:0; background:var(--bg-card); z-index:1;
}
.ss-hld-detail-shdr {
  font-size:.6rem; font-weight:700; color:var(--text-secondary);
  padding:.26rem .5rem .18rem;
  background:var(--bg-secondary);
  border-bottom:1px solid var(--border);
  border-top:1px solid var(--border);
  display:flex; align-items:center; gap:.3rem;
  margin-top:.1rem; align-self:stretch;
}
.ss-hld-detail-shdr:first-of-type { margin-top:0; border-top:none; }
.ss-hld-detail-row {
  padding:.2rem .5rem;
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:background .12s;
}
.ss-hld-detail-row:hover { background:var(--bg-secondary); }
.ss-dhd-isin-col { font-size:.58rem; color:var(--text-muted); font-family:'Roboto Mono','Courier New',monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ss-dhd-ticker-col { font-size:.6rem; font-weight:700; color:var(--text-secondary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ss-dhd-name-col { font-size:.6rem; color:var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.ss-dhd-qty { font-size:.6rem; color:var(--text-muted); text-align:right; white-space:nowrap; }
.ss-dhd-price { font-size:.6rem; color:var(--text-secondary); text-align:right; white-space:nowrap; }
.ss-dhd-gl { font-size:.6rem; font-weight:600; text-align:right; white-space:nowrap; }
.ss-dhd-gl.pos { color:#34C759; }
.ss-dhd-gl.neg { color:#FF3B30; }
.ss-dhd-glpct { font-size:.55rem; text-align:right; white-space:nowrap; color:var(--text-muted); }
.ss-dhd-glpct.pos { color:#34C759; }
.ss-dhd-glpct.neg { color:#FF3B30; }
.ss-dhd-wt { font-size:.6rem; color:var(--text-muted); text-align:right; white-space:nowrap; }

/* Left sector panel — always-visible allocation + sparkline */
.ss-left-panel { display:flex; flex-direction:column; }
.ss-sector-donut-wrap { display:flex; justify-content:center; margin-bottom:.45rem; }

@media (max-width: 768px) {
  .screenshot-app { height: auto; flex-direction: column; }
  .screenshot-sidebar { display: none; }
  .screenshot-kpi-row { flex-wrap: wrap; }
  .screenshot-kpi { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .screenshot-body-row { flex-direction: column; }
  .screenshot-chart-panel { width: 100%; border-top: 1px solid var(--border); }
  .screenshot-sparkline { height: 50px; }
}

/* Bootstrap modal backdrop override */
.modal-backdrop { background: rgba(5,15,30,.85) !important; }
.modal-backdrop.show { opacity: 1 !important; }
