@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
/* ═══════════════════════════════════════════
   DESIGN SYSTEM — LUXURY DARK FINANCE THEME
   ═══════════════════════════════════════════ */
:root {
  --navy-950: #0a0e14; /* Deep charcoal for background */
  --navy-900: #141b24;
  --navy-800: #1e262f;
  --navy-700: #2c3641;
  --navy-600: #3b4754;
  --navy-500: #576574; /* Matches the "FUNDS" charcoal */
  --gold-500: #f58220; /* Brand Orange from "TARA" */
  --gold-400: #fb923c;
  --gold-300: #fdba74;
  --gold-200: #ffedd5;
  --gold-glow: rgba(245, 130, 32, 0.15);
  --teal-500: #388e3c; /* Brand Green from currency icons */
  --teal-400: #4caf50;
  --red-500: #ef4444;
  --green-500: #4caf50;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(245, 130, 32, 0.12);
  --border-bright: rgba(245, 130, 32, 0.3);
  --card-bg: rgba(10, 14, 20, 0.8);
  --card-hover: rgba(20, 27, 36, 0.95);
  --glass: rgba(255, 255, 255, 0.03);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: "Saira", sans-serif;
  --font-body: "Nunito", sans-serif;;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 40px rgba(245, 130, 32, 0.12);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

body {
  /* Matching the logo's charcoal text for a premium slate finish */
  background-color: var(--navy-950);
  
  /* Modern professional touch: a subtle mesh gradient 
     This prevents the background from looking flat and adds "depth" */
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 130, 32, 0.05) 0px, transparent 50%), 
    radial-gradient(at 100% 0%, rgba(56, 142, 60, 0.05) 0px, transparent 50%);
  background-attachment: fixed;

  color: var(--text-primary);
  font-family: var(--font-body);
  
  /* Modern typography settings */
  font-weight: 400;
  line-height: 1.7; /* Increased for better readability */
  letter-spacing: -0.01em; /* Tighter letter spacing for a premium look */
  
  /* Smoothing for modern browsers */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  overflow-x: hidden;
  margin: 0;
}

/* Custom Selection Color using the Logo Orange */
::selection {
  background: var(--gold-500);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 3px; }

/* ═══ GRID NOISE BACKGROUND ═══ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}
a{text-decoration:none !important;}
/* ═══ TYPOGRAPHY ═══ */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }
p { color: var(--text-secondary); }

.text-gold { color: var(--gold-400); }
.text-teal { color: var(--teal-400); }
.text-green { color: var(--green-500); }
.text-red { color: var(--red-500); }
.text-muted { color: var(--text-muted); }

/* ═══ LAYOUT ═══ */
.container {    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;}
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); border: none; text-decoration: none;
  letter-spacing: 0.02em;
}
.ins-footer .btn-primary {width:150px !important;}
.btn-primary {
    
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent; border: 1px solid var(--border-bright);
  color: var(--gold-400);
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold-400); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-bright); color: var(--text-primary); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-teal {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: #fff; font-weight: 600;
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.35); }

/* ═══ CARDS ═══ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0; transition: var(--transition);
}
.card:hover::before { opacity: 0.6; }

/* ═══ BADGES ═══ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-400); border: 1px solid rgba(201,168,76,0.25); }
.badge-teal { background: rgba(13,148,136,0.15); color: var(--teal-400); border: 1px solid rgba(13,148,136,0.25); }
.badge-green { background: rgba(34,197,94,0.12); color: var(--green-500); border: 1px solid rgba(34,197,94,0.2); }
.badge-red { background: rgba(239,68,68,0.12); color: var(--red-500); border: 1px solid rgba(239,68,68,0.2); }

/* ═══ SECTION LABELS ═══ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  color: var(--gold-400); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold-400);
}

/* ═══ DIVIDERS ═══ */
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ═══ INPUTS ═══ */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; color: var(--text-secondary); }
.input-group input, .input-group select, .input-group textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(9,20,40,0.8); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: var(--transition); outline: none;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--gold-400); box-shadow: 0 0 0 3px var(--gold-glow);
}
.input-group textarea { resize: vertical; min-height: 120px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--navy-600); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gold-500); cursor: pointer;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}

/* ═══ TABS ═══ */
.tabs { display: flex; gap: 4px; background: rgba(9,20,40,0.6); border-radius: var(--radius-md); padding: 4px; border: 1px solid var(--border); }
.tab {
  flex: 1; padding: 10px 16px; border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); text-align: center; color: var(--text-secondary);
  border: none; background: transparent; font-family: var(--font-body);
}
.tab.active { background: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.tab:hover:not(.active) { color: var(--text-primary); }

/* ═══ PROGRESS / RISK METER ═══ */
.risk-bar { display: flex; gap: 4px; margin: 8px 0; }
.risk-segment { height: 6px; flex: 1; border-radius: 3px; background: var(--navy-600); }
.risk-segment.low.active { background: var(--green-500); }
.risk-segment.medium.active { background: #f59e0b; }
.risk-segment.high.active { background: var(--red-500); }

/* ═══ STAT DISPLAY ═══ */
.stat-value {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--text-primary); line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* ═══ PAGES ═══ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════
   HEADER
   ═══════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 0;
  transition: var(--transition);
}
.header-inner {
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
  margin: 0 auto;
  height: 85px;
  
  /* Deep Obsidian Glassmorphism */
  background: linear-gradient(
    180deg, 
    rgba(3, 7, 18, 0.95) 0%, 
    rgba(3, 7, 18, 0.85) 100%
  );
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  
  /* Creative Gold-Accent Border */
  border-bottom: 1px solid rgba(255, 213, 0, 0.15);
  
  /* Shadow for Depth */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Smooth Performance */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1000;
}

/* Scroll State (Add via JavaScript) */
.header-inner.scrolled {
  height: 65px;
  padding: 10px 40px;
  background: rgba(3, 7, 18, 0.98);
  border-bottom: 1px solid rgba(255, 213, 0, 0.4); /* Brighter gold on scroll */
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

/* Eye-Catching Neon Top Glow */
.header-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd500, transparent);
  box-shadow: 0 0 15px #ffd500;
  opacity: 0.6;
}
.header.scrolled .header-inner {
  padding: 12px 40px;
  background: rgba(3,7,18,0.97);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--text-primary); text-decoration: none; cursor: pointer;
}
.logo img{width:229px;}
.logo-mark {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy-900);
}

