/* ==========================================================================
   GigNivesh - Modern Product Design System
   Brand: Earn • Save • Secure • Grow
   Colors: Trust Navy (#073B73), Action Blue (#0B5ED7), Growth Green (#10B981)
   ========================================================================== */

:root {
  --color-primary: #073B73;
  --color-primary-dark: #031D3B;
  --color-primary-light: #0d4e96;
  --color-action: #0B5ED7;
  --color-action-hover: #094bb0;
  --color-growth: #10B981;
  --color-growth-dark: #059669;
  --color-opportunity: #F59E0B;
  --color-sky: #E0F2FE;
  --color-mint: #ECFDF5;
  --color-amber-light: #FEF3C7;
  --color-danger: #EF4444;

  --color-bg-light: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-light: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(7, 59, 115, 0.12), 0 10px 10px -5px rgba(7, 59, 115, 0.04);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #F8FAFC;
  color: var(--color-text-main);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Typography Utilities */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-action) 60%, var(--color-growth) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-growth {
  background: linear-gradient(135deg, var(--color-growth) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sky {
  background-color: var(--color-sky);
  color: var(--color-action);
}

.badge-mint {
  background-color: var(--color-mint);
  color: var(--color-growth-dark);
}

.badge-amber {
  background-color: var(--color-amber-light);
  color: #B45309;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

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

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Language Switcher Popover */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-light);
  border: 1.5px solid var(--color-border);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-icon-btn:hover {
  border-color: var(--color-action);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 220px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1100;
  animation: modal-enter 150ms ease-out;
}

.lang-menu.show {
  display: flex;
}

.lang-menu-header {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  padding: 6px 10px 4px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}

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

.lang-option:hover {
  background: var(--color-sky);
  color: var(--color-action);
}

.lang-option.active {
  background: var(--color-action);
  color: #FFFFFF;
}

.lang-option .lang-code {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.8;
  font-family: monospace;
}
  border-color: var(--color-action);
}

.lang-selector select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 600;
  color: inherit;
  outline: none;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-action) 0%, var(--color-primary) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-action-hover) 0%, var(--color-primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 94, 215, 0.35);
}

.btn-growth {
  background: linear-gradient(135deg, var(--color-growth) 0%, var(--color-growth-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-growth:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--color-border-hover);
  background: #FFFFFF;
  color: var(--color-primary);
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
  background: radial-gradient(100% 80% at 50% 0%, #FFFFFF 0%, #F1F6FD 60%, #E8F1FC 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 10%;
  right: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 94, 215, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--color-growth);
  border-radius: 50%;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-primary);
}

.hero-title-hi {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  margin-top: 6px;
  color: var(--color-action);
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 59, 115, 0.1);
  margin-top: 8px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 650px;
  background: #0F172A;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(7, 59, 115, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #000000;
  border-radius: 14px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #FFFFFF;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating Ticker Chips */
.floating-chip {
  position: absolute;
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s infinite ease-in-out;
  z-index: 30;
}

