/* ==========================================================================
   FinArtery Design System - Premium Vanilla CSS
   Theme: Light Fintech (Obsidian Navy & Logo Orange-Red)
   ========================================================================== */

:root {
  /* Light Theme Color System */
  --bg-primary: #fcfcfc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.75);
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  
  /* Brand Highlight: Orange-Red from the logo (#FF5103) */
  --accent-gold: #ff5103;
  --accent-gold-dark: #d84301;
  --accent-gold-rgb: 255, 81, 3;
  
  /* Secondary Brand Highlight: High-trust Cobalt/Navy Blue */
  --accent-purple: #1e3a8a;
  --accent-purple-dark: #172554;
  --accent-purple-rgb: 30, 58, 138;

  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-hover: rgba(15, 23, 42, 0.15);
  
  /* Typography */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Mass (Spring Simulation) */
  --transition-smooth: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
  --transition-quick: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Landmarking & Grid Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glowing Pastel Background Orbs (Subtle in light mode) */
.mesh-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.08;
  pointer-events: none;
  animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 45vw;
  height: 45vh;
  top: -10vh;
  right: -5vw;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.5) 0%, transparent 80%);
  animation-duration: 20s;
}

.orb-2 {
  width: 50vw;
  height: 50vh;
  bottom: -15vh;
  left: -10vw;
  background: radial-gradient(circle, rgba(var(--accent-purple-rgb), 0.4) 0%, transparent 80%);
  animation-duration: 28s;
}

.orb-3 {
  width: 35vw;
  height: 35vh;
  top: 40vh;
  left: 30vw;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.25) 0%, transparent 80%);
  animation-duration: 24s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(8vw, 5vh) scale(1.15) rotate(180deg);
  }
}

/* Film Grain Texture - very low opacity for light mode */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: repeating-radial-gradient(#000, #000 0.0001px, transparent 0.0002px);
  background-size: 3px 3px;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

.eyebrow-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.15);
  background: rgba(var(--accent-gold-rgb), 0.04);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

/* Section Standard Headers */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Section Vertical Margins */
section {
  padding: 96px 0;
  position: relative;
}

/* Double-Bezel Hardware Architecture (White iOS Glass style) */
.double-bezel-outer {
  background: rgba(15, 23, 42, 0.015);
  border: 1px solid rgba(15, 23, 42, 0.03);
  padding: 8px;
  border-radius: 2rem;
  transition: var(--transition-smooth);
}

.double-bezel-inner {
  background: var(--bg-secondary);
  border-radius: calc(2rem - 8px);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 40px;
  height: 100%;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  padding: 12px 28px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-quick);
  position: relative;
  overflow: hidden;
}

.btn-pill-nav {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  padding: 8px 20px;
}

.btn-pill-nav:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
}

/* Vibrant primary button in the navbar for high contrast */
.btn-nav-primary {
  background: var(--accent-gold);
  border: 1px solid transparent;
  color: #ffffff !important;
  padding: 8px 20px;
  box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.2);
}

.btn-nav-primary:hover {
  background: var(--accent-gold-dark);
  box-shadow: 0 6px 16px rgba(var(--accent-gold-rgb), 0.35);
  transform: translateY(-1px);
}

.btn-nav-primary .arrow-wrapper {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Make primary CTAs vibrant Orange-Red for high conversion */
.btn-primary {
  background: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--accent-gold-rgb), 0.3);
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(var(--accent-gold-rgb), 0.1);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-full {
  width: 100%;
}

/* Arrow Nesting (Button-in-Button) */
.arrow-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  margin-left: 12px;
  transition: var(--transition-quick);
  font-size: 14px;
}

.btn-primary .arrow-wrapper {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-secondary .arrow-wrapper {
  background: rgba(15, 23, 42, 0.05);
}

.btn:hover .arrow-wrapper {
  transform: scale(1.1) translate(2px, -2px);
}

.btn-primary:hover .arrow-wrapper {
  background: rgba(var(--accent-gold-rgb), 0.1);
  color: var(--accent-gold);
}

/* Floating Island Navbar (Light Mode Glass) */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  pointer-events: none;
}

