/* ==========================================================================
   Easy Investology - Ultra-Premium Corporate Red & White Theme
   Enhanced with Real Background Imagery, Vector SVGs & Flawless Stat Lockups
   ========================================================================== */

:root {
  --primary: #c8102e;          /* Authoritative Corporate Crimson Red */
  --primary-dark: #990011;     /* Deep Burgundy Red */
  --primary-deep: #78000d;     /* Midnight Red */
  --primary-hover: #b00e27;    /* Active Hover Red */
  --primary-light: #fff1f2;    /* Soft Red Tint Background */
  --primary-border: #fecdd3;   /* Light Red Accent Border */
  --primary-glow: rgba(200, 16, 46, 0.25);
  --secondary: #0f172a;        /* Deep Charcoal Slate for high contrast */
  --secondary-light: #334155;  /* Slate text */
  --muted: #64748b;            /* Subtitle text */
  --bg-white: #ffffff;         /* Pure White */
  --bg-light: #f8fafc;         /* Crisp Off-White */
  --bg-dark: #090e17;          /* High-Tech Slate Dark */
  --bg-dark-card: #111827;     /* Dark Card Background */
  --border: #e2e8f0;           /* Clean Border */
  --border-light: #f1f5f9;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 30px -5px rgba(0, 0, 0, 0.12), 0 10px 15px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 10px 25px rgba(200, 16, 46, 0.28);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container: 1220px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Core Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Vector SVG Icons (Replaces all emojis with luxury banking icons)
   -------------------------------------------------------------------------- */
.svg-icon {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.svg-icon-sm {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}

.svg-icon-lg {
  width: 38px;
  height: 38px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .svg-icon {
  stroke: #ffffff;
}

/* --------------------------------------------------------------------------
   Catchy Animations & Keyframes
   -------------------------------------------------------------------------- */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(200, 16, 46, 0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll Reveal Utility Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   Top Bar & Header
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #0b1120;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 2px solid var(--primary);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar a:hover {
  color: #f87171;
}

.badge-amfi {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.3), rgba(200, 16, 46, 0.15));
  color: #fecdd3;
  border: 1px solid rgba(200, 16, 46, 0.6);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

/* Header & Sticky Navigation */
.header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Dropdown Menu with Glassmorphism */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px 0;
  display: none;
  z-index: 100;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--secondary);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 26px;
}

.dropdown-item-badge {
  font-size: 0.7rem;
  background: var(--primary);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav-item:hover .dropdown-menu {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--secondary);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-deep) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}

/* --------------------------------------------------------------------------
   Sections & Layout
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  position: relative;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-dark {
  background: linear-gradient(180deg, #0b1120 0%, #060911 100%);
  color: #ffffff;
}

.section-red {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.95) 0%, rgba(120, 0, 13, 0.98) 100%),
              url('../images/wealth-growth.jpg') center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--primary-border);
}

.section-header h2 {
  font-size: 2.45rem;
  font-weight: 850;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-dark .section-header h2,
.section-red .section-header h2 {
  color: #ffffff;
}

.section-header p {
  font-size: 1.12rem;
  color: var(--muted);
}

.section-dark .section-header p {
  color: #94a3b8;
}

.section-red .section-header p {
  color: #fecdd3;
}

/* --------------------------------------------------------------------------
   Hero Section with Corporate Background Image Overlay
   -------------------------------------------------------------------------- */
.hero {
  padding: 95px 0 105px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.45rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-content h1 .text-red {
  background: linear-gradient(135deg, var(--primary) 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.22rem;
  color: var(--secondary-light);
  line-height: 1.65;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* --------------------------------------------------------------------------
   FLAWLESS STAT LOCKUPS (Fixed Problem 1 from Screenshot 1)
   -------------------------------------------------------------------------- */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.trust-item .stat-value {
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.trust-item .stat-value span.counter-val {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  display: inline !important;
}

.trust-item .stat-value .stat-unit {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--primary-dark);
  margin-left: 2px;
}

.trust-item .stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

/* Floating Hero Card with Micro-Interactions */
.hero-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(200, 16, 46, 0.15);
  position: relative;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-floating-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatReverse 5s ease-in-out infinite;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.hero-card-header h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Cards & Grid Layouts with SVG Icons
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-border);
}

.card-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fee2e2 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(200, 16, 46, 0.15);
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(4deg);
  background: var(--primary);
}

