/* ==========================================================================
   RGN FINSERV — MASTER SWISS PLATINUM & SAPPHIRE NAVY DESIGN SYSTEM
   Theme: Ultra-Premium Light — Modern Private Wealth & FinTech
   Approved Source: swiss_platinum_light_implementation_plan.md
   ========================================================================== */

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

:root {
  --R: 75vh;
  /* Pristine Canvas & Surfaces */
  --bg-main: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-gradient: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 85%);
  --bg-hero-glow: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.08) 0%, rgba(239, 246, 255, 0.6) 45%, transparent 75%);
  
  --surface-card: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-subtle: #f8fafc;
  --surface-card-hover: #ffffff;
  --surface-input: #ffffff;
  
  /* Brand Accents & Typography */
  --brand-primary: #0f172a;        /* Midnight Slate / Navy */
  --brand-navy: #0a192f;
  --brand-accent: #2563eb;         /* Precision Cobalt Blue */
  --brand-accent-hover: #1d4ed8;
  --brand-accent-light: #eff6ff;   /* Ice Blue Tag / Pill BG */
  --brand-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --cobalt-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --cobalt-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);

  /* Platinum Borders & Accents */
  --border-hairline: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #3b82f6;
  --border-accent: rgba(37, 99, 235, 0.25);
  
  /* Typography & Colors */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-accent: #2563eb;
  --text-danger: #ef4444;
  --text-success: #10b981;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Elevation & Crystalline Shadows */
  --shadow-subtle: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 20px 35px -8px rgba(37, 99, 235, 0.14), 0 0 1px 1px rgba(37, 99, 235, 0.3);
  --shadow-luxe: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
  --shadow-btn: 0 4px 14px rgba(15, 23, 42, 0.15);
  --shadow-cobalt: 0 4px 16px rgba(37, 99, 235, 0.28);
  
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);
  --radius-card: 18px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  background: var(--bg-main) var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Architectural Precision Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Ambient Radial Glow Overlays - Disabled to keep left area pristine */
.ambient-glow {
  display: none !important;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-muted);
  font-size: 1rem;
}

.text-gold {
  color: var(--brand-accent);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-emerald-accent {
  color: var(--text-success);
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header: Unified Floating Capsule Navbar (Matching User Reference)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 clamp(16px, 1.8vw, 32px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  pointer-events: auto;
}

/* Single Unified Floating Pill / Capsule */
.nav-unified-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 0.9vw, 16px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  padding: 6px 10px 6px 18px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Brand Logo (Emblem + FINSERVE + Subheading inside Capsule) */
.capsule-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 2px;
}

.capsule-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Navigation Links */
.capsule-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.45vw, 8px);
  flex-shrink: 1;
}

.capsule-link {
  position: relative;
  font-family: var(--font-body);
  font-size: clamp(12.5px, 0.82vw, 13.5px);
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.capsule-link:hover:not(.active) {
  color: #1D4ED8;
  background: rgba(239, 246, 255, 0.85);
}

/* Active Link State: Soft Light Blue Pill */
.capsule-link.active {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08);
}

/* Right Side Actions */
.capsule-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Phone Number Pill Button */
.capsule-phone-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.capsule-phone-pill i,
.capsule-phone-pill svg {
  width: 14px;
  height: 14px;
  stroke: #3B82F6;
  color: #3B82F6;
  flex-shrink: 0;
}

.capsule-phone-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}