.chip-left {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.chip-right {
  bottom: 22%;
  right: -35px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chip-icon.swiggy {
  background: #FFF3E6;
  color: #FC8019;
}

.chip-icon.gold {
  background: #FEF3C7;
  color: #D97706;
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
}

.chip-subtitle {
  font-size: 0.75rem;
  color: var(--color-growth-dark);
  font-weight: 600;
}

/* Trust Bar */
.trust-bar {
  padding: 36px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.trust-title {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.partner-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.partner-badge:hover {
  border-color: var(--color-action);
  color: var(--color-primary);
  background: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-padding {
  padding: 90px 0;
}

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

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Calculator Section (SAYE)
   ========================================================================== */
.calc-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-bottom: 1px solid var(--color-border);
}

.calc-card-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.calc-controls-panel {
  padding: 44px;
  border-right: 1px solid var(--color-border);
}

.calc-group {
  margin-bottom: 30px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.calc-val-badge {
  background: var(--color-sky);
  color: var(--color-action);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.1rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-action);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.pill-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  border-color: var(--color-action);
  color: var(--color-action);
}

.pill-btn.active {
  background: var(--color-action);
  border-color: var(--color-action);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 94, 215, 0.25);
}

/* Calculator Results Panel */
.calc-results-panel {
  background: linear-gradient(135deg, #073B73 0%, #031D3B 100%);
  color: #FFFFFF;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.corpus-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.projected-wealth-sum {
  font-size: 3.2rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
  margin: 6px 0;
}

.projected-wealth-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio-split-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.asset-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.asset-return-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.asset-amount {
  font-size: 1.15rem;
  font-weight: 800;
}

.milestone-badge-box {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.milestone-title {
  font-size: 0.82rem;
  color: #34D399;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.milestone-text {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   Financial Safety Meter Section
   ========================================================================== */
.safety-meter-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.safety-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.safety-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.meter-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.gauge-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(var(--color-growth) 0deg 270deg, #E2E8F0 270deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
  position: relative;
}

.gauge-inner {
  width: 130px;
  height: 130px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-score {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.gauge-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-growth);
  text-transform: uppercase;
}

.safety-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.safety-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.safety-progress-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.safety-progress-fill {
  height: 100%;
  border-radius: 4px;
}

.safety-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagnostic-step {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.choice-pill.selected {
  background: var(--color-action);
  color: #FFFFFF;
  border-color: var(--color-action);
}

/* ==========================================================================
   Government Welfare & Scheme Finder
   ========================================================================== */
.schemes-section {
  background: #F8FAFC;
  border-bottom: 1px solid var(--color-border);
}

.scheme-filter-bar {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-select {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
  background: #FFFFFF;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--color-action);
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.scheme-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

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

.scheme-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.scheme-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.scheme-benefit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-growth-dark);
  margin-bottom: 12px;
}

.scheme-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.scheme-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ==========================================================================
   Product Features Showcase
   ========================================================================== */
.features-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

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

.feature-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--color-action);
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-screen-thumb {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Live Demo Hub (Worker App + Admin Console Tabs)
   ========================================================================== */
.demo-hub-section {
  background: linear-gradient(180deg, #073B73 0%, #031D3B 100%);
  color: #FFFFFF;
  padding: 90px 0;
}

.demo-hub-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.demo-hub-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.demo-tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.demo-tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.demo-tab-btn.active {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.demo-viewport-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-main);
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

.demo-browser-bar {
  background: #F1F5F9;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-window-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.demo-url-pill {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 20px;
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--color-text-muted);
}

.demo-tab-content {
  display: none;
  padding: 36px;
}

.demo-tab-content.active {
  display: block;
}

/* ==========================================================================
   Enterprise & B2B Solutions Section
   ========================================================================== */
.enterprise-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.enterprise-value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.enterprise-value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-mint);
  color: var(--color-growth-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.enterprise-stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.enterprise-stat-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.enterprise-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-action);
  margin-bottom: 6px;
}

.enterprise-lbl {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* ==========================================================================
   Testimonials & Social Proof
   ========================================================================== */
.testimonials-section {
  background: #F8FAFC;
  border-bottom: 1px solid var(--color-border);
}

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

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.worker-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.worker-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-sky);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

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

.worker-name {
  font-weight: 700;
  color: var(--color-primary);
}

.worker-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-action);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-action);
  transition: transform var(--transition-fast);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

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

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-action) 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.cta-banner-content {
  max-width: 750px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}

.cta-banner-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-logo-wrap {
  display: inline-block;
  background: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: fit-content;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #FFFFFF;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38BDF8;
}

.compliance-badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modal-enter 200ms ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-text-light);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--color-text-main);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-action);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #073B73;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 250ms ease-out;
}

@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

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

  .hero-stats-row {
    width: 100%;
    max-width: 600px;
    margin: 16px auto 0;
  }

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

  .calc-controls-panel {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

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

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

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

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

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

/* ==========================================================================
   Responsive Breakpoints & Mobile Drawer
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--color-action);
  background: var(--color-sky);
}

.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 2px solid var(--color-border);
  padding: 20px 24px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  animation: modal-enter 180ms ease-out;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

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

  .hero-stats-row {
    width: 100%;
    max-width: 600px;
    margin: 16px auto 0;
  }

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

  .calc-controls-panel {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

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

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-title-hi {
    font-size: 1.4rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .floating-chip {
    display: none;
  }

  .phone-mockup-wrapper {
    width: 280px;
    height: 560px;
  }

  .calc-controls-panel, .calc-results-panel {
    padding: 22px;
  }

  .projected-wealth-sum {
    font-size: 2.4rem;
  }

  .demo-hub-tabs {
    flex-direction: column;
  }

  .demo-tab-btn {
    text-align: center;
    width: 100%;
  }

  #tabWorkerApp > div, #tabAdminConsole > div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  #downloadAppModal .download-qr-grid,
  #downloadAppModal .modal-box > div:nth-child(3) {
    grid-template-columns: 1fr !important;
  }

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .enterprise-stat-boxes {
    grid-template-columns: 1fr;
  }

  .scheme-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-select {
    width: 100%;
  }

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

  .phone-mockup-wrapper {
    width: 250px;
    height: 500px;
  }

  .pill-selector {
    justify-content: center;
  }
}
