/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');



:root {

  /* Premium Fintech Color Palette */

  --primary-color: #07111F; /* Primary Dark */

  --secondary-color: #101C2E; /* Secondary Dark */

  --accent-color: #2563EB; /* Royal Blue */

  --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);

  --success-color: #10B981; /* Emerald Green */

  --warning-color: #F59E0B; /* Orange */

  --danger-color: #EF4444; /* Red */

  --bg-color: #F5F7FA; /* Light Background */

  --card-bg: #FFFFFF; /* White Cards */

  --text-main: #334155;

  --text-muted: #64748B;

  --border-color: #E2E8F0;

  

  /* Glassmorphism & Shadows */

  --glass-bg: rgba(7, 17, 31, 0.85); /* Dark blur for header */

  --glass-border: 1px solid rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 2px 8px rgba(7, 17, 31, 0.04);

  --shadow-md: 0 10px 25px -5px rgba(7, 17, 31, 0.08);

  --shadow-hover: 0 20px 30px -10px rgba(37, 99, 235, 0.15);

  

  /* Shapes */

  --radius-sm: 8px;

  --radius-md: 16px;

  --radius-lg: 24px;

  --radius-pill: 9999px;

  

  --container-max: 100%;

}



* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Inter', sans-serif;

  background-color: var(--bg-color);

  color: var(--text-main);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

}



a {

  text-decoration: none;

  color: var(--accent-color);

  transition: all 0.3s ease;

}



ul {

  list-style: none;

}



.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 52px);
}



.container-fluid {

  width: 100%;

  max-width: 100%;

  margin: 0 auto;

  padding: 0;

}



@media (max-width: 768px) {

  .container-fluid {

    padding: 0;

  }

}



/* ==========================================================================

   Stock Ticker Tape

   ========================================================================== */

.ticker-wrap {

  width: 100%;

  overflow: hidden;

  background-color: #ffffff;

  border-bottom: 1px solid #e2e8f0;

  height: 40px;

  display: flex;

  align-items: center;

  box-sizing: border-box;

}



.ticker {

  display: flex;

  white-space: nowrap;

  animation: ticker-scroll 30s linear infinite;

}



.ticker:hover {

  animation-play-state: paused;

}



.ticker-item {

  display: inline-flex;

  align-items: center;

  padding: 0 20px;

  font-size: 13px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  border-right: 1px solid #e2e8f0;

  position: relative;

}



.ticker-item.up {

  border-left: 3px solid #10b981; /* Green */

}



.ticker-item.down {

  border-left: 3px solid #ef4444; /* Red */

}



.ticker-name {

  font-weight: 700;

  color: #0f172a;

  margin-right: 12px;

}



.ticker-price {

  font-weight: 500;

  color: #334155;

  margin-right: 8px;

}



.ticker-change {

  font-weight: 600;

}



.ticker-item.up .ticker-change {

  color: #10b981;

}



.ticker-item.down .ticker-change {

  color: #ef4444;

}



@keyframes ticker-scroll {

  0% { transform: translateX(0); }

  100% { transform: translateX(-50%); }

}



/* ==========================================================================

   Premium Header (Dark)

   ========================================================================== */

.site-header.premium-dark {

  background: rgba(4, 11, 20, 0.95);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  position: sticky;

  top: 0;

  z-index: 1000;

}



.premium-dark .header-inner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  height: 72px;

  max-width: 100%;

  padding: 0 40px;

  margin: 0 auto;

  width: 100%;

}



.premium-dark .header-left {

  display: flex;

  align-items: center;

  gap: 16px;

}



.premium-dark .logo {

  display: flex;

  align-items: center;

  gap: 8px;

  text-decoration: none;

}



.premium-dark .logo-text {

  color: white;

  font-weight: 800;

  font-size: 20px;

  letter-spacing: -0.5px;

}



.premium-dark .tagline {

  color: #94A3B8;

  font-size: 13px;

  padding-left: 16px;

  border-left: 1px solid rgba(255, 255, 255, 0.1);

  display: none;

  white-space: nowrap;

}



@media (min-width: 1024px) {

  .premium-dark .tagline { display: block; }

}



.premium-dark .main-nav .nav-links {

  display: flex;

  gap: 24px;

  list-style: none;

  margin: 0;

  padding: 0;

}



.premium-dark .main-nav a {

  color: #CBD5E1;

  text-decoration: none;

  font-size: 14px;

  font-weight: 500;

  transition: color 0.2s;

}



.premium-dark .main-nav a:hover {

  color: white;

}



.premium-dark .header-right {

  display: flex;

  align-items: center;

  gap: 16px;

}



.premium-dark .header-search {

  position: relative;

  display: none;

}



@media (min-width: 1024px) {

  .premium-dark .header-search { display: block; }

}



.premium-dark .header-search input {

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 20px;

  padding: 8px 16px 8px 36px;

  color: white;

  font-size: 13px;

  width: 220px;

  transition: all 0.3s;

}



.premium-dark .header-search input:focus {

  background: rgba(255, 255, 255, 0.1);

  border-color: #3B82F6;

  outline: none;

  width: 260px;

}



.premium-dark .header-search svg {

  position: absolute;

  left: 12px;

  top: 50%;

  transform: translateY(-50%);

  color: #94A3B8;

}



.premium-dark .theme-toggle {

  background: transparent;

  border: none;

  color: #CBD5E1;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  transition: all 0.2s;

}



.premium-dark .theme-toggle:hover {

  background: rgba(255, 255, 255, 0.05);

  color: white;

}



.premium-dark .login-btn {

  padding: 8px 24px;

  border-radius: 20px;

  font-size: 14px;

  font-weight: 500;

}



/* ==========================================================================

   Premium Header (Light)

   ========================================================================== */

.site-header.premium-light {

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  position: sticky;

  top: 0;

  z-index: 1000;

}



.premium-light .header-inner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  height: 72px;

  max-width: 100%;

  padding: 0 40px;

  margin: 0 auto;

  width: 100%;

}



.premium-light .header-left {

  display: flex;

  align-items: center;

  gap: 16px;

}



.premium-light .logo {

  display: flex;

  align-items: center;

  gap: 8px;

  text-decoration: none;

}



.premium-light .logo-text {

  color: #0f172a;

  font-weight: 800;

  font-size: 20px;

  letter-spacing: -0.5px;

}



.premium-light .tagline {

  color: #64748b;

  font-size: 13px;

  padding-left: 16px;

  border-left: 1px solid rgba(0, 0, 0, 0.1);

  display: none;

  white-space: nowrap;

}



@media (min-width: 1024px) {

  .premium-light .tagline { display: block; }

}



.premium-light .main-nav .nav-links {

  display: flex;

  gap: 24px;

  list-style: none;

  margin: 0;

  padding: 0;

}



.premium-light .main-nav > .nav-links > li > a {

  color: #334155;

  text-decoration: none;

  font-size: 14px;

  font-weight: 600;

  padding: 8px 14px;

  border-radius: 8px;

  display: flex;

  align-items: center;

  gap: 4px;

  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

}



.premium-light .main-nav > .nav-links > li > a:hover {

  color: #0f172a;

  background: rgba(241, 245, 249, 0.9);

}



.premium-light .main-nav > .nav-links > li > a.active {

  color: #2563eb;

  background: rgba(239, 246, 255, 0.95);

}



.premium-light .header-right {

  display: flex;

  align-items: center;

  gap: 12px;

}



/* Header Embedded Search & Results Dropdown (Below Search Bar) */
.header-search-container {
  position: relative;
  width: 280px;
}

@media (max-width: 1120px) {
  .header-search-container { width: 220px; }
}

@media (max-width: 860px) {
  .header-search-container { width: 100%; max-width: 220px; }
}

.header-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 6px 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.header-search-bar:focus-within,
.header-search-bar.active {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
}

.header-search-icon {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s;
}

.header-search-bar:focus-within .header-search-icon {
  color: #2563eb;
}

.header-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  width: 100%;
  padding: 2px 0;
}

.header-search-input::placeholder {
  color: #94a3b8;
}

.header-search-clear {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  flex-shrink: 0;
  padding: 0;
}

.header-search-clear:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.search-trigger-kbd {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  pointer-events: none;
}

/* Dropdown Attached Below Header Search Bar */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 460px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.05);
  z-index: 10000;
  max-height: 480px;
  overflow-y: auto;
  animation: searchDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes searchDropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-search-dropdown-body {
  padding: 12px;
}

.search-section-header {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  padding: 8px 10px 4px;
  text-transform: uppercase;
}

.search-result-group {
  margin-bottom: 8px;
}

.search-item {
  border-radius: 10px;
  transition: background 0.12s ease;
  margin-bottom: 2px;
}

.search-item.focused,
.search-item:hover {
  background: #f8fafc;
}

.search-item-link {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.search-item-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-item-info {
  flex: 1;
  min-width: 0;
}

.search-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-item-symbol {
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 5px;
  border-radius: 4px;
}

.search-item-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.badge-open { background: #dcfce7; color: #15803d; }
.badge-upcoming { background: #dbeafe; color: #1d4ed8; }
.badge-listed { background: #f1f5f9; color: #475569; }
.badge-tool { background: #fef3c7; color: #b45309; }
.badge-ipo { background: #ede9fe; color: #6d28d9; }
.badge-sme { background: #e0e7ff; color: #4338ca; }
.badge-page { background: #f1f5f9; color: #334155; }
.badge-news { background: #fce7f3; color: #be185d; }

.search-highlight {
  background: #fef08a;
  color: #854d0e;
  padding: 0 2px;
  border-radius: 2px;
}

.search-empty-state {
  padding: 30px 16px;
  text-align: center;
}

/* PDF-Style Yellow Highlight on Destination Pages */
.pdf-highlight-yellow {
  background-color: #ffeb3b !important;
  color: #000000 !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 0 2px #fbc02d, 0 2px 8px rgba(251, 192, 45, 0.4) !important;
  font-weight: 700 !important;
  display: inline !important;
  animation: pdfPulse 2s ease-in-out 3 !important;
}

@keyframes pdfPulse {
  0%, 100% {
    background-color: #ffeb3b;
    box-shadow: 0 0 0 2px #fbc02d, 0 2px 8px rgba(251, 192, 45, 0.4);
  }
  50% {
    background-color: #fff9c4;
    box-shadow: 0 0 0 4px #f59e0b, 0 4px 14px rgba(245, 158, 11, 0.55);
    transform: scale(1.04);
  }
}



/* Visual Breadcrumbs */

.iposetu-breadcrumb-nav {

  background: #f8fafc;

  border-bottom: 1px solid #e2e8f0;

  padding: 10px 0;

  font-size: 12px;

}



.iposetu-breadcrumb-list {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 8px;

  list-style: none;

  margin: 0;

  padding: 0;

}



.iposetu-breadcrumb-list .breadcrumb-item a {

  color: #64748b;

  text-decoration: none;

  font-weight: 500;

  transition: color 0.15s ease;

}



.iposetu-breadcrumb-list .breadcrumb-item a:hover {

  color: #2563eb;

}



.iposetu-breadcrumb-list .breadcrumb-item.active {

  color: #0f172a;

  font-weight: 600;

}



.iposetu-breadcrumb-list .breadcrumb-separator {

  color: #cbd5e1;

  font-size: 11px;

}

}



.premium-light .header-search input {

  background: rgba(0, 0, 0, 0.05);

  border: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 20px;

  padding: 8px 16px 8px 36px;

  color: #0f172a;

  font-size: 13px;

  width: 220px;

  transition: all 0.3s;

}



.premium-light .header-search input:focus {

  background: rgba(0, 0, 0, 0.02);

  border-color: #3B82F6;

  outline: none;

  width: 260px;

}



.premium-light .header-search svg {

  position: absolute;

  left: 12px;

  top: 50%;

  transform: translateY(-50%);

  color: #64748B;

}



.premium-light .theme-toggle {

  background: transparent;

  border: none;

  color: #475569;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  transition: all 0.2s;

}



.premium-light .theme-toggle:hover {

  background: rgba(0, 0, 0, 0.05);

  color: #0f172a;

}



.premium-light .login-btn {

  padding: 8px 24px;

  border-radius: 20px;

  font-size: 14px;

  font-weight: 500;

}





/* ==========================================================================

   Header (Boxed Two-Tier Layout)

   ========================================================================== */

.site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  width: 100%;

  background: white;

  transition: all 0.3s ease;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}



.header-top {

  background: white;

}



.header-top-inner .logo a {

  display: flex;

  align-items: center;

  text-decoration: none;

}



.header-bottom {

  background: rgba(7, 17, 31, 0.95);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}



.site-header.scrolled {

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);

}



.header-inner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px 32px;

}



.logo a {

  color: white;

  font-size: 24px;

  font-weight: 800;

  display: flex;

  align-items: center;

  gap: 10px;

  letter-spacing: -0.5px;

}



.main-nav {

  display: flex;

  align-items: center;

}



.nav-links {

  display: flex;

  gap: 28px;

  align-items: center;

}



.nav-links li {

  position: relative;

}



.nav-links > li > a {

  color: rgba(255, 255, 255, 0.7);

  font-weight: 600;

  font-size: 15px;

  padding: 24px 0;

  position: relative;

  transition: all 0.3s ease;

}



.nav-links > li > a::after {

  content: '';

  position: absolute;

  bottom: -4px;

  left: 0;

  width: 0;

  height: 2px;

  background: var(--accent-gradient);

  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);

  transition: width 0.3s ease;

  border-radius: 2px;

}



.nav-links > li > a:hover::after,

.nav-links > li > a.active::after {

  width: 100%;

}



.nav-links > li > a:hover,

.nav-links > li > a.active {

  color: white;

  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);

}



/* Dropdown */

.dropdown-content {

  display: none;

  position: absolute;

  top: calc(100% + 15px);

  left: 50%;

  transform: translateX(-50%) translateY(10px);

  background: white;

  min-width: 220px;

  box-shadow: var(--shadow-md);

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

  padding: 12px;

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

  opacity: 0;

  transition: all 0.3s ease;

}



/* Invisible bridge to prevent hover loss */

.dropdown-content::before {

  content: '';

  position: absolute;

  top: -20px;

  left: 0;

  width: 100%;

  height: 20px;

}



.has-dropdown:hover .dropdown-content {

  display: block;

  opacity: 1;

  transform: translateX(-50%) translateY(0);

}



.dropdown-content a {

  color: var(--text-main);

  padding: 10px 16px;

  display: block;

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

  font-weight: 500;

}



.dropdown-content a::after {

  display: none;

}



.dropdown-content a:hover {

  background: var(--bg-color);

  color: var(--accent-color);

  padding-left: 20px;

}



.search-icon {

  cursor: pointer;

  color: white;

  font-size: 18px;

  transition: color 0.3s ease;

}

.search-icon:hover {

  color: var(--accent-color);

}



.mobile-menu-btn {

  display: none;

  background: none;

  border: none;

  color: var(--primary-color);

  font-size: 24px;

  cursor: pointer;

}



/* ==========================================================================

   Buttons & Badges

   ========================================================================== */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 24px;

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

  font-weight: 600;

  font-size: 15px;

  cursor: pointer;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  border: none;

  gap: 8px;

}



.btn-primary {

  background: var(--accent-gradient);

  color: white;

  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);

}



.btn-primary:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);

  color: white;

}



.btn-outline {

  border: 2px solid var(--border-color);

  background: transparent;

  color: var(--text-main);

}



.btn-outline:hover {

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

  color: var(--accent-color);

  background: rgba(14, 165, 233, 0.05);

}



.badge {

  padding: 6px 12px;

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

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.5px;

  text-transform: uppercase;

}



.badge-main { background: rgba(14, 165, 233, 0.1); color: var(--accent-color); }

.badge-sme { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); }

.badge-open { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }

.badge-closed { background: rgba(239, 68, 68, 0.1); color: var(--danger-color); }



/* ==========================================================================

   Premium Hero Section

   ========================================================================== */

.hero {

  position: relative;

  background: #040b14;

  color: white;

  padding: 30px 0 80px 0;

  overflow: hidden;

  border-bottom: 1px solid rgba(255,255,255,0.05);

  background-image: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);

}



/* ==========================================================================

   Premium Hero Section (Light Theme)

   ========================================================================== */

.hero.light-theme {

  position: relative;

  background: #f8fafc;

  color: #0f172a;

  padding: 30px 0 80px 0;

  overflow: hidden;

  border-bottom: 1px solid #e2e8f0;

  background-image: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);

}



.hero.light-theme .hero-title {

  color: #0f172a;

}



.hero.light-theme .hero-subtitle {

  color: #475569;

}



.hero.light-theme .hero-badge {

  background: #eff6ff;

  color: #1d4ed8;

}



.hero.light-theme .hero-search-box {

  background: white;

  border: 1px solid #cbd5e1;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

}



.hero.light-theme .hero-search-box input {

  color: #0f172a;

}



.hero.light-theme .quick-pill {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  color: #475569;

}



.hero.light-theme .quick-pill:hover {

  background: #eff6ff;

  border-color: #bfdbfe;

  color: #1d4ed8;

}



.hero.light-theme .market-snapshot-title {

  color: #475569;

}



.hero.light-theme .snapshot-card {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

}



.hero.light-theme .snapshot-card:hover {

  background: #f8fafc;

  border-color: #cbd5e1;

  transform: translateY(-2px);

}



.hero.light-theme .snap-label {

  color: #64748b;

}



.hero.light-theme .snap-value {

  color: #0f172a;

}



.hero.light-theme .snap-value.success {

  color: #16a34a;

}



.hero.light-theme .snap-sub {

  color: #64748b;

}



.hero.light-theme .grid-overlay {

  background-image: 

    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),

    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);

}



.hero.light-theme .glow-orb.orb-1 {

  background: rgba(37, 99, 235, 0.15);

}



.hero.light-theme .glow-orb.orb-2 {

  background: rgba(16, 185, 129, 0.1);

}



.text-blue {

  color: #3B82F6;

}



.hero-layout {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 30px;

}



.hero-left {

  flex: 1;

  text-align: left;

  min-width: 0;

  width: calc(50% - 15px);

}



.hero-right {

  flex: 1;

  min-width: 0;

  width: calc(50% - 15px);

}



@media (max-width: 992px) {

  .hero-layout {

    flex-direction: column;

    text-align: center;

  }

  .hero-left {

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

  }

  .hero-right {

    width: 100%;

    margin-top: 40px;

  }

  .hero-search-box {

    margin: 32px auto;

  }

  .quick-links {

    justify-content: center;

  }

}



/* Hero Promo Cards */

.hero-promo-container {

  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-bottom: 24px;

}



.promo-card-link {

  position: relative;

  display: block;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  height: 190px;

}

.promo-card-link.slider-square {

  height: 396px;

}

.slider-dots {

  position: absolute;

  bottom: 16px;

  right: 20px;

  display: flex;

  gap: 8px;

  z-index: 12;

}

.slider-dot {

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.4);

  cursor: pointer;

  transition: all 0.3s ease;

}

.slider-dot.active {

  background: #ffffff;

  transform: scale(1.2);

  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);

}



.promo-card-link:hover {

  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);

}



.slide-anim {

  animation: slideZoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}



@keyframes slideZoomIn {

  from {

    opacity: 0.4;

    transform: scale(1.08);

  }

  to {

    opacity: 1;

    transform: scale(1);

  }

}



.promo-banner-img {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  opacity: 0;

  transition: opacity 0.5s ease-in-out;

}



/* Ad Slider Animations (12 seconds cycle: 3 images, 4 seconds each) */

.promo-card-link .slide-1 {

  animation: adSlideFade 12s infinite;

}



.promo-card-link .slide-2 {

  animation: adSlideFade 12s infinite;

  animation-delay: 4s;

}



.promo-card-link .slide-3 {

  animation: adSlideFade 12s infinite;

  animation-delay: 8s;

}



@keyframes adSlideFade {

  0% { opacity: 0; }

  4% { opacity: 1; }

  33.33% { opacity: 1; }

  37.33% { opacity: 0; }

  100% { opacity: 0; }

}



/* Market Snapshot */

.market-snapshot-title {

  font-size: 13px;

  font-weight: 700;

  color: #F8FAFC;

  letter-spacing: 1px;

  margin-bottom: 20px;

}



.market-snapshot-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

}



.snapshot-card {

  background: #0f172a;

  border: 1px solid #1e293b;

  border-radius: 12px;

  padding: 12px;

  display: flex;

  flex-direction: row;

  align-items: center;

  gap: 12px;

  transition: all 0.3s ease;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

}



.snapshot-card:hover {

  background: #1e293b;

  border-color: #334155;

  transform: translateY(-2px);

}



.snap-icon {

  width: 40px;

  height: 40px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

}



.snap-icon.green { background: rgba(34, 197, 94, 0.15); color: #22C55E; }

.snap-icon.purple { background: rgba(168, 85, 247, 0.15); color: #A855F7; }

.snap-icon.green-chart { background: rgba(16, 185, 129, 0.15); color: #10B981; }

.snap-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }



.snap-info {

  display: flex;

  flex-direction: column;

  gap: 2px;

}



.snap-label {

  font-size: 11px;

  font-weight: 600;

  color: #94A3B8;

  letter-spacing: 0.5px;

  text-transform: uppercase;

}



.snap-value {

  font-size: 20px;

  font-weight: 700;

  color: white;

  line-height: 1.1;

  margin: 2px 0;

}



.snap-value.success {

  color: #22C55E;

}



.snap-sub {

  font-size: 12px;

  color: #64748B;

}



/* Background Animations */

.hero-bg-anim {

  position: absolute;

  top: 0; left: 0; right: 0; bottom: 0;

  overflow: hidden;

  z-index: 0;

}



.glow-orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(80px);

  opacity: 0.4;

  animation: float 20s infinite alternate ease-in-out;

}



.orb-1 {

  width: 400px; height: 400px;

  background: rgba(37, 99, 235, 0.3); /* Royal Blue */

  top: -100px; left: -100px;

}



.orb-2 {

  width: 300px; height: 300px;

  background: rgba(16, 185, 129, 0.15); /* Emerald */

  bottom: -50px; right: -50px;

  animation-delay: -5s;

}



.grid-overlay {

  position: absolute;

  top: 0; left: 0; right: 0; bottom: 0;

  background-image: 

    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 40px 40px;

  opacity: 0.5;

}



@keyframes float {

  0% { transform: translate(0, 0) scale(1); }

  50% { transform: translate(30px, 50px) scale(1.1); }

  100% { transform: translate(-20px, 20px) scale(0.9); }

}



/* Hero Content */

.hero-content {

  position: relative;

  z-index: 10;

  max-width: 100% !important;

  padding: 0 40px !important;

}



.hero-badge {

  display: inline-block;

  background: #1e3a8a;

  color: #60a5fa;

  padding: 6px 16px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 700;

  margin-bottom: 24px;

  letter-spacing: 0.5px;

}



.hero-title {

  font-size: 56px;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 24px;

  letter-spacing: -1px;

}



.hero-subtitle {

  font-size: 18px;

  color: #94A3B8;

  margin-bottom: 40px;

  line-height: 1.6;

  max-width: 500px;

}



.hero p {

  font-size: 20px;

  color: #94A3B8;

  margin-bottom: 40px;

  max-width: 600px;

  position: relative;

  z-index: 1;

}



.hero.text-center p {

  margin-left: auto;

  margin-right: auto;

}



/* Hero Search Box */

.hero-search-box {

  background: white;

  border-radius: 30px;

  padding: 6px;

  display: flex;

  align-items: center;

  max-width: 500px;

  margin-bottom: 24px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  position: relative;

  z-index: 10;

}



.search-input-wrapper {

  flex: 1;

  display: flex;

  align-items: center;

  position: relative;

  padding-left: 16px;

}



.search-icon-svg {

  color: #64748B;

  margin-right: 12px;

}



.hero-search-box input {

  width: 100%;

  background: transparent;

  border: none;

  color: #0f172a;

  font-size: 15px;

  padding: 8px 0;

  outline: none;

  font-family: inherit;

}



.hero-search-box input::placeholder {

  color: #94A3B8;

}



.search-btn {

  border-radius: 24px;

  padding: 10px 24px;

  font-weight: 600;

}



.quick-links {

  margin-top: 24px;

  display: flex;

  gap: 12px;

  align-items: center;

  font-size: 14px;

  flex-wrap: wrap;

  justify-content: flex-start;

  position: relative;

  z-index: 10;

}



/* Quick Links Pills */

.quick-links.pills {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 24px;

}



.quick-pill {

  display: flex;

  align-items: center;

  gap: 8px;

  background: rgba(255, 255, 255, 0.03);

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

  color: #CBD5E1;

  text-decoration: none;

  padding: 8px 16px;

  border-radius: 20px;

  font-size: 13px;

  font-weight: 500;

  transition: all 0.3s;

}



.quick-pill:hover {

  background: rgba(59, 130, 246, 0.1);

  border-color: rgba(59, 130, 246, 0.3);

  color: white;

  transform: translateY(-2px);

}



.quick-pill svg {

  color: #3B82F6;

}



.ql-label {

  color: #64748B;

  font-weight: 500;

}



.quick-links a {

  color: #94A3B8;

  background: rgba(255,255,255,0.05);

  padding: 4px 12px;

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

  border: 1px solid rgba(255,255,255,0.05);

  transition: all 0.2s ease;

}



.quick-links a:hover {

  background: rgba(255,255,255,0.1);

  color: white;

  border-color: rgba(255,255,255,0.2);

}



/* ==========================================================================

   Premium Stats Grid

   ========================================================================== */

.stats-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

  position: relative;

  z-index: 10;

}



