/* ==========================================================================
   MEROGOLD HOLDINGS PVT. LTD. — RESPONSIVE FINTECH DESIGN SYSTEM
   Fluid Auto-Fit Engine for Laptops, Desktops, Tablets & Mobile Devices
   ========================================================================== */

:root {
  /* Obsidian & Deep Charcoal Surfaces */
  --bg-obsidian: #07090E;
  --bg-dark-card: #0F1420;
  --bg-dark-card-hover: #161D2E;
  --bg-dark-elevated: #1A2234;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(242, 169, 0, 0.35);

  /* Light Canvas & Surfaces */
  --bg-white: #FFFFFF;
  --bg-cream: #FCFAF6;
  --bg-surface: #F8FAFC;
  --bg-surface-alt: #F1F5F9;
  --border-light: #E2E8F0;
  --border-light-hover: #CBD5E1;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-white: #FFFFFF;
  --text-white-muted: #94A3B8;
  --text-white-dim: #64748B;

  /* MeroGold Sovereign Gold Palette */
  --gold-primary: #F2A900;
  --gold-bright: #FFD54F;
  --gold-deep: #B57E00;
  --gold-burnished: #8C6200;
  --gold-gradient: linear-gradient(135deg, #FFE082 0%, #F2A900 50%, #B57E00 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(242, 169, 0, 0.12) 0%, rgba(181, 126, 0, 0.03) 100%);
  --gold-glow: 0 8px 24px -4px rgba(242, 169, 0, 0.3);
  --gold-glow-lg: 0 16px 40px -8px rgba(242, 169, 0, 0.4);
  --gold-border: rgba(242, 169, 0, 0.28);

  /* Silver Accents */
  --silver-light: #E2E8F0;
  --silver-mid: #94A3B8;

  /* Trading & Fintech Status */
  --trade-green: #10B981;
  --trade-green-soft: rgba(16, 185, 129, 0.1);
  --trade-red: #EF4444;

  /* Fluid Sizing & Spacing */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  --shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* Auto-scale base font on smaller laptop viewports for proportional fit */
@media (max-width: 1366px) and (min-width: 1024px) {
  html {
    font-size: 15px;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Mukta", sans-serif;
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: 72px;
}

body.lang-ne, body.lang-hi {
  font-family: 'Mukta', 'Inter', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Serif & Display Headings */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 169, 0, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-tag.dark {
  background: rgba(242, 169, 0, 0.12);
  color: var(--gold-bright);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title.dark {
  color: var(--text-white);
}

.section-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

.section-desc.dark {
  color: var(--text-white-muted);
}

/* ==========================================================================
   NAVIGATION BAR (CLEAN, PROPORTIONAL & BALANCED)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.98);
  border-bottom-color: rgba(242, 169, 0, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  transition: height var(--transition-smooth);
}

.site-header.scrolled .nav-bar-inner {
  height: 64px;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1C2436 0%, #0F1420 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--gold-primary);
}

/* Desktop Links (Visible from 920px+ with Compact Graceful Spacing) */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-desktop a {
  color: var(--text-white-muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
  color: var(--gold-bright);
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-smooth);
}

.nav-links-desktop a:hover::after,
.nav-links-desktop a.active::after {
  width: 100%;
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-selector-wrap {
  position: relative;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 5px;
  min-width: 135px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  z-index: 1002;
}

.lang-dropdown-menu.active {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-white-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.lang-option:hover, .lang-option.selected {
  background: rgba(242, 169, 0, 0.12);
  color: var(--gold-bright);
}

/* Buttons */
.btn-fintech-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: #07090E;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-fintech-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: var(--gold-glow-lg);
  color: #000;
}

.btn-fintech-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-fintech-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

.btn-fintech-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-fintech-gold-outline:hover {
  background: rgba(242, 169, 0, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

/* 3-BARS HAMBURGER MENU BUTTON */
.three-bars-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
  transition: all var(--transition-smooth);
}

.three-bars-btn:hover {
  background: rgba(242, 169, 0, 0.15);
  border-color: var(--gold-primary);
}

.three-bars-btn span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.three-bars-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.three-bars-btn.open span:nth-child(2) {
  opacity: 0;
}

.three-bars-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Slide-Out Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-dark-card);
  border-left: 1px solid var(--border-dark);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  padding: 70px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

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

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer a.drawer-nav-item {
  color: var(--text-white-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.mobile-drawer a.drawer-nav-item:hover {
  color: var(--gold-bright);
}

.drawer-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(242, 169, 0, 0.15);
  color: var(--gold-bright);
}

/* ==========================================================================
   HERO SECTION (FLUID AUTO-FIT PROPORTIONS FOR LAPTOPS)
   ========================================================================== */
.hero-fintech {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(242, 169, 0, 0.10), transparent 50%),
              radial-gradient(circle at 90% 60%, rgba(30, 58, 138, 0.12), transparent 45%),
              var(--bg-obsidian);
  padding: clamp(36px, 5vh, 60px) 0 clamp(45px, 6vh, 75px);
  overflow: hidden;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-dark);
}

#hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--trade-green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trade-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-main-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-white);
}

.hero-main-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-sub-text {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--text-white-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}

.stat-item small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-white-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.stat-item strong {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  color: var(--text-white);
  font-family: 'Cinzel', serif;
}

/* Compact Hero Vault Card */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  width: 100%;
  max-width: 390px;
  background: rgba(15, 20, 32, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 169, 0, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(242, 169, 0, 0.08);
  position: relative;
}

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

.vault-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.vault-chip-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(242, 169, 0, 0.15);
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.asset-pill-live {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--trade-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.vault-balance-block {
  margin-bottom: 16px;
}

.vault-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-white-dim);
  font-weight: 600;
}

.vault-value-amount {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 2.3vw, 2rem);
  font-weight: 800;
  color: var(--text-white);
  margin-top: 2px;
}

.vault-holdings-split {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.vault-holdings-split span.silver {
  color: var(--silver-light);
}

.hero-rates-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mini-rate-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.mini-rate-card.gold-card {
  border-color: rgba(242, 169, 0, 0.25);
}

.mini-rate-card small {
  font-size: 0.7rem;
  color: var(--text-white-dim);
  font-weight: 600;
  display: block;
}

.mini-rate-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 2px 0 1px;
}

.mini-rate-change {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--trade-green);
}

.hero-card-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-mini-action {
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-mini-buy {
  background: var(--trade-green);
  color: #FFFFFF;
}

.btn-mini-buy:hover {
  background: #059669;
}

.btn-mini-sell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
}

.btn-mini-sell:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   RATES BOARD (CLEAN, PROPORTIONAL & RESPONSIVE)
   ========================================================================== */
.rates-section {
  padding: clamp(45px, 6vh, 70px) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.rates-board-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rates-board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  gap: 14px;
  flex-wrap: wrap;
}

.rates-board-title h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.rates-board-title p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.rates-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unit-switch-container {
  display: flex;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--border-light);
}