.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 8px 32px;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

/* Scrolled Navbar State */
.navbar-scrolled .nav-island {
  padding: 6px 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1), 0 5px 12px rgba(15, 23, 42, 0.04);
  border-color: rgba(255, 81, 3, 0.18); /* Soft orange highlight border on scroll */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-icon {
  height: 32px;
  width: auto;
  transition: var(--transition-quick);
}

.nav-logo-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: var(--transition-quick);
}

.nav-logo-text .text-orange {
  color: var(--accent-gold);
}

.nav-logo-subtext {
  font-family: var(--font-title);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: -2px;
  transition: var(--transition-quick);
}

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

.nav-item {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-quick);
}

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

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.text-glow {
  background: linear-gradient(135deg, var(--accent-gold) 30%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-accent {
  background: linear-gradient(135deg, var(--accent-purple) 30%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-paragraph {
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(15, 23, 42, 0.08);
}

/* Hero Visual & Hardware Glass Container */
.hero-visual {
  position: relative;
}

.hero-graphic-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: var(--transition-smooth);
}

.hero-visual:hover .hero-image {
  transform: scale(1.08) rotate(1deg);
}

.hero-glass-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.25rem;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.overlay-row {
  display: flex;
  gap: 12px;
}

.overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.overlay-badge i {
  color: var(--accent-gold);
}

.overlay-badge.gold i {
  color: var(--accent-gold);
}

.overlay-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.data-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.data-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.spark-bar {
  width: 4px;
  border-radius: 99px;
  background: var(--accent-gold);
  animation: sparkHeight 2s infinite alternate ease-in-out;
}

.spark-bar:nth-child(2) { animation-delay: 0.3s; background: var(--accent-purple); }
.spark-bar:nth-child(3) { animation-delay: 0.6s; }
.spark-bar:nth-child(4) { animation-delay: 0.9s; background: var(--accent-purple); }
.spark-bar:nth-child(5) { animation-delay: 1.2s; }

/* SERVICES SECTION (BENTO GRID - LIGHT MODE) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.row-span-2 { grid-row: span 2; }

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 40px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(var(--accent-gold-rgb), 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-gold-rgb), 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.bento-content {
  position: relative;
  z-index: 2;
}

/* Bento Grid Dashboard Split (Top-positioned Full-width Visual & Fading Blend) */
.bento-split-card {
  padding: 0 !important; /* Remove card padding to allow full-bleed top visual */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.bento-split-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
}

.bento-split-card .bento-visual {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 32px 0 32px;
  background: rgba(15, 23, 42, 0.01);
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

/* Linear-Gradient Fading Blend Layer */
.bento-visual-blend {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-secondary) 100%);
  pointer-events: none;
  z-index: 3;
}

.bento-split-card .bento-content {
  padding: 32px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allow content box to stretch and push footer down */
}

.bento-split-card .bento-card-title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Dashboard Card Widget Mockup (Wide Aspect) */
.bento-dash-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.bento-split-card:hover .bento-dash-card {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

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

.dash-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.dash-badge {
  font-size: 9px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  padding: 3px 9px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: center;
}

.dash-stats-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.stat-val {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-val.positive {
  color: #22c55e;
}

.dash-wide-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  gap: 5px;
  position: relative;
}

.chart-bar-container {
  flex: 1;
  height: 100%;
  background: rgba(15, 23, 42, 0.02);
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 3px;
  background: var(--accent-purple);
  opacity: 0.85;
}

.chart-bar-container:nth-child(5) .chart-bar-fill,
.chart-bar-container:nth-child(8) .chart-bar-fill {
  background: var(--accent-gold);
}

.dash-allocation-row {
  width: 100%;
}

.dash-allocation-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  overflow: hidden;
}

.alloc-segment {
  height: 100%;
}

.alloc-equity, .dot-equity { background: var(--accent-gold); }
.alloc-debt, .dot-debt { background: var(--accent-purple); }
.alloc-gold, .dot-gold { background: #ff9e0b; }

.dash-legend {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* Bento Stats Row */
.bento-stats-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
  background: rgba(15, 23, 42, 0.015);
  border: 1px solid rgba(15, 23, 42, 0.03);
  padding: 12px 20px;
  border-radius: 0.75rem;
}

.bento-stat-item {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-stat-val {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1.2;
}

.bento-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.bento-card-footer {
  margin-top: auto; /* Pushes footer to the very bottom of the stretched bento-content */
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-app-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-app-promo i {
  color: var(--accent-gold);
  font-size: 16px;
}

.footer-app-links {
  display: flex;
  gap: 8px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 4px 10px;
  border-radius: 99px;
  transition: var(--transition-quick);
}

.bento-split-card:hover .app-badge {
  background: rgba(var(--accent-gold-rgb), 0.06);
  border-color: rgba(var(--accent-gold-rgb), 0.15);
  color: var(--accent-gold);
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-gold);
  margin-bottom: 24px;
  transition: var(--transition-quick);
}

.bento-card:hover .bento-icon-wrapper {
  background: rgba(var(--accent-gold-rgb), 0.06);
  border-color: rgba(var(--accent-gold-rgb), 0.25);
  transform: scale(1.05);
}

.bento-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.bento-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.bento-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.bento-bullets li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-bullets i {
  color: var(--accent-gold);
  font-size: 16px;
}

/* ZERODHA PARTNERSHIP SECTION */
.partner-box-outer {
  border-radius: 2.5rem;
  padding: 10px;
}

.partner-box {
  border-radius: calc(2.5rem - 10px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.partner-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.partner-paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.partner-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-note {
  font-size: 12px;
  color: var(--text-muted);
}

.partner-visual {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--accent-gold);
  filter: blur(60px);
  opacity: 0.1;
}

.partner-graphic {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.circle-graphic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
  font-weight: 800;
}

.logo-circ {
  background: var(--bg-primary);
  color: var(--accent-gold);
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

.connection-line {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #387ed1 0%, var(--accent-gold) 50%, #387ed1 100%);
  background-size: 200% 100%;
  position: relative;
  animation: flowLine 3s infinite linear;
  box-shadow: 0 0 8px rgba(var(--accent-gold-rgb), 0.2);
}

.connection-line::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  top: -2.5px;
  left: 0;
  box-shadow: 0 0 8px var(--accent-gold), 0 0 16px var(--accent-gold);
  animation: laserDot 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes laserDot {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* ADVISORY DIRECTOR SECTION */
.advisor-container {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  align-items: center;
}

.advisor-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 0.85;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.advisor-avatar-placeholder {
  font-size: 96px;
  color: rgba(15, 23, 42, 0.04);
  animation: floatAvatar 6s infinite alternate ease-in-out;
}

.advisor-badge-glass {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.25rem;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.badge-role {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-exp {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 4px;
}

.advisor-info {
  display: flex;
  flex-direction: column;
}

.advisor-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.advisor-bio-text {
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.advisor-quote {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  border-left: 2px solid var(--accent-gold);
  padding-left: 24px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.advisor-credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.cred-item i {
  color: var(--accent-gold);
  font-size: 18px;
}

/* FAQ SECTION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: var(--transition-quick);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.01), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.faq-item:hover {
  border-color: rgba(15, 23, 42, 0.15);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 32px;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition-quick);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: -4px;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-content p {
  padding: 0 32px 28px 32px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active {
  background: rgba(255, 81, 3, 0.012);
  border-color: rgba(255, 81, 3, 0.2);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(var(--accent-gold-rgb), 0.1);
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  color: var(--accent-gold);
}

/* CONTACT & INQUIRY SECTION */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-desc {
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.channel-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.channel-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.channel-link {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-quick);
}

.channel-link:hover {
  color: var(--accent-gold);
}

.channel-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.social-links-wrapper {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: var(--transition-quick);
}

.social-icon-btn:hover {
  background: rgba(var(--accent-gold-rgb), 0.06);
  border-color: rgba(var(--accent-gold-rgb), 0.25);
  color: var(--accent-gold);
}

/* Floating Label Form Elements */
.form-card {
  padding: 40px;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 18px 16px 8px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-quick);
}

.input-group textarea {
  resize: vertical;
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Floating Label Logic */
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-gold-rgb), 0.4);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.04);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.form-feedback {
  font-size: 13px;
  font-weight: 600;
  min-height: 20px;
}

.form-feedback.success {
  color: #059669;
}

.form-feedback.error {
  color: #dc2626;
}

/* FOOTER */
.footer-wrapper {
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
  padding: 48px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo-link {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-quick);
}

.legal-links a:hover {
  color: var(--accent-gold);
}

/* WHATSAPP FLOATING CHAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  pointer-events: auto;
}

.whatsapp-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  background: #22c55e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 99px;
  border: 1.5px solid var(--bg-primary);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.4);
  z-index: 10;
}

.whatsapp-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
  transition: var(--transition-quick);
}

.whatsapp-float:hover .whatsapp-circle {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:active .whatsapp-circle {
  transform: scale(0.95);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & MEDIA QUERIES
   ========================================================================== */

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }
  
  .contact-container,
  .advisor-container {
    gap: 48px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }
  .col-span-8 { grid-column: span 6; }
  .col-span-4 { grid-column: span 3; }
  .col-span-6 { grid-column: span 3; }

  .double-bezel-inner {
    padding: 32px 24px;
  }

  .bento-card {
    padding: 32px 24px;
  }

  /* Island Navbar Mobile/Tablet Behavior */
  .nav-island {
    border-radius: 1.5rem;
    padding: 12px 24px;
    width: calc(100% - 32px);
    position: relative;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
  }

  .nav-hamburger .bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 99px;
    transition: var(--transition-quick);
  }

  .nav-hamburger.active .bar-1 {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger.active .bar-2 {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 32px 24px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    pointer-events: none;
    transition: var(--transition-quick);
  }

  .nav-links.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }

  .nav-action {
    display: none;
  }
}

/* Small Screen / Mobile Breakpoint (768px) */
@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  /* Layout collapses to single-column stack */
  .hero-container,
  .advisor-container,
  .contact-container,
  .partner-box {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content, .advisor-info, .contact-info, .partner-text {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-paragraph, .advisor-bio-text, .partner-paragraph {
    max-width: 100%;
  }

  .hero-ctas, .partner-ctas {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }

  .metric-divider {
    display: none;
  }

  .advisor-credentials {
    align-items: center;
  }

  .advisor-quote {
    border-left: none;
    border-top: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    padding: 24px 0;
    margin: 24px 0;
  }

  .contact-channels {
    align-items: center;
  }

  .channel-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Bento grid mobile collapse */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .col-span-8, .col-span-4, .col-span-6 {
    grid-column: span 1 !important;
  }

  .row-span-2 {
    grid-row: span 1 !important;
  }

  .bento-card {
    padding: 32px 24px;
    min-height: 220px;
  }

  .bento-split-wrapper {
    flex-direction: column-reverse !important;
    gap: 28px !important;
  }

  .bento-split-card .bento-visual {
    max-width: 290px;
    margin: 0 auto;
    width: 100%;
  }

  .double-bezel-inner {
    padding: 32px 24px;
  }

  /* FAQ Mobile Spacing */
  .faq-trigger {
    padding: 20px;
    font-size: 1rem;
  }
  .faq-content p {
    padding: 0 20px 20px 20px;
  }

  /* Remove asymmetrical 3D rotations or overlapping layouts on mobile */
  .hero-visual, .partner-visual {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .whatsapp-float {
    bottom: 24px;
    right: 24px;
  }
}

/* Narrow Mobile Breakpoint (480px) */
@media (max-width: 480px) {
  .connection-line {
    width: 60px;
  }

  .hero-glass-overlay {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px;
  }

  .dash-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dash-stats-pane {
    flex-direction: row;
    justify-content: space-between;
  }
}