.card h3, .card h4 {
  font-size: 1.3rem;
  font-weight: 750;
  color: var(--secondary);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   High-Tech Wealth Simulator (Calculator) with Chart Background
   -------------------------------------------------------------------------- */
.calc-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.calc-inputs {
  padding: 45px;
}

.calc-results {
  background: linear-gradient(145deg, rgba(11, 17, 32, 0.96) 0%, rgba(21, 29, 48, 0.98) 100%),
              url('../images/market-chart.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-left: 2px solid rgba(200, 16, 46, 0.4);
}

.calc-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
}

.calc-tab {
  flex: 1;
  padding: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-size: 0.95rem;
}

.calc-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.form-val-display {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-border);
}

.range-slider {
  width: 100%;
  height: 9px;
  border-radius: var(--radius-full);
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.6);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.result-metric {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-metric span {
  font-size: 0.85rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-metric h3 {
  font-size: 1.95rem;
  font-weight: 850;
  color: #ffffff;
}

.result-metric.highlight h3 {
  font-size: 2.35rem;
  color: #f87171;
  text-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}

/* --------------------------------------------------------------------------
   Working Framework (01, 02, 03, 04)
   -------------------------------------------------------------------------- */
.step-card {
  background: #ffffff;
  padding: 35px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.05em;
  transition: var(--transition);
}

.step-card:hover .step-num {
  opacity: 0.9;
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Bottom Compliance Hub with Vector SVGs
   -------------------------------------------------------------------------- */
.compliance-hub-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--primary);
  padding: 85px 0;
}

.compliance-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.compliance-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.compliance-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.compliance-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.compliance-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-border);
}

.compliance-card h4 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--secondary);
}

.compliance-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Tables & Commission Disclosures
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: #0b1120;
  color: #ffffff;
  font-weight: 750;
  font-size: 0.95rem;
  padding: 18px 22px;
  border-bottom: 3px solid var(--primary);
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--secondary);
}

.data-table tr:hover td {
  background-color: var(--primary-light);
}

.badge-range {
  display: inline-block;
  background-color: #fee2e2;
  color: #991b1b;
  font-weight: 750;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid #fecdd3;
}

/* --------------------------------------------------------------------------
   Callout Boxes & Disclaimers
   -------------------------------------------------------------------------- */
.callout {
  padding: 26px;
  border-radius: var(--radius-md);
  margin: 25px 0;
  border-left: 5px solid var(--primary);
  background-color: var(--primary-light);
}

.callout h4 {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.callout p {
  font-size: 0.95rem;
  color: #7f1d1d;
  line-height: 1.6;
}


.callout-warning {
  background-color: #fffbeb !important;
  border-left: 5px solid #d97706 !important;
  color: #92400e !important;
}
.callout-warning strong {
  color: #b45309 !important;
}

.callout-dark {
  background-color: #0b1120;
  color: #cbd5e1;
  border-left: 5px solid var(--primary);
}

.callout-dark h4 {
  color: #ffffff;
}

.callout-dark p {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.accordion {
  max-width: 820px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  padding: 20px 26px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.accordion-body {
  padding: 0 26px 22px 26px;
  color: var(--secondary-light);
  font-size: 0.98rem;
  line-height: 1.65;
  display: none;
}

.accordion-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-item.open .accordion-header {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Partner Logos Showcase
   -------------------------------------------------------------------------- */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  padding: 20px 0;
}

.partner-logo-item {
  background: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  transition: var(--transition);
}

.partner-logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.partner-logo-item img {
  max-height: 48px;
  max-width: 145px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Forms & Contact
   -------------------------------------------------------------------------- */
.form-card {
  background: #ffffff;
  padding: 42px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: #080d1a;
  color: #94a3b8;
  padding: 75px 0 25px 0;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  background-color: var(--primary);
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fca5a5;
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.4);
}

.footer-disclaimer {
  padding: 24px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #64748b;
  text-align: justify;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Page Header Banner for Inner Pages with Corporate City Image */
.page-banner {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.92) 0%, rgba(200, 16, 46, 0.88) 100%),
              url('../images/corporate-city.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  border-bottom: 3px solid var(--primary);
}

.page-banner h1 {
  font-size: 2.85rem;
  font-weight: 850;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb span {
  color: #f87171;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .compliance-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border-bottom: 3px solid var(--primary);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 12px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    display: block;
    transform: none;
    opacity: 1;
  }
  .hero-content h1 {
    font-size: 2.35rem;
  }
  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
  }
  .compliance-hub-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Added for Premium Advisory Spotlight & Icon Hover States */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.compliance-card:hover .compliance-card-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.compliance-card:hover .compliance-card-icon .svg-icon {
  stroke: #ffffff;
}

@media (max-width: 960px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