.unit-btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.unit-btn.active {
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.live-time-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

/* Rates Table */
.rates-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Share-Market Live Tick Flash (Green on Up, Red on Down) */
.price-tick-up {
  background-color: rgba(34, 197, 94, 0.22) !important;
  color: #15803d !important;
  border-radius: 4px;
  padding: 2px 6px;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.price-tick-down {
  background-color: rgba(239, 68, 68, 0.22) !important;
  color: #dc2626 !important;
  border-radius: 4px;
  padding: 2px 6px;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.rates-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.rates-table th {
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.rates-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.rates-table tr:last-child td {
  border-bottom: none;
}

.rates-table tr:hover {
  background: rgba(242, 169, 0, 0.025);
}

.metal-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.metal-avatar.gold {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE082 100%);
  color: var(--gold-deep);
  border: 1px solid var(--gold-border);
}

.metal-avatar.silver {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  color: #475569;
  border: 1px solid #CBD5E1;
}

.metal-info-block .metal-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.metal-info-block .metal-purity-tag {
  font-size: 0.76rem;
  color: var(--text-secondary);
  display: block;
}

.rate-cell-value {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.rate-cell-value.buy-rate {
  color: var(--trade-green);
}

.rate-cell-value.sell-rate {
  color: var(--text-primary);
}

.rate-sub-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.trend-badge.up {
  background: var(--trade-green-soft);
  color: var(--trade-green);
}

.rates-board-footer {
  padding: 14px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   PROFESSIONAL LIVE BULLION FINANCIAL CHART
   ========================================================================== */
.live-chart-section {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.live-chart-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.live-chart-asset-switch {
  display: flex;
  gap: 6px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.chart-asset-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-asset-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chart-asset-btn.active.gold-btn {
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.chart-asset-btn.active.silver-btn {
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.live-chart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-chart-timeframes {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.chart-tf-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-tertiary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-tf-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.live-chart-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.chart-current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: "tnum";
}

.chart-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.chart-type-switch {
  display: flex;
  gap: 3px;
  background: var(--bg-surface);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.chart-type-btn {
  border: none;
  background: transparent;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-tertiary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-type-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.live-chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  margin-top: 10px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.live-chart-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.live-chart-metrics {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.chart-metric-item strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   WHAT IS MEROGOLD
   ========================================================================== */
.what-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-white);
}

.what-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fintech-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.fintech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.card-icon-frame {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-cream);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-size: 1.25rem;
}

.fintech-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.fintech-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   HOW IT WORKS (6-STEP WORKFLOW)
   ========================================================================== */
.how-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-border);
}

.step-number-tag {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.step-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   BECOME A MERCHANT & PARTNERS SECTION
   ========================================================================== */
.merchant-partner-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-white);
}

.biz-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.biz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 36px);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.biz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
  background: var(--bg-white);
}

.biz-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(242, 169, 0, 0.12);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.biz-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.biz-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.biz-badges-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.biz-badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(242, 169, 0, 0.1);
  color: var(--gold-deep);
  border: 1px solid var(--gold-border);
}

/* ==========================================================================
   LOW ENTRY POINT SECTION (NPR 1,000)
   ========================================================================== */
.entry-point-section {
  padding: clamp(45px, 6vh, 70px) 0;
  background: linear-gradient(135deg, #07090E 0%, #0F1420 100%);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.entry-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.entry-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.entry-content p {
  font-size: 0.92rem;
  color: var(--text-white-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.entry-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.entry-feature-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.entry-feature-box strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.entry-feature-box span {
  font-size: 0.78rem;
  color: var(--text-white-muted);
}

.entry-visual-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(242, 169, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}

.entry-visual-box img {
  max-width: 240px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   SMART SAVER
   ========================================================================== */
.smartsaver-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-white);
}

.smartsaver-banner-card {
  background: linear-gradient(135deg, #0A0E17 0%, #151C2C 100%);
  border: 1px solid rgba(242, 169, 0, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  color: var(--text-white);
  box-shadow: var(--shadow-dark);
}

.smartsaver-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: center;
}

.smartsaver-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.tenure-selector-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.tenure-btn {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-white-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tenure-btn.active, .tenure-btn:hover {
  background: var(--gold-gradient);
  color: #07090E;
  border-color: transparent;
}

.smartsaver-calculator-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.smartsaver-calculator-box h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold-bright);
}

.calc-field-group {
  margin-bottom: 14px;
}

.calc-field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-results-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
  border: 1px solid var(--border-dark);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.82rem;
}

.calc-result-row span {
  color: var(--text-white-muted);
}

.calc-result-row strong {
  font-size: 0.95rem;
  color: var(--gold-bright);
}

/* ==========================================================================
   TRANSPARENCY & DISCLOSURES
   ========================================================================== */
.transparency-section {
  padding: clamp(45px, 6vh, 70px) 0;
  background: var(--bg-white);
}

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

.fee-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.fee-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-border);
}

.fee-metric-number {
  font-family: 'Cinzel', serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.fee-metric-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.fee-metric-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SECURITY & TRUST
   ========================================================================== */
.security-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: linear-gradient(135deg, #07090E 0%, #111724 100%);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.security-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition-smooth);
}

.security-card:hover {
  border-color: rgba(242, 169, 0, 0.3);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
}

.security-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(242, 169, 0, 0.1);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.security-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.85rem;
  color: var(--text-white-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calculator-card-frame {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 38px);
}

.calc-tabs-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-mode-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-mode-btn.active {
  background: var(--bg-obsidian);
  color: var(--text-white);
  border-color: var(--bg-obsidian);
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.calc-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.calc-select, .calc-text-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-select:focus, .calc-text-input:focus {
  border-color: var(--gold-primary);
}

.calc-output-display {
  background: linear-gradient(135deg, #07090E 0%, #151D2C 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--text-white);
  text-align: center;
  border: 1px solid var(--border-dark);
}

.calc-output-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-white-dim);
  font-weight: 600;
}

.calc-output-val {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--gold-bright);
  margin: 4px 0;
}

.calc-output-sub {
  font-size: 0.82rem;
  color: var(--text-white-muted);
}

/* ==========================================================================
   FAQ SECTION (MULTILINGUAL SEARCHABLE ACCORDION)
   ========================================================================== */
.faq-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-white);
}