/* Talk to an Expert Action Button */
.capsule-btn-expert {
  background: linear-gradient(135deg, #4A7EF8 0%, #3562F0 100%);
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(53, 98, 240, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.capsule-btn-expert i,
.capsule-btn-expert svg {
  width: 15px;
  height: 15px;
  stroke: #FFFFFF;
  color: #FFFFFF;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.capsule-btn-expert:hover {
  background: linear-gradient(135deg, #3C72F2 0%, #2552E0 100%);
  box-shadow: 0 6px 20px rgba(53, 98, 240, 0.45);
  transform: translateY(-1px);
}

.capsule-btn-expert:hover i,
.capsule-btn-expert:hover svg {
  transform: translateX(2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #070B2A;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: scale(1.05);
}

@media (max-width: 1180px) {
  .capsule-nav-links {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 10px;
    padding: 0 12px;
  }
  .nav-unified-capsule {
    padding: 6px 12px 6px 14px;
  }
  .capsule-logo-img {
    height: 36px;
  }
  .capsule-phone-pill {
    display: none;
  }
  .capsule-btn-expert {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Buttons & Core Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-gold:hover {
  background: #1e293b;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-emerald {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.btn-emerald:hover {
  background: var(--brand-accent-light);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Crystalline Luxe Card Base */
.luxe-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.luxe-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}

.luxe-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

/* Badge */
.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: var(--brand-accent-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   Page Switcher & Views
   ========================================================================== */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-height: calc(100vh - 160px);
  padding: 3rem 0 5rem 0;
}

.page-view.active-view {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Generic */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header .section-tag {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

/* ==========================================================================
   Home Page View
   ========================================================================== */
/* ==========================================================================
   Home Page View — 1:1 Reference Diagonal Stream Hero Section
   ========================================================================== */
/* ==========================================================================
   Home Page View — 1:1 Reference Diagonal Stream Hero Section
   ========================================================================== */
#page-home {
  padding-top: 0 !important;
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #F4F5F8 0%, #E9EBF0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: clamp(76px, 10vh, 96px);
  padding-bottom: 20px;
  box-sizing: border-box;
}

/* 1) Angular & Hexagon Line Art SVG Overlay — Behind circle and tiles, clipped to left light area */
.hero-line-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  max-width: 48%;
  overflow: hidden;
}

/* 3) Distinct Sapphire Navy Half-Circle Backdrop (1:1 Reference Position) */
.hero-circle {
  position: absolute;
  left: 56vw;
  top: 52%;
  width: calc(100vh * 1.25);
  height: calc(100vh * 1.25);
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #0B2A9E 0%, #0A1A5C 55%, #040C38 100%);
  z-index: 1;
  pointer-events: none;
}

/* 2) Left Content Container */
.hero-inner-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.hero-left-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  margin-top: -65px;
  margin-left: 12px;
}

/* Headline: Inter 800, clamp(44px, min(5.6vw, 9.5vh), 84px), line-height 1.02 */
.hero-headline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(44px, min(5.6vw, 9.5vh), 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #070B2A;
  margin: 0 0 clamp(10px, 1.8vh, 18px) 0;
}

.hero-headline .highlight-blue {
  color: #2563EB;
}

/* Subtext: clamp(16px, 1.35vw, 21px) */
.hero-subtext {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.45;
  color: #1A1F3A;
  margin: 0 0 clamp(14px, 2.2vh, 22px) 0;
  max-width: 520px;
  font-weight: 400;
}

/* Chips Row: Wealth Management | Smart Investing | Secure Future (single row, nowrap) */
.hero-chips-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #D1D5E0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #070B2A;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(7, 11, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-chip:hover {
  transform: translateY(-2px);
  border-color: #0B3BB5;
}

.hero-chip i,
.hero-chip svg {
  width: 18px;
  height: 18px;
  color: #0B3BB5;
  stroke-width: 2.2;
}

/* CTA Buttons */
.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: clamp(12px, 1.8vh, 16px) clamp(20px, 2vw, 30px);
  background: linear-gradient(135deg, #0B3BB5 0%, #1A57E0 100%);
  color: #ffffff;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 10px 28px -4px rgba(11, 59, 181, 0.48), 0 4px 12px rgba(11, 59, 181, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(11, 59, 181, 0.58), 0 6px 16px rgba(11, 59, 181, 0.35);
  color: #ffffff;
}

.btn-arrow-diag {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn-hero-explore:hover .btn-arrow-diag {
  transform: translate(2px, -2px);
}

.btn-hero-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.8vh, 16px) clamp(20px, 2vw, 30px);
  background: #0B3BB5;
  color: #ffffff;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.btn-hero-contact:hover {
  background: #092c8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 42, 158, 0.25);
  color: #ffffff;
}

/* 4) Tilted Continuous Stream System (Pixel-Snapped 60px/s 60FPS Hardware Render) */
.hero-stream-system {
  position: absolute;
  left: 56.6vw;
  top: 12.8vh;
  transform-origin: 0 0;
  transform: rotate(5.2deg);
  display: flex;
  gap: var(--tile-gap);
  z-index: 2;
  pointer-events: none;
  --tile-w: 320px;
  --tile-h: 336px;
  --tile-gap: 26px;
  --tile-count: 6;
  --loop-dist: 2172px; /* 6 * (336 + 26) */
  --stream-duration: 36.2s; /* 2172px / 60px/s = exactly 1.0px / frame at 60fps */
  contain: layout style;
}

.stream-col {
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  margin-bottom: 0;
  pointer-events: none;
  contain: layout;
}

.stream-col-a {
  margin-top: 0;
}

.stream-col-b {
  margin-top: clamp(-115px, -14vh, -95px);
}

.stream-track {
  display: flex;
  flex-direction: column;
  gap: var(--tile-gap);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  contain: layout;
  padding: 0;
  margin: 0;
  pointer-events: none;
  animation-play-state: paused;
}

.hero-stream-system.stream-running .stream-track {
  animation-play-state: running;
}

.stream-track-up {
  animation: stream-scroll-up var(--stream-duration) linear infinite;
}

.stream-track-down {
  animation: stream-scroll-down var(--stream-duration) linear infinite;
}

@keyframes stream-scroll-up {
  0% { transform: translate3d(0, 0px, 0); }
  100% { transform: translate3d(0, -2172px, 0); }
}

@keyframes stream-scroll-down {
  0% { transform: translate3d(0, -2172px, 0); }
  100% { transform: translate3d(0, 0px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .stream-track {
    animation: none !important;
  }
}

/* Stream Items & Tile Cards - Fixed Uniform Aspect Ratio & Layout Containment */
.stream-item {
  width: var(--tile-w);
  height: var(--tile-h);
  transform: rotate(17.8deg); /* 5.2deg + 17.8deg = 23deg total tilt */
  border-radius: 28px;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  contain: layout;
}

.tile-card-car {
  width: calc(var(--tile-w) * 1.25);
  height: var(--tile-h);
  margin-left: calc(var(--tile-w) * -0.25);
}

.tile-card-advisor .tile-img {
  object-position: center 20%;
}

/* Photo Cards - ZERO backdrop-filter (High Performance Fake Glass) */
.tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 10px;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1.5px solid rgba(130, 170, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28),
              0 0 22px rgba(60, 110, 255, 0.5);
  overflow: hidden;
  contain: paint;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stream-item:hover .tile-inner {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35),
              0 0 26px rgba(70, 120, 255, 0.65);
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 20px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Empty Blue-tinted Tile - ZERO backdrop-filter */
.tile-empty {
  background: linear-gradient(135deg, rgba(90, 130, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1.5px solid rgba(130, 170, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28),
              0 0 22px rgba(60, 110, 255, 0.5);
  contain: paint;
}

/* Empty Tile - Column A (Light Area Subtle Styling) - ZERO backdrop-filter */
.stream-col-a .tile-empty {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(200, 210, 235, 0.10) 100%);
  border: 1.5px solid rgba(130, 170, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 14px rgba(60, 110, 255, 0.25);
  contain: paint;
}

/* Badge: solid rgba(255,255,255,.28) bg - ZERO backdrop-filter */
.tile-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.tile-badge i,
.tile-badge svg {
  width: 13px;
  height: 13px;
  color: #ffffff;
  stroke: #ffffff;
  stroke-width: 2.5;
}

/* Low power device optimization (hardwareConcurrency <= 4) */
.low-power-device .tile-inner,
.low-power-device .tile-empty {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28) !important;
}
.low-power-device .tile-badge {
  background: rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .stream-item-desktop-only {
    display: none !important;
  }
  .hero-stream-system {
    --tile-count: 3;
    --loop-dist: 1086px;
    --stream-duration: 25s;
  }
  @keyframes stream-scroll-up {
    0% { transform: translate3d(0, 0px, 0); }
    100% { transform: translate3d(0, -1086px, 0); }
  }
  @keyframes stream-scroll-down {
    0% { transform: translate3d(0, -1086px, 0); }
    100% { transform: translate3d(0, 0px, 0); }
  }
  .stream-track-up {
    animation-duration: var(--stream-duration);
  }
  .stream-track-down {
    animation-duration: var(--stream-duration);
  }
}

/* Responsive rules */
@media (max-height: 620px) {
  .hero-section {
    padding-top: 72px;
    padding-bottom: 12px;
  }
  .hero-headline {
    font-size: clamp(38px, 4.8vw, 52px);
    margin-bottom: 8px;
  }
  .hero-subtext {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .hero-chips-row {
    margin-bottom: 16px;
    gap: 8px;
  }
  .hero-chip {
    padding: 6px 14px;
    font-size: 13.5px;
  }
  .hero-chip i,
  .hero-chip svg {
    width: 16px;
    height: 16px;
  }
  .btn-hero-explore,
  .btn-hero-contact {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* BUG 4: Narrow / Square-aspect windows (e.g. 1338x1202, aspect <= 1.25) & Tablets (width <= 992px) */
@media (max-aspect-ratio: 1.25), (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    max-height: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 105px; /* navbar ke neeche text ke liye padding-top */
    padding-bottom: 2rem;
    overflow: hidden;
  }
  .hero-inner-container {
    order: 1;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
  }
  .hero-left-content {
    max-width: 100%;
    margin-top: 0;
    margin-left: 0;
    align-items: flex-start;
  }
  .hero-headline {
    font-size: clamp(34px, 4.2vw, 56px);
    margin-bottom: 12px;
  }
  .hero-subtext {
    max-width: 620px;
    font-size: 16px;
    margin-bottom: 16px;
  }
  .hero-chips-row {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
  }
  .hero-buttons-row {
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
  }
  .hero-circle {
    left: 45vw;
    top: auto;
    bottom: -10vh;
    transform: none;
    width: 80vh;
    height: 80vh;
  }
  .hero-stream-system {
    order: 2;
    position: relative;
    left: auto;
    top: auto;
    margin-top: 1rem;
    height: 52vh;
    min-height: 360px;
    transform: rotate(5.2deg);
    overflow: hidden;
    width: 100%;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-subtext {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Trust Strip with Live Counter Numbers
   ========================================================================== */
.trust-strip {
  margin-top: 4.5rem;
  padding: 2.2rem 2.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #f1f5f9;
}

.trust-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}

.trust-icon-badge i, .trust-icon-badge svg {
  width: 20px;
  height: 20px;
}

.trust-number-wrap {
  line-height: 1.1;
  margin-bottom: 4px;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.trust-desc {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
  max-width: 200px;
}

/* ==========================================================================
   Banking & AMC Partner Marquee Strip
   ========================================================================== */
.partner-marquee-sec {
  margin: 3.5rem 0 2rem 0;
  padding: 1.6rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
  position: relative;
}

.partner-marquee-sec::before,
.partner-marquee-sec::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partner-marquee-sec::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.partner-marquee-sec::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.partner-marquee-label {
  text-align: center;
  margin-bottom: 1.2rem;
}

.partner-marquee-label span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee-track-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-pill,
.partner-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-card img {
  height: 27px;
  width: auto;
  max-width: 175px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.partner-pill i, .partner-pill svg {
  width: 15px;
  height: 15px;
  color: #2563eb;
}

.partner-logo-card:hover,
.partner-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(11, 42, 158, 0.08);
  transform: translateY(-2px);
}

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

/* 4 Major Categories Grid */
.categories-section {
  padding: 5rem 0 2rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.2rem 1.8rem;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.cat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(191, 219, 254, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transition: all var(--transition-fast);
}

.category-card:hover .cat-icon-wrap {
  background: var(--cobalt-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-cobalt);
  transform: scale(1.08);
}

.category-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.category-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.cat-sublinks {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-sublinks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cat-sublinks li svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-accent);
  flex-shrink: 0;
}

/* Why Choose RGN Finserv */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   The Name Meaning (R • G • N) & Wisdom Showcase
   ========================================================================== */
/* ==========================================================================
   The Name Meaning (R • G • N) — Expanding Cards Accordion
   ========================================================================== */
.rgn-acc-sec{font-family:Inter,system-ui,sans-serif;padding:72px 24px;color:#0f172a;background-color:#f3f7ff;background-image:linear-gradient(rgba(37,99,235,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.04) 1px,transparent 1px);background-size:32px 32px;border-radius:24px;margin:4rem 0 2rem}
.rgn-acc-head{text-align:center;max-width:760px;margin:0 auto 44px}
.rgn-pill{display:inline-block;padding:6px 14px;border:1px solid #bcd0f7;background:#eaf1ff;color:#2f55c8;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.rgn-acc-head h2{margin:16px 0 12px;font-size:clamp(28px,4vw,40px);font-weight:800;letter-spacing:-.02em}
.rgn-acc-head h2 span{color:#1d4ed8}
.rgn-acc-head p{margin:0;color:#64748b;font-size:17px;line-height:1.6}
.rgn-acc{display:flex;flex-direction:row;gap:16px;height:400px;max-width:1240px;margin:0 auto}
.rgn-ac{--accent:#3b6fe0;--soft:#e4eeff;--edge:#cfe0ff;--ink:#1e40af;position:relative;flex:1 1 0;min-width:0;overflow:hidden;box-sizing:border-box;padding:26px 24px;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e9f4;border-radius:20px;box-shadow:0 6px 20px rgba(15,23,42,.05);cursor:pointer;outline:0;transition:flex-grow .7s cubic-bezier(.22,1,.36,1),box-shadow .5s,border-color .5s}
.rgn-ac.g{--accent:#f0a30a;--soft:#fff3c4;--edge:#f6dc8a;--ink:#b45309}
.rgn-ac.n{--accent:#10b981;--soft:#d6f8e8;--edge:#a7ecc8;--ink:#047857}
.rgn-ac.f{--accent:#7c5cf0;--soft:#ede9fe;--edge:#d9ccff;--ink:#5b21b6}
.rgn-ac.is-active{flex-grow:2.5;border-color:var(--edge);box-shadow:0 18px 44px rgba(37,99,235,.14)}
.rgn-ac:focus-visible{box-shadow:0 0 0 3px rgba(37,99,235,.35)}
.rgn-ac::before{content:"";position:absolute;top:0;left:30%;right:30%;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.35;transition:left .7s,right .7s,opacity .5s}
.rgn-ac.is-active::before{left:8%;right:8%;opacity:.9}
.rgn-ac .ic{flex:none;width:58px;height:58px;margin-bottom:20px;border-radius:16px;display:grid;place-items:center;background:var(--soft);border:1px solid var(--edge);color:var(--ink);font-size:26px;font-weight:800}
.rgn-ac .ic svg{width:26px;height:26px}
.rgn-ac .tx{flex:none;width:166px}
.rgn-ac h3{margin:0;font-size:19px;line-height:1.25;font-weight:700;letter-spacing:-.01em}
.rgn-ac .hi{display:block;margin-top:4px;font-size:14px;font-weight:500;color:#2563eb;font-family:"Noto Sans Devanagari",Inter,sans-serif}
.rgn-ac .ds{flex:none;width:250px;margin:14px 0 0;font-size:14px;line-height:1.7;color:#64748b;opacity:0;transform:translateY(12px);transition:opacity .3s,transform .5s}
.rgn-ac.is-active .ds{opacity:1;transform:none;transition-delay:.25s}
.rgn-ac .tg{position:absolute;left:24px;bottom:24px;padding:7px 12px;border:1px solid #dfe6f2;background:#f1f5f9;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#334155;white-space:nowrap;opacity:0;transform:translateY(10px);transition:opacity .3s,transform .5s}
.rgn-ac.is-active .tg{opacity:1;transform:none;transition-delay:.3s}
.rgn-ac .go{position:absolute;right:22px;bottom:22px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1f5f9;border:1px solid #e2e8f0;color:#334155;transform:rotate(-45deg);transition:background .4s,color .4s,transform .5s}
.rgn-ac .go svg{width:16px;height:16px}
.rgn-ac.is-active .go{background:var(--ink);border-color:var(--ink);color:#fff;transform:none}
.rgn-ac .vis{position:absolute;top:24px;right:24px;bottom:78px;width:190px;border-radius:18px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(150deg,var(--soft),#fff 120%);border:1px solid var(--edge);opacity:0;transform:translateX(24px) scale(.94);transition:opacity .3s,transform .6s cubic-bezier(.22,1,.36,1)}
.rgn-ac.is-active .vis{opacity:1;transform:none;transition-delay:.2s}
.rgn-ac .vis::before,.rgn-ac .vis::after{content:"";position:absolute;border-radius:50%;background:var(--accent);opacity:.13}
.rgn-ac .vis::before{width:150px;height:150px;top:-40px;right:-50px}
.rgn-ac .vis::after{width:90px;height:90px;bottom:-24px;left:-24px}
.rgn-ac .vis b{position:relative;font-size:112px;line-height:1;font-weight:800;color:var(--ink);animation:rgnBob 4s ease-in-out infinite}
.rgn-ac .vis svg{position:relative;width:84px;height:84px;color:var(--ink);animation:rgnBob 4s ease-in-out infinite}
@keyframes rgnBob{50%{transform:translateY(-8px)}}
.rgn-acc.pre .rgn-ac{opacity:0}
.rgn-acc.in .rgn-ac{animation:rgnUp .7s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--i) * 90ms)}
@keyframes rgnUp{from{opacity:0;transform:translateY(28px)}}
@media (max-width:1100px){
.rgn-acc{overflow-x:auto;padding:4px 4px 16px;scrollbar-width:none;scroll-snap-type:x proximity}
.rgn-acc::-webkit-scrollbar{display:none}
.rgn-ac{flex:0 0 210px;padding:22px 20px;scroll-snap-align:center;transition:flex-basis .7s cubic-bezier(.22,1,.36,1),box-shadow .5s,border-color .5s}
.rgn-ac.is-active{flex:0 0 500px}
.rgn-ac .tx{width:170px}
}
@media (max-width:560px){
.rgn-acc{height:380px}
.rgn-ac{flex-basis:180px}
.rgn-ac.is-active{flex:0 0 320px}
.rgn-ac .tx{width:140px}
.rgn-ac h3{font-size:17px}
.rgn-ac .ds{width:200px}
.rgn-ac .vis{display:none}
}
@media (prefers-reduced-motion:reduce){.rgn-ac,.rgn-ac *{transition:none!important;animation:none!important}}

/* Why RGN Finserv — Wisdom Showcase */
.why-rgn-section {
  margin: 5rem 0;
}

.wisdom-showcase-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.wisdom-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706 0%, #2563eb 50%, #059669 100%);
}

.wisdom-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem auto;
}

.wisdom-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin: 1.5rem 0 1rem 0;
  position: relative;
  display: inline-block;
}

.wisdom-subquote {
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wisdom-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.wisdom-pillar-item {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.wisdom-pillar-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-accent-light);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}

.pillar-text h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pillar-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wisdom-values-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
}

.val-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1e293b;
}

.val-bar-item svg {
  stroke: var(--brand-accent);
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Calculators Hub (All 11 Dynamic Engines)
   ========================================================================== */
.calc-hub-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.2rem;
  align-items: flex-start;
}

/* Calculator Nav Sidebar */
.calc-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}

.calc-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem 1rem 0.8rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 0.8rem;
}

.calc-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-nav-btn:hover {
  background: var(--brand-accent-light);
  color: var(--brand-accent);
}

.calc-nav-btn.active {
  background: var(--brand-accent-light);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--brand-accent);
  font-weight: 600;
  box-shadow: inset 0 0 8px rgba(37, 99, 235, 0.06);
}

.calc-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--brand-accent);
}

.calc-nav-btn.active svg {
  stroke: var(--brand-accent);
}

/* Calculator Workbench */
.calc-workbench {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  min-height: 600px;
}

.calc-pane {
  display: none;
}

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

.calc-header-meta {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.calc-header-meta h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.calc-header-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

/* Form Controls & Range Sliders */
.form-group {
  margin-bottom: 1.6rem;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-val-display {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-accent);
  background: #ffffff;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  text-align: right;
  min-width: 140px;
  cursor: text;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  outline: none;
}

.form-val-display:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-val-display:focus {
  border-color: var(--brand-accent);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.input-slider-wrap {
  position: relative;
  margin-top: 0.5rem;
}

/* Premium Range Input with Dynamic Cobalt Fill */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--slider-fill, #e2e8f0);
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}

/* Brushed Stainless Steel & Chrome Metal Slider Thumb (Exact match to Implementation Plan) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 45% 40%, #ffffff 0%, #f1f5f9 22%, #cbd5e1 48%, #94a3b8 72%, #64748b 92%, #475569 100%);
  border: 1.5px solid #94a3b8;
  cursor: grab;
  box-shadow: 
    0 2px 6px rgba(15, 23, 42, 0.28),
    0 6px 14px rgba(15, 23, 42, 0.14),
    inset 0 2px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(30, 41, 59, 0.5),
    inset 0 0 0 2px rgba(226, 232, 240, 0.6);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  cursor: grab;
  box-shadow: 
    0 4px 10px rgba(15, 23, 42, 0.35),
    0 8px 22px rgba(37, 99, 235, 0.25),
    inset 0 2px 3px #ffffff,
    inset 0 -2px 3px rgba(30, 41, 59, 0.6),
    inset 0 0 0 2px #ffffff;
}

input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.2);
  box-shadow: 
    0 2px 5px rgba(15, 23, 42, 0.4),
    0 0 16px rgba(37, 99, 235, 0.45),
    inset 0 2px 3px #ffffff,
    inset 0 -2px 4px rgba(15, 23, 42, 0.7);
}

/* Firefox Brushed Metal Thumb */
input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 45% 40%, #ffffff 0%, #f1f5f9 22%, #cbd5e1 48%, #94a3b8 72%, #64748b 92%, #475569 100%);
  border: 1.5px solid #94a3b8;
  cursor: grab;
  box-shadow: 
    0 2px 6px rgba(15, 23, 42, 0.28),
    0 6px 14px rgba(15, 23, 42, 0.14),
    inset 0 2px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(30, 41, 59, 0.5),
    inset 0 0 0 2px rgba(226, 232, 240, 0.6);
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Number Text Inputs & Selects */
.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #ffffff;
  color: var(--text-main);
}

/* Calculator Result Panel */
.calc-result-panel {
  background: #f8fafc;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.primary-metric-box {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.primary-metric-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cobalt-gradient);
}

.primary-metric-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.primary-metric-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.secondary-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card-mini {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-subtle);
}

.metric-mini-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.metric-mini-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Dynamic SVG Charts */
.chart-container-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

.chart-svg {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Amortization Schedule Table */
.amortization-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
}

.amortization-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.amort-actions {
  display: flex;
  gap: 10px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: #ffffff;
}

.luxe-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.luxe-table th {
  background: #f8fafc;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-hairline);
}

.luxe-table td {
  padding: 11px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}

.luxe-table tr:nth-child(even) {
  background: #fbfcfd;
}

.luxe-table tr:hover {
  background: var(--brand-accent-light);
}

/* ==========================================================================
   Product Dedicated Pages (Loans, Insurance, Mutual Funds, etc.)
   ========================================================================== */
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.product-detail-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.product-detail-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.product-specs-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-specs-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-hairline);
  font-size: 0.88rem;
}

.product-specs-list .spec-label {
  color: var(--text-muted);
}

.product-specs-list .spec-val {
  color: var(--text-main);
  font-weight: 600;
}

/* Disclaimers & Regulatory Notice */
.regulatory-disclaimer {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
  box-shadow: var(--shadow-subtle);
}

.regulatory-disclaimer strong {
  color: var(--text-main);
}

/* ==========================================================================
   Contact Form & Quick Helpline Desk
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-accent-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.method-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Floating WhatsApp & Help Button */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: #ffffff;
  border: none;
}

.float-btn-ai-chat {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  position: relative;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.float-btn-ai-chat:hover {
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.65);
}

.float-btn-whatsapp {
  background: #25d366;
}

.float-btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.float-btn-phone {
  background: var(--brand-primary);
  color: #ffffff;
}

.float-btn-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.4);
}

/* ==========================================================================
   Footer — Soft Platinum / Light Grey Theme (Hero Background Match)
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, #F4F5F8 0%, #EEF2F6 50%, #E4E7EC 100%);
  border-top: 1px solid #E2E8F0;
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
  color: #334155;
}

.site-footer p,
.site-footer span,
.site-footer a,
.site-footer strong,
.site-footer div,
.site-footer li {
  color: #475569;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #0F172A;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #2563eb;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: #1d4ed8;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom div,
.footer-bottom span {
  color: #64748B;
}

/* ==========================================================================
   Mobile Drawer & Responsiveness
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-hairline);
  z-index: 1001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-weight: 600;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Toast Notification / Modal */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Print Utility Styling (@media print)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  body::before, .ambient-glow, .site-header, .site-footer, 
  .floating-actions, .calc-sidebar, .calc-header-meta,
  .form-group, .amort-actions, .btn {
    display: none !important;
  }

  .calc-hub-wrapper {
    display: block !important;
  }

  .calc-workbench {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .calc-result-panel {
    background: none !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    color: #000 !important;
    page-break-after: avoid;
  }

  .primary-metric-value {
    color: #000 !important;
  }

  .amortization-section {
    display: block !important;
    margin-top: 1rem !important;
    padding-top: 0 !important;
    border: none !important;
  }

  .luxe-table {
    border: 1px solid #000 !important;
    color: #000 !important;
  }

  .luxe-table th {
    background: #eee !important;
    color: #000 !important;
    border-bottom: 2px solid #000 !important;
  }

  .luxe-table td {
    color: #000 !important;
    border-bottom: 1px solid #ccc !important;
  }

  .print-letterhead {
    display: block !important;
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
}

.print-letterhead {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu, .btn-header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-hub-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-sidebar {
    position: static;
    overflow-x: auto;
  }

  .calc-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .calc-nav-btn {
    width: auto;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .wisdom-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 993px) and (max-width: 1320px) {
  .nav-menu {
    gap: 2px;
  }
  .nav-link {
    font-size: 0.79rem;
    padding: 5px 7px;
  }
  .nav-phone-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .nav-cta-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 8px;
    padding: 0 10px;
  }
  .nav-pill-container {
    height: 56px;
    padding: 4px 8px 4px 14px;
  }
  .site-header .brand-logo-img {
    height: 32px;
  }
  .nav-phone-pill {
    display: none;
  }
  .nav-cta-pill {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section {
    padding-top: clamp(84px, 12vh, 104px);
    padding-bottom: 2rem;
    gap: 2.5rem;
  }

  .hero-headline {
    font-size: 2.3rem;
  }

  .hero-visual-container {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .advisory-photo-card {
    height: 260px;
  }

  .hero-core-card {
    margin-top: 15px;
    margin-right: 0;
    width: 100%;
  }

  .advisory-badge-pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .sat-top-right {
    top: -12px;
    right: 0;
  }

  .sat-bottom-left {
    bottom: -12px;
    left: 0;
  }

  .sat-floating-tag {
    display: none;
  }

  .core-asset-pills {
    grid-template-columns: 1fr;
  }

  .trust-item:not(:last-child)::after {
    display: none;
  }

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

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

  .product-grid-3, .product-grid-2 {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .wisdom-pillars-grid {
    grid-template-columns: 1fr;
  }

  .wisdom-showcase-card {
    padding: 2rem 1.4rem;
  }

  .wisdom-values-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   LOANS SECTION - PLAN 1: SWISS PLATINUM LIGHT THEME & TOP PHOTO BANNERS
   ========================================================================== */

.rgn-loans {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 50%, #E2E8F0 100%);
  padding: 90px 0 70px;
  scroll-margin-top: 80px;
  overflow: hidden;
  color: #0F172A;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #CBD5E1;
}

/* Subtle modern mesh highlight in background */
.rgn-loans::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Soft ambient lighting ripples - very subtle on light theme */
.rgn-water-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: rgnRippleFloat 14s ease-in-out infinite alternate;
}

.rgn-ripple-1 {
  width: 540px;
  height: 540px;
  top: 5%;
  left: 5%;
  animation-delay: 0s;
}

.rgn-ripple-2 {
  width: 650px;
  height: 650px;
  bottom: 5%;
  right: 5%;
  animation-delay: -7s;
}

@keyframes rgnRippleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-20px, 30px) scale(0.95);
    opacity: 0.6;
  }
}

.loans-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.loans-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  background: #EFF6FF;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1D4ED8;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.loans-badge-pill svg, .loans-badge-pill i {
  width: 15px;
  height: 15px;
  color: #2563EB;
}

.rgn-loans h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0F172A;
  font-family: var(--font-heading);
}

.rgn-loans .rgn-sub {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  max-width: 580px;
  padding: 0 20px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 450;
}

/* Linear Horizontal Slider Wrapper */
.loan-slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 28px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.loan-slider-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 24px 6px 32px;
  cursor: grab;
}

.loan-slider-container::-webkit-scrollbar {
  display: none;
}

.loan-slider-container.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.loan-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

/* Swiss Platinum Standard Cards - Option 1 */
.rgn-card.loan-linear-card {
  position: relative;
  left: auto;
  top: auto;
  margin: 0;
  flex: 0 0 320px;
  width: 320px;
  scroll-snap-align: center;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.rgn-card.loan-linear-card:hover {
  transform: translateY(-8px);
  border-color: #93C5FD;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.25);
}

/* Card Top Photo Banner */
.loan-card-media {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #EEF2F6;
}

.loan-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loan-linear-card:hover .loan-card-img {
  transform: scale(1.06);
}

.loan-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.01em;
}

.loan-rate-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #2563EB;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
  letter-spacing: 0.01em;
}

/* Card Body Content */
.loan-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.loan-card-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0F172A;
  font-family: var(--font-heading);
}

.loan-card-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748B;
  min-height: 48px;
}

/* Key Metrics Rows */
.rgn-rows {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.rgn-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed #E2E8F0;
}

.rgn-rows li:last-child {
  border-bottom: none;
}

.rgn-rows span {
  color: #64748B;
  white-space: nowrap;
  font-weight: 500;
}

.rgn-rows b {
  font-weight: 700;
  color: #0F172A;
  text-align: right;
}

/* Action Buttons */
.rgn-btns {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 10px;
}

.rgn-btns button {
  flex: 1;
  font: 700 12.5px Inter, system-ui, sans-serif;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rgn-btns button:active {
  transform: scale(0.97);
}

/* Primary Button (Calculate EMI, Check Eligibility, Compare Rates) */
.rgn-btns .dark {
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.rgn-btns .dark:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Outline Button (Apply Now, Request Review) */
.rgn-btns .line {
  background: #F8FAFC;
  color: #1E293B;
  border: 1.5px solid #CBD5E1;
}

.rgn-btns .line:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-2px);
}

/* Navigation Arrows */
.loan-nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  z-index: 5;
}

.loan-nav-arrow:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.loan-nav-arrow svg, .loan-nav-arrow i {
  width: 22px;
  height: 22px;
}

/* Slider Controls (Progress Bar & Pagination Dots) */
.loan-slider-controls {
  max-width: 340px;
  margin: 10px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.loan-progress-track {
  width: 100%;
  height: 5px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.loan-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #2563EB, #60A5FA);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.loan-dots-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.loan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.loan-dot.active {
  width: 24px;
  border-radius: 999px;
  background: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
  .loan-slider-wrapper {
    padding: 0 12px;
  }
  .loan-nav-arrow {
    display: none;
  }
  .rgn-card.loan-linear-card {
    flex: 0 0 285px;
    width: 285px;
  }
}

@media (max-width: 600px) {
  .rgn-stage {
    --w: 272px;
    --h: 400px;
    height: 500px;
  }
}

.rgn-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 54, 61, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: Inter, system-ui, sans-serif;
  color: #04363d;
}

.rgn-modal.open {
  display: flex;
  animation: rgnFade 0.2s ease;
}

@keyframes rgnFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rgn-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px rgba(4, 54, 61, 0.35);
}

.rgn-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}

.rgn-box h4 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #04363d;
}