/* --- Global Header Container --- */
.header-full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px; /* Taller for a more premium feel */
  padding: 0 30px;
  margin: 0 auto;
}

.logo img { height: 45px; width: auto; transition: 0.3s; }

/* --- Creative Desktop "Island" Navigation --- */
.nav-island {
  background: var(--navy-900); /* Use a very light grey/white var */
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--border);
  display: flex;
  position: relative;
}

.nav-links-container {
  display: flex;
  position: relative;
  z-index: 1;
}

.nav-item {
  position: relative;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.nav-item:hover { color: var(--gold-500); }
.nav-item.active { color: var(--gold-500); }

/* The Hover Effect: Interactive Pill */
.nav-pill-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 80px; /* Adjusted via JS or set to active item width */
  background: var(--gold-glow);
  border-radius: 100px;
  border: 1px solid var(--border-bright);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0; /* Hidden until first hover/active */
}

/* Show pill for active state or when parent is hovered */
.nav-links-container:hover .nav-pill-bg,
.nav-item.active ~ .nav-pill-bg {
  opacity: 1;
}

/* --- Action Buttons --- */
.header-actions { display: flex; align-items: center; gap: 24px; }

.link-login {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.btn-invest-glow {
  padding: 8px 6px;
  font-size:15px;
  background: var(--gold-500);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 20px var(--gold-glow);
  transition: all 0.3s ease;
}

.btn-invest-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(245, 130, 32, 0.4);
}

/* --- Modern Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span { height: 2px; background: var(--text-primary); border-radius: 4px; transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6); }
.hamburger span:nth-child(1) { width: 26px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 26px; }

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Mobile Navigation --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  clip-path: circle(0% at 92% 5%);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.mobile-nav.open { clip-path: circle(150% at 92% 5%); pointer-events: auto; cursor: pointer; }

.mobile-nav-inner { cursor: default; width: 100%; max-width: 600px; margin: 0 auto; }

.mobile-nav-item {
 display: block;
    padding: 0px 0;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgb(245 130 32 / 85%);
  transform: translateY(40px);
  opacity: 0;
  transition: 0.5s ease;
}

.mobile-nav.open .mobile-nav-item { transform: translateY(0); opacity: 1; }
.mobile-nav-item:hover { color: var(--gold-500); padding-left: 25px; }

.mobile-cta-wrap { margin-top: 20px; opacity: 0; transition: 0.5s ease 0.6s; }
.mobile-nav.open .mobile-cta-wrap { opacity: 1; }

.m-btn-primary {
  display: block;
  background: var(--gold-500);
  color: #fff;
      padding: 10px;
    margin: 14px auto;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .nav-island, .link-login { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 63px; }
}

/* ═══════════════════════════
   HOME PAGE
   ═══════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--navy-950);
  /* Modern Mesh Gradient using Logo Colors */
  background-image: 
    /* Top Right - Subtle Brand Green Glow */
    radial-gradient(ellipse 70% 60% at 80% 10%, rgba(56, 142, 60, 0.15) 0%, transparent 80%),
    /* Center Left - Primary Brand Orange Glow */
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(245, 130, 32, 0.12) 0%, transparent 70%),
    /* Bottom Right - Deep Navy Depth */
    radial-gradient(circle at 90% 90%, var(--navy-800) 0%, transparent 50%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Subtle glass texture / noise to make it look premium */
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.03;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 140%;
  height: 140%;
  /* High-end "Aura" effect that matches the orange-glow instruction */
  background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  animation: drift 20s infinite alternate linear;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-5%, 5%); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  opacity: 0.3;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border-bright);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold-400);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 { margin-bottom: 24px;font-size:3.5rem; }
.hero h1 span { color: var(--gold-400); }

.hero-desc { font-size: 1.1rem; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex; gap: 40px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-item { }
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text-primary);
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* Floating cards on hero */
.hero-visual {
  position: absolute;     right: 60px;
    top: 20%; transform: translateY(-50%);
  width: 420px;
}
.float-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(20px);
  margin-bottom: 16px;
}
.float-card-title { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-mono); }



.about-section {
  padding: 120px 0;
  background-color: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Content Styling */
.about-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 90%;
}

/* Mission Box */
.mission-statement {
  display: flex;
  gap: 20px;
  background: var(--navy-900);
  padding: 25px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold-500);
  margin-bottom: 40px;
}

.mission-icon {
  font-size: 24px;
  color: var(--gold-500);
}

.mission-text h5 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* Visual Stats Grid (Bento Style) */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-card {
  background: var(--gold-500);
  padding: 40px;
  border-radius: var(--radius-xl);
  color: white;
  text-align: center;
  box-shadow: 0 20px 40px rgba(245, 130, 32, 0.2);
}

.exp-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.stats-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.stat-box i {
  font-size: 20px;
  margin-bottom: 15px;
  display: block;
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Glow Variations using Logo Colors */
.teal-glow i { color: var(--teal-500); }
.orange-glow i { color: var(--gold-500); }
.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  background: var(--card-hover);
}