.stat-card {

  background: var(--card-bg);

  padding: 24px;

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

  box-shadow: var(--shadow-sm);

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

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  display: flex;

  flex-direction: column;

}



.stat-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 15px 30px rgba(0,0,0,0.06);

  border-color: rgba(37,99,235,0.3);

}



.stat-icon-wrapper {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 16px;

}



.stat-card h3 {

  font-size: 13px;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 8px;

  font-weight: 700;

}



.stat-card .number {

  font-size: 42px;

  font-weight: 800;

  color: var(--primary-color);

  line-height: 1;

  margin-bottom: 8px;

}



.stat-desc {

  font-size: 13px;

  color: var(--text-muted);

}



/* ==========================================================================

   General Sections

   ========================================================================== */

.section {

  padding: 80px 0;

}



.section-title {

  font-size: 36px;

  font-weight: 800;

  margin-bottom: 48px;

  color: var(--primary-color);

  letter-spacing: -1px;

}



/* ==========================================================================

   Feature Cards (Overview Widgets)

   ========================================================================== */

.cards-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

}



.news-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 32px;

}

.feature-card {

  background: var(--card-bg);

  padding: 32px;

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

  box-shadow: var(--shadow-sm);

  display: flex;

  flex-direction: column;

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

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

  position: relative;

  overflow: hidden;

}



.feature-card::before {

  content: '';

  position: absolute;

  top: 0; left: 0; right: 0;

  height: 4px;

  background: var(--accent-gradient);

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.4s ease;

}



.feature-card:hover {

  transform: translateY(-8px);

  box-shadow: var(--shadow-md);

  border-color: rgba(37, 99, 235, 0.2);

}



.feature-card:hover::before {

  transform: scaleX(1);

}



.feature-header {

  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 20px;

}



.feature-icon-box {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(37, 99, 235, 0.1);

  color: var(--accent-color);

  transition: all 0.3s ease;

}



.feature-card:hover .feature-icon-box {

  background: var(--accent-gradient);

  color: white;

  transform: rotate(5deg) scale(1.1);

}



.feature-card h3 {

  font-size: 20px;

  font-weight: 800;

  color: var(--primary-color);

  margin: 0;

}



.feature-card p {

  color: var(--text-muted);

  font-size: 14px;

  margin-bottom: 24px;

  line-height: 1.6;

}



.feature-list {

  margin-bottom: 32px;

  flex-grow: 1;

}



.feature-list li {

  margin-bottom: 12px;

  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 14px;

  font-weight: 600;

  color: var(--text-main);

}

.feature-list li::before {

  content: 'â†’';

  color: var(--success-color);

  font-weight: 800;

}



.feature-btn {

  width: 100%;

  padding: 12px;

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

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

  background: transparent;

  color: var(--text-main);

  font-weight: 700;

  font-size: 15px;

  cursor: pointer;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;

  transition: all 0.3s ease;

}



.feature-card:hover .feature-btn {

  background: var(--accent-gradient);

  color: white;

  border-color: transparent;

}



/* ==========================================================================

   Section Dark Flow

   ========================================================================== */

.section-dark {

  background: var(--primary-color) !important;

  color: white;

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

  border-bottom: 1px solid rgba(255,255,255,0.05);

}



/* ==========================================================================

   IPO Cards (Subscription & General)

   ========================================================================== */

.ipo-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

  gap: 32px;

}



.ipo-grid-large {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));

  gap: 32px;

}



.ipo-card {

  background: var(--card-bg);

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

  padding: 32px;

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

  box-shadow: var(--shadow-sm);

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  position: relative;

  overflow: hidden;

  display: flex;

  flex-direction: column;

}



.ipo-card::before {

  content: '';

  position: absolute;

  top: 0; left: 0; right: 0; bottom: 0;

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

  border: 2px solid transparent;

  background: linear-gradient(135deg, var(--accent-color), var(--success-color)) border-box;

  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  opacity: 0;

  transition: opacity 0.4s ease;

  pointer-events: none;

}



.ipo-card:hover {

  transform: translateY(-8px);

  box-shadow: var(--shadow-hover);

}



.ipo-card:hover::before {

  opacity: 1;

}







.ipo-card-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 24px;

}



.ipo-company-info {

  display: flex;

  align-items: center;

  gap: 16px;

}



.ipo-logo {

  width: 56px;

  height: 56px;

  background: linear-gradient(135deg, #F8FAFC, #E2E8F0);

  border-radius: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 20px;

  color: var(--primary-color);

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

  transition: transform 0.4s ease;

}



.ipo-card:hover .ipo-logo {

  transform: scale(1.05);

}



.ipo-name {

  font-weight: 800;

  font-size: 19px;

  color: var(--primary-color);

  margin-bottom: 6px;

}



.ipo-details {

  margin-bottom: 24px;

  background: #F8FAFC;

  padding: 20px;

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

  flex-grow: 1;

  border: 1px solid rgba(0,0,0,0.02);

}



.ipo-detail-row {

  display: flex;

  justify-content: space-between;

  margin-bottom: 12px;

  font-size: 15px;

}

.ipo-detail-row:last-child {

  margin-bottom: 0;

}



.ipo-detail-label {

  color: var(--text-muted);

  font-weight: 500;

}



.ipo-detail-value {

  font-weight: 700;

  color: var(--primary-color);

}



.ipo-card-footer {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-top: 20px;

  border-top: 1px dashed var(--border-color);

}



/* ==========================================================================

   Premium Tables Dashboard

   ========================================================================== */

.table-container {

    overflow-x: auto;

    background: var(--card-bg);

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

    box-shadow: var(--shadow-sm);

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

}

table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    text-align: left;

}

th, td {

    padding: 20px 24px;

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

}

th {

    background: #F8FAFC;

    

    font-weight: 600;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* Enhanced Row Hover */

tbody tr {

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

tbody tr:hover {

    background: rgba(37,99,235,0.02);

    box-shadow: inset 4px 0 0 var(--accent-color);

}

tbody tr:hover td:first-child {

    transform: translateX(6px);

}

tbody tr td:first-child {

    transition: transform 0.3s ease;

}



/* Dark Table Variant */

.table-dark {

    background: rgba(255,255,255,0.03);

    border-color: rgba(255,255,255,0.1);

    box-shadow: 0 10px 40px rgba(0,0,0,0.2);

}

.table-dark table {

    color: white;

}

.table-dark th {

    background: rgba(255,255,255,0.05);

    color: rgba(255,255,255,0.6);

    border-bottom-color: rgba(255,255,255,0.1);

}

.table-dark th, .table-dark td {

    border-bottom-color: rgba(255,255,255,0.05);

}

.table-dark tbody tr:hover {

    background: rgba(255,255,255,0.05);

    box-shadow: inset 4px 0 0 var(--success-color);

}



/* Company Logo Avatars */

.company-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.company-logo {

    width: 40px;

    height: 40px;

    border-radius: 10px;

    background: linear-gradient(135deg, #3B82F6, #1D4ED8);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;

    font-size: 18px;

    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);

    flex-shrink: 0;

}

.company-logo.sme-logo {

    background: linear-gradient(135deg, #F59E0B, #D97706);

    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);

}



/* Pulsing Status Dot */

.pulse-dot {

    display: inline-block;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--success-color);

    margin-right: 6px;

    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);

    animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);

}

@keyframes pulse {

    to {

        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);

    }

}

.badge-open {

    display: inline-flex;

    align-items: center;

}



/* Date Progress Bar */

.date-cell {

    display: flex;

    flex-direction: column;

    gap: 4px;

}

.progress-mini {

    height: 4px;

    width: 60px;

    background: var(--border-color);

    border-radius: 2px;

    overflow: hidden;

}

.progress-mini-bar {

    height: 100%;

    background: var(--warning-color);

    border-radius: 2px;

}



/* ==========================================================================

   News Cards

   ========================================================================== */

.news-split-layout {

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 32px;

}



.main-article {

  background: var(--card-bg);

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

  overflow: hidden;

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

  box-shadow: var(--shadow-sm);

  display: flex;

  flex-direction: column;

}



.main-article-img {

  height: 300px;

  background-size: cover;

  background-position: center;

  position: relative;

}



.main-article-content {

  padding: 32px;

}



.main-article-content h2 {

  font-size: 26px;

  font-weight: 800;

  margin-bottom: 16px;

  color: var(--primary-color);

  line-height: 1.3;

}



.main-article-content p {

  color: var(--text-muted);

  font-size: 16px;

  line-height: 1.6;

  margin-bottom: 24px;

}



.news-sidebar {

  background: white;

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

  padding-left: 32px;

}



.sidebar-title {

  font-size: 18px;

  font-weight: 800;

  color: var(--primary-color);

  margin-bottom: 24px;

  text-transform: uppercase;

  letter-spacing: 1px;

}



.sidebar-news-item {

  display: flex;

  gap: 16px;

  margin-bottom: 24px;

  text-decoration: none;

  group: hover;

}

.sidebar-news-item:last-child {

  margin-bottom: 0;

}



.sidebar-icon {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  background: var(--bg-color);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

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

  color: var(--accent-color);

}



.sidebar-content h4 {

  font-size: 15px;

  font-weight: 700;

  color: var(--primary-color);

  margin-bottom: 8px;

  line-height: 1.4;

  transition: color 0.2s ease;

}



.sidebar-news-item:hover .sidebar-content h4 {

  color: var(--accent-color);

}



.sidebar-content .date {

  font-size: 13px;

  color: var(--text-muted);

  font-weight: 500;

}



.news-card {

  background: var(--card-bg);

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

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition: all 0.3s ease;

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

}



.news-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-hover);

}



.news-img {

  height: 200px;

  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);

  position: relative;

}



.news-content {

  padding: 24px;

}



.news-category {

  color: var(--accent-color);

  font-size: 12px;

  font-weight: 800;

  margin-bottom: 12px;

  display: block;

  text-transform: uppercase;

  letter-spacing: 1px;

}



.news-title {

  font-size: 20px;

  font-weight: 700;

  margin-bottom: 12px;

  color: var(--primary-color);

  line-height: 1.4;

}



.news-desc {

  color: var(--text-muted);

  font-size: 15px;

  margin-bottom: 20px;

}



.news-meta {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 14px;

  font-weight: 600;

  color: var(--text-muted);

  padding-top: 16px;

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

}



/* ==========================================================================

   Ads & Utilities

   ========================================================================== */

.ad-wrapper {

  text-align: center;

  margin: 40px auto;

  padding: 0 24px;

}



.ad-label {

  display: block;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 1px;

  color: var(--text-muted);

  margin-bottom: 8px;

}



.ad-grid {

  display: grid;

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

  gap: 24px;

  max-width: 1000px;

  margin: 0 auto;

}



.ad-image {

  width: 100%;

  max-height: 250px;

  object-fit: cover;

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

  box-shadow: var(--shadow-md);

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

  transition: transform 0.3s ease;

}



.ad-image:hover {

  transform: translateY(-3px);

  box-shadow: var(--shadow-hover);

}



.ad-leaderboard {

  width: 100%;

  max-width: 970px;

  max-height: 250px;

  object-fit: cover;

  object-position: center;

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

  box-shadow: var(--shadow-md);

  margin: 0 auto;

}



.two-col-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

}



.alert {

  padding: 20px;

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

  background: #FFFBEB;

  color: #B45309;

  border: 1px solid #FDE68A;

  margin-top: 32px;

  font-weight: 500;

  display: flex;

  align-items: center;

  gap: 12px;

}



/* ==========================================================================

   Advertisement Containers

   ========================================================================== */

.ad-container {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  background: rgba(0,0,0,0.02);

  border: 1px dashed rgba(0,0,0,0.1);

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

  padding: 10px;

  position: relative;

  overflow: hidden;

  margin: 0 auto;

}



.ad-container.dark {

  background: rgba(255,255,255,0.03);

  border-color: rgba(255,255,255,0.1);

}



.ad-label {

  font-size: 10px;

  text-transform: uppercase;

  color: var(--text-muted);

  letter-spacing: 1px;

  margin-bottom: 6px;

  font-weight: 600;

}



.ad-container.dark .ad-label {

  color: rgba(255,255,255,0.5);

}



.ad-img {

  max-width: 100%;

  height: auto;

  border-radius: 4px;

  object-fit: cover;

  max-height: 250px; /* Constrain massive images */

}



.ad-leaderboard { max-width: 970px; width: 100%; max-height: none; }

.ad-leaderboard .ad-img { max-height: none; }

.ad-medium { max-width: 728px; width: 100%; max-height: none; }

.ad-medium .ad-img { max-height: none; }

.ad-sidebar { max-width: 300px; width: 100%; }



/* ==========================================================================

   Broker Reviews

   ========================================================================== */

.broker-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  width: 100%;

}



.broker-card {

  background: white;

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

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  display: flex;

  flex-direction: column;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  text-align: center;

  position: relative;

}



.broker-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

}



.broker-logo-area {

  padding: 32px 24px 24px;

}



.broker-rating {

  background: var(--success-color);

  color: white;

  padding: 14px 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  font-size: 15px;

}



.broker-rating .stars {

  font-weight: 800;

  font-size: 20px;

  margin-bottom: 4px;

  letter-spacing: 0.5px;

}



.broker-rating .review-count {

  font-size: 13px;

  font-weight: 600;

  opacity: 0.95;

}



.broker-details-list {

  padding: 20px 24px;

  text-align: left;

}



.broker-details-list .bd-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 14px;

  font-size: 15px;

  color: var(--text-secondary);

  font-weight: 500;

}



.broker-details-list .bd-row strong {

  color: var(--primary-color);

  font-size: 15px;

  font-weight: 700;

}



.broker-cta-area {

  background: linear-gradient(135deg, #1e3a8a, #2563eb);

  padding: 24px;

  color: white;

  text-align: center;

  flex-grow: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

}



.broker-cta-area > div:first-child {

  font-size: 14px !important;

  font-weight: 500 !important;

  margin-bottom: 6px !important;

  color: rgba(255,255,255,0.85) !important;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}



.broker-cta-area > div:nth-child(2) {

  font-size: 20px !important;

  font-weight: 800 !important;

  margin-bottom: 16px !important;

  color: white !important;

  line-height: 1.2;

}



.broker-btn {

  background: #16a34a;

  color: white;

  border: none;

  width: 100%;

  padding: 14px;

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

  font-weight: 800;

  font-size: 16px;

  letter-spacing: 0.3px;

  transition: all 0.2s;

  cursor: pointer;

  display: block;

  text-align: center;

  box-shadow: 0 4px 12px rgba(22,163,74,0.4);

}



.broker-btn:hover {

  background: #15803d;

  color: white;

  transform: translateY(-1px);

  box-shadow: 0 6px 16px rgba(22,163,74,0.5);

}



.broker-view-details {

  display: block;

  padding: 16px;

  color: var(--accent-color);

  font-weight: 600;

  font-size: 14px;

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

  transition: background 0.2s;

}



.broker-view-details:hover {

  background: #F8FAFC;

}



/* ==========================================================================

   Broker Details Page

   ========================================================================== */

.broker-detail-layout {

  display: flex;

  gap: 32px;

  align-items: flex-start;

}



.broker-main-content {

  flex: 1;

  background: white;

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

  box-shadow: var(--shadow-sm);

  overflow: hidden;

}



.broker-tabs {

  display: flex;

  background: #F8FAFC;

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

  overflow-x: auto;

}



.broker-tabs a {

  padding: 16px 24px;

  color: var(--text-muted);

  font-weight: 600;

  white-space: nowrap;

  border-bottom: 2px solid transparent;

  transition: all 0.2s;

}



.broker-tabs a:hover {

  color: var(--primary-color);

  background: white;

}



.broker-tabs a.active {

  color: var(--success-color);

  border-bottom-color: var(--success-color);

  background: white;

}



.broker-review-body {

  padding: 32px;

}



.highlight-yellow {

  background: #FEF08A;

  padding: 2px 6px;

  border-radius: 4px;

  color: #854D0E;

}



.broker-sidebar {

  width: 320px;

  flex-shrink: 0;

  display: flex;

  flex-direction: column;

  gap: 24px;

  position: sticky;

  top: 100px;

}



.stats-box {

  background: white;

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

  padding: 20px;

  box-shadow: var(--shadow-sm);

  display: flex;

  justify-content: space-between;

  align-items: center;

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

}



.client-count {

  font-weight: 700;

  color: #E11D48;

  font-size: 18px;

}



.client-trend {

  background: #E11D48;

  color: white;

  padding: 4px 8px;

  border-radius: 4px;

  font-weight: 700;

  font-size: 14px;

}



.cta-widget {

  background: #FEF9C3;

  border: 2px solid #FDE047;

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

  overflow: hidden;

  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

}



.cta-header {

  text-align: center;

  font-weight: 800;

  color: #E11D48;

  padding: 16px;

  font-size: 18px;

}



.cta-body {

  padding: 0 24px 24px;

}



.cta-body ul {

  list-style-type: none;

  padding: 0;

  margin: 0;

  font-size: 14px;

  line-height: 1.6;

}



.cta-body ul li {

  margin-bottom: 8px;

  position: relative;

  padding-left: 20px;

}



.cta-body ul li::before {

  content: 'âœ“';

  position: absolute;

  left: 0;

  color: var(--success-color);

  font-weight: bold;

}



@media (max-width: 992px) {

  .broker-detail-layout {

    flex-direction: column;

  }

  .broker-sidebar {

    width: 100%;

    position: static;

  }

}



/* ==========================================================================

   Premium Advertisement Banners

   ========================================================================== */

.premium-ad-banner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);

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

  padding: 24px 40px;

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);

  border: 1px solid rgba(255, 255, 255, 0.1);

  position: relative;

  overflow: hidden;

}



.premium-ad-banner::before {

  content: '';

  position: absolute;

  top: -50%;

  left: -10%;

  width: 40%;

  height: 200%;

  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);

  transform: rotate(25deg);

  pointer-events: none;

}



.premium-ad-content {

  position: relative;

  z-index: 2;

  text-align: left;

}



.premium-ad-title {

  color: #fff;

  font-size: 24px;

  font-weight: 800;

  margin-bottom: 4px;

  letter-spacing: -0.5px;

}



.premium-ad-title span {

  color: #34d399; /* Neon green */

}



.premium-ad-desc {

  color: rgba(255, 255, 255, 0.7);

  font-size: 15px;

  margin: 0;

}



.premium-ad-cta {

  position: relative;

  z-index: 2;

}



.premium-ad-cta .btn {

  background: #10b981;

  color: #fff;

  border: none;

  font-weight: 700;

  padding: 12px 24px;

  border-radius: 50px;

  font-size: 15px;

  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);

  transition: all 0.3s ease;

  white-space: nowrap;

}



.premium-ad-cta .btn:hover {

  background: #059669;

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);

}



.premium-ad-banner.mini {

  padding: 40px 30px;

  flex-direction: column;

  text-align: center;

  justify-content: center;

  gap: 20px;

  background: rgba(15, 23, 42, 0.4);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.15);

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

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

  transition: transform 0.3s ease, border-color 0.3s ease;

}



.premium-ad-banner.mini:hover {

  transform: translateY(-5px);

  border-color: rgba(16, 185, 129, 0.4);

}



.premium-ad-banner.mini .premium-ad-title {

  font-size: 20px;

  line-height: 1.3;

}



.premium-ad-banner.mini .premium-ad-desc {

  font-size: 14px;

  color: rgba(255,255,255,0.8);

}



.premium-ad-banner.mini .premium-ad-cta .btn {

  padding: 12px 28px;

  font-size: 15px;

  width: 100%;

}



.premium-ad-banner.full-width {

  width: 100%;

  max-width: 100%;

  border-radius: 12px;

  border-left: 1px solid rgba(255, 255, 255, 0.1);

  border-right: 1px solid rgba(255, 255, 255, 0.1);

}



@media (max-width: 768px) {

  .premium-ad-banner {

    flex-direction: column;

    text-align: center;

    padding: 24px;

    gap: 16px;

  }

  .premium-ad-content {

    text-align: center;

  }

}



/* ==========================================================================

   Footer

   ========================================================================== */

.site-footer {

  background: var(--primary-color);

  color: #94A3B8;

  padding: 0 0 24px;

  position: relative;

  overflow: hidden;

}



.site-footer::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 1px;

  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);

}



.footer-grid {

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 48px;

  margin-bottom: 60px;

}



.footer-col h4 {

  color: white;

  font-size: 15px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  margin-bottom: 24px;

}



.footer-links li {

  margin-bottom: 16px;

}



.footer-links a {

  color: #94A3B8;

  font-weight: 500;

}



.footer-links a:hover {

  color: var(--accent-color);

  padding-left: 4px;

}



.footer-bottom {

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

  padding-top: 32px;

  text-align: center;

  font-size: 14px;

}



.footer-bottom p {

  margin-bottom: 12px;

}



/* ==========================================================================

   Animations

   ========================================================================== */



@keyframes floatShape {

  0% { transform: rotate(-45deg) translate(0, 0); }

  50% { transform: rotate(-45deg) translate(5%, 5%); }

  100% { transform: rotate(-45deg) translate(0, 0); }

}



@keyframes floatShapeReverse {

  0% { transform: rotate(0deg) translate(0, 0); }

  50% { transform: rotate(10deg) translate(-5%, -5%); }

  100% { transform: rotate(0deg) translate(0, 0); }

}



@keyframes pulseOpen {

  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }

  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }

  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }

}



/* Scroll Animations */

.animate-on-scroll {

  opacity: 0;

  transform: translateY(30px);

  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  will-change: opacity, transform;

}



.animate-on-scroll.is-visible {

  opacity: 1;

  transform: translateY(0);

}



/* Stagger delays for grid items */

.delay-1 { transition-delay: 100ms; }

.delay-2 { transition-delay: 200ms; }

.delay-3 { transition-delay: 300ms; }

.delay-4 { transition-delay: 400ms; }



/* ==========================================================================

   Page Body Rebuild (Open for Subscription, 3-Col Data)

   ========================================================================== */



/* Subscription Grid */

.subscription-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

  align-items: stretch;

}



.sub-card {

  background: white;

  border: 1px solid #E2E8F0;

  border-radius: 12px;

  padding: 20px;

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;

  flex-direction: column;

}



.sub-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  border-color: #CBD5E1;

}



.sub-card-header {

  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-bottom: 16px;

}



.sub-logo {

  width: 40px;

  height: 40px;

  background: #F8FAFC;

  border: 1px solid #E2E8F0;

  border-radius: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 14px;

}



.sub-title {

  font-weight: 700;

  font-size: 15px;

  color: #0f172a;

  line-height: 1.2;

  flex: 1;

}



.sub-badge {

  font-size: 10px;

  font-weight: 700;

  padding: 4px 8px;

  border-radius: 4px;

}



.sub-badge.main {

  background: #DBEAFE;

  color: #1E40AF;

}



.sub-badge.sme {

  background: #F3E8FF;

  color: #7E22CE;

}



.sub-price {

  font-size: 20px;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 16px;

}