.rgn-box .rgn-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: #6b8f94;
}

.rgn-f {
  margin-bottom: 14px;
}

.rgn-f label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #04363d;
  margin-bottom: 6px;
}

.rgn-f label output {
  color: #0e7c86;
  font-weight: 700;
}

.rgn-f input[type=range] {
  width: 100%;
  accent-color: #0e7c86;
}

.rgn-f input[type=text],
.rgn-f input[type=tel],
.rgn-f input[type=email],
.rgn-f input[type=number] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid rgba(14, 124, 134, 0.3);
  border-radius: 10px;
  font: 500 14px Inter, system-ui, sans-serif;
  outline: 0;
  color: #04363d;
}

.rgn-f input:focus {
  border-color: #0e7c86;
  box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.18);
}

.rgn-res {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #bff5f0;
  text-align: center;
}

.rgn-res small {
  display: block;
  font-size: 12px;
  color: #04363d;
}

.rgn-res strong {
  display: block;
  margin: 2px 0 10px;
  font-size: 30px;
  font-weight: 700;
  color: #04363d;
}

.rgn-res div {
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  color: #04363d;
}

.rgn-res div b {
  display: block;
  font-size: 14px;
  color: #04363d;
}

.rgn-go {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e7c86, #04363d);
  color: #ffffff;
  font: 600 14px Inter, system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 124, 134, 0.35);
}