/* Primary Button */
.btn-primary-glow {
  padding: 16px 35px;
  background: var(--gold-500);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(245, 130, 32, 0.2);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(245, 130, 32, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
   .sipcal{display:grid;grid-template-columns:1fr !important;}
   .tf-term-wrapper{padding:10px 0px;}
  .about-title { font-size: 2.5rem; }
}






/* Trust bar */
.trust-bar {
  /* Using the updated deep charcoal from the logo text */
  background: var(--navy-950); 
  
  /* Adding a slight transparency and blur for a modern "Glass" feel */
  background: rgba(15, 23, 42, 0.7); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Borders using the brand orange glow */
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
  
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

/* Optional: Add a very thin top highlight in brand orange for extra polish */
.trust-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.5;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.trust-icon i {
  font-size: 24px;
  /* Alternating between brand orange and green */
  color: var(--gold-500); 
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* Optional: Make every second icon green to match the logo balance */
.trust-item:nth-child(even) .trust-icon i {
  color: var(--teal-500);
}

.trust-text h5 {
  color: var(--text-primary);
  font-family: var(--font-body);
  margin: 0 0 4px 0;
  font-size: 16px;
}

.trust-text p {
  color: var(--text-secondary);
  font-family: var(--font-body);
  margin: 0;
  font-size: 13px;
}
.section-sm {
  /* Matching the logo's dark charcoal text */
  background-color: var(--navy-950);
  
  /* Adding a subtle depth gradient */
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(245, 130, 32, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(56, 142, 60, 0.03) 0%, transparent 50%);
    
  padding: 60px 0;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Optional: Adding a light noise texture for a premium industrial feel */
.section-sm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3仿真%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}
/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.quick-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

/* Creative Hover State */
.quick-action:hover {
  background: var(--card-hover);
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 10px 20px rgba(0,0,0,0.2);
}

/* Icon Styling */
.qa-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 22px;
  transition: var(--transition);
}

/* Orange/Gold Theme (Logo Primary) */
.gold-glow {
  background: rgba(245, 130, 32, 0.1);
  color: var(--gold-500);
  box-shadow: 0 0 15px rgba(245, 130, 32, 0.1);
}

/* Teal/Green Theme (Logo Secondary) */
.teal-glow {
  background: rgba(56, 142, 60, 0.1);
  color: var(--teal-500);
  box-shadow: 0 0 15px rgba(56, 142, 60, 0.1);
}

/* Triple Glow for the search action */
.orange-glow {
  background: rgba(245, 130, 32, 0.1);
  color: var(--gold-400);
}

.qa-text h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  margin: 0 0 4px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.qa-text .text-muted {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Decorative Arrow */
.qa-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.quick-action:hover .qa-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-500);
}

/* Glass Highlight Effect */
.quick-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.quick-action:hover::after {
  left: 100%;
}

/* Fund cards */
.fund-card {
  cursor: pointer;
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Eye-catching Glass Effect on Hover */
.fund-card:hover {
  background: var(--card-hover);
  border-color: var(--border-bright);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.fund-card-header {
  display: flex;
  align-items: center; /* Better alignment for professional look */
  justify-content: space-between;
  margin-bottom: 20px;
}

.fund-icon {
  width: 52px; /* Slightly larger for modern presence */
  height: 52px;
  border-radius: var(--radius-md);
  /* Using the Brand Orange from Logo */
  background: linear-gradient(135deg, var(--gold-500), #fb923c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff; /* White looks sharper on the orange gradient */
  box-shadow: 0 4px 15px var(--gold-glow);
}

.fund-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.fund-category {
  font-size: 0.8rem;
  color: var(--text-secondary); /* Increased readability */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fund-returns {
  display: grid; /* Grid is more modern and aligned than flex-gap */
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.return-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.return-item:last-child {
  border-right: none;
}

.return-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
}

/* Green from Logo for Positive Returns */
.return-val.pos {
  color: var(--green-500);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.return-val.neg {
  color: var(--red-500);
}

.return-period {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Creative Background Accent */
.fund-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: var(--gold-glow);
  filter: blur(50px);
  border-radius: 50%;
  transition: var(--transition);
  opacity: 0;
}

.fund-card:hover::before {
  opacity: 1;
  transform: scale(3);
}

/* Steps */
/* Section Container */
/* Section Container - Bright and Attractive */
.how-it-works {
  padding: 100px 0;
  /* Using the lightest navy var as a white base */
  background-color: var(--navy-950); 
  /* Creative Mesh Gradient using Logo Orange and Green */
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 130, 32, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 142, 60, 0.06) 0px, transparent 50%);
  position: relative;
  overflow: hidden;
}

/* Header Styling */
.header-group {
  text-align: center;
  margin-bottom: 80px;
}

.badge-label {
  display: inline-block;
  padding: 6px 20px;
  /* Using light navy for a subtle tag background */
  background: var(--navy-900); 
  color: var(--gold-500);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-display);
  /* Primary text now pulls from the dark charcoal variable */
  color: var(--text-primary); 
  margin: 0;
  font-weight: 800;
}

.accent-orange {
  color: var(--gold-500);
  /* Subtle glow for light mode */
  text-shadow: 0 0 10px rgba(245, 130, 32, 0.1);
}

/* Steps Layout */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  position: relative;
  /* White glass effect */
  background: var(--card-bg); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 45px 35px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  z-index: 1;
  box-shadow: var(--shadow-card);
}

/* Creative Featured State */
.step-card.featured {
  background: var(--card-hover);
  border-color: var(--border-bright);
  transform: translateY(-15px);
  /* Lighter, airy shadow for the bright theme */
  box-shadow: 0 20px 40px rgba(10, 14, 20, 0.06); 
}

.step-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(245, 130, 32, 0.1);
}

/* Typography & Visuals */
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 25px;
  /* Soft grey outline for a clean look */
  color: transparent;
  -webkit-text-stroke: 1px var(--navy-700); 
  opacity: 0.5;
  transition: var(--transition);
}

.step-card:hover .step-num {
  color: var(--gold-500);
  opacity: 1;
  -webkit-text-stroke: 1px var(--gold-500);
  text-shadow: 0 0 20px var(--gold-glow);
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.step-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Connecting Line (Desktop Only) */
@media (min-width: 992px) {
    
  .glow-line {
    position: absolute;
    top: 30px;
    left: 100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border-bright), transparent);
    z-index: -1;
    opacity: 0.3;
  }
}

/* Responsive Handling */
@media (max-width: 991px) {
    .logo img {
    width: 109px;
    height:100%;
}
  .steps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-card.featured {
    transform: none;
  }
}

/* Testimonials */
.testimonial-card { position: relative; }
.testimonial-card::before {
  content: '"'; font-family: var(--font-display); font-size: 5rem; line-height: 0.5;
  color: var(--gold-500); opacity: 0.2; position: absolute; top: 20px; left: 24px;
}
.testimonial-text { font-size: 1rem; color: var(--text-secondary); font-style: italic; margin-bottom: 20px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy-900); font-size: 0.9rem;
}
.author-name { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }
.author-meta { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: var(--gold-400); font-size: 0.8rem; margin-bottom: 4px; }