.sub-stats {

  display: flex;

  justify-content: space-between;

  margin-bottom: 16px;

  padding-bottom: 16px;

  border-bottom: 1px solid #F1F5F9;

}



.sub-stats > div {

  display: flex;

  flex-direction: column;

  gap: 4px;

}



.sub-stats .label {

  font-size: 12px;

  color: #64748B;

  font-weight: 500;

}



.sub-stats .value {

  font-size: 13px;

  font-weight: 600;

  color: #0f172a;

}



.sub-dates {

  font-size: 13px;

  color: #475569;

  font-weight: 500;

  margin-bottom: 20px;

}



.sub-footer {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: auto;

}



.time-left {

  display: flex;

  align-items: center;

  gap: 6px;

  font-size: 12px;

  font-weight: 600;

  color: #10B981;

}



.time-left.orange {

  color: #F59E0B;

}



.sub-btn {

  padding: 8px 16px;

  font-size: 13px;

  font-weight: 600;

  border-radius: 20px;

}



/* 3-Column Data Grid */

.three-col-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

}



.data-col {

  display: flex;

  flex-direction: column;

}



/* ==========================================================================

   Market Statistics, Turnover & Snapshot Styles

   ========================================================================== */

.market-overview-section {

  padding: 40px 0;

  background-color: #f8fafc;

  border-bottom: 1px solid #e2e8f0;

}



.market-overview-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 30px;

  margin-bottom: 40px;

}



@media (max-width: 992px) {

  .market-overview-row {

    grid-template-columns: 1fr;

  }

}



/* Row 2 layout: 40% Ad Slider, 60% Market Snapshot Table */

.market-overview-row-2 {

  display: grid;

  grid-template-columns: 4fr 6fr;

  gap: 30px;

}



@media (max-width: 992px) {

  .market-overview-row-2 {

    grid-template-columns: 1fr;

  }

}



.section-box {

  background: white;

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

  box-shadow: var(--shadow-sm);

  border: 1px solid #e2e8f0;

  padding: 24px;

}



.section-box-title-bar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 20px;

}



.section-box-title {

  font-size: 20px;

  font-weight: 800;

  color: #0f172a;

  margin: 0;

}



.section-box-subtitle {

  font-size: 12px;

  color: #64748b;

  font-weight: 500;

}



/* Market Stats Layout */

.market-stats-grid {

  display: flex;

  flex-direction: column;

  gap: 16px;

}



.stats-top-cards {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

}



.stat-item-card {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 8px;

  padding: 12px;

  position: relative;

  overflow: hidden;

}