.faq-search-box {
  max-width: 520px;
  margin: 0 auto 24px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}

.faq-category-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.faq-cat-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-cat-btn.active, .faq-cat-btn:hover {
  background: var(--bg-obsidian);
  color: var(--text-white);
  border-color: var(--bg-obsidian);
}

.faq-accordion-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-toggle-icon {
  font-size: 0.95rem;
  color: var(--gold-deep);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer-pane {
  max-height: 400px;
  padding-bottom: 18px;
}

.faq-answer-pane p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   OUR STORY
   ========================================================================== */
.story-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.story-photo-frame {
  background: var(--bg-white);
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
  max-width: 320px;
  margin: 0 auto;
}

.story-photo-frame img {
  border-radius: var(--radius-sm);
  width: 100%;
}

.founder-signature-box {
  margin-top: 10px;
  text-align: center;
}

.founder-signature-box strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.founder-signature-box span {
  font-size: 0.76rem;
  color: var(--gold-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.story-text-col h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.story-text-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: clamp(45px, 6vh, 75px) 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.contact-info-col h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.contact-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(242, 169, 0, 0.1);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.contact-method-card small {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-method-card strong {
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 800;
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.form-group-field {
  margin-bottom: 14px;
}

.form-group-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.form-group-field input, .form-group-field textarea, .form-group-field select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.form-group-field input:focus, .form-group-field textarea:focus, .form-group-field select:focus {
  background: var(--bg-white);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   FINTECH FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--text-white-muted);
  padding: 60px 0 28px;
  border-top: 1px solid var(--border-dark);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand-col .brand-link {
  margin-bottom: 12px;
}

.footer-brand-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-white-dim);
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-col h5 {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
}

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

.footer-links-list a {
  color: var(--text-white-dim);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--gold-bright);
}

.footer-bottom-bar {
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-white-dim);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal-inline a {
  color: var(--text-white-dim);
}

/* ==========================================================================
   MODAL OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-secondary);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL ENGINE
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.reveal-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

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

/* ==========================================================================
   FLUID RESPONSIVE MEDIA QUERIES (LAPTOP, TABLET & MOBILE)
   ========================================================================== */

/* 1. Laptops & Medium Screens (921px to 1180px) */
@media (max-width: 1180px) and (min-width: 921px) {
  .nav-links-desktop {
    gap: 12px;
  }
  .nav-links-desktop a {
    font-size: 0.82rem;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
  }
  .hero-visual-card {
    max-width: 360px;
  }
}

/* 2. Tablets & Small Laptops (under 920px) */
@media (max-width: 920px) {
  .nav-links-desktop {
    display: none; /* Seamlessly switch to 3-bars hamburger drawer */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-sub-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn-group {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
  }

  .entry-grid, .smartsaver-grid, .story-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .biz-showcase-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* 3. Mobile Phones (under 640px) */
@media (max-width: 640px) {
  body {
    padding-top: 66px;
  }

  .site-header {
    background: rgba(7, 9, 14, 0.96);
  }

  .nav-bar-inner {
    height: 66px;
    gap: 8px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .btn-fintech-secondary {
    display: none; /* Accessible in 3-bars menu to keep top bar clean */
  }

  .btn-fintech-primary {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  .hero-fintech {
    padding: 30px 0 45px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat-item strong {
    font-size: 1rem;
  }

  .stat-item small {
    font-size: 0.65rem;
  }

  .what-features-grid, .workflow-grid, .security-grid, .transparency-grid {
    grid-template-columns: 1fr;
  }

  .rates-board-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .rates-table th, .rates-table td {
    padding: 12px 14px;
  }

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

  .calc-tabs-header {
    flex-direction: column;
  }

  .calc-mode-btn {
    width: 100%;
    text-align: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