.intelligence-section {
  padding: 80px 0;
  background-color: var(--navy-950);
  background-image: radial-gradient(at 100% 0%, var(--gold-glow) 0px, transparent 40%);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

/* Modern Button */
.btn-modern-outline {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modern-outline:hover {
  border-color: var(--gold-500);
  background: var(--gold-glow);
  transform: translateX(5px);
}

/* Grid Layout */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card Styling */
.insight-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.insight-card:hover {
  background: var(--card-hover);
  border-color: var(--gold-500);
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
}

/* Badges */
.insight-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.teal-badge { background: rgba(56, 142, 60, 0.1); color: var(--teal-500); }
.gold-badge { background: var(--gold-glow); color: var(--gold-500); }

/* Typography */
.insight-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: var(--transition);
}

.insight-card:hover .insight-title {
  color: var(--gold-500);
}

.insight-excerpt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Footer & Meta */
.insight-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.insight-meta {
  display: flex;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Featured Card Highlight */
.featured-card {
  background: linear-gradient(to bottom right, var(--card-bg), rgba(245, 130, 32, 0.03));
  border-color: var(--border-bright);
}

/* Responsive */
@media (max-width: 992px) {
  .insights-grid { grid-template-columns: 1fr; }
  .flex-between { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Insights 
.insight-card .insight-tag { margin-bottom: 12px; }
.insight-title { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.insight-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 12px; align-items: center; }
.insight-meta .dot-sep::before { content: '·'; margin-right: 12px; }*/

/* ═══════════════════════════
   MUTUAL FUNDS PAGE
   ═══════════════════════════ */
.page-hero {
  padding: 140px 0 60px; position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(22,48,88,0.5) 0%, transparent 70%);
}
.page-hero h1 { margin-bottom: 16px; }

.funds-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }

.sidebar {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; height: fit-content;
  position: sticky; top: 90px;
}
.sidebar-title { font-size: 0.8rem; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.filter-group { margin-bottom: 28px; }
.filter-group h5 { font-size: 0.88rem; color: var(--text-primary); margin-bottom: 12px; }
.filter-option {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
  font-size: 0.85rem; color: var(--text-secondary);
}
.filter-option:hover { background: var(--gold-glow); color: var(--text-primary); }
.filter-option.selected { background: var(--gold-glow); color: var(--gold-400); }
.filter-check { width: 16px; height: 16px; border: 1px solid var(--border-bright); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; }
.filter-option.selected .filter-check { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

.funds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.fund-detail-card { cursor: pointer; }
.fund-detail-card .fund-returns-row {
  display: flex; gap: 0; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); margin: 16px 0;
}
.fund-returns-row{    display: flex;
    justify-content: space-evenly;
    gap: 10px;}
.fund-returns-row .return-cell {
  flex: 1; text-align: center; padding: 12px;
  border-right: 1px solid var(--border);
}
.fund-returns-row .return-cell:last-child { border-right: none; }
.fund-returns-row .return-cell .rv { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; }
.fund-returns-row .return-cell .rp { font-size: 0.7rem; color: var(--text-muted); }

/* Fund Detail Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(3,7,18,0.85); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy-800); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 40px; max-width: 700px; width: 100%;
  max-height: 90vh; overflow-y: auto;
}
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; background: var(--glass);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-secondary); font-size: 1.2rem; transition: var(--transition);
}
.modal-close:hover { background: var(--gold-glow); color: var(--gold-400); }

/* Mini Chart */
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 60px; margin: 16px 0; }
.mini-bar {
  flex: 1; border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--teal-400), rgba(13,148,136,0.3));
  transition: var(--transition);
}
.mini-bar:hover { background: linear-gradient(180deg, var(--gold-400), rgba(201,168,76,0.3)); }

/* Pie chart (CSS only) */
.pie-chart {
  width: 80px; height: 80px; border-radius: 50%;
  background: conic-gradient(var(--teal-500) 0deg 165deg, var(--gold-500) 165deg 252deg, #3b82f6 252deg 306deg, #8b5cf6 306deg 360deg);
  margin-right: 20px; flex-shrink: 0;
}
.legend-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.82rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ═══════════════════════════
   PRODUCTS PAGE
   ═══════════════════════════ */
.product-tabs { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.product-tab {
  padding: 10px 24px; border-radius: 100px;
  font-size: 0.88rem; cursor: pointer; transition: var(--transition);
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text-secondary); font-family: var(--font-body);
}
.product-tab:hover { border-color: var(--border-bright); color: var(--text-primary); }
.product-tab.active { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-900); border-color: transparent; font-weight: 600; }

.product-content { display: none; }
.product-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.product-features { display: grid; gap: 12px; margin: 24px 0; }
.feature-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-md); }
.feature-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--gold-glow); border: 1px solid var(--border-bright); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.feature-text h6 { font-size: 0.88rem; color: var(--text-primary); margin-bottom: 2px; }
.feature-text p { font-size: 0.8rem; margin: 0; }

/* ═══════════════════════════
   CALCULATORS PAGE
   ═══════════════════════════ */
.calc-tabs { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.calc-tab {
  padding: 10px 24px; border-radius: 100px;
  font-size: 0.88rem; cursor: pointer; transition: var(--transition);
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text-secondary); font-family: var(--font-body);
}
.calc-tab.active { background: linear-gradient(135deg, var(--teal-500), var(--teal-400)); color: #fff; border-color: transparent; font-weight: 600; }
.calc-tab:hover:not(.active) { border-color: var(--border-bright); color: var(--text-primary); }

.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.calc-inputs { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.calc-result { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }

.calc-content { display: none; }
.calc-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.result-highlight {
  text-align: center; padding: 32px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(13,148,136,0.05));
  border: 1px solid var(--border-bright); border-radius: var(--radius-lg); margin-bottom: 24px;
}
.result-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold-400); }
.result-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

