

:root {
  color-scheme: light dark;

  --bg: light-dark(#f5f7fb, #0a0d12);
  --bg-surface: light-dark(#ffffff, #10151b);
  --bg-card: light-dark(#ffffff, #161c23);
  --bg-card-high: light-dark(#eef1f8, #1c232c);
  --border: light-dark(rgba(59, 95, 217, 0.12), rgba(91, 126, 240, 0.10));
  --border-hover: light-dark(rgba(59, 95, 217, 0.40), rgba(91, 126, 240, 0.35));

  --danger: light-dark(#c40d0d, #ff5252);
  --emerald: light-dark(#3b5fd9, #5b7ef0);
  --emerald-dim: light-dark(#2c48ad, #6f89f5);
  --emerald-glow: light-dark(rgba(59, 95, 217, 0.15), rgba(91, 126, 240, 0.18));
  --emerald-glow2: light-dark(rgba(59, 95, 217, 0.08), rgba(91, 126, 240, 0.10));

  --text-primary: light-dark(#0a1a33, #e6ebf5);
  --text-muted: light-dark(#3d4d66, #93a3b8);
  --text-faint: light-dark(#6b7b90, #5c6f80);
  --btn-text: light-dark(#f8fbff, #0a1a33);

  /* Brand tokens — pulled directly from the PaisaGraph logo */
  --brand-blue: light-dark(#3b5fd9, #5b7ef0);
  --brand-blue-dim: light-dark(#2c48ad, #6f89f5);
  --brand-red: light-dark(#ee1111, #ff5252);
  --brand-red-dim: light-dark(#c40d0d, #d94040);
  --brand-green: light-dark(#2f7a4f, #4edea3);
  --brand-green-dim: light-dark(#1f5c39, #10b981);
  --brand-green-glow: light-dark(rgba(47, 122, 79, 0.15), rgba(78, 222, 163, 0.15));
  --brand-green-glow2: light-dark(rgba(47, 122, 79, 0.08), rgba(78, 222, 163, 0.08));

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-bs-theme="dark"] {
  color-scheme: dark;
}
html[data-bs-theme="light"] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* container */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  overflow: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--emerald-dim);
  border-radius: 99px;
}

/* ── SELECTION ── */
::selection {
  background: rgba(91, 126, 240, 0.25);
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.mono {
  font-family: var(--font-mono);
}

.text-emerald {
  color: var(--emerald) !important;
}

.text-muted-pg {
  color: var(--text-muted);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* Toggle btn for theme */
.toggle-slot {
  width: 60px;
  height: 32px;
  border: 2px solid light-dark(#e4e7ec, #374151);
  background: light-dark(#fff, #374151);
  box-shadow: 0 0 10px light-dark(#e4e7eca8, rgba(0, 0, 0, .35));
  transition: background-color .25s;
}

.toggle-checkbox:checked+.toggle-slot {
  background: #374151;
}

.toggle-button {
  top: 4px;
  left: 32px;
  width: 18px;
  height: 18px;
  background: light-dark(#ffeccf, #485367);
  box-shadow: inset 0 0 0 3px light-dark(#ffbb52, #fff);
  transition:
    transform .5s cubic-bezier(.26, 2, .46, .71),
    background-color .25s,
    box-shadow .25s;
}

.toggle-checkbox:checked+.toggle-slot .toggle-button {
  background: #485367;
  box-shadow: inset 0 0 0 3px #fff;
  transform: translateX(-25px);
}

.sun-icon-wrapper,
.moon-icon-wrapper {
  transition: opacity .15s,
    transform .5s cubic-bezier(.26, 2.5, .46, .71);
}

.sun-icon-wrapper {
  left: 6px;
}

.moon-icon-wrapper {
  opacity: 0;
  top: 1px;
  right: 6px;
}

.toggle-checkbox:checked+.toggle-slot .sun-icon-wrapper {
  opacity: 0;
  transform: translateX(4px);
}

.toggle-checkbox:checked+.toggle-slot .moon-icon-wrapper {
  opacity: 1;
  transform: translateX(-2px);
}

.sun-icon {
  color: #ffbb52;
  font-size: 18px;
}

.moon-icon {
  font-size: 15px;
}

/* select mode */
.pg-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.pg-mode-btn:hover,
.pg-mode-btn:focus {
  border-color: var(--border-hover);
  background: var(--emerald-glow2);
  color: var(--text-primary);
}
.pg-mode-icon { color: var(--emerald); }

.pg-mode-menu {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.pg-mode-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: var(--transition);
}
.pg-mode-menu .dropdown-item:hover,
.pg-mode-menu .dropdown-item:focus {
  background: var(--emerald-glow2);
  color: var(--emerald);
}
.pg-mode-menu .dropdown-item.is-active {
  color: var(--emerald);
  font-weight: 700;
  background: var(--emerald-glow);
}
/* to hide data audience elements */
[data-audience-only] { display: none; }

/* Ticker */
.pg-ticker-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: tickerScroll 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 11px;
  border-right: 1px solid var(--border);
}

.ticker-sym {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ticker-val {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.ticker-chg {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.pg-ticker-bar+.pg-navbar {
  top: 35px;
}

main {
  padding-top: 37px;
}

/* Hero visual mosaic */
.hero-mosaic {
  position: relative;
}

.hero-mosaic-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: light-dark(0 40px 120px rgba(0, 0, 0, 0.12), 0 0 80px rgba(59, 95, 217, 0.06),
      0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(91, 126, 240, 0.06));
}

.hero-mosaic-main img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.float-card-1 {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: color-mix(in srgb, var(--bg-surface) 95%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 180px;
  z-index: 2;
}

.float-card-2 {
  position: absolute;
  top: -20px;
  right: -24px;
  background: color-mix(in srgb, var(--bg-surface) 95%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(91, 126, 240, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 150px;
  z-index: 2;
}

/* Bento features */
.bento-large {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.bento-large:hover {
  border-color: var(--border-hover);
}

.bento-large .inner-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}

.bento-large .inner-img img {
  width: 100%;
  display: block;
  opacity: 0.55;
  transition: opacity 0.5s;
}

.bento-large:hover .inner-img img {
  opacity: 0.9;
}

.bento-small {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.why-choose-us .bento-small {
  background: var(--bg);
}

.bento-small:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.icon-box {
  width: 44px;
  height: 44px;
  background: rgba(91, 126, 240, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-box .material-symbols-outlined {
  color: var(--emerald);
  font-size: 22px;
}

/* Security bar */
.security-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.security-fill {
  width: 94%;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-dim), var(--emerald));
  border-radius: 99px;
}

/* Mini chart */
.mini-chart {
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom right, rgba(91, 126, 240, 0.05), transparent);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
}

/* Trust logos */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.trust-col {
  padding: 20px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-col:nth-child(3n) {
  border-right: none;
}

@media(min-width:768px) {
  .trust-col:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .trust-col:nth-child(6n) {
    border-right: none;
  }
}

/* ── NAVBAR ── */
.pg-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background: rgba(11,15,16,0.85); */
  background: var(--bg);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.pg-navbar.scrolled {
  /* background: rgba(11,15,16,0.97); */
  background: var(--bg-surface);
  box-shadow: light-dark(0 2px 40px rgba(0, 0, 0, 0.10), 0 2px 40px rgba(0, 0, 0, 0.4));
}

.navbar-brand-pg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--emerald) !important;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.navbar-brand-pg span {
  color: var(--text-primary);
}

.navbar-toggler {
  color: var(--text-primary)
}

.pg-navbar .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.pg-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--emerald);
  transition: var(--transition);
  border-radius: 2px;
}

.pg-navbar .nav-link:hover,
.pg-navbar .nav-link.active {
  color: var(--text-primary) !important;
}

.pg-navbar .nav-link:hover::after,
.pg-navbar .nav-link.active::after {
  left: 14px;
  right: 14px;
}

/* ── BUTTONS ── */
.btn-emerald {
  background: var(--emerald);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid #ffffff00;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 light-dark(rgba(59, 95, 217, 0), rgba(91, 126, 240, 0));
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-emerald:hover {
  background: #6f89f5;
  box-shadow: light-dark(0 0 32px rgba(59, 95, 217, 0.15), 0 0 32px rgba(91, 126, 240, 0.35));
  transform: translateY(-2px);
  color: #0a1a33;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--emerald-glow2);
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
}

.btn-white{
  background:var(--bg);
  color:var(--emerald);
  font-family:var(--font-body);
  font-weight:700;
  font-size:14px;
  padding:12px 28px;
  border-radius:var(--radius-md);
  border:none;
  cursor:pointer;
  transition:var(--transition);
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}

.btn-white:hover {
  transform: translateY(-3px);
}

.cta-eyebrow{
  color: light-dark( #e2ede8, #001f12);
}
.cta-heading{
  font-size: 1.8rem;
  color: light-dark( #e2ede8, #001f12);
  margin-bottom: 10px;
}
.cta-subheading{
  font-size: .95rem;
  color: light-dark( #e2ede8, #001f12);
  max-width: 460px;
}

/* ── CARDS ── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 126, 240, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: light-dark(0 20px 60px rgba(0, 0, 0, 0.10), 0 20px 60px rgba(0, 0, 0, 0.4)), 0 0 40px var(--emerald-glow2);
}

/* ── STAT BADGE ── */
.stat-badge {
  display: flex;
  flex-direction: column;
}

.stat-badge .val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--emerald);
  line-height: 1;
}

.stat-badge .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 3px;
}

/* ── DIVIDER ── */
.pg-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── SECTION SPACING ── */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── HERO ── */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(91, 126, 240, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(111, 137, 245, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}

.hero-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: light-dark(0 40px 120px rgba(0, 0, 0, 0.12), 0 40px 120px rgba(0, 0, 0, 0.6)), 0 0 80px var(--emerald-glow2);
}

.hero-image-frame img {
  width: 100%;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 13, 18, 0.8) 0%, transparent 50%);
}

.hero-float-card {
  position: absolute;
  background: rgba(22, 28, 35, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 160px;
}

/* who we are */
.about_img {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
}

.about_img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* ── TRUST LOGOS ── */
.trust-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  transition: var(--transition);
  text-transform: uppercase;
  padding: 12px 0;
}

.trust-logo:hover {
  color: var(--emerald);
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--emerald);
  opacity: 0.12;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--emerald-dim) 0%, var(--emerald) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* ── FOOTER ── */
.pg-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: -0.02em;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
  transition: var(--transition);
  display: block;
}

.footer-link:hover {
  color: var(--emerald);
  padding-left: 4px;
}

.footer-divider {
  border-color: var(--border);
  margin: 40px 0 24px;
}

.footer-email {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: var(--transition);
}

.footer-email:focus {
  border-color: var(--emerald);
}

.footer-email-btn {
  background: var(--emerald);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: var(--btn-text);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-email-btn:hover {
  background: #6f89f5;
}
.footer-social-icon{
    width:36px;height:36px;border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    background:var(--bg-card-high);
    color:var(--text-faint);
    font-size:16px;
    text-decoration:none;
    transition:background .2s ease,color .2s ease,transform .2s ease;
  }
  .footer-social-icon:hover{
    background:var(--emerald);
    color:var(--btn-text);
    transform:translateY(-2px);
  }
  .footer-amfi-line{
    font-size:12px;
    color:var(--text-faint);
    line-height:1.6;
    text-align:center;
  }
  .footer-amfi-line b{color:var(--text-muted);font-weight:600;}

  .footer-disclaimer{
    font-size:12px;
    color:var(--text-faint);
    line-height:1.7;
    padding:18px 0;
    border-top:1px solid var(--border);
    text-align:center;
  }
  .footer-disclaimer-toggle{
    color:var(--emerald);
    text-decoration:none;
    font-weight:600;
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    gap:2px;
    cursor: pointer;
  }
  .footer-disclaimer-toggle .disclaimer-caret{
    font-size:16px;
    transition:transform .25s ease;
  }
  .footer-disclaimer-toggle[aria-expanded="true"] .disclaimer-caret{
    transform:rotate(180deg);
  }
  .footer-disclaimer-more{
    margin-top:10px;
    padding-top:10px;
    border-top:1px dashed var(--border);
    text-align:center;
  }

/* ── INVESTMENT CARDS ── */
.invest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.invest-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: light-dark(0 24px 64px rgba(0, 0, 0, 0.11), 0 24px 64px rgba(0, 0, 0, 0.5)), 0 0 40px var(--emerald-glow2);
  color: inherit;
}

.invest-card .card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.invest-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.invest-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.invest-card .card-body-pg {
  padding: 24px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  /* padding: 140px 0 80px; */
  padding: 40px 0 80px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(91, 126, 240, 0.07) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

/* ── FUND CARD ── */
.fund-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.fund-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-high);
}

.fund-return {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--emerald);
}

.fund-tag {
  display: inline-block;
  background: var(--emerald-glow2);
  color: var(--emerald);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(91, 126, 240, 0.15);
}

/* ── RISK BAR ── */
.risk-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.risk-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-dim), var(--emerald));
  border-radius: 99px;
}

/* ── EXPERTISE TIMELINE ── */
.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  width: 1px;
  bottom: 0;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--bg-card);
  border: 2px solid var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
}

/* ── CALCULATOR ── */
.calc-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}

.calc-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow2);
}

.calc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.calc-result {
  background: linear-gradient(135deg, rgba(91, 126, 240, 0.08), rgba(91, 126, 240, 0.03));
  border: 1px solid rgba(91, 126, 240, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.calc-result .big-num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  color: var(--emerald);
  line-height: 1;
}

/* ── TEAM CARD ── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald);
  margin: 0 auto 16px;
  display: block;
}

/* ── RANGE SLIDER ── */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px var(--emerald-glow);
}

/* ── BADGE PILL ── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 126, 240, 0.08);
  border: 1px solid rgba(91, 126, 240, 0.15);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}

.badge-pill .dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--emerald);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 24px var(--emerald-glow);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #6f89f5;
  transform: translateY(-2px);
}

/* ── AOS-LIKE ANIMATIONS ── */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-anim="fade-left"] {
  transform: translateX(-24px);
}

[data-anim="fade-left"].in-view {
  transform: translateX(0);
}

[data-anim="fade-right"] {
  transform: translateX(24px);
}

[data-anim="fade-right"].in-view {
  transform: translateX(0);
}

[data-anim="scale"] {
  transform: scale(0.94);
}

[data-anim="scale"].in-view {
  transform: scale(1);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .cta-band {
    padding: 48px 28px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}