/* ============================================
   PaisaGraph — Design System
   Dark premium fintech aesthetic
   ============================================ */

:root {
  color-scheme: light dark;

  --bg:            light-dark(#f4f6f6, #0b0f10);
  --bg-surface:    light-dark(#ffffff, #101415);
  --bg-card:       light-dark(#ffffff, #161b1d);
  --bg-card-high:  light-dark(#edf1f0, #1d2327);
  --border:        light-dark(rgba(0,0,0,0.10), rgba(255,255,255,0.07));
  --border-hover:  light-dark(rgba(5,150,105,0.40), rgba(78,222,163,0.3));

  --danger:        light-dark(#b10505, #f87171);
  --emerald:       light-dark(#059669, #4edea3);
  --emerald-dim:   light-dark(#047857, #10b981);
  --emerald-glow:  light-dark(rgba(5,150,105,0.15), rgba(78,222,163,0.15));
  --emerald-glow2: light-dark(rgba(5,150,105,0.08), rgba(78,222,163,0.08));

  --text-primary:  light-dark(#001f12, #e4e8eb);
  --text-muted:    light-dark(#3d4d55, #8a9ba8);
  --text-faint:    light-dark(#6b7b83, #4f6270);
  --btn-text: light-dark( #f8fffc, #001f12);;

  --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);
}

*, *::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(78,222,163,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);
}

/* 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(5,150,105,0.06),
  0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(78,222,163,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(78,222,163,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(78,222,163,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(78,222,163,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;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 light-dark(rgba(5,150,105,0), rgba(78,222,163,0));
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-emerald:hover {
  background: #5beab0;
  box-shadow: light-dark(0 0 32px rgba(5,150,105,0.15), 0 0 32px rgba(78,222,163,0.35));
  transform: translateY(-2px);
  color: #001f12;
}
.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);
}

/* ── 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(78,222,163,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(78,222,163,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(16,185,129,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(11,15,16,0.8) 0%, transparent 50%);
}
.hero-float-card {
  position: absolute;
  background: rgba(22,27,29,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: #5beab0; }

/* ── 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(78,222,163,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(78,222,163,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(78,222,163,0.08), rgba(78,222,163,0.03));
  border: 1px solid rgba(78,222,163,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(78,222,163,0.08);
  border: 1px solid rgba(78,222,163,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: #5beab0; 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; }
}