.stat-item-card.blue { border-top: 4px solid #3b82f6; }

.stat-item-card.green { border-top: 4px solid #10b981; }

.stat-item-card.red { border-top: 4px solid #ef4444; }

.stat-item-card.orange { border-top: 4px solid #f59e0b; }



.stat-item-label {

  font-size: 11px;

  font-weight: 600;

  color: #64748b;

  text-transform: uppercase;

  margin-bottom: 6px;

}



.stat-item-val {

  font-size: 22px;

  font-weight: 800;

  color: #0f172a;

}



.stat-item-val.blue { color: #1e3a8a; }

.stat-item-val.green { color: #16a34a; }

.stat-item-val.red { color: #dc2626; }

.stat-item-val.orange { color: #d97706; }



/* Circuit / High-Low Row */

.stats-mid-row {

  display: grid;

  grid-template-columns: 2fr 1fr 2fr;

  gap: 12px;

  align-items: center;

}



.mid-left-card, .mid-right-card {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 8px;

  padding: 12px;

  display: flex;

  justify-content: space-around;

  text-align: center;

}



.mid-sub-item {

  display: flex;

  flex-direction: column;

}



.mid-sub-label {

  font-size: 10px;

  font-weight: 600;

  color: #64748b;

  margin-bottom: 4px;

}



.mid-sub-val {

  font-size: 18px;

  font-weight: 700;

  color: #0f172a;

}



.mid-sub-val.up { color: #16a34a; }

.mid-sub-val.down { color: #dc2626; }



.nse-logo-box {

  display: flex;

  justify-content: center;

  align-items: center;

}



.nse-logo-icon {

  width: 50px;

  height: 50px;

}



/* Bottom Client Info */

.stats-bottom-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;

}



.stats-bottom-card {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-left: 4px solid #f59e0b;

  border-radius: 8px;

  padding: 12px;

}



.stats-bottom-label {

  font-size: 12px;

  font-weight: 600;

  color: #1e3b8a;

  margin-bottom: 4px;

}



.stats-bottom-val {

  font-size: 20px;

  font-weight: 800;

  color: #d97706;

}



.stats-bottom-sub {

  font-size: 10px;

  color: #64748b;

  margin-top: 2px;

}



/* Latency Card */

.latency-card {

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-bottom: 3px solid transparent;

  border-image: linear-gradient(to right, #ef4444, #f59e0b, #10b981, #3b82f6) 1;

  border-radius: 8px;

  padding: 10px 16px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 13px;

  font-weight: 600;

}



.latency-label {

  color: #1e3b8a;

  display: flex;

  align-items: center;

  gap: 6px;

}



.latency-val {

  font-size: 16px;

  font-weight: 800;

  color: #581c87;

}



/* Turnover & Snapshot Table Styles */

.market-table-container {

  overflow-x: auto;

}



.market-table {

  width: 100%;

  border-collapse: collapse;

  text-align: left;

  font-size: 13px;

}



.market-table th {

  background: #31276a;

  color: white;

  padding: 12px;

  font-weight: 600;

  text-transform: uppercase;

  font-size: 11px;

}



.market-table td {

  padding: 10px 12px;

  border-bottom: 1px solid #e2e8f0;

  color: #334155;

  font-weight: 500;

}



.market-table tr:hover td {

  background: #f1f5f9;

}



.market-table td.bold {

  font-weight: 700;

  color: #0f172a;

}



.market-table td.up { color: #16a34a; font-weight: 700; }

.market-table td.down { color: #dc2626; font-weight: 700; }



/* SEBI Ad Slider Card */

.ad-slider-card {

  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);

  color: white;

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

  padding: 0;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  overflow: hidden;

  position: relative;

  min-height: 380px;

  box-shadow: var(--shadow-sm);

  border: 1px solid #1e293b;

}



.ad-slide-image-area {

  position: relative;

  flex: 1;

  width: 100%;

  background: #0f172a;

  display: flex;

  align-items: center;

  justify-content: center;

  min-height: 200px;

}



.ad-slide-image-area img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



/* Play Overlay inside ad area */

.play-btn-overlay {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  background: rgba(255, 255, 255, 0.25);

  border-radius: 50%;

  width: 60px;

  height: 10px;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  border: 2px solid white;

  transition: all 0.3s;

}



.play-btn-overlay:hover {

  background: rgba(255, 255, 255, 0.4);

  transform: translate(-50%, -50%) scale(1.1);

}



.ad-slide-text-area {

  background: #31276a;

  padding: 20px;

  font-size: 13px;

  line-height: 1.5;

  color: #e2e8f0;

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

}



.ad-controls-row {

  display: flex;

  justify-content: flex-end;

  align-items: center;

  gap: 12px;

  margin-top: 12px;

}



.ad-dot-container {

  display: flex;

  gap: 8px;

}



.ad-dot {

  width: 8px;

  height: 8px;

  background: rgba(255, 255, 255, 0.4);

  border-radius: 50%;

  cursor: pointer;

  transition: all 0.3s;

}



.ad-dot.active {

  background: #ffffff;

  width: 18px;

  border-radius: 4px;

}



.ad-play-pause-btn {

  background: none;

  border: none;

  color: white;

  cursor: pointer;

  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 14px;

}



/* Market Snapshot tab container */

.snapshot-tabs {

  display: flex;

  border-bottom: 2px solid #e2e8f0;

  margin-bottom: 20px;

  gap: 20px;

  overflow-x: auto;

}



.snapshot-tab-btn {

  background: none;

  border: none;

  color: #64748b;

  font-weight: 700;

  padding: 10px 0;

  cursor: pointer;

  font-size: 13px;

  position: relative;

  white-space: nowrap;

}



.snapshot-tab-btn:hover {

  color: #0f172a;

}



.snapshot-tab-btn.active {

  color: #31276a;

}



.snapshot-tab-btn.active::after {

  content: '';

  position: absolute;

  bottom: -2px;

  left: 0;

  right: 0;

  height: 3px;

  background: #f59e0b;

}



.snapshot-pane {

  display: none;

}



.snapshot-pane.active {

  display: block;

}



/* ==========================================================================

   Advertisement Helper Styles

   ========================================================================== */

.ad-label {

  font-size: 10px;

  font-weight: 700;

  color: #94a3b8;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 6px;

  display: inline-block;

}



.ad-card {

  background: white;

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

  padding: 24px;

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

  box-shadow: var(--shadow-sm);

  position: relative;

}



.broker-promo-card {

  border-left: 4px solid #f59e0b;

}



.broker-ad-title {

  font-size: 11px;

  font-weight: 700;

  color: #1e3a8a;

  text-transform: uppercase;

  margin-bottom: 8px;

}



.broker-ad-img {

  max-height: 48px;

  width: auto;

  object-fit: contain;

  margin-bottom: 12px;

}



.broker-offer-text {

  font-size: 14px;

  font-weight: 700;

  color: #0f172a;

  margin-bottom: 16px;

}



.broker-cta {

  width: 100%;

}



.native-ad-card {

  border-left: 4px solid var(--accent-color);

}



.native-ad-title {

  font-size: 16px;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 6px;

}



.native-ad-desc {

  font-size: 13px;

  color: var(--text-muted);

  margin-bottom: 16px;

}



/* Sticky Bottom Ad */

.sticky-ad-box {

  position: fixed;

  bottom: 0;

  left: 50%;

  transform: translateX(-50%);

  z-index: 10000;

  background: white;

  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);

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

  border-bottom: none;

  border-top-left-radius: 12px;

  border-top-right-radius: 12px;

  padding: 10px 40px 10px 10px;

  width: 100%;

  max-width: 990px;

  display: flex;

  justify-content: center;

  align-items: center;

}



.sticky-ad-close {

  position: absolute;

  top: 8px;

  right: 12px;

  background: #f1f5f9;

  border: none;

  font-size: 18px;

  font-weight: 700;

  cursor: pointer;

  color: #64748b;

  width: 24px;

  height: 24px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.2s;

}



.sticky-ad-close:hover {

  background: #e2e8f0;

  color: #0f172a;

}



@media (max-width: 768px) {

  .sticky-ad-box {

    max-width: 340px;

    padding: 10px 30px 10px 10px;

  }

}



/* ==========================================================================

   Dynamic HTML/CSS Banner Styles

   ========================================================================== */

.dynamic-html-banner {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 16px 28px;

  border-radius: 12px;

  color: white;

  width: 100%;

  min-height: 90px;

  box-sizing: border-box;

  text-decoration: none;

  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;

  overflow: hidden;

  position: relative;

}



.dynamic-html-banner::before {

  content: '';

  position: absolute;

  top: 0; right: 0; bottom: 0; left: 0;

  background-image: 

    radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),

    radial-gradient(circle at 10% 120%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),

    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%);

  background-size: 100% 100%, 100% 100%, 20px 20px;

  z-index: 1;

  pointer-events: none;

}



.dynamic-html-banner:hover {

  transform: translateY(-4px);

}



.dynamic-banner-left {

  display: flex;

  align-items: center;

  gap: 20px;

  z-index: 2;

  position: relative;

}



.dynamic-banner-logo {

  width: 52px;

  height: 52px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.2);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 22px;

  font-weight: 800;

  color: white;

  border: 2px solid rgba(255, 255, 255, 0.4);

  flex-shrink: 0;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}



.dynamic-banner-text {

  display: flex;

  flex-direction: column;

  gap: 4px;

}



.dynamic-banner-title {

  font-size: 20px;

  font-weight: 800;

  color: white;

  margin: 0;

  line-height: 1.2;

  letter-spacing: -0.3px;

}



.dynamic-banner-subtitle {

  font-size: 14px;

  color: rgba(255, 255, 255, 0.9);

  font-weight: 600;

}



.dynamic-banner-cta-btn {

  background: white;

  color: #1e3a8a;

  padding: 12px 24px;

  border-radius: 30px;

  font-weight: 800;

  font-size: 13px;

  border: none;

  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  white-space: nowrap;

  z-index: 2;

  position: relative;

  transition: transform 0.2s ease;

  animation: adBtnPulse 2.5s infinite ease-in-out;

}



.dynamic-banner-cta-btn:hover {

  transform: scale(1.05);

}



@keyframes adBtnPulse {

  0% { transform: scale(1); }

  50% { transform: scale(1.04); box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4); }

  100% { transform: scale(1); }

}



/* Brand Gradients & Glow Shadows */

.brand-prostocks {

  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);

  box-shadow: 0 10px 25px rgba(29, 78, 216, 0.25);

}

.brand-prostocks .dynamic-banner-cta-btn {

  color: #1d4ed8;

}

.brand-prostocks:hover {

  box-shadow: 0 15px 35px rgba(29, 78, 216, 0.4);

}



.brand-groww {

  background: linear-gradient(135deg, #00d09c 0%, #059669 100%);

  box-shadow: 0 10px 25px rgba(0, 208, 156, 0.3);

}

.brand-groww .dynamic-banner-cta-btn {

  color: #059669;

}

.brand-groww:hover {

  box-shadow: 0 15px 35px rgba(0, 208, 156, 0.45);

}



.brand-zerodha {

  background: linear-gradient(135deg, #387ed1 0%, #1d4ed8 100%);

  box-shadow: 0 10px 25px rgba(56, 126, 209, 0.25);

}

.brand-zerodha .dynamic-banner-cta-btn {

  color: #1d4ed8;

}

.brand-zerodha:hover {

  box-shadow: 0 15px 35px rgba(56, 126, 209, 0.4);

}



.brand-angelone {

  background: linear-gradient(135deg, #ff7a00 0%, #d97706 100%);

  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.25);

}

.brand-angelone .dynamic-banner-cta-btn {

  color: #d97706;

}

.brand-angelone:hover {

  box-shadow: 0 15px 35px rgba(255, 122, 0, 0.4);

}



.brand-icici {

  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);

  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);

}

.brand-icici .dynamic-banner-cta-btn {

  color: #0369a1;

}

.brand-icici:hover {

  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.4);

}



.brand-paytm {

  background: linear-gradient(135deg, #00b9f5 0%, #002e6e 100%);

  box-shadow: 0 10px 25px rgba(0, 185, 245, 0.25);

}

.brand-paytm .dynamic-banner-cta-btn {

  color: #002e6e;

}

.brand-paytm:hover {

  box-shadow: 0 15px 35px rgba(0, 185, 245, 0.4);

}



/* Responsiveness for small banners */

@media (max-width: 768px) {

  .dynamic-html-banner {

    flex-direction: column;

    align-items: flex-start;

    padding: 16px;

    gap: 16px;

    min-height: auto;

  }

  .dynamic-banner-cta-btn {

    width: 100%;

    text-align: center;

    padding: 10px;

  }

}



/* ==========================================================================

   Mega Dropdown Styles

   ========================================================================== */

.has-mega-dropdown {

  position: relative !important;

}



.mega-dropdown-content {

  visibility: hidden;

  opacity: 0;

  position: absolute;

  top: 100%;

  width: 900px;

  max-width: 90vw;

  background: white;

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

  border-radius: 12px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

  z-index: 9999;

  padding: 24px;

  margin-top: 10px;

  transition: opacity 0.2s ease, visibility 0.2s ease;

  

  /* Default: Left aligned (for the first few links like IPO) */

  left: -10px;

  right: auto;

  transform: none;

  margin: 0;

}



.mega-dropdown-content.compact-dropdown,

.compact-dropdown {

  width: 520px;

  max-width: 90vw;

}



.compact-dropdown .mega-menu-grid,

.mega-menu-grid.cols-2 {

  grid-template-columns: repeat(2, 1fr) !important;

  gap: 32px !important;

}



.mega-dropdown-content .container {

  padding: 0 !important;

  max-width: 100% !important;

}



/* Center items (4 through 8) get perfectly centered dropdowns */

.nav-links > li:nth-child(n+4):nth-child(-n+8) > .mega-dropdown-content {

  left: 50%;

  right: auto;

  transform: translateX(-50%);

}



/* Right items (9 and onwards) get right-aligned dropdowns */

.nav-links > li:nth-child(n+9) > .mega-dropdown-content,

.mega-dropdown-right .mega-dropdown-content {

  left: auto;

  right: -10px;

  transform: none;

}



/* Standard vertical bridge */

.mega-dropdown-content::before {

  content: '';

  position: absolute;

  bottom: 100%;

  left: 0;

  right: 0;

  height: 30px;

  background: transparent;

}



.has-mega-dropdown:hover .mega-dropdown-content {

  visibility: visible;

  opacity: 1;

  transition-delay: 0s;

}



.mega-menu-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

}



.mega-menu-col h4 {

  font-size: 11px;

  font-weight: 800;

  color: var(--primary-color);

  text-transform: uppercase;

  letter-spacing: 0.8px;

  margin-bottom: 12px;

  border-bottom: 2px solid #f1f5f9;

  padding-bottom: 6px;

}



.mega-menu-col ul {

  list-style: none;

  padding: 0;

  margin: 0;

  display: flex;

  flex-direction: column;

  gap: 4px;

}



.mega-menu-col ul li a {

  font-size: 13px;

  font-weight: 600;

  color: var(--text-main);

  text-decoration: none;

  transition: all 0.2s;

  display: block;

  padding: 1px 0;

}



.mega-menu-col ul li a:hover {

  color: var(--accent-color);

  transform: translateX(4px);

}



.mega-menu-promo {

  grid-column: 1 / -1;

  margin-top: 16px;

  padding-top: 16px;

  border-top: 1px solid #e2e8f0;

  display: flex;

  justify-content: space-between;

  align-items: center;

}



/* Adjust header dimensions to fit expanded navigation */

.site-header {

  position: relative;

}



.site-header .container.header-inner {

  max-width: 100%;

}



.nav-links {

  gap: 12px !important;

}



.nav-links li a {

  font-size: 14.5px !important;

  font-weight: 700;

}



@media (max-width: 1024px) {

  .mega-menu-grid {

    grid-template-columns: 1fr 1fr;

  }

  .mega-menu-promo {

    grid-column: span 2;

  }

}









/* ==========================================================================

   IPOSETU Full Portal â€” Shared Layout Utilities v2

   ========================================================================== */



/* --------------------------------------------------------------------------

   Page Layout: Two-Column with Sidebar

   -------------------------------------------------------------------------- */

.page-layout {

  display: grid;



  gap: 28px;

  align-items: start;

  margin: 0 auto;

  max-width: var(--container-max);

  padding: 0 24px;

}

.page-layout .main-col { min-width: 0; }

.page-layout .sidebar-col { min-width: 0; }

@media (max-width: 1024px) {

  .page-layout { grid-template-columns: 1fr; }

  .page-layout .sidebar-col { display: none; }

}



/* --------------------------------------------------------------------------

   Page Hero / Breadcrumb

   -------------------------------------------------------------------------- */

/* ========== UNIQUE PAGE HERO BANNERS ========== */

/* Base page-hero - kept for breadcrumb compatibility */

.page-hero {

  background: #fff;

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

  padding: 20px 0 0;

}



/* Half-half hero layout */

.split-hero {

  display: flex;

  min-height: 200px;

  overflow: hidden;

  border-bottom: 1px solid rgba(255,255,255,0.1);

  position: relative;

}

.split-hero-left {

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 32px 40px;

  position: relative;

  z-index: 2;

}

.split-hero-right {

  flex: 0 0 45%;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: hidden;

}



/* IPO Hero - Deep Blue Gradient */

.split-hero.ipo-hero {

  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);

}

.ipo-hero .split-hero-right {

  background: linear-gradient(135deg, rgba(37,99,235,0.3) 0%, rgba(99,102,241,0.3) 100%);

}

.split-hero.ipo-hero .split-hero-left .hero-breadcrumb a,

.split-hero.ipo-hero .split-hero-left .hero-breadcrumb .sep,

.split-hero.ipo-hero .split-hero-left .hero-breadcrumb .current {

  color: rgba(255,255,255,0.7);

}

.split-hero.ipo-hero .split-hero-left .hero-breadcrumb a:hover { color: #93c5fd; }

.split-hero.ipo-hero .hero-title { color: #ffffff; }

.split-hero.ipo-hero .hero-desc { color: rgba(255,255,255,0.75); }



/* GMP Hero - Emerald Green Gradient */

.split-hero.gmp-hero {

  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);

}

.gmp-hero .split-hero-right {

  background: linear-gradient(135deg, rgba(5,150,105,0.3) 0%, rgba(16,185,129,0.3) 100%);

}

.split-hero.gmp-hero .split-hero-left .hero-breadcrumb a,

.split-hero.gmp-hero .split-hero-left .hero-breadcrumb .sep,

.split-hero.gmp-hero .split-hero-left .hero-breadcrumb .current {

  color: rgba(255,255,255,0.7);

}

.split-hero.gmp-hero .split-hero-left .hero-breadcrumb a:hover { color: #6ee7b7; }

.split-hero.gmp-hero .hero-title { color: #ffffff; }

.split-hero.gmp-hero .hero-desc { color: rgba(255,255,255,0.75); }



/* Brokers Hero - Premium Gold/Dark */

.split-hero.brokers-hero {

  background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #3d3530 100%) !important;

}

.brokers-hero .split-hero-right {

  background: linear-gradient(135deg, rgba(217,119,6,0.2) 0%, rgba(251,191,36,0.2) 100%);

}

.split-hero.brokers-hero .split-hero-left .hero-breadcrumb a,

.split-hero.brokers-hero .split-hero-left .hero-breadcrumb .sep,

.split-hero.brokers-hero .split-hero-left .hero-breadcrumb .current {

  color: rgba(255,255,255,0.65);

}

.split-hero.brokers-hero .split-hero-left .hero-breadcrumb a:hover { color: #fde68a; }

.split-hero.brokers-hero .hero-title { color: #ffffff; }

.split-hero.brokers-hero .hero-desc { color: rgba(255,255,255,0.7); }



/* Hero text elements */

.hero-breadcrumb {

  display: flex;

  align-items: center;

  gap: 6px;

  font-size: 12px;

  margin-bottom: 12px;

}

.hero-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }

.hero-breadcrumb .sep { color: rgba(255,255,255,0.3); }

.hero-breadcrumb .current { color: rgba(255,255,255,0.9); font-weight: 600; }

.hero-title {

  font-size: 28px;

  font-weight: 800;

  letter-spacing: -0.5px;

  margin-bottom: 8px;

  line-height: 1.2;

}

.hero-desc {

  font-size: 14px;

  line-height: 1.6;

  margin-bottom: 20px;

}

.hero-badges {

  display: flex;

  gap: 8px;

  flex-wrap: wrap;

  margin-bottom: 8px;

}

.hero-badge {

  padding: 4px 10px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.3px;

}

.hero-badge.live { background: rgba(34,197,94,0.2); color: #4ade80; border: 1px solid rgba(34,197,94,0.4); }

.hero-badge.updated { background: rgba(96,165,250,0.2); color: #93c5fd; border: 1px solid rgba(96,165,250,0.4); }

.hero-badge.count { background: rgba(251,191,36,0.2); color: #fde68a; border: 1px solid rgba(251,191,36,0.4); }

.hero-badge.free { background: rgba(167,243,208,0.15); color: #6ee7b7; border: 1px solid rgba(167,243,208,0.3); }

.hero-badge.featured { background: rgba(217,119,6,0.25); color: #fbbf24; border: 1px solid rgba(251,191,36,0.4); }



/* IPO Hero Visual - Animated floating chart blocks */

.ipo-chart-visual {

  position: relative;

  width: 240px;

  height: 160px;

}

.chart-bar {

  position: absolute;

  bottom: 0;

  border-radius: 6px 6px 0 0;

  animation: barRise 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;

  transform-origin: bottom;

  transform: scaleY(0);

}

@keyframes barRise {

  to { transform: scaleY(1); }

}

.chart-bar:nth-child(1) { left: 0; width: 28px; height: 80px; background: linear-gradient(to top, #3b82f6, #60a5fa); animation-delay: 0.1s; }

.chart-bar:nth-child(2) { left: 38px; width: 28px; height: 110px; background: linear-gradient(to top, #2563eb, #818cf8); animation-delay: 0.2s; }

.chart-bar:nth-child(3) { left: 76px; width: 28px; height: 65px; background: linear-gradient(to top, #1d4ed8, #6366f1); animation-delay: 0.3s; }

.chart-bar:nth-child(4) { left: 114px; width: 28px; height: 130px; background: linear-gradient(to top, #22d3ee, #38bdf8); animation-delay: 0.4s; }

.chart-bar:nth-child(5) { left: 152px; width: 28px; height: 95px; background: linear-gradient(to top, #10b981, #34d399); animation-delay: 0.5s; }

.chart-bar:nth-child(6) { left: 190px; width: 28px; height: 145px; background: linear-gradient(to top, #f59e0b, #fbbf24); animation-delay: 0.6s; }

.chart-label {

  position: absolute;

  top: -24px;

  left: 50%;

  transform: translateX(-50%);

  background: rgba(255,255,255,0.15);

  color: #fff;

  font-size: 10px;

  font-weight: 700;

  padding: 2px 6px;

  border-radius: 10px;

  white-space: nowrap;

  animation: fadeInDown 0.6s 0.8s both;

}

@keyframes fadeInDown {

  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }

  to { opacity: 1; transform: translateX(-50%) translateY(0); }

}



/* GMP Hero Visual - Animated percentage meters */

.gmp-meters-visual {

  display: flex;

  flex-direction: column;

  gap: 14px;

  width: 220px;

}

.gmp-meter-row {

  display: flex;

  align-items: center;

  gap: 10px;

  animation: slideInRight 0.6s both;

}

.gmp-meter-row:nth-child(1) { animation-delay: 0.1s; }

.gmp-meter-row:nth-child(2) { animation-delay: 0.2s; }

.gmp-meter-row:nth-child(3) { animation-delay: 0.3s; }

.gmp-meter-row:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {

  from { opacity: 0; transform: translateX(30px); }

  to { opacity: 1; transform: translateX(0); }

}

.gmp-meter-name {

  font-size: 11px;

  color: rgba(255,255,255,0.85);

  font-weight: 600;

  min-width: 80px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}

.gmp-meter-track {

  flex: 1;

  height: 8px;

  background: rgba(255,255,255,0.1);

  border-radius: 4px;

  overflow: hidden;

}

.gmp-meter-fill {

  height: 100%;

  border-radius: 4px;

  animation: fillScaleX 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;

  transform-origin: left center;

}

@keyframes fillScaleX {

  from { transform: scaleX(0); opacity: 0; }

  to { transform: scaleX(1); opacity: 1; }

}

.gmp-meter-pct {

  font-size: 11px;

  font-weight: 800;

  min-width: 40px;

  text-align: right;

}

.gmp-meter-pct.pos { color: #4ade80; }

.gmp-meter-pct.neg { color: #f87171; }



/* Brokers Hero Visual - Animated feature cards */

.broker-cards-visual {

  display: flex;

  flex-direction: column;

  gap: 12px;

  width: 230px;

}

.broker-feat-card {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 12px;

  padding: 12px 16px;

  display: flex;

  align-items: center;

  gap: 12px;

  animation: fadeSlideUp 0.5s both;

  transition: background 0.3s;

}

.broker-feat-card:hover { background: rgba(255,255,255,0.14); }

.broker-feat-card:nth-child(1) { animation-delay: 0.1s; }

.broker-feat-card:nth-child(2) { animation-delay: 0.2s; }

.broker-feat-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeSlideUp {

  from { opacity: 0; transform: translateY(20px); }

  to { opacity: 1; transform: translateY(0); }

}

.broker-feat-icon {

  width: 36px;

  height: 36px;

  border-radius: 10px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 18px;

  flex-shrink: 0;

}

.broker-feat-info .feat-title {

  font-size: 12px;

  font-weight: 700;

  color: #fff;

  margin-bottom: 2px;

}

.broker-feat-info .feat-sub {

  font-size: 10px;

  color: rgba(255,255,255,0.6);

}



/* Decorative background orb */

.hero-orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(60px);

  opacity: 0.3;

  pointer-events: none;

}



@media (max-width: 768px) {

  .split-hero { flex-direction: column; min-height: auto; }

  .split-hero-right { display: none; }

  .split-hero-left { padding: 24px 20px; }

  .hero-title { font-size: 22px; }

}



/* Subscription Hero - Purple/Violet Theme */

.split-hero.sub-hero {

  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 50%, #6d28d9 100%) !important;

}

.sub-hero .split-hero-right {

  background: linear-gradient(135deg, rgba(109,40,217,0.3) 0%, rgba(167,139,250,0.2) 100%);

}

.split-hero.sub-hero .hero-title { color: #ffffff; }

.split-hero.sub-hero .hero-desc { color: rgba(255,255,255,0.75); }

.split-hero.sub-hero .hero-breadcrumb a,

.split-hero.sub-hero .hero-breadcrumb .sep,

.split-hero.sub-hero .hero-breadcrumb .current { color: rgba(255,255,255,0.7); }

.split-hero.sub-hero .hero-breadcrumb a:hover { color: #c4b5fd; }

.hero-badge.sub { background: rgba(196,181,253,0.2); color: #c4b5fd; border: 1px solid rgba(196,181,253,0.4); }



/* Subscription Visual - Oversubscription bars */

.sub-bars-visual {

  display: flex;

  align-items: flex-end;

  gap: 10px;

  height: 160px;

  padding: 0 20px;

}

.sub-bar-group {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 4px;

}

.sub-bar-group:nth-child(1) .sub-bar-fill { animation-delay: 0.1s; }

.sub-bar-group:nth-child(2) .sub-bar-fill { animation-delay: 0.25s; }

.sub-bar-group:nth-child(3) .sub-bar-fill { animation-delay: 0.4s; }

.sub-bar-group:nth-child(4) .sub-bar-fill { animation-delay: 0.55s; }

.sub-bar-fill {

  width: 36px;

  border-radius: 6px 6px 0 0;

  animation: barRise 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;

  transform-origin: bottom;

  transform: scaleY(0);

}

.sub-bar-lbl {

  font-size: 9px;

  color: rgba(255,255,255,0.6);

  font-weight: 600;

  white-space: nowrap;

}

.sub-bar-val {

  font-size: 10px;

  color: #c4b5fd;

  font-weight: 800;

}



/* Allotment Hero - Rose/Teal Theme */

.split-hero.allot-hero {

  background: linear-gradient(135deg, #0f2b2b 0%, #115e59 50%, #0d9488 100%) !important;

}

.allot-hero .split-hero-right {

  background: linear-gradient(135deg, rgba(13,148,136,0.3) 0%, rgba(20,184,166,0.2) 100%);

}

.split-hero.allot-hero .hero-title { color: #ffffff; }

.split-hero.allot-hero .hero-desc { color: rgba(255,255,255,0.75); }

.split-hero.allot-hero .hero-breadcrumb a,

.split-hero.allot-hero .hero-breadcrumb .sep,

.split-hero.allot-hero .hero-breadcrumb .current { color: rgba(255,255,255,0.7); }

.split-hero.allot-hero .hero-breadcrumb a:hover { color: #5eead4; }

.hero-badge.teal { background: rgba(94,234,212,0.15); color: #5eead4; border: 1px solid rgba(94,234,212,0.4); }



/* Allotment Visual - Check status steps */

.allot-steps-visual {

  display: flex;

  flex-direction: column;

  gap: 14px;

  width: 220px;

}

.allot-step {

  display: flex;

  align-items: center;

  gap: 12px;

  animation: fadeSlideUp 0.5s both;

}

.allot-step:nth-child(1) { animation-delay: 0.1s; }

.allot-step:nth-child(2) { animation-delay: 0.25s; }

.allot-step:nth-child(3) { animation-delay: 0.4s; }

.allot-step-num {

  width: 32px;

  height: 32px;

  border-radius: 50%;

  background: rgba(94,234,212,0.2);

  border: 1px solid rgba(94,234,212,0.4);

  color: #5eead4;

  font-weight: 800;

  font-size: 13px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

}

.allot-step-text .step-title {

  font-size: 12px;

  font-weight: 700;

  color: #fff;

  margin-bottom: 2px;

}

.allot-step-text .step-sub {

  font-size: 10px;

  color: rgba(255,255,255,0.6);

}

.page-hero .container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

.breadcrumb {

  display: flex;

  align-items: center;

  gap: 6px;

  font-size: 12px;

  color: var(--text-muted);

  margin-bottom: 10px;

}

.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }

.breadcrumb a:hover { color: var(--accent-color); }

.breadcrumb .sep { color: #CBD5E1; }

.breadcrumb .current { color: var(--text-main); font-weight: 600; }

.page-hero-title {

  font-size: 26px;

  font-weight: 800;

  color: var(--primary-color);

  margin-bottom: 4px;

  letter-spacing: -0.4px;

}

.page-hero-desc {

  font-size: 14px;

  color: var(--text-muted);

  margin-bottom: 16px;

}

.page-hero-tabs {

  display: flex;

  gap: 0;

  border-bottom: none;

  margin-top: 8px;

}

.page-hero-tab {

  padding: 10px 18px;

  font-size: 13px;

  font-weight: 600;

  color: var(--text-muted);

  cursor: pointer;

  border-bottom: 3px solid transparent;

  transition: all .2s;

  white-space: nowrap;

  background: none;

  border-top: none;

  border-left: none;

  border-right: none;

  font-family: inherit;

}



/* --------------------------------------------------------------------------

   Advertisement Slots

   -------------------------------------------------------------------------- */

.ad-slot {

  position: relative;

  background: #ffffff;

  border: 1px solid #e2e8f0;

  border-radius: 12px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  text-align: center;

  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);

  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.ad-slot:hover {

  transform: translateY(-2px);

  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);

}

.ad-slot .ad-label-container {

  width: 100%;

  text-align: right;

  padding: 4px 12px 0;

}

.ad-slot .ad-label {

  font-size: 9px;

  font-weight: 700;

  color: #94a3b8;

  letter-spacing: 0.5px;

  text-transform: uppercase;

}

.ad-slot .ad-inner {

  padding: 16px;

  color: #94a3b8;

  font-size: 12px;

  font-weight: 600;

}

.ad-slot .ad-size {

  font-size: 11px;

  color: #cbd5e1;

  margin-top: 4px;

}

/* Leaderboard 970x90 */

.ad-leaderboard {

  width: 100%;

  min-height: 90px;

  height: auto;

  max-width: 970px;

  margin: 0 auto;

}

/* Large Banner 970x250 */

.ad-large-banner {

  width: 100%;

  min-height: 250px;

  height: auto;

  max-width: 970px;

  margin: 0 auto;

}

/* Medium Rectangle 300x250 */

.ad-rectangle {

  width: 100%;

  max-width: 300px;

  min-height: 250px;

  height: auto;

}

/* Wide Skyscraper 300x600 */

.ad-skyscraper {

  width: 100%;

  max-width: 300px;

  min-height: 600px;

  height: auto;

}

/* Banner 728x90 */

.ad-banner {

  width: 100%;

  max-width: 728px;

  min-height: 90px;

  height: auto;

  margin: 0 auto;

}

/* Mobile Banner 320x100 */

.ad-mobile {

  width: 100%;

  max-width: 320px;

  min-height: 100px;

  height: auto;

  margin: 0 auto;

}

.ad-wrap {

  display: flex;

  justify-content: center;

  padding: 12px 0;

}

.ad-wrap.bordered {

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

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

  background: #FAFBFC;

  margin: 20px 0;

}



/* --------------------------------------------------------------------------

   Filter Bar

   -------------------------------------------------------------------------- */

.filter-bar {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  align-items: center;

  background: #fff;

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

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

  padding: 12px 16px;

  margin-bottom: 20px;

}

.filter-bar input[type="text"],

.filter-bar select {

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

  border-radius: 6px;

  padding: 7px 12px;

  font-size: 13px;

  font-family: inherit;

  color: var(--text-main);

  background: #F8FAFC;

  transition: border-color .2s;

  outline: none;

}

.filter-bar input[type="text"]:focus,

.filter-bar select:focus {

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

  background: #fff;

}

.filter-bar input[type="text"] { min-width: 180px; }

.filter-bar select { min-width: 130px; }

.filter-bar .btn-filter {

  padding: 7px 16px;

  border-radius: 6px;

  background: var(--accent-color);

  color: #fff;

  border: none;

  font-size: 13px;

  font-weight: 600;

  font-family: inherit;

  cursor: pointer;

  transition: background .2s;

}

.filter-bar .btn-filter:hover { background: #1D4ED8; }

.filter-bar .btn-reset {

  padding: 7px 14px;

  border-radius: 6px;

  background: #F1F5F9;

  color: var(--text-muted);

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

  font-size: 13px;

  font-family: inherit;

  cursor: pointer;

}



/* --------------------------------------------------------------------------

   Tabs

   -------------------------------------------------------------------------- */

.tab-bar {

  display: flex;

  gap: 0;

  border-bottom: 2px solid #E2E8F0;

  margin-bottom: 20px;

  overflow-x: auto;

}



.tab-btn {

  padding: 9px 18px;

  font-size: 13px;

  font-weight: 600;

  color: var(--text-muted);

  cursor: pointer;

  border: none;

  background: none;

  border-bottom: 3px solid transparent;

  margin-bottom: -2px;

  transition: all .2s;

  font-family: inherit;

  white-space: nowrap;

}

.tab-btn:hover { color: var(--accent-color); }

.tab-btn.active { color: var(--accent-color); border-bottom-color: var(--accent-color); }

.tab-pane { display: none; }

.tab-pane.active { display: block; }



/* --------------------------------------------------------------------------

   Stat Cards Row

   -------------------------------------------------------------------------- */

.stat-cards {

  display: grid;

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

  gap: 16px;

  margin-bottom: 24px;

}

.stat-card {

  background: #fff;

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

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

  padding: 18px 20px;

  display: flex;

  flex-direction: column;

  gap: 4px;

}

.stat-card .stat-label {

  font-size: 11px;

  font-weight: 700;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.6px;

}

.stat-card .stat-value {

  font-size: 24px;

  font-weight: 800;

  color: var(--primary-color);

  letter-spacing: -0.5px;

}

.stat-card .stat-sub {

  font-size: 12px;

  color: var(--text-muted);

}

.stat-card.positive .stat-value { color: var(--success-color); }

.stat-card.negative .stat-value { color: var(--danger-color); }

.stat-card.accent .stat-value { color: var(--accent-color); }



/* --------------------------------------------------------------------------

   Chart Placeholder

   -------------------------------------------------------------------------- */

.chart-placeholder {

  background: #F8FAFC;

  border: 1px dashed #CBD5E1;

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

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 8px;

  color: #94A3B8;

  font-size: 13px;

  font-weight: 600;

}

.chart-placeholder .chart-icon {

  font-size: 36px;

  opacity: .5;

}

.chart-placeholder .chart-label { font-size: 14px; color: #94A3B8; }

.chart-placeholder .chart-sub { font-size: 11px; color: #CBD5E1; }



/* --------------------------------------------------------------------------

   FAQ Accordion

   -------------------------------------------------------------------------- */

.faq-section { margin-top: 40px; }

.faq-section h2 {

  font-size: 20px;

  font-weight: 800;

  color: var(--primary-color);

  margin-bottom: 16px;

}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {

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

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

  overflow: hidden;

  background: #fff;

}

.faq-question {

  width: 100%;

  text-align: left;

  padding: 14px 18px;

  font-size: 14px;

  font-weight: 600;

  color: var(--primary-color);

  background: none;

  border: none;

  cursor: pointer;

  font-family: inherit;

  display: flex;

  justify-content: space-between;

  align-items: center;

  transition: background .2s;

}

.faq-question:hover { background: #F8FAFC; }

.faq-question .faq-icon {

  font-size: 18px;

  color: var(--accent-color);

  font-weight: 400;

  flex-shrink: 0;

  transition: transform .3s;

}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {

  padding: 0 18px 0;

  font-size: 13px;

  color: var(--text-muted);

  line-height: 1.7;

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;

}

.faq-answer.open { 

  max-height: 500px;

  opacity: 1;

  padding: 10px 18px 14px;

}



/* --------------------------------------------------------------------------

   Section Header (inline with link)

   -------------------------------------------------------------------------- */

.section-header-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 16px;

}

.section-header-row h2 {

  font-size: 18px;

  font-weight: 800;

  color: var(--primary-color);

}

.section-header-row a {

  font-size: 13px;

  font-weight: 600;

  color: var(--accent-color);

  text-decoration: none;

}

.section-header-row a:hover { text-decoration: underline; }



/* --------------------------------------------------------------------------

   Sidebar Widgets

   -------------------------------------------------------------------------- */

.sidebar-widget {

  background: #fff;

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

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

  overflow: hidden;

  margin-bottom: 22px;

  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);

}

.sidebar-widget .widget-title {

  padding: 12px 16px;

  font-size: 11px;

  font-weight: 800;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.8px;

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

  background: #F8FAFC;

}

.sidebar-widget .widget-body { padding: 14px 18px; }

.sidebar-link-list { list-style: none; padding: 0; margin: 0; }

.sidebar-link-list li { border-bottom: 1px solid #F1F5F9; }

.sidebar-link-list li:last-child { border-bottom: none; }

.sidebar-link-list li a {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 10px 2px;

  font-size: 13px;

  font-weight: 500;

  color: var(--text-main);

  text-decoration: none;

  transition: color .2s;

}

.sidebar-link-list li a:hover { color: var(--accent-color); }

.sidebar-link-list li a .badge { font-size: 10px; }



/* --------------------------------------------------------------------------

   IPO Card Grid (for Open / Upcoming)

   -------------------------------------------------------------------------- */

.ipo-card-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 20px;

  margin-bottom: 32px;

}

.ipo-detail-card {

  background: #fff;

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

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

  overflow: hidden;

  transition: box-shadow .2s, transform .2s;

}

.ipo-detail-card:hover {

  box-shadow: var(--shadow-hover);

  transform: translateY(-2px);

}

.ipo-detail-card .card-header {

  padding: 14px 16px;

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

  display: flex;

  align-items: center;

  gap: 12px;

}

.ipo-detail-card .card-logo {

  width: 42px;

  height: 42px;

  border-radius: 8px;

  background: linear-gradient(135deg, var(--accent-color), #1D4ED8);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-weight: 800;

  font-size: 14px;

  flex-shrink: 0;

}

.ipo-detail-card .card-company { font-size: 14px; font-weight: 700; color: var(--primary-color); }

.ipo-detail-card .card-type { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.ipo-detail-card .card-body { padding: 14px 16px; }

.ipo-detail-card .card-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-bottom: 12px;

}

.ipo-detail-card .card-field label {

  font-size: 10px;

  font-weight: 700;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

  display: block;

  margin-bottom: 2px;

}

.ipo-detail-card .card-field span {

  font-size: 13px;

  font-weight: 600;

  color: var(--text-main);

}

.ipo-detail-card .card-gmp {

  display: flex;

  justify-content: space-between;

  align-items: center;

  background: #F0FDF4;

  border-radius: 6px;

  padding: 8px 12px;

  margin-bottom: 12px;

}

.ipo-detail-card .gmp-label { font-size: 11px; font-weight: 700; color: #059669; }

.ipo-detail-card .gmp-value { font-size: 15px; font-weight: 800; color: #059669; }

.ipo-detail-card .card-footer {

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

  padding: 12px 16px;

  display: flex;

  gap: 8px;

}

.ipo-detail-card .card-footer a {

  flex: 1;

  display: block;

  text-align: center;

  background: var(--accent-color);

  color: #fff;

  border-radius: 6px;

  padding: 9px;

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  transition: background .2s;

}

.ipo-detail-card .card-footer a.btn-outline {

  background: transparent;

  color: var(--accent-color);

  border: 1.5px solid var(--accent-color);

}

.ipo-detail-card .card-footer a.btn-outline:hover { background: #EFF6FF; }

.ipo-detail-card .card-footer a:not(.btn-outline):hover { background: #1D4ED8; }



/* --------------------------------------------------------------------------

   Calendar Grid

   -------------------------------------------------------------------------- */

.calendar-wrap { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }

.calendar-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 16px 20px;

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

  background: #F8FAFC;

}

.calendar-title { font-size: 16px; font-weight: 800; color: var(--primary-color); }

.calendar-nav { display: flex; gap: 8px; }

.calendar-nav button {

  width: 32px;

  height: 32px;

  border-radius: 6px;

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

  background: #fff;

  cursor: pointer;

  font-size: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all .2s;

}

.calendar-nav button:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }

.calendar-grid-header {

  display: grid;

  grid-template-columns: repeat(7, 1fr);

  background: #F1F5F9;

}

.calendar-grid-header span {

  text-align: center;

  padding: 10px;

  font-size: 11px;

  font-weight: 700;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

}

.calendar-grid-body { display: grid; grid-template-columns: repeat(7, 1fr); }

.cal-day {

  min-height: 80px;

  border-right: 1px solid #F1F5F9;

  border-bottom: 1px solid #F1F5F9;

  padding: 6px 8px;

  font-size: 12px;

}

.cal-day.other-month { background: #FAFBFC; }

.cal-day .day-num { font-weight: 600; color: var(--text-muted); margin-bottom: 4px; font-size: 13px; }

.cal-day.today .day-num {

  background: var(--accent-color);

  color: #fff;

  width: 24px;

  height: 24px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 11px;

}

.cal-event {

  font-size: 10px;

  font-weight: 600;

  padding: 2px 5px;

  border-radius: 3px;

  margin-bottom: 2px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  cursor: pointer;

}

.cal-event.open { background: #DCFCE7; color: #15803D; }

.cal-event.close { background: #FEE2E2; color: #B91C1C; }

.cal-event.listing { background: #DBEAFE; color: #1D4ED8; }

.cal-event.allotment { background: #FEF3C7; color: #92400E; }



/* --------------------------------------------------------------------------

   Broker Cards

   -------------------------------------------------------------------------- */

.broker-card {

  background: #fff;

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

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

  padding: 20px;

  display: flex;

  gap: 16px;

 

  transition: box-shadow .2s;

}

.broker-card:hover { box-shadow: var(--shadow-hover); }

.broker-logo-box {

  width: 60px;

  height: 10px;

  border-radius: 10px;

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

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 18px;

  color: var(--accent-color);

  background: #EFF6FF;

  flex-shrink: 0;

}

.broker-info { flex: 1; min-width: 0; }

.broker-name { font-size: 16px; font-weight: 800; color: var(--primary-color); margin-bottom: 4px; }

.broker-type { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.broker-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700;  }

.broker-feats {

  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  margin-top: 8px;

}

.broker-feat {

  background: #F1F5F9;

  color: var(--text-muted);

  font-size: 11px;

  font-weight: 600;

  padding: 3px 8px;

  border-radius: 4px;

}



/* --------------------------------------------------------------------------

   News Cards (upgraded)

   -------------------------------------------------------------------------- */

.news-grid-2col {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 20px;

  margin-bottom: 24px;

}

.news-featured {

  grid-column: span 2;

  display: grid;

  grid-template-columns: 1.5fr 1fr;

  gap: 0;

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

  overflow: hidden;

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

  background: #fff;

}

@media (max-width: 768px) {

  .news-featured { grid-column: span 1; grid-template-columns: 1fr; }

}

.news-featured .news-img-large {

  height: 280px;

  background: linear-gradient(135deg, #1e3a5f, #3B82F6);

  display: flex;

  align-items: flex-end;

  padding: 20px;

}

.news-featured .news-text { padding: 24px; display: flex; flex-direction: column; justify-content: center; }



/* --------------------------------------------------------------------------

   Calculator Cards

   -------------------------------------------------------------------------- */

.calc-wrap {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

  align-items: start;

}

@media (max-width: 768px) { .calc-wrap { grid-template-columns: 1fr; } }

.calc-input-card {

  background: #fff;

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

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

  padding: 24px;

}

.calc-result-card {

  background: var(--accent-gradient);

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

  padding: 24px;

  color: #fff;

  text-align: center;

}

.calc-result-card .result-label { font-size: 13px; opacity: .8; margin-bottom: 8px; }

.calc-result-card .result-value { font-size: 36px; font-weight: 800; margin-bottom: 4px; }

.calc-result-card .result-sub { font-size: 12px; opacity: .7; }

.calc-field { margin-bottom: 18px; }

.calc-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }

.calc-field input[type="number"],

.calc-field input[type="range"],

.calc-field select {

  width: 100%;

  padding: 10px 12px;

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

  border-radius: 6px;

  font-size: 14px;

  font-family: inherit;

  outline: none;

  transition: border-color .2s;

}

.calc-field input:focus { border-color: var(--accent-color); }

.calc-field .range-val { text-align: center; font-weight: 700; color: var(--accent-color); margin-top: 4px; font-size: 14px; }



/* --------------------------------------------------------------------------

   Table Utilities

   -------------------------------------------------------------------------- */

.table-container table { width: 100%; border-collapse: collapse; }

.table-container th {

  background: #F8FAFC;

  padding: 10px 14px;

  font-size: 11px;

  font-weight: 700;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

  border-bottom: 2px solid #E2E8F0;

  text-align: left;

  white-space: nowrap;

}

.table-container td {

  padding: 12px 14px;

  font-size: 13px;

  color: var(--text-main);

  border-bottom: 1px solid #F1F5F9;

  vertical-align: middle;

}

.table-container tr:hover td { background: #F8FAFC; }

.table-container .text-green { color: var(--success-color); font-weight: 700; }

.table-container .text-red { color: var(--danger-color); font-weight: 700; }

.table-container .text-blue { color: var(--accent-color); font-weight: 600; }

.table-container .company-cell { display: flex; align-items: center; gap: 10px; }

.company-avatar {

  width: 32px;

  height: 32px;

  border-radius: 6px;

  background: linear-gradient(135deg, #3B82F6, #1D4ED8);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-weight: 800;

  font-size: 11px;

  flex-shrink: 0;

}



/* --------------------------------------------------------------------------

   Sponsored Content Label

   -------------------------------------------------------------------------- */

.sponsored-label {

  display: inline-block;

  background: #FEF3C7;

  color: #92400E;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1px;

  padding: 2px 6px;

  border-radius: 3px;

  text-transform: uppercase;

  vertical-align: middle;

  margin-left: 6px;

}



/* --------------------------------------------------------------------------

   Glossary / Learn

   -------------------------------------------------------------------------- */

.alpha-nav {

  display: flex;

  flex-wrap: wrap;

  gap: 4px;

  margin-bottom: 24px;

}

.alpha-nav a {

  width: 32px;

  height: 32px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 6px;

  font-size: 13px;

  font-weight: 700;

  background: #F1F5F9;

  color: var(--text-muted);

  text-decoration: none;

  transition: all .2s;

}

.alpha-nav a:hover, .alpha-nav a.active {

  background: var(--accent-color);

  color: #fff;

}

.glossary-term {

  background: #fff;

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

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

  padding: 16px 20px;

  margin-bottom: 12px;

}

.glossary-term h3 { font-size: 15px; font-weight: 800; color: var(--primary-color); margin-bottom: 6px; }

.glossary-term p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }



/* --------------------------------------------------------------------------

   Pagination

   -------------------------------------------------------------------------- */

.pagination {

  display: flex;

  gap: 4px;

  align-items: center;

  justify-content: center;

  padding: 20px 0;

}

.pagination button {

  min-width: 36px;

  height: 36px;

  border-radius: 6px;

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

  background: #fff;

  color: var(--text-main);

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition: all .2s;

  font-family: inherit;

}

.pagination button:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }

.pagination button.active { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }



/* --------------------------------------------------------------------------

   Stock Market Cards

   -------------------------------------------------------------------------- */

.market-index-cards {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));

  gap: 12px;

  margin-bottom: 24px;

}

.market-index-card {

  background: #fff;

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

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

  padding: 14px 16px;

}

.market-index-card .idx-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }

.market-index-card .idx-val { font-size: 20px; font-weight: 800; color: var(--primary-color); }

.market-index-card .idx-change { font-size: 12px; font-weight: 600; margin-top: 2px; }

.market-index-card.up .idx-change { color: var(--success-color); }

.market-index-card.down .idx-change { color: var(--danger-color); }



/* --------------------------------------------------------------------------

   Mutual Fund Cards

   -------------------------------------------------------------------------- */

.mf-card {

  background: #fff;

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

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

  padding: 20px;

  transition: box-shadow .2s;

}

.mf-card:hover { box-shadow: var(--shadow-hover); }

.mf-card .mf-name { font-size: 14px; font-weight: 700; color: var(--primary-color); margin-bottom: 4px; }

.mf-card .mf-type { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

.mf-returns {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 8px;

  text-align: center;

}

.mf-return-item .ret-label { font-size: 10px; font-weight: 700; color: var(--text-muted); }

.mf-return-item .ret-val { font-size: 15px; font-weight: 800; color: var(--success-color); }



/* --------------------------------------------------------------------------

   Page Section Spacing

   -------------------------------------------------------------------------- */

.page-section { margin-bottom: 32px; }

.page-section-title {

  font-size: 18px;

  font-weight: 800;

  color: var(--primary-color);

  margin-bottom: 16px;

  padding-bottom: 10px;

  border-bottom: 2px solid #F1F5F9;

}



/* --------------------------------------------------------------------------

   Mega Menu â€” Additional Sections (Stocks, MF, Brokers, Tools, News, Learn)

   -------------------------------------------------------------------------- */

.mega-menu-col .mega-featured-card {

  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);

  border: 1px solid #BFDBFE;

  border-radius: 8px;

  padding: 12px;

  margin-top: 8px;

}

.mega-menu-col .mega-featured-card .feat-label {

  font-size: 9px;

  font-weight: 800;

  color: var(--accent-color);

  text-transform: uppercase;

  letter-spacing: 0.8px;

  margin-bottom: 4px;

}

.mega-menu-col .mega-featured-card .feat-name {

  font-size: 13px;

  font-weight: 700;

  color: var(--primary-color);

  margin-bottom: 4px;

}

.mega-menu-col .mega-featured-card .feat-btn {

  font-size: 11px;

  font-weight: 700;

  color: var(--accent-color);

  text-decoration: none;

}



/* ==========================================================================

   FAQ Accordion â€” Smooth Animated

   ========================================================================== */

.faq-list {

  display: flex;

  flex-direction: column;

  gap: 0;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 2px 16px rgba(0,0,0,0.06);

}

.faq-item {

  background: white;

  border-bottom: 1px solid #EEF2FF;

  transition: background 0.2s;

}

.faq-item:last-child { border-bottom: none; }

.faq-question {

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 24px;

  font-size: 15px;

  font-weight: 600;

  color: var(--primary-color);

  background: none;

  border: none;

  cursor: pointer;

  text-align: left;

  transition: background 0.2s, color 0.2s;

  gap: 16px;

}

.faq-question:hover { background: #EFF6FF; color: #1D4ED8; }

.faq-question.open  { background: #EFF6FF; color: #1D4ED8; }

.faq-icon {

  font-size: 20px;

  font-weight: 300;

  color: #2563EB;

  flex-shrink: 0;

  transition: transform 0.3s ease;

  min-width: 20px;

  text-align: center;

}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, padding 0.3s ease;

  padding: 0 24px;

  background: #F8FAFF;

}

.faq-answer.open { 

  max-height: 800px;

  opacity: 1;

  padding: 16px 24px 20px; 

}

.faq-answer p { color: #475569; font-size: 14px; line-height: 1.75; margin: 0; }



/* ==========================================================================

   Scroll Animations

   ========================================================================== */

.animate-on-scroll {

  opacity: 0;

  transform: translateY(24px);

  transition: opacity 0.55s ease, transform 0.55s ease;

}

.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }



/* Stat cards, IPO cards etc. get animation only if JS adds the class */

.stat-card.animate-on-scroll,

.broker-card.animate-on-scroll,

.faq-item.animate-on-scroll,

.news-card.animate-on-scroll,

.ipo-card.animate-on-scroll {

  opacity: 0;

  transform: translateY(24px);

  transition: opacity 0.55s ease, transform 0.55s ease;

}

.stat-card.animate-on-scroll.is-visible,

.broker-card.animate-on-scroll.is-visible,

.faq-item.animate-on-scroll.is-visible,

.news-card.animate-on-scroll.is-visible,

.ipo-card.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }



@keyframes fadeInRow {

  from { opacity: 0; transform: translateX(-8px); }

  to   { opacity: 1; transform: translateX(0); }

}

.pg-hidden { display: none !important; }



/* ==========================================================================

   Pagination â€” Enhanced

   ========================================================================== */

.pagination {

  display: flex;

  align-items: center;

  gap: 6px;

  justify-content: center;

  padding: 20px 0;

  flex-wrap: wrap;

}

.pagination button, .pagination .pg-num {

  padding: 8px 14px;

  border: 1.5px solid #E2E8F0;

  background: white;

  color: var(--primary-color);

  border-radius: 8px;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s;

  min-width: 38px;

}

.pagination button:hover, .pagination .pg-num:hover {

  background: #EFF6FF;

  border-color: #2563EB;

  color: #2563EB;

}

.pagination button.active, .pagination .pg-num.active {

  background: #2563EB;

  color: white;

  border-color: #2563EB;

  box-shadow: 0 4px 12px rgba(37,99,235,0.35);

}

.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }



/* ==========================================================================

   Filter Bar â€” Enhanced

   ========================================================================== */

.filter-bar {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  align-items: center;

  background: white;

  border: 1px solid #E2E8F0;

  border-radius: 12px;

  padding: 14px 16px;

  margin-bottom: 20px;

  box-shadow: 0 2px 8px rgba(0,0,0,0.04);

}

.filter-bar input[type="text"] {

  flex: 1;

  min-width: 160px;

  padding: 9px 14px;

  border: 1.5px solid #E2E8F0;

  border-radius: 8px;

  font-size: 14px;

  outline: none;

  transition: border-color 0.2s, box-shadow 0.2s;

}

.filter-bar input[type="text"]:focus {

  border-color: #2563EB;

  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);

}

.filter-bar select {

  padding: 9px 14px;

  border: 1.5px solid #E2E8F0;

  border-radius: 8px;

  font-size: 13px;

  font-weight: 500;

  background: white;

  color: var(--primary-color);

  cursor: pointer;

  outline: none;

  transition: border-color 0.2s;

}

.filter-bar select:focus { border-color: #2563EB; }

.btn-filter {

  background: #2563EB;

  color: white;

  border: none;

  padding: 9px 20px;

  border-radius: 8px;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s;

}

.btn-filter:hover {

  background: #1D4ED8;

  transform: translateY(-1px);

  box-shadow: 0 4px 12px rgba(37,99,235,0.35);

}

.btn-reset {

  background: white;

  color: #64748b;

  border: 1.5px solid #E2E8F0;

  padding: 9px 16px;

  border-radius: 8px;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s;

}

.btn-reset:hover { background: #FFF5F5; border-color: #EF4444; color: #EF4444; }



/* Table row hover */

table tbody tr { transition: background 0.15s; }

table tbody tr:hover { background: #F0F7FF; }



/* Section tag pill */

.section-tag {

  display: inline-block;

  background: #2563EB;

  color: white;

  font-size: 11px;

  font-weight: 700;

  padding: 4px 14px;

  border-radius: 20px;

  letter-spacing: 1px;

  text-transform: uppercase;

}

.faq-section-wrap { width: 100%; }



/* Unified Advertisement Slot Layouts */

.ad-slot {

  width: 100%;

  display: flex;

  justify-content: center;

  align-items: center;

  box-sizing: border-box;

  margin: 12px 0;

}

.ad-slot.ad-leaderboard {

  max-width: 100%;

  width: 100%;

  min-height: 90px;

}

.ad-slot.ad-large-banner {

  max-width: 100%;

  width: 100%;

  min-height: 250px;

}

.ad-slot.ad-rectangle {

  max-width: 300px;

  min-height: 250px;

}

.ad-slot.ad-skyscraper {

  max-width: 300px;

  min-height: 600px;

}

.ad-slot.ad-banner {

  max-width: 100%;

  width: 100%;

  min-height: 90px;

}



/* Premium Broker List Cards (Redesign) */

.broker-list-card {

  background: #ffffff;

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

  border-radius: 12px;

  padding: 24px;

  display: flex;

  align-items: center;

  gap: 24px;

  transition: all 0.3s ease;

  box-shadow: 0 1px 3px rgba(0,0,0,0.05);

}

.broker-list-card:hover {

  transform: translateY(-2px);

  box-shadow: 0 12px 20px rgba(0,0,0,0.08);

  border-color: #cbd5e1;

}

.broker-logo-box.large {

  width: 56px;

  height: 56px;

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 24px;

  color: #fff;

  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));

  flex-shrink: 0;

}

.broker-details {

  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 8px;

}

.broker-header {

  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;

}

.broker-header .broker-name {

  font-size: 18px;

  font-weight: 800;

  color: var(--primary-color);

  margin: 0;

}

.broker-type-badge {

  font-size: 11px;

  font-weight: 700;

  background: #f1f5f9;

  color: #475569;

  padding: 2px 8px;

  border-radius: 20px;

  text-transform: uppercase;

}

.broker-type-badge.featured {

  background: #fef3c7;

  color: #d97706;

}

.broker-rating-pill {

  font-size: 12px;

  font-weight: 800;

  background: #fef08a;

  color: #854d0e;

  padding: 2px 8px;

  border-radius: 6px;

  display: inline-flex;

  align-items: center;

  gap: 4px;

}

.broker-features {

  display: flex;

  flex-wrap: wrap;

  gap: 6px;

}

.feat-tag {

  font-size: 11px;

  font-weight: 600;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #64748b;

  padding: 2px 8px;

  border-radius: 4px;

}

.broker-pricing {

  display: flex;

  gap: 24px;

  border-left: 1px solid #e2e8f0;

  border-right: 1px solid #e2e8f0;

  padding: 0 24px;

}

.price-item {

  display: flex;

  flex-direction: column;

  min-width: 90px;

}

.price-label {

  font-size: 11px;

  color: #64748b;

  font-weight: 600;

  text-transform: uppercase;

  margin-bottom: 2px;

}

.price-value {

  font-size: 15px;

  font-weight: 800;

  color: var(--primary-color);

}

.broker-actions {

  flex-shrink: 0;

}

@media (max-width: 768px) {

  .broker-list-card {

    flex-direction: column;

    align-items: flex-start;

    gap: 16px;

  }

  .broker-pricing {

    border: none;

    padding: 16px 0 0 0;

    border-top: 1px solid #e2e8f0;

    width: 100%;

    justify-content: space-between;

  }

  .broker-actions {

    width: 100%;

  }

  .broker-actions .btn {

    width: 100%;

    text-align: center;

  }

}



/* ==========================================================================

   Complete Comprehensive Layout & Component Design System

   ========================================================================== */



/* 1. Page Layout Columns */

.page-layout {

  display: grid !important;

  grid-template-columns: 1fr 300px !important;

  gap: 28px !important;

  align-items: flex-start !important;

  max-width: 100% !important;

  margin-top: 24px !important;

}

.main-col {

  min-width: 0 !important;

  display: flex !important;

  flex-direction: column !important;

  gap: 12px !important;

  min-height: 0 !important;

  height: auto !important;

}

.sidebar-col {

  display: flex !important;

  flex-direction: column !important;

  gap: 0 !important;

  padding-top: 0 !important;

  height: auto !important;

}

@media (max-width: 992px) {

  .page-layout {

    grid-template-columns: 1fr !important;

  }

  .sidebar-col > div {

    display: grid !important;

    grid-template-columns: 1fr 1fr !important;

    gap: 24px !important;

  }

}

@media (max-width: 640px) {

  .sidebar-col > div {

    grid-template-columns: 1fr !important;

  }

}



/* 2. Calendar Grid Component */

.calendar-wrap {

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  overflow: hidden !important;

  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;

  margin-bottom: 24px !important;

}

.calendar-header {

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  padding: 16px 20px !important;

  background: #f8fafc !important;

  border-bottom: 1px solid #e2e8f0 !important;

}

.calendar-title {

  font-size: 16px !important;

  font-weight: 800 !important;

  color: #0f172a !important;

}

.calendar-nav {

  display: flex !important;

  gap: 6px !important;

}

.calendar-nav button {

  padding: 6px 12px !important;

  font-size: 13px !important;

  font-weight: 600 !important;

  color: #475569 !important;

  background: #ffffff !important;

  border: 1px solid #cbd5e1 !important;

  border-radius: 6px !important;

  cursor: pointer !important;

  transition: all 0.2s ease !important;

}

.calendar-nav button:hover {

  background: #f1f5f9 !important;

  color: #0f172a !important;

}

.calendar-grid-header {

  display: grid !important;

  grid-template-columns: repeat(7, 1fr) !important;

  background: #f1f5f9 !important;

  border-bottom: 1px solid #e2e8f0 !important;

  text-align: center !important;

  font-size: 12px !important;

  font-weight: 700 !important;

  color: #64748b !important;

  padding: 10px 0 !important;

  text-transform: uppercase !important;

}

.calendar-grid-body {

  display: grid !important;

  grid-template-columns: repeat(7, 1fr) !important;

  gap: 1px !important;

  background: #e2e8f0 !important;

}

.cal-day {

  background: #ffffff !important;

  min-height: 90px !important;

  padding: 8px !important;

  display: flex !important;

  flex-direction: column !important;

  gap: 4px !important;

  transition: background 0.2s ease !important;

}

.cal-day:hover {

  background: #f8fafc !important;

}

.cal-day.other-month {

  background: #fafafa !important;

  color: #94a3b8 !important;

}

.cal-day.today {

  background: #eff6ff !important;

}

.day-num {

  font-size: 12px !important;

  font-weight: 700 !important;

  color: #334155 !important;

  margin-bottom: 2px !important;

}

.cal-day.other-month .day-num {

  color: #cbd5e1 !important;

}

.cal-event {

  font-size: 10.5px !important;

  font-weight: 700 !important;

  padding: 3px 6px !important;

  border-radius: 4px !important;

  line-height: 1.3 !important;

  white-space: nowrap !important;

  overflow: hidden !important;

  text-overflow: ellipsis !important;

}

.cal-event.open {

  background: #dcfce7 !important;

  color: #15803d !important;

  border: 1px solid #86efac !important;

}

.cal-event.close {

  background: #fee2e2 !important;

  color: #b91c1c !important;

  border: 1px solid #fca5a5 !important;

}

.cal-event.allotment {

  background: #fef3c7 !important;

  color: #b45309 !important;

  border: 1px solid #fde68a !important;

}

.cal-event.listing {

  background: #dbeafe !important;

  color: #1d4ed8 !important;

  border: 1px solid #93c5fd !important;

}



/* 3. Calculator Tools Component */

.calc-wrap {

  display: grid !important;

  grid-template-columns: 1fr 1fr !important;

  gap: 24px !important;

  margin-bottom: 24px !important;

}

@media (max-width: 768px) {

  .calc-wrap {

    grid-template-columns: 1fr !important;

  }

}

.calc-input-card {

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  padding: 24px !important;

  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;

}

.calc-field {

  display: flex !important;

  flex-direction: column !important;

  gap: 6px !important;

  margin-bottom: 16px !important;

}

.calc-field label {

  font-size: 12px !important;

  font-weight: 700 !important;

  color: #475569 !important;

  text-transform: uppercase !important;

  letter-spacing: 0.5px !important;

}

.calc-field input[type="number"],

.calc-field input[type="text"] {

  padding: 10px 14px !important;

  border: 1px solid #cbd5e1 !important;

  border-radius: 8px !important;

  font-size: 14px !important;

  color: #0f172a !important;

  font-weight: 600 !important;

  outline: none !important;

}

.calc-field input[type="range"] {

  width: 100% !important;

  margin-top: 4px !important;

}

.range-val {

  font-size: 13px !important;

  font-weight: 700 !important;

  color: #2563eb !important;

  margin-top: 2px !important;

}

.calc-result-card {

  background: linear-gradient(135deg, #1e293b, #0f172a) !important;

  border-radius: 12px !important;

  padding: 24px !important;

  color: #ffffff !important;

  box-shadow: 0 4px 12px rgba(15,23,42,0.15) !important;

}

.result-label {

  font-size: 11px !important;

  font-weight: 700 !important;

  color: #94a3b8 !important;

  text-transform: uppercase !important;

  letter-spacing: 0.8px !important;

  margin-bottom: 6px !important;

}

.result-value {

  font-size: 32px !important;

  font-weight: 800 !important;

  color: #38bdf8 !important;

  letter-spacing: -0.5px !important;

  margin-bottom: 4px !important;

}

.result-sub {

  font-size: 12px !important;

  color: #cbd5e1 !important;

}



/* 4. Stat Cards Grid */

.stat-cards {

  display: grid !important;

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

  gap: 16px !important;

  margin-bottom: 28px !important;

}

.stat-card {

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  padding: 18px 20px !important;

  display: flex !important;

  flex-direction: column !important;

  gap: 4px !important;

  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;

  opacity: 1 !important;

  transform: none !important;

}

.stat-card .stat-label {

  font-size: 11px !important;

  font-weight: 700 !important;

  color: #64748b !important;

  text-transform: uppercase !important;

  letter-spacing: 0.6px !important;

}

.stat-card .stat-value {

  font-size: 24px !important;

  font-weight: 800 !important;

  color: #2563eb !important;

  letter-spacing: -0.5px !important;

}

.stat-card.positive .stat-value {

  color: #10b981 !important;

}

.stat-card.negative .stat-value {

  color: #ef4444 !important;

}

.stat-card.accent .stat-value {

  color: #2563eb !important;

}

.stat-card .stat-sub {

  font-size: 12px !important;

  color: #94a3b8 !important;

}



/* 5. Tab Bar & Panes */

.tab-container {

  margin-bottom: 24px;

}

.tab-bar {

  display: flex !important;

  gap: 8px !important;

  background: #f1f5f9 !important;

  padding: 6px !important;

  border-radius: 12px !important;

  border: 1px solid #e2e8f0 !important;

  margin-bottom: 20px !important;

  flex-wrap: wrap !important;

}

.tab-btn {

  padding: 8px 18px !important;

  font-size: 13px !important;

  font-weight: 600 !important;

  color: #64748b !important;

  border: none !important;

  background: transparent !important;

  border-radius: 8px !important;

  cursor: pointer !important;

  transition: all 0.2s ease !important;

  outline: none !important;

  font-family: inherit !important;

}

.tab-btn:hover {

  color: #0f172a !important;

  background: rgba(255, 255, 255, 0.7) !important;

}

.tab-btn.active {

  background: #ffffff !important;

  color: #2563eb !important;

  font-weight: 700 !important;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;

}

.tab-pane {

  display: none !important;

}

.tab-pane.active {

  display: block !important;

}



/* 6. Filter Bar */

.filter-bar {

  display: flex !important;

  gap: 12px !important;

  margin-bottom: 20px !important;

  flex-wrap: wrap !important;

  align-items: center !important;

  background: #ffffff !important;

  padding: 12px 16px !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;

}

.filter-bar input[type="text"],

.filter-bar input,

.filter-bar select {

  padding: 8px 14px !important;

  border: 1px solid #cbd5e1 !important;

  border-radius: 8px !important;

  font-size: 13px !important;

  color: #1e293b !important;

  background-color: #f8fafc !important;

  outline: none !important;

  transition: all 0.2s ease !important;

  font-family: inherit !important;

  min-height: 38px !important;

}

.filter-bar input[type="text"]:focus,

.filter-bar select:focus {

  border-color: #3b82f6 !important;

  background-color: #ffffff !important;

  box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;

}



/* 7. FAQ Section */

.faq-section {

  margin-top: 36px !important;

}

.faq-section h2 {

  font-size: 18px !important;

  font-weight: 800 !important;

  color: #0f172a !important;

  margin-bottom: 16px !important;

}

.faq-list {

  display: flex !important;

  flex-direction: column !important;

  gap: 10px !important;

}

.faq-item {

  border: 1px solid #e2e8f0 !important;

  border-radius: 10px !important;

  overflow: hidden !important;

  background: #ffffff !important;

  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;

}

.faq-question {

  width: 100% !important;

  text-align: left !important;

  padding: 16px 20px !important;

  font-size: 14px !important;

  font-weight: 700 !important;

  color: #1e293b !important;

  background: #ffffff !important;

  border: none !important;

  cursor: pointer !important;

  font-family: inherit !important;

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  transition: background 0.2s ease !important;

}

.faq-question:hover {

  background: #f8fafc !important;

}

.faq-question .faq-icon {

  font-size: 18px !important;

  color: #2563eb !important;

  font-weight: 600 !important;

}

.faq-answer {

  display: none;

  padding: 14px 20px 18px 20px !important;

  font-size: 13.5px !important;

  color: #475569 !important;

  line-height: 1.65 !important;

  border-top: 1px solid #f1f5f9 !important;

  background: #fafafa !important;

}

.faq-answer.open {

  display: block !important;

}



/* 8. Sidebar Widgets */

.sidebar-widget {

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  overflow: hidden !important;

  margin-bottom: 8px !important;

  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;

}

.sidebar-widget .widget-title {

  padding: 10px 12px !important;

  margin-bottom: 0 !important;

  font-size: 12px !important;

  font-weight: 800 !important;

  color: #475569 !important;

  text-transform: uppercase !important;

  letter-spacing: 0.8px !important;

  border-bottom: 1px solid #e2e8f0 !important;

  background: #f8fafc !important;

}

.sidebar-widget .widget-body {

  padding: 6px 12px !important;

}



.losers-unique-hero {

  display: grid !important;

  grid-template-columns: 1.2fr 1fr !important;

  gap: 18px !important;

  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;

  border: 1px solid #fed7aa !important;

  border-radius: 18px !important;

  padding: 22px 24px !important;

  margin: 20px 0 18px !important;

  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08) !important;

}

.losers-unique-hero .hero-copy {

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

}

.losers-unique-hero .eyebrow {

  display: inline-block !important;

  font-size: 11px !important;

  letter-spacing: 0.12em !important;

  text-transform: uppercase !important;

  color: #c2410c !important;

  font-weight: 800 !important;

  margin-bottom: 8px !important;

}

.losers-unique-hero h1 {

  font-size: clamp(30px, 3vw, 42px) !important;

  line-height: 1.05 !important;

  letter-spacing: -0.04em !important;

  margin: 0 0 10px !important;

  color: #111827 !important;

}

.losers-unique-hero p {

  margin: 0 !important;

  color: #475569 !important;

  font-size: 15px !important;

  line-height: 1.7 !important;

}

.losers-unique-metrics {

  display: grid !important;

  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

  gap: 12px !important;

}

.losers-unique-metric {

  background: rgba(255,255,255,0.85) !important;

  border: 1px solid #fed7aa !important;

  border-radius: 12px !important;

  padding: 14px 12px !important;

}

.losers-unique-metric .label {

  display: block !important;

  font-size: 10px !important;

  text-transform: uppercase !important;

  letter-spacing: 0.08em !important;

  color: #7c2d12 !important;

  font-weight: 800 !important;

  margin-bottom: 8px !important;

}

.losers-unique-metric strong {

  display: block !important;

  font-size: 28px !important;

  line-height: 1 !important;

  color: #dc2626 !important;

  font-weight: 900 !important;

  margin-bottom: 6px !important;

}

.losers-unique-metric small {

  display: block !important;

  font-size: 12px !important;

  color: #475569 !important;

}



.mf-unique-hero {

  display: grid !important;

  grid-template-columns: 1.2fr 1fr !important;

  gap: 18px !important;

  border: 1px solid #dbeafe !important;

  border-radius: 22px !important;

  padding: 22px 24px !important;

  margin: 18px 0 20px !important;

  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;

}

.mf-unique-hero .hero-copy {

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

}

.mf-unique-hero .breadcrumb {

  margin-bottom: 12px !important;

}

.mf-unique-hero .breadcrumb a,

.mf-unique-hero .breadcrumb .sep,

.mf-unique-hero .breadcrumb .current {

  font-size: 12px !important;

}

.mf-unique-hero .eyebrow {

  display: inline-block !important;

  font-size: 11px !important;

  letter-spacing: 0.12em !important;

  text-transform: uppercase !important;

  font-weight: 800 !important;

  margin-bottom: 8px !important;

}

.mf-unique-hero h1 {

  font-size: clamp(28px, 2.4vw, 40px) !important;

  line-height: 1.08 !important;

  letter-spacing: -0.04em !important;

  margin: 0 0 10px !important;

  color: #111827 !important;

}

.mf-unique-hero p {

  margin: 0 !important;

  font-size: 15px !important;

  line-height: 1.7 !important;

}

.mf-unique-metrics {

  display: grid !important;

  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

  gap: 12px !important;

}

.mf-unique-metric {

  background: rgba(255,255,255,0.9) !important;

  border: 1px solid rgba(255,255,255,0.5) !important;

  border-radius: 14px !important;

  padding: 14px 12px !important;

}

.mf-unique-metric .label {

  display: block !important;

  font-size: 10px !important;

  text-transform: uppercase !important;

  letter-spacing: 0.08em !important;

  font-weight: 800 !important;

  margin-bottom: 8px !important;

}

.mf-unique-metric strong {

  display: block !important;

  font-size: 26px !important;

  line-height: 1 !important;

  font-weight: 900 !important;

  margin-bottom: 6px !important;

}

.mf-unique-metric small {

  display: block !important;

  font-size: 12px !important;

}

.mf-theme-blue {

  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;

  border-color: #c7d2fe !important;

}

.mf-theme-blue .eyebrow { color: #1d4ed8 !important; }

.mf-theme-blue .mf-unique-metric .label { color: #1e3a8a !important; }

.mf-theme-blue .mf-unique-metric strong { color: #2563eb !important; }

.mf-theme-blue .mf-unique-metric small { color: #475569 !important; }



.mf-theme-green {

  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%) !important;

  border-color: #a7f3d0 !important;

}

.mf-theme-green .eyebrow { color: #047857 !important; }

.mf-theme-green .mf-unique-metric .label { color: #065f46 !important; }

.mf-theme-green .mf-unique-metric strong { color: #059669 !important; }

.mf-theme-green .mf-unique-metric small { color: #475569 !important; }



.mf-theme-violet {

  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%) !important;

  border-color: #ddd6fe !important;

}

.mf-theme-violet .eyebrow { color: #6d28d9 !important; }

.mf-theme-violet .mf-unique-metric .label { color: #4c1d95 !important; }

.mf-theme-violet .mf-unique-metric strong { color: #7c3aed !important; }

.mf-theme-violet .mf-unique-metric small { color: #475569 !important; }



.mf-theme-gold {

  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;

  border-color: #fed7aa !important;

}

.mf-theme-gold .eyebrow { color: #b45309 !important; }

.mf-theme-gold .mf-unique-metric .label { color: #92400e !important; }

.mf-theme-gold .mf-unique-metric strong { color: #d97706 !important; }

.mf-theme-gold .mf-unique-metric small { color: #475569 !important; }



.mf-theme-rose {

  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%) !important;

  border-color: #fecdd3 !important;

}

.mf-theme-rose .eyebrow { color: #be185d !important; }

.mf-theme-rose .mf-unique-metric .label { color: #9d174d !important; }

.mf-theme-rose .mf-unique-metric strong { color: #e11d48 !important; }

.mf-theme-rose .mf-unique-metric small { color: #475569 !important; }



.mf-theme-slate {

  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;

  border-color: #cbd5e1 !important;

}

.mf-theme-slate .eyebrow { color: #334155 !important; }

.mf-theme-slate .mf-unique-metric .label { color: #1e293b !important; }

.mf-theme-slate .mf-unique-metric strong { color: #475569 !important; }

.mf-theme-slate .mf-unique-metric small { color: #475569 !important; }



.mf-theme-teal {

  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%) !important;

  border-color: #a5f3fc !important;

}

.mf-theme-teal .eyebrow { color: #0f766e !important; }

.mf-theme-teal .mf-unique-metric .label { color: #115e59 !important; }

.mf-theme-teal .mf-unique-metric strong { color: #14b8a6 !important; }

.mf-theme-teal .mf-unique-metric small { color: #475569 !important; }



.mf-theme-indigo {

  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%) !important;

  border-color: #c7d2fe !important;

}

.mf-theme-indigo .eyebrow { color: #4338ca !important; }

.mf-theme-indigo .mf-unique-metric .label { color: #312e81 !important; }

.mf-theme-indigo .mf-unique-metric strong { color: #4f46e5 !important; }

.mf-theme-indigo .mf-unique-metric small { color: #475569 !important; }



.mf-theme-orange {

  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;

  border-color: #fdba74 !important;

}

.mf-theme-orange .eyebrow { color: #c2410c !important; }

.mf-theme-orange .mf-unique-metric .label { color: #9a4d12 !important; }

.mf-theme-orange .mf-unique-metric strong { color: #f97316 !important; }

.mf-theme-orange .mf-unique-metric small { color: #475569 !important; }



.sme-unique-hero {

  display: grid !important;

  grid-template-columns: 1.3fr 1fr !important;

  gap: 18px !important;

  border: 1px solid rgba(16,185,129,0.25) !important;

  border-radius: 22px !important;

  padding: 24px 24px !important;

  margin: 18px 0 22px !important;

  overflow: hidden !important;

  position: relative !important;

  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;

}

.sme-unique-hero .hero-copy {

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;

  position: relative !important;

  z-index: 2 !important;

}

.sme-unique-hero .breadcrumb {

  margin-bottom: 10px !important;

}

.sme-unique-hero .breadcrumb a,

.sme-unique-hero .breadcrumb .sep,

.sme-unique-hero .breadcrumb .current {

  font-size: 12px !important;

}

.sme-unique-hero .eyebrow {

  display: inline-block !important;

  font-size: 11px !important;

  letter-spacing: 0.12em !important;

  text-transform: uppercase !important;

  font-weight: 800 !important;

  margin-bottom: 10px !important;

}

.sme-unique-hero h1 {

  font-size: clamp(30px, 2.8vw, 42px) !important;

  line-height: 1.08 !important;

  letter-spacing: -0.04em !important;

  margin: 0 0 10px !important;

  color: #111827 !important;

}

.sme-unique-hero p {

  margin: 0 !important;

  font-size: 15px !important;

  line-height: 1.7 !important;

  color: #475569 !important;

}

.sme-unique-hero .hero-visual {

  display: grid !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  gap: 12px !important;

  position: relative !important;

  z-index: 2 !important;

}

.sme-unique-metric {

  background: rgba(255,255,255,0.88) !important;

  border: 1px solid rgba(148,163,184,0.3) !important;

  border-radius: 14px !important;

  padding: 14px 12px !important;

}

.sme-unique-metric .label {

  display: block !important;

  font-size: 10px !important;

  text-transform: uppercase !important;

  letter-spacing: 0.08em !important;

  font-weight: 800 !important;

  margin-bottom: 8px !important;

}

.sme-unique-metric strong {

  display: block !important;

  font-size: 26px !important;

  line-height: 1 !important;

  font-weight: 900 !important;

  margin-bottom: 6px !important;

}

.sme-unique-metric small {

  display: block !important;

  font-size: 12px !important;

}

.sme-theme-green {

  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%) !important;

  border-color: #a7f3d0 !important;

}

.sme-theme-green .eyebrow { color: #047857 !important; }

.sme-theme-green .sme-unique-metric .label { color: #065f46 !important; }

.sme-theme-green .sme-unique-metric strong { color: #059669 !important; }

.sme-theme-green .sme-unique-metric small { color: #475569 !important; }



.sme-theme-blue {

  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;

  border-color: #bfdbfe !important;

}

.sme-theme-blue .eyebrow { color: #1d4ed8 !important; }

.sme-theme-blue .sme-unique-metric .label { color: #1e3a8a !important; }

.sme-theme-blue .sme-unique-metric strong { color: #2563eb !important; }

.sme-theme-blue .sme-unique-metric small { color: #475569 !important; }



.sme-theme-gold {

  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;

  border-color: #fed7aa !important;

}

.sme-theme-gold .eyebrow { color: #b45309 !important; }

.sme-theme-gold .sme-unique-metric .label { color: #92400e !important; }

.sme-theme-gold .sme-unique-metric strong { color: #d97706 !important; }

.sme-theme-gold .sme-unique-metric small { color: #475569 !important; }



.sme-theme-violet {

  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%) !important;

  border-color: #ddd6fe !important;

}

.sme-theme-violet .eyebrow { color: #6d28d9 !important; }

.sme-theme-violet .sme-unique-metric .label { color: #4c1d95 !important; }

.sme-theme-violet .sme-unique-metric strong { color: #7c3aed !important; }

.sme-theme-violet .sme-unique-metric small { color: #475569 !important; }



.sidebar-link-list {

  list-style: none !important;

  padding: 0 !important;

  margin: 0 !important;

}

.sidebar-link-list li {

  border-bottom: 1px solid #f1f5f9 !important;

  list-style: none !important;

  margin: 0 !important;

}

.sidebar-link-list li:last-child {

  border-bottom: none !important;

}

.sidebar-link-list li a {

  display: flex !important;

  justify-content: space-between !important;

  align-items: center !important;

  padding: 8px 0 !important;

  font-size: 13.5px !important;

  font-weight: 600 !important;

  color: #334155 !important;

  text-decoration: none !important;

  transition: color 0.2s ease !important;

}

.sidebar-link-list li a:hover {

  color: #2563eb !important;

}













/* ==========================================================================

   Mutual Fund Mega Menu CSS

   ========================================================================== */

.mf-hover-list li a,

.mf-hover-list-tool li a,

.mf-hover-list-research li a,

.mf-hover-list-resource li a {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border-radius: 6px;

    transition: all 0.25s ease;

    color: #475569;

    font-weight: 500;

}



.mf-hover-list li a:hover,

.mf-hover-list-tool li a:hover,

.mf-hover-list-research li a:hover,

.mf-hover-list-resource li a:hover {

    background-color: #f1f5f9;

    transform: translateY(-1px);

    color: #2563eb;

}



/* Base icon styling */

.mf-hover-list-tool li a::before,

.mf-hover-list-research li a::before,

.mf-hover-list-resource li a::before {

    content: '';

    display: inline-block;

    width: 16px;

    height: 16px;

    background-size: contain;

    background-repeat: no-repeat;

    opacity: 0;

    transition: opacity 0.25s ease;

    margin-left: -20px;

    position: absolute;

}



.mf-hover-list-tool li a:hover::before,

.mf-hover-list-research li a:hover::before,

.mf-hover-list-resource li a:hover::before {

    opacity: 1;

    position: relative;

    margin-left: 0;

}



/* Category gets simple blue text on hover */

.mf-hover-list li a:hover {

    color: #2563eb;

}



/* SVG backgrounds for icons on hover using data URIs */

/* Tool: Calculator */

.mf-hover-list-tool li a::before {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='6' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='16' y1='14' x2='16.01' y2='14'%3E%3C/line%3E%3Cline x1='16' y1='18' x2='16.01' y2='18'%3E%3C/line%3E%3Cline x1='12' y1='14' x2='12.01' y2='14'%3E%3C/line%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'%3E%3C/line%3E%3Cline x1='8' y1='14' x2='8.01' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='18' x2='8.01' y2='18'%3E%3C/line%3E%3C/svg%3E");

}



/* Research: Chart */

.mf-hover-list-research li a::before {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cline x1='18' y1='20' x2='18' y2='10'%3E%3C/line%3E%3Cline x1='12' y1='20' x2='12' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='14'%3E%3C/line%3E%3C/svg%3E");

}



/* Resource: Document */

.mf-hover-list-resource li a::before {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");

}



/* Hover animation for list items */

.mf-hover-list li, .mf-hover-list-tool li, .mf-hover-list-research li, .mf-hover-list-resource li {

    opacity: 1;

    transform: translateY(0);

}



/* Remove staggered animations to prevent lag on hover */





/* ==========================================================================

   Brokers Section Specific Styles & Animations

   ========================================================================== */

@keyframes growBar {

  from { width: 0; }

  to { /* width is controlled by inline styles, this just triggers the layout paint */ }

}



/* ==========================================================================

   Newsroom Section Styles

   ========================================================================== */



/* Typography & Layout Overrides */

.news-page-container {

  padding-top: 24px;

  padding-bottom: 60px;

}

.news-page-header {

  border-bottom: 2px solid #0f172a;

  padding-bottom: 16px;

  margin-bottom: 24px;

}

.news-page-title {

  font-size: 36px;

  font-weight: 800;

  color: #0f172a;

  text-transform: uppercase;

  letter-spacing: -1px;

  line-height: 1.2;

}

.news-page-subtitle {

  font-size: 16px;

  color: #475569;

  margin-top: 8px;

}



/* Category Badge */

.news-badge {

  display: inline-block;

  font-size: 11px;

  font-weight: 800;

  text-transform: uppercase;

  padding: 4px 10px;

  border-radius: 4px;

  background-color: #e0f2fe;

  color: #0369a1;

  margin-bottom: 12px;

  letter-spacing: 0.5px;

}

.news-badge.ipo { background-color: #fef3c7; color: #b45309; }

.news-badge.stocks { background-color: #ecfdf5; color: #047857; }

.news-badge.mf { background-color: #fce7f3; color: #be185d; }

.news-badge.sebi { background-color: #fee2e2; color: #b91c1c; }



/* News Cards */

.news-card {

  background: white;

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

  border-radius: 8px;

  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;

  flex-direction: column;

  

  animation: fadeUp 0.5s ease backwards;

}

.news-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 12px 30px rgba(0,0,0,0.06);

}

.news-card-img-wrapper {

  overflow: hidden;

  position: relative;

  aspect-ratio: 16/9;

  background: #f1f5f9;

}

.news-card-img-wrapper img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;

}

.news-card:hover .news-card-img-wrapper img {

  transform: scale(1.05);

}

.news-card-content {

  padding: 20px;

  flex-grow: 1;

  display: flex;

  flex-direction: column;

}

.news-card-title {

  font-size: 18px;

  font-weight: 800;

  color: #0f172a;

  line-height: 1.4;

  margin-bottom: 12px;

}

.news-card-title a {

  color: inherit;

  text-decoration: none;

}

.news-card-title a:hover {

  color: var(--accent-color);

}

.news-card-summary {

  font-size: 14px;

  color: #475569;

  line-height: 1.6;

  margin-bottom: 16px;

  flex-grow: 1;

}

.news-card-meta {

  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 12px;

  color: #94a3b8;

  font-weight: 500;

}



/* Featured Story (Large) */

.featured-story {

  display: grid;

  grid-template-columns: 1fr;

  gap: 0;

  background: white;

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

  border-radius: 12px;

  overflow: hidden;

  margin-bottom: 40px;

}

@media (min-width: 992px) {

  .featured-story {

    grid-template-columns: 3fr 2fr;

  }

}

.featured-story-img {

  aspect-ratio: 16/9;

  position: relative;

  overflow: hidden;

}

.featured-story-img img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;

}

.featured-story:hover .featured-story-img img {

  transform: scale(1.03);

}

.featured-story-content {

  padding: 32px;

  display: flex;

  flex-direction: column;

  justify-content: center;

}

.featured-story-content .news-card-title {

  font-size: 28px;

  margin-bottom: 16px;

}

.featured-story-content .news-card-summary {

  font-size: 16px;

  margin-bottom: 24px;

}



/* Horizontal News List (Compact) */

.compact-news-list {

  display: flex;

  flex-direction: column;

  gap: 16px;

}

.compact-news-item {

  display: grid;

  grid-template-columns: 120px 1fr;

  gap: 16px;

  background: white;

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

  border-radius: 8px;

  overflow: hidden;

  transition: box-shadow 0.2s ease;

}

.compact-news-item:hover {

  box-shadow: 0 4px 12px rgba(0,0,0,0.05);

}

.compact-news-img {

  background: #f1f5f9;

}

.compact-news-img img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.compact-news-content {

  padding: 12px 16px 12px 0;

}

.compact-news-content .news-card-title {

  font-size: 15px;

  margin-bottom: 8px;

}



/* Breaking News Ticker (Horizontal Scroll) */

.breaking-ticker {

  display: flex;

  background: #1e293b;

  color: white;

  border-radius: 6px;

  overflow: hidden;

  margin-bottom: 32px;

  align-items: center;

}

.breaking-label {

  background: #ef4444;

  color: white;

  font-weight: 800;

  font-size: 12px;

  padding: 12px 16px;

  white-space: nowrap;

  letter-spacing: 1px;

}

.breaking-marquee {

  flex-grow: 1;

  overflow: hidden;

  position: relative;

  white-space: nowrap;

  display: flex;

  align-items: center;

  padding-left: 16px;

}

.breaking-marquee span {

  display: inline-block;

  padding-right: 40px;

  font-size: 14px;

  font-weight: 500;

}

.marquee-content {

  display: inline-block;

  animation: marquee 30s linear infinite;

}

.marquee-content:hover {

  animation-play-state: paused;

}



@keyframes marquee {

  0% { transform: translateX(0); }

  100% { transform: translateX(-50%); }

}



/* Trending Ranking Sidebar */

.trending-ranking-list {

  counter-reset: trending-counter;

  display: flex;

  flex-direction: column;

  gap: 24px;

}

.trending-ranking-item {

  position: relative;

  padding-left: 48px;

  animation: fadeUp 0.5s ease backwards;

}

.trending-ranking-item:nth-child(1) { animation-delay: 0.1s; }

.trending-ranking-item:nth-child(2) { animation-delay: 0.2s; }

.trending-ranking-item:nth-child(3) { animation-delay: 0.3s; }

.trending-ranking-item:nth-child(4) { animation-delay: 0.4s; }

.trending-ranking-item:nth-child(5) { animation-delay: 0.5s; }



.trending-ranking-item::before {

  counter-increment: trending-counter;

  content: "0" counter(trending-counter);

  position: absolute;

  left: 0;

  top: -4px;

  font-size: 24px;

  font-weight: 900;

  color: #cbd5e1;

  line-height: 1;

}

.trending-ranking-item .news-card-title {

  font-size: 15px;

  margin-bottom: 6px;

}



/* Article Page specific */

.article-header {

  margin-bottom: 32px;

}

.article-header h1 {

  font-size: 40px;

  font-weight: 800;

  line-height: 1.2;

  color: #0f172a;

  margin-bottom: 24px;

}

.article-featured-img {

  width: 100%;

  border-radius: 12px;

  margin-bottom: 40px;

}

.article-content {

  font-size: 18px;

  line-height: 1.8;

  color: #334155;

  animation: fadeIn 0.8s ease;

}

.article-content p {

  margin-bottom: 24px;

}

.article-content h2 {

  font-size: 28px;

  font-weight: 800;

  color: #0f172a;

  margin-top: 48px;

  margin-bottom: 24px;

}

.key-takeaways {

  background: #f8fafc;

  border-left: 4px solid var(--accent-color);

  padding: 24px;

  border-radius: 0 8px 8px 0;

  margin: 32px 0;

}

.key-takeaways h3 {

  font-size: 18px;

  font-weight: 800;

  margin-bottom: 16px;

}

.key-takeaways ul {

  list-style: disc;

  margin-left: 20px;

}

.key-takeaways li {

  margin-bottom: 12px;

}



/* Animations */

@keyframes fadeUp {

  from { opacity: 0; transform: translateY(20px); }

  to { opacity: 1; transform: translateY(0); }

}

@keyframes fadeIn {

  from { opacity: 0; }

  to { opacity: 1; }

}



@media (prefers-reduced-motion: reduce) {

  .news-card, .trending-ranking-item, .article-content, .breaking-marquee {

    animation: none;

    transition: none;

  }

}





/* ==========================================================================

   LEARNING CENTRE STYLES

   ========================================================================== */



.learn-page-header {

    padding: 60px 0;

    text-align: center;

    background: #ffffff;

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

    margin-bottom: 40px;

}



.learn-page-title {

    font-size: 40px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 16px;

    letter-spacing: -0.5px;

}



.learn-page-subtitle {

    font-size: 18px;

    color: #475569;

    max-width: 600px;

    margin: 0 auto;

    line-height: 1.6;

}



.search-bar-large {

    width: 100%;

    max-width: 600px;

    padding: 16px 24px;

    font-size: 16px;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    margin: 32px auto;

    display: block;

    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

}



.search-bar-large:focus {

    outline: none;

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

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);

}



.guide-card {

    background: white;

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

    border-radius: 12px;

    padding: 24px;

    transition: all 0.3s ease;

    display: flex;

    flex-direction: column;

}



.guide-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

    border-color: #cbd5e1;

}



.guide-card-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 12px 0;

}



.guide-card-title a {

    color: inherit;

    text-decoration: none;

}



.guide-card-title a:hover {

    color: var(--accent-color);

}



.guide-card-desc {

    font-size: 14px;

    color: #475569;

    line-height: 1.6;

    margin-bottom: 24px;

    flex-grow: 1;

}



.guide-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 13px;

    color: #64748b;

    font-weight: 600;

    border-top: 1px solid #f1f5f9;

    padding-top: 16px;

    margin-top: auto;

}



.reading-progress-container {

    position: sticky;

    top: 72px; /* Header height */

    left: 0;

    width: 100%;

    height: 4px;

    background: #e2e8f0;

    z-index: 99;

}



.reading-progress-bar {

    height: 100%;

    background: var(--accent-color);

    width: 0%;

    transition: width 0.1s ease;

}



.toc-sidebar {

    position: sticky;

    top: 100px;

    background: white;

    padding: 24px;

    border-radius: 12px;

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

}



.toc-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.toc-list li {

    margin-bottom: 12px;

}



.toc-list a {

    color: #475569;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: color 0.2s;

}



.toc-list a:hover {

    color: var(--accent-color);

}



.glossary-alphabet {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    justify-content: center;

    margin: 32px 0;

}



.glossary-letter {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    color: #334155;

    font-weight: 700;

    text-decoration: none;

    font-size: 14px;

    transition: all 0.2s;

}



.glossary-letter:hover, .glossary-letter.active {

    background: var(--accent-color);

    color: white;

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

}



.glossary-term-card {

    background: white;

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

    border-radius: 12px;

    padding: 24px;

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.glossary-term-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

}



.step-timeline {

    position: relative;

    max-width: 600px;

    margin: 40px auto;

    padding-left: 32px;

}



.step-timeline::before {

    content: '';

    position: absolute;

    left: 15px;

    top: 0;

    bottom: 0;

    width: 2px;

    background: #e2e8f0;

}



.step-item {

    position: relative;

    margin-bottom: 40px;

    background: white;

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

    border-radius: 12px;

    padding: 24px;

}



.step-number {

    position: absolute;

    left: -48px;

    top: 24px;

    width: 32px;

    height: 32px;

    background: white;

    border: 2px solid var(--accent-color);

    color: var(--accent-color);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    font-size: 14px;

    z-index: 2;

}



.comparison-table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    background: white;

    border-radius: 12px;

    overflow: hidden;

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

    margin-bottom: 40px;

}



.comparison-table th,

.comparison-table td {

    padding: 20px;

    text-align: center;

    border-bottom: 1px solid #f1f5f9;

}



.comparison-table th {

    background: #f8fafc;

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}



.comparison-table td:first-child,

.comparison-table th:first-child {

    text-align: left;

    background: white;

    font-weight: 700;

    color: #334155;

    border-right: 1px solid #f1f5f9;

}



.money-flow-node {

    background: white;

    border: 2px solid var(--accent-color);

    border-radius: 12px;

    padding: 24px;

    text-align: center;

    margin: 0 auto 32px auto;

    width: 250px;

    position: relative;

    font-weight: 800;

    color: #0f172a;

}



.money-flow-node::after {

    content: '↓';

    position: absolute;

    bottom: -28px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 24px;

    color: #94a3b8;

}



.money-flow-node:last-child::after {

    display: none;

}



.calculation-card {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    text-align: center;

    max-width: 600px;

    margin: 0 auto 40px auto;

}



.calc-box {

    flex: 1;

}



.calc-operator {

    font-size: 24px;

    font-weight: 800;

    color: #64748b;

    margin: 0 16px;

}



.learn-article-content h2 {

    font-size: 24px;

    font-weight: 800;

    margin: 32px 0 16px 0;

    color: #0f172a;

}



.learn-article-content p {

    font-size: 16px;

    line-height: 1.8;

    color: #334155;

    margin-bottom: 24px;

}



.learn-article-content ul {

    margin-bottom: 24px;

    padding-left: 24px;

}



.learn-article-content li {

    font-size: 16px;

    line-height: 1.8;

    color: #334155;

    margin-bottom: 8px;

}





/* ==========================================================================

   TOOLS SECTION STYLES

   ========================================================================== */



/* Tools Mega Menu Overrides */

.tools-menu-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 32px;

}



.tools-menu-col h4 {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    color: #64748b;

    margin-bottom: 12px;

    border-bottom: 1px solid #e2e8f0;

    padding-bottom: 8px;

    white-space: nowrap;

}



.tools-hover-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.tools-hover-list li {

    margin-bottom: 10px;

}



.tools-hover-list a {

    color: #0f172a;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    display: inline-block;

    white-space: nowrap;

    transition: all 0.2s ease;

}



.tools-hover-list a:hover {

    color: var(--accent-color);

    transform: translateX(3px);

}



.tools-hover-list a:hover::after {

    content: ' →';

    opacity: 1;

}



/* Calculators Core Layout */

.calculator-page-header {

    padding: 60px 0;

    text-align: center;

    background: #ffffff;

    margin-bottom: 20px;

}



.calculator-page-title {

    font-size: 40px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 16px;

    letter-spacing: -0.5px;

}



.calculator-page-subtitle {

    font-size: 18px;

    color: #475569;

    max-width: 600px;

    margin: 0 auto;

    line-height: 1.6;

}



.calculator-wrapper {

    max-width: 800px;

    margin: 0 auto 60px auto;

    background: white;

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

    border-radius: 16px;

    padding: 40px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

}



.calc-input-group {

    margin-bottom: 24px;

}



.calc-label {

    display: block;

    font-size: 14px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 8px;

}



.calc-input {

    width: 100%;

    padding: 16px;

    font-size: 18px;

    font-weight: 600;

    color: #0f172a;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background: #f8fafc;

    transition: all 0.3s;

}



.calc-input:focus {

    outline: none;

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

    background: white;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);

}



.calc-result-box {

    background: #f1f5f9;

    border-radius: 12px;

    padding: 32px;

    text-align: center;

    margin-top: 32px;

}



.calc-result-title {

    font-size: 14px;

    font-weight: 800;

    color: #64748b;

    text-transform: uppercase;

    margin-bottom: 12px;

}



.calc-result-value {

    font-size: 48px;

    font-weight: 800;

    color: var(--primary-color);

}



.calc-grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

}



/* Progress Tracker for Allotment */

.status-tracker {

    display: flex;

    justify-content: space-between;

    align-items: center;

    position: relative;

    max-width: 600px;

    margin: 40px auto;

}



.status-tracker::before {

    content: '';

    position: absolute;

    top: 24px;

    left: 10%;

    right: 10%;

    height: 4px;

    background: #e2e8f0;

    z-index: 1;

}



.tracker-step {

    position: relative;

    z-index: 2;

    text-align: center;

    flex: 1;

}



.tracker-icon {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: white;

    border: 4px solid #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px auto;

    font-size: 20px;

    font-weight: 800;

    color: #94a3b8;

}



.tracker-step.active .tracker-icon {

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

    background: var(--accent-color);

    color: white;

}



.tracker-label {

    font-size: 14px;

    font-weight: 700;

    color: #64748b;

}



.tracker-step.active .tracker-label {

    color: #0f172a;

}





/* ==========================================================================

   Clickable Cards (Stretched Link Pattern)

   Makes the entire card surface clickable without needing JS

   ========================================================================== */







@media (max-width: 768px) {

    .seo-content-section div[style*="column-count: 2"] {

        column-count: 1 !important;

    }

}



@media (max-width: 768px) {

    .faq-grid {

        grid-template-columns: 1fr !important;

    }

}



@media (max-width: 992px) {

    .steps-grid {

        grid-template-columns: repeat(2, 1fr) !important;

    }

}

@media (max-width: 576px) {

    .steps-grid {

        grid-template-columns: 1fr !important;

    }

}



/* ==========================================================================

   52-WEEK HIGH DASHBOARD

   ========================================================================== */

.high-dashboard {

  display: grid;

  grid-template-columns: 1fr;

  gap: 32px;

  margin-top: 40px;

}



.high-hero {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  background: linear-gradient(135deg, #10b981 0%, #059669 100%);

  padding: 32px;

  border-radius: 16px;

  color: white;

}



.high-stat-card {

  display: flex;

  flex-direction: column;

  gap: 8px;

}



.high-stat-card .label {

  font-size: 14px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  opacity: 0.9;

}



.high-stat-card .value {

  font-size: 36px;

  font-weight: 800;

  line-height: 1;

}



.high-heatmap-section {

  background: white;

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

  border-radius: 12px;

  padding: 32px;

}



.high-heatmap-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

  gap: 12px;

  margin-top: 24px;

}



.heatmap-box {

  padding: 16px;

  border-radius: 8px;

  display: flex;

  flex-direction: column;

  gap: 4px;

  transition: transform 0.2s;

  cursor: pointer;

}



.heatmap-box:hover {

  transform: translateY(-4px);

}



.heatmap-box.intense { background: #d1fae5; border: 1px solid #34d399; }

.heatmap-box.medium { background: #f0fdf4; border: 1px solid #86efac; }

.heatmap-box.light { background: #f8fafc; border: 1px solid #e2e8f0; }



.heatmap-sector { font-weight: 700; font-size: 14px; color: #0f172a; }

.heatmap-count { font-size: 13px; color: #10b981; font-weight: 600; }



.distance-bar-wrapper {

  width: 100px;

  height: 8px;

  background: #f1f5f9;

  border-radius: 4px;

  overflow: hidden;

  position: relative;

}



.distance-bar-fill {

  height: 100%;

  background: #10b981;

  position: absolute;

  right: 0;

}



.high-education-cards {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

}



.edu-card {

  padding: 24px;

  border-radius: 12px;

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

  background: white;

}



.edu-card.positive { border-top: 4px solid #10b981; }

.edu-card.caution { border-top: 4px solid #f59e0b; }



.edu-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

.edu-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.edu-card ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #475569; }



/* ==========================================================================

   52-WEEK LOW DASHBOARD

   ========================================================================== */

.low-dashboard {

  display: grid;

  grid-template-columns: 1fr;

  gap: 32px;

  margin-top: 40px;

}



.low-hero {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);

  padding: 32px;

  border-radius: 16px;

  color: white;

}



.low-stat-card {

  display: flex;

  flex-direction: column;

  gap: 8px;

}



.low-stat-card .label {

  font-size: 14px;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  opacity: 0.9;

}



.low-stat-card .value {

  font-size: 36px;

  font-weight: 800;

  line-height: 1;

}



.low-recovery-section {

  background: white;

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

  border-radius: 12px;

  padding: 32px;

}



.recovery-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;

  margin-top: 24px;

}



.recovery-card {

  padding: 20px;

  border-radius: 12px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  display: flex;

  flex-direction: column;

  gap: 12px;

}



.recovery-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.recovery-stock { font-weight: 700; color: #0f172a; font-size: 16px; }

.recovery-badge { background: #d1fae5; color: #059669; padding: 4px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; }



.recovery-metrics {

  display: flex;

  justify-content: space-between;

  margin-top: 8px;

  font-size: 13px;

}



.recovery-val { font-weight: 600; color: #475569; }



.decline-bar-wrapper {

  width: 100px;

  height: 8px;

  background: #f1f5f9;

  border-radius: 4px;

  overflow: hidden;

  position: relative;

}



.decline-bar-fill {

  height: 100%;

  background: linear-gradient(90deg, #f43f5e 0%, #e11d48 100%);

  position: absolute;

  left: 0;

}



.low-warning-box {

  background: #fffbeb;

  border: 1px solid #fcd34d;

  border-left: 4px solid #f59e0b;

  padding: 24px;

  border-radius: 8px;

  display: flex;

  gap: 16px;

  align-items: flex-start;

}



/* ==========================================================================

   BULK DEALS DASHBOARD

   ========================================================================== */

.bulk-dashboard {

  display: flex;

  flex-direction: column;

  gap: 32px;

  margin-top: 40px;

}



.bulk-hero {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

}



.bulk-stat-card {

  background: white;

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

  padding: 24px;

  border-radius: 12px;

  display: flex;

  flex-direction: column;

  gap: 8px;

  position: relative;

  overflow: hidden;

}



.bulk-stat-card::before {

  content: '';

  position: absolute;

  top: 0; left: 0; right: 0;

  height: 4px;

}



.bulk-stat-card.val-blue::before { background: #3b82f6; }

.bulk-stat-card.val-purple::before { background: #8b5cf6; }

.bulk-stat-card.val-green::before { background: #10b981; }

.bulk-stat-card.val-red::before { background: #f43f5e; }



.bulk-stat-label { font-size: 13px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }

.bulk-stat-value { font-size: 24px; font-weight: 800; color: #0f172a; }

.bulk-stat-sub { font-size: 13px; color: #475569; }



.transaction-flow {

  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-top: 24px;

}



.tx-row {

  display: grid;

  grid-template-columns: 200px 1fr 120px 1fr 100px;

  gap: 16px;

  align-items: center;

  background: white;

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

  padding: 16px 24px;

  border-radius: 12px;

  transition: box-shadow 0.2s, transform 0.2s;

}



.tx-row:hover {

  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(0,0,0,0.05);

}



.tx-stock { font-weight: 700; font-size: 16px; color: #0f172a; display: flex; flex-direction: column; }

.tx-date { font-size: 12px; color: #94a3b8; font-weight: 500; }



.tx-party {

  display: flex;

  align-items: center;

  gap: 12px;

}



.tx-party.buyer { color: #059669; }

.tx-party.seller { color: #e11d48; justify-content: flex-end; }

.tx-party-name { font-weight: 600; font-size: 14px; color: #334155; }



.tx-pill {

  padding: 4px 12px;

  border-radius: 20px;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

}



.tx-pill.buy { background: #d1fae5; color: #059669; border: 1px solid #6ee7b7; }

.tx-pill.sell { background: #ffe4e6; color: #e11d48; border: 1px solid #fda4af; }



.tx-details {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 4px;

  background: #f8fafc;

  padding: 8px 16px;

  border-radius: 8px;

  border: 1px dashed #cbd5e1;

}



.tx-shares { font-weight: 700; color: #0f172a; font-size: 14px; }

.tx-price { font-size: 12px; color: #64748b; }

.tx-value { font-weight: 700; font-size: 14px; color: #0f172a; text-align: right; }



.bulk-vs-block {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

  margin-top: 20px;

}



.compare-card {

  padding: 24px;

  background: white;

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

  border-radius: 12px;

}



.compare-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; color: #0f172a; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; }

.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.compare-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #475569; }

.compare-list li::before { content: '•'; color: #3b82f6; font-weight: bold; font-size: 18px; line-height: 14px; }



/* ==========================================================================

   BLOCK DEALS TERMINAL

   ========================================================================== */

.terminal-dashboard {

  display: flex;

  flex-direction: column;

  gap: 32px;

  margin-top: 40px;

}



.terminal-hero {

  background: #0f172a;

  border-radius: 12px;

  padding: 32px;

  color: #f8fafc;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 32px;

}



.terminal-title h1 { color: #f8fafc; font-size: 24px; font-weight: 800; margin-bottom: 8px; }

.terminal-title p { color: #94a3b8; font-size: 14px; line-height: 1.5; }



.terminal-stat { display: flex; flex-direction: column; gap: 4px; }

.terminal-stat-label { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.terminal-stat-val { color: #38bdf8; font-size: 32px; font-weight: 800; font-family: 'Consolas', 'Courier New', monospace; }



.terminal-feed-container {

  background: #1e293b;

  border-radius: 12px;

  border: 1px solid #334155;

  overflow: hidden;

}



.terminal-feed-header {

  display: grid;

  grid-template-columns: 100px 1.5fr 1fr 1fr 120px 100px 120px;

  padding: 16px 24px;

  background: #0f172a;

  border-bottom: 1px solid #334155;

  color: #94a3b8;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}



.terminal-row {

  display: grid;

  grid-template-columns: 100px 1.5fr 1fr 1fr 120px 100px 120px;

  padding: 16px 24px;

  border-bottom: 1px solid #334155;

  color: #f1f5f9;

  font-size: 14px;

  align-items: center;

  transition: background 0.2s;

}



.terminal-row:hover { background: #334155; }

.terminal-row:last-child { border-bottom: none; }



.t-time { color: #94a3b8; font-family: 'Consolas', monospace; }

.t-stock { font-weight: 700; color: #f8fafc; }

.t-buyer { color: #34d399; font-weight: 600; }

.t-seller { color: #fb7185; font-weight: 600; }

.t-qty { font-family: 'Consolas', monospace; color: #cbd5e1; text-align: right; }

.t-price { font-family: 'Consolas', monospace; color: #cbd5e1; text-align: right; }

.t-val { font-family: 'Consolas', monospace; color: #38bdf8; font-weight: 700; text-align: right; }



.terminal-leaders {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

}



.leader-board {

  background: white;

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

  border-radius: 12px;

  padding: 24px;

}



.leader-board h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

.leader-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }

.leader-row:last-child { border-bottom: none; padding-bottom: 0; }

.leader-name { font-weight: 600; color: #334155; }

.leader-val { font-weight: 700; font-family: 'Consolas', monospace; }

.buyer-val { color: #059669; }

.seller-val { color: #e11d48; }



/* ==========================================================================

   CORPORATE ACTIONS DASHBOARD

   ========================================================================== */

.corp-dashboard {

  display: flex;

  flex-direction: column;

  gap: 40px;

  margin-top: 40px;

}



.corp-hero {

  background: white;

  border-radius: 12px;

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

  padding: 32px;

}



.corp-hero h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }

.corp-hero p { color: #64748b; font-size: 15px; max-width: 800px; line-height: 1.6; }



.timeline-tracker {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-top: 32px;

  position: relative;

  max-width: 800px;

}



.timeline-tracker::before {

  content: '';

  position: absolute;

  top: 16px; left: 0; right: 0;

  height: 4px;

  background: #f1f5f9;

  z-index: 1;

}



.timeline-step {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 12px;

  position: relative;

  z-index: 2;

  width: 120px;

  text-align: center;

}



.timeline-dot {

  width: 36px;

  height: 36px;

  border-radius: 50%;

  background: white;

  border: 4px solid #3b82f6;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  color: #3b82f6;

  font-size: 14px;

}



.timeline-label { font-weight: 700; font-size: 14px; color: #0f172a; }

.timeline-desc { font-size: 12px; color: #64748b; line-height: 1.4; }



.corp-events-bento {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

}



.event-card {

  background: white;

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

  border-radius: 12px;

  padding: 24px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  transition: transform 0.2s, box-shadow 0.2s;

}



.event-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(0,0,0,0.05);

}



.event-header {

  display: flex;

  align-items: center;

  gap: 12px;

}



.event-icon {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  background: #f1f5f9;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #3b82f6;

}



.event-title { font-size: 18px; font-weight: 800; color: #0f172a; }

.event-desc { font-size: 14px; color: #475569; line-height: 1.5; flex-grow: 1; }



.event-example {

  background: #f8fafc;

  border: 1px dashed #cbd5e1;

  padding: 12px;

  border-radius: 8px;

  font-size: 13px;

}



.example-title { font-weight: 700; color: #334155; margin-bottom: 4px; display: block; }

.example-body { color: #64748b; }



.upcoming-events {

  margin-top: 16px;

}



.upcoming-table-container {

  background: white;

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

  border-radius: 12px;

  overflow: hidden;

}



.upcoming-table {

  width: 100%;

  border-collapse: collapse;

}



.upcoming-table th {

  background: #f8fafc;

  padding: 16px;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  color: #64748b;

  text-align: left;

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

}



.upcoming-table td {

  padding: 16px;

  border-bottom: 1px solid #f1f5f9;

  font-size: 14px;

}



.event-badge {

  padding: 4px 10px;

  border-radius: 20px;

  font-size: 12px;

  font-weight: 700;

  display: inline-block;

}



.badge-div { background: #dbeafe; color: #1d4ed8; }

.badge-bonus { background: #dcfce7; color: #15803d; }

.badge-split { background: #f3e8ff; color: #7e22ce; }



/* ==========================================================================

   QUARTERLY RESULTS DASHBOARD

   ========================================================================== */

.results-dashboard {

  display: flex;

  flex-direction: column;

  gap: 40px;

  margin-top: 40px;

}



.results-hero {

  background: white;

  border-radius: 12px;

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

  padding: 32px;

  display: flex;

  flex-direction: column;

  gap: 24px;

}



.results-hero-header h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }

.results-hero-header p { color: #64748b; font-size: 15px; max-width: 800px; line-height: 1.6; }



.scorecard-grid {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 16px;

}



.scorecard {

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  border-radius: 12px;

  padding: 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  gap: 8px;

}



.scorecard.up { border-top: 4px solid #10b981; }

.scorecard.down { border-top: 4px solid #f43f5e; }



.score-title { font-weight: 700; color: #475569; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.score-icon.up { color: #10b981; }

.score-icon.down { color: #f43f5e; }



.compare-bento {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

}



.comp-card {

  background: white;

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

  border-radius: 12px;

  overflow: hidden;

}



.comp-header {

  padding: 20px 24px;

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

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.comp-header h3 { font-size: 18px; font-weight: 800; color: #0f172a; }

.comp-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }

.comp-badge.yoy { background: #e0e7ff; color: #3730a3; }

.comp-badge.qoq { background: #fef08a; color: #854d0e; }



.comp-body { padding: 24px; display: flex; flex-direction: column; gap: 24px; }



.metric-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-bottom: 16px;

  border-bottom: 1px dashed #cbd5e1;

}



.metric-row:last-child { border-bottom: none; padding-bottom: 0; }



.m-label { font-weight: 600; color: #334155; font-size: 15px; }

.m-vals { display: flex; align-items: center; gap: 16px; }

.m-current { font-weight: 800; color: #0f172a; font-size: 18px; font-family: 'Consolas', monospace; }

.m-prev { color: #94a3b8; font-size: 14px; text-decoration: line-through; font-family: 'Consolas', monospace; }

.m-change { padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 13px; min-width: 70px; text-align: center; }

.m-change.positive { background: #d1fae5; color: #059669; }

.m-change.negative { background: #ffe4e6; color: #e11d48; }



.edu-box-row {

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 24px;

}



.edu-box {

  background: #f8fafc;

  border: 1px solid #cbd5e1;

  border-radius: 12px;

  padding: 24px;

}



.edu-box h4 { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

.edu-box p { font-size: 14px; color: #475569; line-height: 1.6; margin-bottom: 12px; }

.edu-box p:last-child { margin-bottom: 0; }



/* ==========================================================================

   SHAREHOLDING PATTERN DASHBOARD

   ========================================================================== */

.share-dashboard {

  display: flex;

  flex-direction: column;

  gap: 40px;

  margin-top: 40px;

}



.share-hero {

  background: white;

  border-radius: 12px;

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

  padding: 32px;

}



.share-hero h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }

.share-hero p { color: #64748b; font-size: 15px; max-width: 800px; line-height: 1.6; }



.ownership-snapshot {

  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-top: 32px;

}



.stacked-bar-container {

  height: 48px;

  width: 100%;

  background: #f1f5f9;

  border-radius: 24px;

  overflow: hidden;

  display: flex;

  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);

}



.sb-segment {

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  font-weight: 800;

  font-size: 14px;

  transition: opacity 0.2s;

  cursor: pointer;

}



.sb-segment:hover { opacity: 0.9; }



.sb-promoter { background: #3b82f6; width: 45%; }

.sb-fii { background: #8b5cf6; width: 25%; }

.sb-dii { background: #10b981; width: 15%; }

.sb-public { background: #f59e0b; width: 15%; }



.sb-legend {

  display: flex;

  justify-content: space-between;

  margin-top: 8px;

}



.legend-item {

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  font-weight: 600;

  color: #334155;

}



.legend-dot {

  width: 12px;

  height: 12px;

  border-radius: 50%;

}



.share-matrix {

  background: white;

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

  border-radius: 12px;

  overflow: hidden;

}



.matrix-header {

  padding: 24px;

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

  background: #f8fafc;

}



.matrix-table {

  width: 100%;

  border-collapse: collapse;

}



.matrix-table th {

  padding: 16px 24px;

  text-align: left;

  font-size: 12px;

  font-weight: 700;

  color: #64748b;

  text-transform: uppercase;

  letter-spacing: 0.5px;

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

}



.matrix-table th.right { text-align: right; }



.matrix-table td {

  padding: 16px 24px;

  border-bottom: 1px solid #f1f5f9;

  font-size: 15px;

  color: #0f172a;

}



.matrix-table td.right { text-align: right; font-family: 'Consolas', monospace; font-weight: 600; }

.matrix-table tr:last-child td { border-bottom: none; }



.matrix-cat { font-weight: 700; display: flex; align-items: center; gap: 8px; }



.trend-badge {

  padding: 4px 10px;

  border-radius: 20px;

  font-size: 12px;

  font-weight: 700;

  display: inline-flex;

  align-items: center;

  gap: 4px;

}

.trend-up { background: #d1fae5; color: #059669; }

.trend-down { background: #ffe4e6; color: #e11d48; }

.trend-flat { background: #f1f5f9; color: #64748b; }



.how-to-read {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

}



.read-step {

  background: #f8fafc;

  border: 1px dashed #cbd5e1;

  padding: 24px;

  border-radius: 12px;

  display: flex;

  flex-direction: column;

  gap: 12px;

}



.step-num {

  width: 28px;

  height: 28px;

  background: #3b82f6;

  color: white;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  font-size: 14px;

}



.read-step h4 { font-size: 16px; font-weight: 800; color: #0f172a; }

.read-step p { font-size: 14px; color: #475569; line-height: 1.5; }



/* ==========================================================================

   BROKER MATCHMAKER & DIRECTORY (REVAMP)

   ========================================================================== */

.broker-hero {

  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);

  border-radius: 24px;

  padding: 60px;

  color: white;

  position: relative;

  overflow: hidden;

  margin-top: 40px;

  margin-bottom: 40px;

  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

}



.broker-hero::before {

  content: '';

  position: absolute;

  top: -20%; right: -10%;

  width: 500px; height: 500px;

  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, rgba(15, 23, 42, 0) 70%);

  border-radius: 50%;

  pointer-events: none;

}



.broker-hero-content {

  position: relative;

  z-index: 2;

  max-width: 800px;

}



.broker-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 16px; letter-spacing: -1px; }

.broker-hero p { font-size: 16px; color: #cbd5e1; max-width: 600px; line-height: 1.6; }



/* Interactive Matchmaker Sentence */

.matchmaker-sentence {

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  padding: 24px 32px;

  border-radius: 16px;

  margin-top: 32px;

  font-size: 24px;

  font-weight: 600;

  line-height: 1.8;

  color: #f8fafc;

  display: inline-block;

}



.mm-select {

  appearance: none;

  background: transparent;

  border: none;

  border-bottom: 2px dashed #8b5cf6;

  color: #a78bfa;

  font-family: inherit;

  font-size: 24px;

  font-weight: 800;

  padding: 0 8px 4px 8px;

  cursor: pointer;

  transition: all 0.2s;

}



.mm-select:focus {

  outline: none;

  border-bottom-color: #c4b5fd;

  color: #c4b5fd;

}



.mm-select option {

  background: #0f172a;

  color: white;

  font-size: 16px;

}



.btn-match {

  background: linear-gradient(to right, #3b82f6, #8b5cf6);

  color: white;

  border: none;

  padding: 12px 32px;

  border-radius: 30px;

  font-size: 16px;

  font-weight: 700;

  cursor: pointer;

  margin-left: 16px;

  transition: transform 0.2s, box-shadow 0.2s;

}



.btn-match:hover {

  transform: translateY(-2px);

  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);

}



/* Top Picks Bento Grid */

.top-picks-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-bottom: 40px;

}



.pick-card {

  background: white;

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

  border-radius: 16px;

  padding: 24px;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;

  overflow: hidden;

}



.pick-card::before {

  content: '';

  position: absolute;

  top: 0; left: 0; right: 0;

  height: 4px;

  background: linear-gradient(90deg, #3b82f6, #8b5cf6);

  opacity: 0;

  transition: opacity 0.3s;

}



.pick-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);

  border-color: #cbd5e1;

}



.pick-card:hover::before { opacity: 1; }



.pick-badge {

  position: absolute;

  top: 16px; right: 16px;

  background: #f1f5f9;

  color: #475569;

  font-size: 11px;

  font-weight: 800;

  padding: 4px 10px;

  border-radius: 20px;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}



.pick-card.featured .pick-badge { background: #fef3c7; color: #d97706; }

.pick-card.options .pick-badge { background: #e0e7ff; color: #4338ca; }

.pick-card.beginners .pick-badge { background: #dcfce7; color: #166534; }



.pick-header {

  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 20px;

}



.pick-logo {

  width: 56px; height: 56px;

  border-radius: 12px;

  background: #f8fafc;

  display: flex; align-items: center; justify-content: center;

  font-size: 24px; font-weight: 900;

  border: 1px solid #e2e8f0;

}



.pick-title { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }

.pick-stars { color: #fbbf24; font-size: 14px; }



.pick-features {

  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-bottom: 24px;

}



.pick-feature {

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  color: #475569;

  font-weight: 500;

}



.pick-feature svg { color: #10b981; }



/* Enhanced Table */

.enhanced-broker-table {

  background: white;

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

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 4px 6px rgba(0,0,0,0.02);

}



.enhanced-broker-table table {

  width: 100%;

  border-collapse: collapse;

}



.enhanced-broker-table th {

  background: #f8fafc;

  padding: 16px 24px;

  text-align: left;

  font-size: 12px;

  font-weight: 800;

  color: #64748b;

  text-transform: uppercase;

  letter-spacing: 0.5px;

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

}



.enhanced-broker-table td {

  padding: 20px 24px;

  border-bottom: 1px solid #f1f5f9;

  color: #334155;

  font-size: 15px;

  transition: background 0.2s;

}



.enhanced-broker-table tr:hover td {

  background: #f8fafc;

}



.enhanced-broker-table tr:last-child td { border-bottom: none; }



.broker-name-cell {

  display: flex;

  align-items: center;

  gap: 16px;

}



.broker-icon {

  width: 40px; height: 40px;

  border-radius: 8px;

  display: flex; align-items: center; justify-content: center;

  font-weight: 800; font-size: 16px;

}



.b-icon-z { background: #e0f2fe; color: #0369a1; }

.b-icon-g { background: #dcfce7; color: #166534; }

.b-icon-u { background: #f3e8ff; color: #6b21a8; }

.b-icon-a { background: #ffedd5; color: #c2410c; }

.b-icon-p { background: #f1f5f9; color: #334155; }



.broker-name { font-weight: 800; color: #0f172a; text-decoration: none; font-size: 16px; }

.broker-name:hover { color: #3b82f6; text-decoration: underline; }



.broker-type-badge {

  font-size: 11px;

  font-weight: 700;

  padding: 2px 8px;

  border-radius: 4px;

  background: #f1f5f9;

  color: #64748b;

  margin-top: 4px;

  display: inline-block;

}



.fee-free { color: #10b981; font-weight: 800; }

.fee-num { font-weight: 700; color: #0f172a; font-family: 'Consolas', monospace; }



/* Review Button Animation */

.btn-review {

  display: inline-flex;

  align-items: center;

  gap: 4px;

  padding: 8px 16px;

  background: #eff6ff;

  color: #2563eb;

  border-radius: 20px;

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.2s;

}



.btn-review:hover {

  background: #3b82f6;

  color: white;

}



.btn-review svg { transition: transform 0.2s; }

.btn-review:hover svg { transform: translateX(4px); }



/* ==========================================================================

   MEGA MENU BROKER WIDGET (REVAMP)

   ========================================================================== */

.mega-featured-broker {

    background: linear-gradient(145deg, #f8fafc, #f1f5f9);

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 12px;

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    transition: all 0.2s ease;

}

.mega-featured-broker:hover {

    background: linear-gradient(145deg, #eff6ff, #e0f2fe);

    border-color: #bfdbfe;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);

}

.mega-featured-icon {

    width: 36px;

    height: 36px;

    background: #e0f2fe;

    color: #0369a1;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    font-size: 16px;

}

.mega-featured-title {

    font-weight: 700;

    color: #0f172a;

    font-size: 14px;

    margin-bottom: 2px;

}

.mega-featured-desc {

    font-size: 11px;

    color: #64748b;

    font-weight: 600;

}

.mega-featured-desc span { color: #eab308; }



.mega-compact-list {

    list-style: none;

    padding: 0;

    margin: 0;

}

.mega-compact-list li a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 8px 12px;

    color: #475569;

    font-weight: 600;

    font-size: 13px;

    text-decoration: none;

    border-radius: 6px;

    transition: all 0.2s;

}

.mega-compact-list li a:hover {

    background: #f8fafc;

    color: #2563eb;

    padding-left: 16px;

}

.mega-compact-all {

    display: block;

    text-align: center;

    padding: 8px;

    background: #f1f5f9;

    color: #334155;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    margin-top: 12px;

    transition: all 0.2s;

}

.mega-compact-all:hover {

    background: #e2e8f0;

    color: #0f172a;

}



/* ==========================================================================

   MEGA MENU BROKER CATEGORY GRID

   ========================================================================== */

.mega-cat-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 12px;

}

.mega-cat-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 12px 8px;

    text-decoration: none;

    transition: all 0.2s ease;

}

.mega-cat-card:hover {

    background: #eff6ff;

    border-color: #bfdbfe;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);

}

.mega-cat-icon {

    font-size: 20px;

    margin-bottom: 4px;

}

.mega-cat-name {

    font-size: 11px;

    font-weight: 700;

    color: #475569;

    text-align: center;

}

.mega-cat-card:hover .mega-cat-name {

    color: #2563eb;

}



/* Animated Steps Arrows */

.steps-grid {

    position: relative;

}

.steps-grid > div {

    position: relative;

}

@media (min-width: 768px) {

    .steps-grid > div {

        opacity: 0;

    }

    .steps-grid > div:nth-child(1) { animation: slideUpStep1 6s infinite; }

    .steps-grid > div:nth-child(2) { animation: slideUpStep2 6s infinite; }

    .steps-grid > div:nth-child(3) { animation: slideUpStep3 6s infinite; }

    .steps-grid > div:nth-child(4) { animation: slideUpStep4 6s infinite; }



    .steps-grid > div:not(:last-child)::after {

        content: '';

        position: absolute;

        width: calc(100% - 56px);

        height: 36px;

        left: calc(50% + 40px);

        z-index: 1;

        opacity: 0;

    }

    

    .steps-grid > div:nth-child(1):not(:last-child)::after {

        animation: drawPath1 6s infinite;

    }

    .steps-grid > div:nth-child(2):not(:last-child)::after {

        animation: drawPath2 6s infinite;

    }

    .steps-grid > div:nth-child(3):not(:last-child)::after {

        animation: drawPath3 6s infinite;

    }

    

    /* 1st and 3rd arcs curve UP */

    .steps-grid > div:nth-child(odd):not(:last-child)::after {

        top: 20px;

        border-top: 2px dashed #8b5cf6;

        border-radius: 50% 50% 0 0 / 100% 100% 0 0;

    }

    

    /* 2nd arc curves DOWN */

    .steps-grid > div:nth-child(even):not(:last-child)::after {

        top: 56px;

        border-bottom: 2px dashed #8b5cf6;

        border-radius: 0 0 50% 50% / 0 0 100% 100%;

    }

}

@keyframes drawPath1 {

    0% { clip-path: inset(0 100% 0 0); opacity: 0; }

    5% { clip-path: inset(0 100% 0 0); opacity: 0.6; }

    20%, 90% { clip-path: inset(0 0 0 0); opacity: 0.6; }

    95%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }

}

@keyframes drawPath2 {

    0%, 20% { clip-path: inset(0 100% 0 0); opacity: 0; }

    25% { clip-path: inset(0 100% 0 0); opacity: 0.6; }

    40%, 90% { clip-path: inset(0 0 0 0); opacity: 0.6; }

    95%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }

}

@keyframes drawPath3 {

    0%, 40% { clip-path: inset(0 100% 0 0); opacity: 0; }

    45% { clip-path: inset(0 100% 0 0); opacity: 0.6; }

    60%, 90% { clip-path: inset(0 0 0 0); opacity: 0.6; }

    95%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }

}

@keyframes slideUpStep1 {

    0% { opacity: 0; transform: translateY(20px); }

    5%, 90% { opacity: 1; transform: translateY(0); }

    95%, 100% { opacity: 0; transform: translateY(20px); }

}

@keyframes slideUpStep2 {

    0%, 20% { opacity: 0; transform: translateY(20px); }

    25%, 90% { opacity: 1; transform: translateY(0); }

    95%, 100% { opacity: 0; transform: translateY(20px); }

}

@keyframes slideUpStep3 {

    0%, 40% { opacity: 0; transform: translateY(20px); }

    45%, 90% { opacity: 1; transform: translateY(0); }

    95%, 100% { opacity: 0; transform: translateY(20px); }

}

@keyframes slideUpStep4 {

    0%, 60% { opacity: 0; transform: translateY(20px); }

    65%, 90% { opacity: 1; transform: translateY(0); }

    95%, 100% { opacity: 0; transform: translateY(20px); }

}



/* ========================================= */

/* PREMIUM INFORMATIONAL PAGES & GLOBAL UI   */

/* ========================================= */

:root {

    --page-bg: #f8fafc;

    --page-text: #0f172a;

    --page-text-muted: #475569;

    --page-accent: #3b82f6;

    --page-accent-glow: rgba(59, 130, 246, 0.2);

    --glass-bg: rgba(255, 255, 255, 0.9);

    --glass-border: rgba(0, 0, 0, 0.05);

}



.premium-page-body {

    background-color: var(--page-bg);

    color: var(--page-text);

    background-image: 

        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.03), transparent 25%),

        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.03), transparent 25%);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    line-height: 1.6;

}



.premium-grid-bg {

    position: fixed;

    inset: 0;

    z-index: -1;

    background-image: 

        linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),

        linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);

    background-size: 40px 40px;

    pointer-events: none;

}



.premium-hero {

    padding: 60px 20px 50px;

    text-align: center;

    position: relative;

    overflow: hidden;

    background-color: #0b1120;

    color: #f8fafc;

}



.premium-hero .premium-eyebrow {

    color: #93c5fd;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 16px;

    display: inline-block;

}



.premium-hero .premium-subtext {

    color: #94a3b8;

}



.premium-hero::before {

    content: '';

    position: absolute;

    bottom: -50%; left: 0; right: 0; height: 100%;

    background: radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.15), transparent 60%);

    pointer-events: none;

    z-index: 0;

}



.premium-hero-content {

    position: relative;

    z-index: 1;

    max-width: 800px;

    margin: 0 auto;

}



.premium-eyebrow {

    display: inline-block;

    padding: 6px 16px;

    background: rgba(59, 130, 246, 0.1);

    border: 1px solid rgba(59, 130, 246, 0.3);

    color: #60a5fa;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 24px;

    text-transform: uppercase;

}



.premium-heading {

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 24px;

    line-height: 1.2;

    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.premium-subtext {

    font-size: 18px;

    color: var(--page-text-muted);

    max-width: 600px;

    margin: 0 auto 40px;

}



.glass-card {

    background: var(--glass-bg);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

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

    border-radius: 16px;

    padding: 32px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

}



.premium-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 24px;

    background: var(--page-accent);

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

    font-size: 15px;

    transition: all 0.2s ease;

    border: 1px solid transparent;

}

.premium-btn:hover {

    background: #2563eb;

    box-shadow: 0 0 20px var(--page-accent-glow);

    transform: translateY(-2px);

}

.premium-btn-outline {

    background: transparent;

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

    color: var(--page-text);

}

.premium-btn-outline:hover {

    background: rgba(255,255,255,0.05);

    border-color: rgba(255,255,255,0.2);

}



/* ========================================= */

/* PREMIUM GLOBAL FOOTER                     */

/* ========================================= */

.premium-footer {

    background: #060b14;

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

    color: #94a3b8;

    position: relative;

    overflow: hidden;

    margin-top: 0;

}



.footer-newsletter {

    background: linear-gradient(180deg, #0f172a 0%, #060b14 100%);

    padding: 40px 20px;

    text-align: center;

    border-bottom: 1px solid rgba(255,255,255,0.05);

}



.footer-newsletter h3 {

    color: white;

    font-size: 28px;

    margin-bottom: 12px;

    font-weight: 800;

}



.footer-newsletter p {

    margin-bottom: 32px;

    font-size: 16px;

}



.newsletter-form {

    display: flex;

    max-width: 500px;

    margin: 0 auto;

    gap: 12px;

}



.newsletter-form input {

    flex: 1;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 8px;

    padding: 12px 16px;

    color: white;

    font-size: 15px;

    outline: none;

    transition: border-color 0.2s ease;

}

.newsletter-form input:focus {

    border-color: var(--page-accent);

}



.footer-main {

    padding: 40px 20px 20px;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 40px;

}



@media (max-width: 768px) {

    .footer-main { grid-template-columns: 1fr 1fr; }

    .newsletter-form { flex-direction: column; }

}

@media (max-width: 480px) {

    .footer-main { grid-template-columns: 1fr; }

}



.footer-col h4 {

    color: white;

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 24px;

    letter-spacing: 0.5px;

}



.footer-col ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.footer-col ul li {

    margin-bottom: 12px;

}



.footer-col ul li a {

    color: #94a3b8;

    text-decoration: none;

    transition: color 0.2s ease;

}



.footer-col ul li a:hover {

    color: var(--page-accent);

}



.footer-brand {

    font-size: 24px;

    font-weight: 800;

    color: white;

    margin-bottom: 16px;

    display: flex;

    align-items: center;

    gap: 8px;

}

.footer-brand svg {

    width: 28px;

    height: 28px;

}



.footer-ticker {

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

    border-bottom: 1px solid rgba(255,255,255,0.05);

    padding: 12px 0;

    background: rgba(255,255,255,0.01);

    overflow: hidden;

    white-space: nowrap;

}

.footer-ticker-inner {

    display: inline-block;

    animation: ticker 30s linear infinite;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

}

.footer-ticker-inner span {

    margin: 0 40px;

}

@keyframes ticker {

    0% { transform: translateX(0); }

    100% { transform: translateX(-50%); }

}



.footer-bottom {

    max-width: 1200px;

    margin: 0 auto;

    padding: 24px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 13px;

}

@media (max-width: 768px) {

    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

}

.footer-bottom-links a {

    color: #94a3b8;

    text-decoration: none;

    margin-left: 20px;

}

.footer-bottom-links a:hover {

    color: white;

}



/* Global Animations for Bento Boxes & Cards */

@keyframes fadeUp { 

    0% { opacity: 0; transform: translateY(20px); } 

    100% { opacity: 1; transform: translateY(0); } 

}



.anim-card { 

    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; 

}

.delay-1 { animation-delay: 0.1s; }

.delay-2 { animation-delay: 0.2s; }

.delay-3 { animation-delay: 0.3s; }

.delay-4 { animation-delay: 0.4s; }

.delay-5 { animation-delay: 0.5s; }



/* News Premium Redesign */
.news-page-container {
    padding: 40px 0;
}
.news-page-header {
    margin-bottom: 40px;
    text-align: center;
}
.news-page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 16px 0;
    letter-spacing: -1px;
}
.news-page-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.news-category-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: center;
}
.news-category-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    padding: 10px 20px;
    border-radius: 30px;
    background: white;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}
.news-category-nav a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.featured-story {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 48px;
    border: 1px solid #e2e8f0;
    align-items: center;
}
.featured-story-img img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
}
.featured-story-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}
.news-card-img-wrapper {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.news-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-wrapper img {
    transform: scale(1.05);
}
.news-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    align-self: flex-start;
}
.news-badge.ipo { background: #e0e7ff; color: #4338ca; }
.news-badge.stocks { background: #dcfce7; color: #166534; }
.news-badge.corporate { background: #fef3c7; color: #b45309; }

.news-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.news-card-title a:hover {
    color: var(--primary-color);
}
.news-card-summary {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.news-card-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 992px) {
    .featured-story {
        grid-template-columns: 1fr;
    }
}

/* Premium Pagination Styles */
.pagination, #ipo-pagination, #sme-pagination, #sub-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.pagination .pg-num, .pg-num, #ipo-pagination button:not(.pg-btn) {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}
.pagination .pg-num:hover, .pg-num:hover, #ipo-pagination button:not(.pg-btn):hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background-color: #eff6ff;
    transform: translateY(-1px);
}
.pagination .pg-num.active, .pg-num.active, #ipo-pagination button:not(.pg-btn).active {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
}
.pg-btn {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.pg-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    color: #3b82f6;
    background-color: #eff6ff;
    transform: translateY(-1px);
}
.pg-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8fafc;
}

/* Two-Column Tables Layout (Market Statistics + Market Turnover side by side) */
.two-col-tables {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-top: 56px;
  margin-bottom: 28px;
}

.two-col-tables > .section-box {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.two-col-tables > .section-box .market-stats-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-col-tables > .section-box .market-table-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Row-2: Ad Slider (left) + Market Snapshot (right) — aligned to equal height */
.market-overview-row-2 {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 0;
}

.market-overview-row-2 > .ad-slider-card {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.market-overview-row-2 > .ad-slider-card .ad-slide-image-area {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-overview-row-2 > .ad-slider-card .ad-slide-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-overview-row-2 > .ad-slider-card .ad-slide-image-area a {
  display: block;
  width: 100%;
  height: 100%;
}

.market-overview-row-2 > .ad-slider-card .ad-slide-text-area {
  flex-shrink: 0;
}

.market-overview-row-2 > .section-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.market-overview-row-2 > .section-box .market-table-container {
  flex: 1;
}

/* Market Overview Section inner container spacing */
.market-overview-section > .container > .two-col-tables,
.market-overview-section > .container > .market-overview-row-2 {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 900px) {
  .two-col-tables {
    flex-direction: column;
  }
  .market-overview-row-2 {
    grid-template-columns: 1fr;
  }
}


/* Upstox Hero Banner */
.hero-banner-upstox {
    background: linear-gradient(135deg, #09133a 0%, #15246a 100%);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: white;
}
.hero-banner-upstox .ad-label {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.hero-banner-upstox .phone-img {
    width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
    transform: translateY(20px) scale(1.1);
}
.hero-banner-upstox .content {
    margin-left: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-banner-upstox h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-banner-upstox ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.hero-banner-upstox li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}
.hero-banner-upstox li svg {
    color: #93c5fd;
    width: 16px;
    height: 16px;
}
.btn-white {
    background: white;
    color: #1e3a8a;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
.hero-banner-upstox .tnc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* Market Snapshot Cards Redesign */
.market-snapshot-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 40px;
}
.market-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.snapshot-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.snapshot-card .card-top {
    display: flex;
    align-items: center;
    gap: 16px;
}
.snapshot-card .snap-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.snapshot-card .snap-icon.green { background: #ecfdf5; color: #10b981; }
.snapshot-card .snap-icon.purple { background: #f3e8ff; color: #a855f7; }
.snapshot-card .snap-icon.blue { background: #eff6ff; color: #3b82f6; }

.snapshot-card .snap-info {
    display: flex;
    flex-direction: column;
}
.snapshot-card .snap-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.snapshot-card .snap-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 6px;
}
.snapshot-card .snap-sub {
    font-size: 13px;
    color: #94a3b8;
}

/* Bottom Colored Bar */
.snapshot-card::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 24px;
    z-index: 1;
    width: 40px;
    height: 3px;
    border-radius: 3px 3px 0 0;
}
.snapshot-card.border-green::after { background: #10b981; }
.snapshot-card.border-purple::after { background: #a855f7; }
.snapshot-card.border-blue::after { background: #3b82f6; }

@media (max-width: 992px) {
    .hero-banner-upstox {
        flex-direction: column;
        height: auto;
        padding: 30px;
    }
    .hero-banner-upstox .phone-img {
        transform: scale(1);
        margin-bottom: 20px;
    }
    .hero-banner-upstox .content {
        margin-left: 0;
        text-align: center;
    }
    .hero-banner-upstox li {
        justify-content: center;
    }
    .market-snapshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .market-snapshot-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Broker Cards Showcase */
.broker-modern-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 1024px) {
    .broker-modern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .broker-modern-grid {
        grid-template-columns: 1fr !important;
    }
}