.rgn-go:hover {
  box-shadow: 0 12px 26px rgba(14, 124, 134, 0.55);
}

.rgn-ok {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.rgn-ok b {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
  color: #04363d;
}

/* ==========================================================================
   Visual Enhancements & Authentic Imagery Styles
   ========================================================================== */

/* Category Cards Media Header */
.cat-card-media {
  position: relative;
  width: 100%;
  height: 165px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .cat-card-img {
  transform: scale(1.08);
}

.cat-card-img-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.02em;
}

/* Feature Showcase Hero Banner (e.g. Insurance) */
.page-feature-banner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.07);
}

.feature-banner-img-wrap {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.feature-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-feature-banner:hover .feature-banner-img {
  transform: scale(1.04);
}

.feature-banner-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-banner-text {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
}

.feature-banner-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.8rem 0 0.8rem 0;
  line-height: 1.3;
}

.feature-banner-text p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.banner-quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.banner-quick-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  background: #f1f5f9;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.banner-quick-points span i,
.banner-quick-points span svg {
  color: #059669;
  width: 15px;
  height: 15px;
}

/* Mutual Funds Feature Banner */
.mf-featured-banner {
  padding: 2rem !important;
}

.mf-banner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.mf-banner-img-wrap {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.mf-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-featured-banner:hover .mf-banner-img {
  transform: scale(1.05);
}

.mf-banner-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mf-banner-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.mf-strat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.mf-strat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.mf-strat-card:hover {
  background: #ffffff;
  border-color: #93b4f5;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

/* Goal Cards (Investments View) */
.goal-card {
  display: flex;
  flex-direction: column;
}

.goal-card-media {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.goal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.goal-card:hover .goal-card-img {
  transform: scale(1.08);
}

.goal-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Wealth Product Cards */
.wealth-product-card {
  display: flex;
  flex-direction: column;
}

.wealth-card-media {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.wealth-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wealth-product-card:hover .wealth-card-img {
  transform: scale(1.07);
}

.wealth-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* About Us Leadership & Brand Showcase */
.about-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: center;
}

.about-brand-showcase {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

.about-brand-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-img-caption {
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #475569;
  text-align: center;
}

/* Contact Cover Media Header */
.contact-card-header-img {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.contact-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}

.contact-cover-badge {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-feature-banner {
    grid-template-columns: 1fr;
  }
  .feature-banner-text {
    padding: 0 2rem 2rem 2rem;
  }
  .mf-banner-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .mf-strat-cards {
    grid-template-columns: 1fr;
  }
}