.result-breakdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.result-item { padding: 16px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-md); text-align: center; }
.result-item .val { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }
.result-item .lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* Bar chart CSS */
.bar-chart { display: flex; gap: 8px; align-items: flex-end; height: 140px; margin: 20px 0; padding: 0 8px; }
.bar-group { display: flex; gap: 2px; align-items: flex-end; flex: 1; }
.bar-seg { width: 100%; border-radius: 3px 3px 0 0; min-height: 4px; transition: var(--transition); }
.bar-seg:hover { opacity: 0.8; }
.bar-invested { background: rgba(201,168,76,0.5); }
.bar-returns { background: linear-gradient(180deg, var(--teal-400), rgba(13,148,136,0.5)); }

/* ═══════════════════════════
   RESEARCH PAGE
   ═══════════════════════════ */
.research-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.article-list { display: grid; gap: 24px; }
.article-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.article-image {
  width: 120px; height: 80px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.article-content h4 { font-size: 1.05rem; margin-bottom: 8px; cursor: pointer; }
.article-content h4:hover { color: var(--gold-400); }
.article-excerpt { font-size: 0.85rem; margin-bottom: 12px; }

.market-widget { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.market-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.market-row:last-child { border-bottom: none; }
.market-name { font-size: 0.88rem; color: var(--text-primary); }
.market-val { font-family: var(--font-mono); font-size: 0.9rem; }
.market-chg { font-family: var(--font-mono); font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; }
.market-chg.up { background: rgba(34,197,94,0.12); color: var(--green-500); }
.market-chg.down { background: rgba(239,68,68,0.12); color: var(--red-500); }

/* ═══════════════════════════
   ABOUT PAGE
   ═══════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy-900);
  border: 3px solid var(--border-bright);
}
.team-name { font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.team-role { font-size: 0.78rem; color: var(--gold-400); margin-bottom: 8px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; }
.value-icon { font-size: 2rem; margin-bottom: 16px; }

/* ═══════════════════════════
   CONTACT PAGE
   ═══════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-items { display: grid; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--gold-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-text h5 { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 4px; }
.contact-info-text p { font-size: 0.9rem; color: var(--text-primary); margin: 0; }

.contact-form-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; }

.whatsapp-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: var(--radius-md);
  background: #25D366; color: #fff; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); font-family: var(--font-body); font-size: 0.9rem;
}
.whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); }

/* ═══════════════════════════
   AUTH PAGES (Login/Signup)
   ═══════════════════════════ */
/* 1. AUTH PAGE LAYOUT
============================================================ */
.auth-page {
    display: flex;
    min-height: 100vh;
    padding:91px 0px 0;
    background: #080808;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Left Panel: Branding & Benefits */
.auth-left {
    flex: 1.2;
    padding: 80px;
    background: radial-gradient(circle at top left, #1a1a1a, #080808);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
}

.auth-logo { margin-bottom: 60px; }
.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    color: #fff;
}
.logo-mark {
    background: #d4af37;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.auth-tagline { 
    font-size: 0.85rem; 
    color: #d4af37; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-top: 8px;
}

.auth-left h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 500px;
}

.auth-benefits { display: grid; gap: 24px; }
.auth-benefit { display: flex; gap: 16px; align-items: flex-start; }
.auth-benefit-icon {
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.auth-benefit p { color: #a1a1aa; font-size: 0.95rem; margin: 0; line-height: 1.5; }

/* Right Panel: Form Area */
.auth-right {
    flex: 1;
    background: #0c0c0c;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* 2. FORMS & INPUTS (Visibility Fix)
============================================================ */
.auth-step-content {
    animation: fadeIn 0.5s ease-out;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.auth-form-title { font-size: 1.8rem; margin-bottom: 8px; }
.auth-form-sub { color: #666; margin-bottom: 32px; font-size: 0.9rem; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: #ffffff !important; /* Forces text to show white */
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

/* Fix for date/tel/email visibility */
.input-group input:focus {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.input-group input::placeholder { color: rgba(255, 255, 255, 0.2); }

/* 3. STEPPER & PROGRESS
============================================================ */
.stepper-container {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.stepper-bar {
    flex: 1;
    height: 4px;
    background: #222;
    border-radius: 10px;
    transition: background 0.4s ease;
}

.stepper-bar.active { background: #d4af37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }


 /* ── Partner Section Enhancements ── */
    .tf-about-container {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
        align-items: center;
        padding: 80px 0;
    }

    .tf-partner-card {
        background: linear-gradient(145deg, #141b24 0%, #1e262f 100%);
        border: 1px solid #2c3641;
        border-radius: 40px;
        padding: 40px;
        position: relative;
        overflow: hidden;
    }

    .tf-partner-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .tf-partner-item {
        background: rgba(10, 14, 20, 0.6);
        border: 1px solid rgba(245, 130, 32, 0.15);
        padding: 16px;
        border-radius: 16px;
        color: #ffedd5;
        font-weight: 700;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 15px;
        transition: 0.3s;
    }

    .tf-partner-item:hover {
        border-color: #f58220;
        background: rgba(245, 130, 32, 0.05);
        transform: translateX(10px);
    }

    .tf-partner-dot {
        width: 8px;
        height: 8px;
        background: #f58220;
        border-radius: 2px;
        transform: rotate(45deg);
    }

    .tf-lead-partner {
        background: linear-gradient(to right, rgba(245, 130, 32, 0.1), transparent);
        border-left: 4px solid #f58220;
        margin-bottom: 20px;
    }

    @media (max-width: 992px) {
        .tf-about-container { grid-template-columns: 1fr; }
    }
/* 4. BUTTONS & ACTIONS
============================================================ */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f9df91, #d4af37);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-back {
    background: none;
    border: none;
    color: #666;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.btn-back:hover { color: #fff; }

/* 5. COMPONENTS (Options, Status, Badges)
============================================================ */
.goal-option {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.goal-option:hover { border-color: #d4af37; background: rgba(212, 175, 55, 0.03); }

.info-notice {
    padding: 16px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    color: #c5a028;
    display: flex;
    gap: 12px;
}

.status-card { background: #111; border: 1px solid #222; border-radius: 16px; padding: 20px; margin-bottom: 30px; }
.status-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; }
.border-v { border-top: 1px solid #222; border-bottom: 1px solid #222; margin: 5px 0; }

.badge-green { color: #10b981; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.badge-gold { color: #d4af37; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }

/* 6. UTILITIES & ANIMATIONS
============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uppercase { text-transform: uppercase; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 7. RESPONSIVE (MOBILE)
============================================================ */
@media (max-width: 1024px) {
    .auth-left { padding: 40px; }
}

@media (max-width: 850px) {
    .auth-page { flex-direction: column; }
    .auth-left { border-right: none; border-bottom: 1px solid #222; padding: 60px 30px; }
    .auth-right { padding: 60px 20px; }
}


/* BACKGROUND ANIMATIONS */
.bg-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}
.glow-1 { top: -100px; right: -100px; }
.glow-2 { bottom: -100px; left: -100px; }

/* LEFT SIDE - GLASSMORPHISM */
.auth-left {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.auth-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.text-gold-gradient {
    background: linear-gradient(90deg, #d4af37, #f9df91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BENEFIT ICON RINGS */
.benefit-icon-ring {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 1.1rem;
    transition: 0.3s;
}

.auth-benefit:hover .benefit-icon-ring {
    background: #d4af37;
    color: #000;
    transform: rotate(-5deg) scale(1.1);
}

/* MODERN INPUTS WITH ICONS */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #444;
    font-size: 0.9rem;
    pointer-events: none;
}

.input-wrapper input {
    padding-left: 45px !important; /* Space for the icon */
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.input-wrapper input:focus {
    border-color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.05) !important;
}

/* DIVIDER REFINEMENT */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.auth-divider .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.auth-divider span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #444;
}

/* SOCIAL BUTTONS */
.social-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f0f;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: #151515;
    transform: translateY(-2px);
}
.auth-form-footer{    margin: 16px 0;}
/* ═══════════════════════════
   DASHBOARD
   ═══════════════════════════ */
.dashboard-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh; padding-top: 70px;
}
.dash-sidebar {
  background: rgba(9,20,40,0.95); border-right: 1px solid var(--border);
  padding: 32px 16px; position: sticky; top: 70px; height: calc(100vh - 70px);
  overflow-y: auto;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 0.88rem; color: var(--text-secondary);
  cursor: pointer; transition: var(--transition); margin-bottom: 4px;
  border: none; background: none; font-family: var(--font-body); width: 100%;
}
.dash-nav-item:hover { background: var(--gold-glow); color: var(--text-primary); }
.dash-nav-item.active { background: var(--gold-glow); color: var(--gold-400); }
.dash-nav-section { font-size: 0.7rem; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; padding: 16px 14px 8px; }

.dash-main { padding: 32px; background: var(--navy-950); }
.dash-content { display: none; }
.dash-content.active { display: block; }

.portfolio-bar {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 50%);
  border-color: var(--border-bright);
}
.portfolio-bar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.portfolio-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.portfolio-metric .pm-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.portfolio-metric .pm-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.portfolio-metric .pm-change { font-size: 0.78rem; margin-top: 4px; display: flex; align-items: center; gap: 4px; }

.holdings-table { width: 100%; border-collapse: collapse; }
.holdings-table th { text-align: left; padding: 12px 16px; font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--border); }
.holdings-table td { padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid rgba(201,168,76,0.04); vertical-align: middle; }
.holdings-table tr:hover td { background: var(--gold-glow); }

.goal-card { position: relative; overflow: hidden; }
.goal-progress-bar { height: 8px; background: var(--navy-600); border-radius: 4px; margin: 16px 0; overflow: hidden; }
.goal-progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal-500), var(--gold-500)); transition: width 0.8s ease; }

/* ═══════════════════════════
   FOOTER
   ═══════════════════════════ */
footer {
  background: var(--navy-900); border-top: 1px solid var(--border);
  padding: 60px 0 32px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; margin: 16px 0; max-width: 280px; }
.footer-col h5 { font-size: 0.85rem; color: var(--text-primary); margin-bottom: 16px; font-weight: 500; }
.footer-link { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; cursor: pointer; text-decoration: none; transition: var(--transition); }
.footer-link:hover { color: var(--gold-400); }

.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 16px;
}
.footer-disclaimer { font-size: 0.72rem; color: var(--text-muted); max-width: 700px; line-height: 1.6; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition); color: var(--text-muted);
}
.social-link:hover { background: var(--gold-glow); border-color: var(--border-bright); color: var(--gold-400); }

/* ═══════════════════════════
   ANIMATIONS
   ═══════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }
.animate-fade-up-delay-1 { animation: fadeInUp 0.7s 0.1s ease both; }
.animate-fade-up-delay-2 { animation: fadeInUp 0.7s 0.2s ease both; }
.animate-fade-up-delay-3 { animation: fadeInUp 0.7s 0.3s ease both; }

/* ═══════════════════════════
   NOTIFICATION TOAST
   ═══════════════════════════ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--navy-700); border: 1px solid var(--border-bright);
  border-radius: var(--radius-md); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-card); animation: slideInLeft 0.3s ease;
  max-width: 320px;
}
.toast.success { border-color: rgba(34,197,94,0.3); }
.toast.error { border-color: rgba(239,68,68,0.3); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-text { font-size: 0.88rem; color: var(--text-primary); }

/* ═══════════════════════════
   UTILITY
   ═══════════════════════════ */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .funds-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .funds-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .calc-content.active { grid-template-columns: 1fr; }
  .product-content.active { grid-template-columns: 1fr; }
  .research-layout { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 14px 20px; }
  .btn-sm-hide { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .trust-items { gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .portfolio-metrics { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 16px; }
}


/* ── Typography ── */
.label-mono { font-family: var(--font-mono); font-size: 11px; color: var(--gold-500); text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 12px; }
h2 { font-family: var(--font-display); font-size: 3rem; font-weight: 700; text-transform: uppercase; line-height: 1; }
.text-gradient { background: linear-gradient(to right, #fff, var(--gold-500)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── SIP Dashboard ── */
.sip-dashboard {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  background: var(--navy-900); border: 1px solid var(--border);
  padding: 50px; border-radius: 32px; box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  margin-top: 40px;
}

.calc-sliders { display: flex; flex-direction: column; gap: 35px; }
.slider-group label { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 600; color: var(--text-muted); }
.slider-group label b { color: var(--gold-500); font-family: var(--font-mono); font-size: 1.1rem; }

input[type=range] { width: 100%; height: 5px; background: var(--navy-800); border-radius: 5px; appearance: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; background: var(--gold-500); border-radius: 50%; border: 3px solid var(--navy-900); box-shadow: 0 0 10px var(--gold-glow); }

.sip-visual {
  background: rgba(245, 130, 32, 0.03); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px; display: flex; flex-direction: column; justify-content: center;
  text-align: center; position: relative;
}
.res-val { font-family: var(--font-display); font-size: 3.5rem; color: var(--gold-500); line-height: 1; margin: 15px 0; }
.res-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

/* ── Product Cards ── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 60px; }

.prod-card {
  background: var(--navy-900); border: 1px solid var(--border);
  padding: 40px; border-radius: 24px; transition: var(--transition);
  display: flex; flex-direction: column; position: relative;
}
.prod-card:hover {
  transform: translateY(-10px); border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--shadow-gold);
}

.prod-icon {
  width: 60px; height: 60px; background: var(--navy-800); 
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gold-500); font-size: 1.5rem; margin-bottom: 25px; transition: 0.3s;
}
.prod-card:hover .prod-icon { background: var(--gold-500); color: white; transform: rotate(-10deg); }

.prod-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.prod-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }

/* ── Interactive Tabs ── */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab-trigger {
  padding: 6px 16px; background: var(--navy-800); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.7rem; border-radius: 50px; cursor: pointer;
  text-transform: uppercase; font-family: var(--font-mono); transition: 0.3s;
}
.tab-trigger.active { background: var(--gold-500); color: white; border-color: var(--gold-500); }

/* ── Buttons ── */
.btn-prime {
  background: var(--gold-500); color: white; border: none; padding: 16px 32px;
  border-radius: 12px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; cursor: pointer; transition: 0.3s; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.btn-prime:hover { background: #ff9d4d; box-shadow: 0 10px 20px rgba(245, 130, 32, 0.3); transform: scale(1.02); }

.btn-ghost {
  border: 1px solid var(--border); color: var(--text-primary); padding: 12px 24px;
  border-radius: 10px; cursor: pointer; font-family: var(--font-display);
  font-size: 0.8rem; text-transform: uppercase; transition: 0.3s;
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-500); }

@media (max-width: 900px) {
     .sipcal{display:grid;grid-template-columns:1fr;}
  .sip-dashboard { grid-template-columns: 1fr; padding: 30px; }
  h2 { font-size: 2.2rem; }
}


/* VALUES GRID STYLING
============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.value-card {
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Icon Wrapper with Glow */
.value-icon-wrapper {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.08); /* Faint Gold */
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #d4af37; /* gold-vivid */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Interaction */
.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.value-card:hover .value-icon-wrapper {
    background: #d4af37;
    color: #000;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.value-card p {
    color: #a1a1aa; /* text-dim */
    line-height: 1.6;
}

/* --- WHATSAPP ACTION WRAPPER --- */
.whatsapp-action-wrap {
    margin-top: 40px;
    position: relative;
    display: inline-block;
}

/* --- THE LUXURY BUTTON --- */
.btn-whatsapp-luxury {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #0F0D05; /* Obsidian Base */
    border: 1px solid rgba(37, 211, 102, 0.3); /* Subtle Green Border */
    padding: 12px 32px 12px 12px;
    border-radius: 60px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Icon Box with Glow */
.whatsapp-icon-box {
    width: 50px;
    height: 50px;
    background: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

/* Text Content Styling */
.whatsapp-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.wa-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #25D366;
    font-weight: 800;
    margin-bottom: 2px;
}

.wa-main-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- THE PULSE ANIMATION --- */
.whatsapp-pulse-ring {
    position: absolute;
    left: 12px; /* Align with icon box */
    top: 12px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --- HOVER INTERACTIONS --- */
.btn-whatsapp-luxury:hover {
    background: #15130A;
    transform: translateY(-5px) scale(1.02);
    border-color: #25D366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-luxury:hover .whatsapp-icon-box {
    transform: rotate(12deg) scale(1.1);
    background: #ffffff;
    color: #25D366;
}

.btn-whatsapp-luxury:active {
    transform: translateY(0) scale(0.98);
}


.tm-mf-wrapper {
  position: relative;
  background:
    radial-gradient(circle at top left,
      rgba(245,130,32,0.08),
      transparent 28%),

    radial-gradient(circle at bottom right,
      rgba(76,175,80,0.08),
      transparent 30%),

    linear-gradient(
      180deg,
      #0a0e14 0%,
      #101720 100%
    );

  color: var(--text-primary);

  font-family: var(--font-body);

  padding: 110px 20px;

  overflow: hidden;
}

/* Decorative Glow */
.tm-mf-wrapper::before{
  content:"";
  position:absolute;

  width:500px;
  height:500px;

  top:-180px;
  right:-180px;

  background:radial-gradient(
    circle,
    rgba(245,130,32,0.12),
    transparent 70%
  );

  pointer-events:none;
}

.tm-mf-wrapper::after{
  content:"";
  position:absolute;

  width:400px;
  height:400px;

  bottom:-160px;
  left:-160px;

  background:radial-gradient(
    circle,
    rgba(76,175,80,0.10),
    transparent 70%
  );

  pointer-events:none;
}

.tm-mf-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===============================
   TITLE SECTION
================================= */

.tm-mf-title-section {
  text-align: center;
  margin-bottom: 75px;
}

.tm-mf-main-heading {
  font-family: var(--font-display);

  font-size: clamp(2.8rem, 5vw, 4.2rem);

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: -2px;

  line-height: 1.05;

  margin-bottom: 25px;
}

/* Gold Text */
.tm-mf-highlight-gold {
  background: linear-gradient(
    180deg,
    #fff3d6 0%,
    #fdba74 35%,
    #f58220 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(0 0 10px rgba(245,130,32,0.25))
    drop-shadow(0 0 25px rgba(245,130,32,0.15));
}

/* Green Text */
.tm-mf-highlight-green {
  background: linear-gradient(
    180deg,
    #d7ffe0 0%,
    #7ef18b 40%,
    #4caf50 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(0 0 10px rgba(76,175,80,0.22))
    drop-shadow(0 0 24px rgba(76,175,80,0.14));
}

/* Intro Text */
.tm-mf-intro-text {
  color: var(--text-secondary);

  font-size: 1.12rem;

  max-width: 860px;

  margin: 0 auto;

  padding: 32px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.015)
    );

  border-radius: var(--radius-lg);

  border: 1px solid rgba(245,130,32,0.12);

  backdrop-filter: blur(12px);

  box-shadow:
    0 10px 35px rgba(0,0,0,0.35);
}

/* ===============================
   GRID
================================= */

.tm-mf-content-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(340px, 1fr));

  gap: 32px;

  margin-bottom: 70px;
}

/* ===============================
   CARD
================================= */

.tm-mf-card {
  position: relative;

  background:
    linear-gradient(
      180deg,
      rgba(20,27,36,0.96) 0%,
      rgba(13,18,24,0.98) 100%
    );

  border: 1px solid var(--border);

  padding: 42px;

  border-radius: var(--radius-lg);

  overflow: hidden;

  transition: var(--transition);

  box-shadow: var(--shadow-card);
}

/* Top Glow Line */
.tm-mf-card::before{
  content:"";
  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:2px;

  background:linear-gradient(
    90deg,
    transparent,
    var(--gold-500),
    transparent
  );

  opacity:0.8;
}

/* Hover Effect */
.tm-mf-card:hover {
  transform:
    translateY(-8px)
    scale(1.01);

  border-color: var(--border-bright);

  background: var(--card-hover);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 35px rgba(245,130,32,0.12);
}

/* ===============================
   CARD TITLE
================================= */

.tm-mf-card-title {
  font-family: var(--font-display);

  font-size: 1.85rem;

  font-weight: 700;

  margin-bottom: 28px;

  display: flex;
  align-items: center;
  gap: 14px;

  color: var(--text-primary);
}

/* ===============================
   LISTS
================================= */

.tm-mf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-mf-list-item {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  margin-bottom: 18px;

  color: var(--text-secondary);

  font-size: 1rem;

  transition: 0.25s ease;
}

.tm-mf-list-item:hover{
  transform: translateX(4px);
  color: #ffffff;
}

.tm-mf-icon-check {
  color: var(--teal-400);

  font-size: 15px;

  margin-top: 4px;

  text-shadow:
    0 0 10px rgba(76,175,80,0.4);
}

.tm-mf-icon-bullet {
  width: 10px;
  height: 10px;

  background:
    radial-gradient(circle,
    #ffd39c,
    var(--gold-500));

  border-radius: 50%;

  margin-top: 8px;

  flex-shrink: 0;

  box-shadow:
    0 0 10px rgba(245,130,32,0.5);
}

/* ===============================
   TYPES GRID
================================= */

.tm-mf-types-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 22px;

  margin-top: 45px;
}

.tm-mf-type-box {
  padding: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(30,38,47,0.92),
      rgba(20,27,36,0.96)
    );

  border-radius: 18px;

  border: 1px solid rgba(245,130,32,0.12);

  transition: var(--transition);

  position: relative;

  overflow: hidden;
}

.tm-mf-type-box:hover{
  transform: translateY(-6px);

  border-color: rgba(245,130,32,0.3);

  box-shadow:
    0 12px 35px rgba(0,0,0,0.45),
    0 0 25px rgba(245,130,32,0.12);
}

.tm-mf-type-box h4 {
  color: var(--gold-400);

  font-family: var(--font-display);

  font-size: 1.35rem;

  margin-top: 0;
  margin-bottom: 14px;

  letter-spacing: 0.4px;
}

.tm-mf-examples {
  margin-top: 16px;

  padding-top: 16px;

  border-top: 1px solid rgba(255,255,255,0.08);

  font-size: 0.92rem;

  color: var(--text-muted);

  line-height: 1.7;
}

/* ===============================
   SIP CTA
================================= */

.tm-mf-sip-cta {
  margin-top: 90px;

  background:
    linear-gradient(
      135deg,
      rgba(30,38,47,0.98) 0%,
      rgba(10,14,20,1) 100%
    );

  border: 1px solid rgba(245,130,32,0.22);

  border-radius: var(--radius-xl);

  padding: 55px;

  display: flex;
  flex-wrap: wrap;

  justify-content: space-between;
  align-items: center;

  gap: 40px;

  position: relative;

  overflow: hidden;

  box-shadow:
    0 25px 60px rgba(0,0,0,0.45);
}

/* Glow */
.tm-mf-sip-cta::before{
  content:"";
  position:absolute;

  width:300px;
  height:300px;

  top:-120px;
  right:-120px;

  background:radial-gradient(
    circle,
    rgba(245,130,32,0.12),
    transparent 70%
  );
}

.tm-mf-sip-info {
  flex: 1;
  min-width: 300px;
}

.tm-mf-sip-badge {
  background:
    linear-gradient(
      180deg,
      #ffb15e 0%,
      #f58220 100%
    );

  color: var(--navy-950);

  padding: 42px;

  border-radius: 24px;

  text-align: center;

  min-width: 220px;

  box-shadow:
    0 15px 35px rgba(245,130,32,0.25);
}

.tm-mf-sip-badge h3 {
  font-size: 2.8rem;

  margin: 12px 0;

  font-family: var(--font-display);

  font-weight: 900;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .prod-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
    .prod-card{padding:20px;}
.tm-terms-card{padding:20px;}
.sip-visual{padding:10px;}
.calc-sliders{width:fit-content;}
  .tm-mf-wrapper{
    padding: 80px 8px;
  }

  .tm-mf-main-heading{
    line-height:1.15;
  }

  .tm-mf-intro-text{
    padding:24px;
    font-size:1rem;
  }

  .tm-mf-card{
    padding:30px;
  }

  .tm-mf-card-title{
    font-size:1.55rem;
  }

  .tm-mf-sip-cta {
    padding: 32px;
    text-align: center;
  }

  .tm-mf-sip-badge {
    width: 100%;
  }
  .sipcal{display:grid;grid-template-columns:1fr;}

}


.sipcal{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}