/* ==========================================================================
   Mera SATHi — OFFICIAL PRODUCTION WEBSITE STYLESHEET
   Brand Identity: White + Royal Blue (#1E5AF6)
   Designed for High Performance, Premium SaaS Aesthetic & Payment Gateway Compliance
   ========================================================================== */

:root {
  --primary: #1E5AF6;
  --primary-hover: #1449db;
  --primary-dark: #0D3BB3;
  --primary-light: #EEF4FF;
  --primary-glow: rgba(30, 90, 246, 0.15);
  --accent-cyan: #06B6D4;
  --accent-orange: #F59E0B;
  --accent-green: #10B981;
  --accent-red: #EF4444;

  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --border-color: #E2E8F0;
  --border-focus: #1E5AF6;
  --border-hover: #CBD5E1;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(30, 90, 246, 0.1), 0 6px 16px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 50px -10px rgba(30, 90, 246, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.06);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1200px;
  --nav-height: 76px;
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

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

button, input, textarea, select {
  font: inherit;
}

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

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.section {
  padding: 96px 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.section-header h2 {
  margin-bottom: 14px;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.3);
}

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 90, 246, 0.4);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-dark);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-dark);
}

.btn-ghost:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

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

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

.btn-playstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(30, 90, 246, 0.25), 0 8px 24px rgba(30, 90, 246, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  letter-spacing: -0.01em;
}

.btn-playstore:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #2563EB 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(30, 90, 246, 0.35), 0 12px 30px rgba(30, 90, 246, 0.45);
}

.btn-playstore:active {
  transform: translateY(0);
  box-shadow: 0 0 0 2px rgba(30, 90, 246, 0.3), 0 4px 14px rgba(30, 90, 246, 0.3);
}

.btn-playstore svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-playstore:hover svg {
  transform: scale(1.08);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background-color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(30, 90, 246, 0.15);
  display: block;
}

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

.brand-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none !important;
  font-style: normal;
}

.brand-title-footer {
  color: #FFFFFF !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  text-transform: none !important;
  font-style: normal !important;
}

.brand-name, .brand-highlight, .brand-wordmark {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none !important;
  font-style: normal;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background-color: #FFFFFF;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  border-top: 1px solid var(--border-color);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(30, 90, 246, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 600px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.hero-pill-badge {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero-title-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-badge-item svg {
  color: var(--primary);
}

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

.phone-mockup {
  width: 320px;
  height: 640px;
  background-color: #0F172A;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 30px 70px -15px rgba(30, 90, 246, 0.25), 0 15px 30px -10px rgba(15, 23, 42, 0.15);
  position: relative;
  border: 4px solid #1E293B;
}

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

/* Phone Screen Internal Elements */
.phone-notch {
  width: 110px;
  height: 22px;
  background-color: #0F172A;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-header {
  background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%);
  padding: 30px 16px 16px 16px;
  color: #FFFFFF;
}

.phone-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.phone-city-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.phone-search-bar {
  background-color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.phone-body {
  padding: 14px;
  flex: 1;
  overflow-y: hidden;
  background-color: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.phone-cat-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid #E2E8F0;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dark);
}

.phone-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin: 0 auto 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-feed-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2px;
}

.phone-listing-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #E2E8F0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-listing-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #EEF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
}

.phone-listing-info {
  flex: 1;
}

.phone-listing-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
}

.phone-listing-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.phone-listing-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

.floating-pill {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  z-index: 20;
}

.pill-1 {
  top: 12%;
  left: -20px;
  animation: float 4s ease-in-out infinite;
}

.pill-2 {
  bottom: 18%;
  right: -25px;
  animation: float 4s ease-in-out infinite 2s;
}

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

/* ==========================================================================
   Why We Built Mera SATHi — Elevated Hyperlocal Storytelling UI
   ========================================================================== */
.why-built-section {
  position: relative;
  overflow: hidden;
  background-color: #F8FAFC;
  padding: 100px 0 110px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.why-built-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.why-built-glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.12) 0%, rgba(6, 182, 212, 0.05) 70%, transparent 100%);
  top: -80px;
  left: -100px;
}

.why-built-glow-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.04) 70%, transparent 100%);
  bottom: -60px;
  right: -100px;
}

.why-built-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(30, 90, 246, 0.22);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.08);
}

.why-built-badge-pill .live-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite;
}

.why-built-badge-pill .badge-divider {
  color: #94A3B8;
  font-size: 0.8rem;
}

.why-built-badge-pill .badge-sub {
  color: #475569;
  font-weight: 600;
}

.why-built-title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-built-lead {
  max-width: 760px;
  margin: 0 auto 40px auto;
  color: #64748B;
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Key Metrics Strip */
.why-built-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 44px auto;
}

.why-stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E5AF6, #10B981);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(30, 90, 246, 0.12);
  border-color: rgba(30, 90, 246, 0.3);
}

.why-stat-card:hover::after {
  opacity: 1;
}

.why-stat-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.why-stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.why-stat-desc {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.4;
}

/* View Switcher */
.why-view-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 36px auto;
  background: #EEF2F6;
  padding: 5px;
  border-radius: 100px;
  width: fit-content;
  max-width: 100%;
}

.why-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.22s ease;
}

.why-switch-btn:hover {
  color: var(--text-dark);
}

.why-switch-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  font-weight: 700;
}

/* Comparison Arena */
.why-comparison-arena {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto 56px auto;
  transition: all 0.3s ease;
}

.why-comparison-arena[data-view="problem"] {
  grid-template-columns: 1fr;
}
.why-comparison-arena[data-view="problem"] .why-panel-solution,
.why-comparison-arena[data-view="problem"] .why-connector-col {
  display: none !important;
}

.why-comparison-arena[data-view="solution"] {
  grid-template-columns: 1fr;
}
.why-comparison-arena[data-view="solution"] .why-panel-problem,
.why-comparison-arena[data-view="solution"] .why-connector-col {
  display: none !important;
}

/* Panels */
.why-panel {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.why-panel-problem {
  border-top: 4px solid #EF4444;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%);
}

.why-panel-solution {
  border-top: 4px solid #10B981;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.why-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.why-panel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-panel-icon-wrap.icon-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.why-panel-icon-wrap.icon-success {
  background: #D1FAE5;
  color: #059669;
}

.why-panel-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.why-panel-tag.tag-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.why-panel-tag.tag-success {
  background: #D1FAE5;
  color: #047857;
}

.why-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
}

.why-panel-sub {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.4;
}

/* Connector Column */
.why-connector-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.why-connector-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(203, 213, 225, 0.8), transparent);
}

.why-connector-badge {
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  margin: 12px 0;
  z-index: 2;
}

.connector-vs {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.connector-sub {
  font-size: 0.52rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

/* Cards List */
.why-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-item {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  outline: none;
}

.why-item:hover,
.why-item:focus-visible,
.why-item.is-paired-hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.why-item-problem:hover,
.why-item-problem:focus-visible,
.why-item-problem.is-paired-hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 8px 22px -4px rgba(239, 68, 68, 0.16);
  background: #FFFBFB;
}

.why-item-solution:hover,
.why-item-solution:focus-visible,
.why-item-solution.is-paired-hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 8px 22px -4px rgba(16, 185, 129, 0.18);
  background: #F7FEFA;
}

.why-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.why-item-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.why-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
}

.badge-danger {
  background: #FEE2E2;
  color: #B91C1C;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.why-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.why-item-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Micro Snippet inside item */
.why-micro-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.snippet-danger {
  background: rgba(254, 226, 226, 0.6);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  color: #991B1B;
}

.snippet-success {
  background: rgba(209, 250, 229, 0.6);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  color: #065F46;
}

.snippet-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
}

.why-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.why-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
}

.why-tag.tag-verified {
  background: #ECFDF5;
  color: #065F46;
}

/* Backward compatibility classes */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.comparison-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.comparison-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.comparison-box.negative {
  border-top: 4px solid #EF4444;
}
.comparison-box.positive {
  border-top: 4px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--primary-light) 100%);
}
.comparison-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.comparison-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.comparison-box.negative .comparison-icon {
  background-color: #FEE2E2;
  color: #EF4444;
}
.comparison-box.positive .comparison-icon {
  background-color: var(--primary);
  color: #FFFFFF;
}
.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}
.comparison-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Stakeholder Pillars */
.why-stakeholders-wrap {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.why-stakeholders-header {
  margin-bottom: 36px;
}

.stakeholder-main-title {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 10px 0 8px 0;
}

.stakeholder-lead {
  font-size: 0.98rem;
  color: #64748B;
  max-width: 600px;
  margin: 0 auto;
}

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

.stakeholder-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.stakeholder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(30, 90, 246, 0.1);
  border-color: rgba(30, 90, 246, 0.3);
}

.stakeholder-card.highlighted {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.1);
}

.stakeholder-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.stakeholder-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 6px;
}

.stakeholder-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.stakeholder-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.stakeholder-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding-top: 14px;
}

.stakeholder-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.stakeholder-checks li span {
  color: #10B981;
  font-weight: 800;
}

/* Bottom Callout */
.why-bottom-callout {
  margin-top: 48px;
  background: linear-gradient(135deg, #1E5AF6 0%, #1449db 100%);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 36px -6px rgba(30, 90, 246, 0.28);
  color: #FFFFFF;
}

.callout-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.callout-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-text strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.callout-text span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.callout-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.callout-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.callout-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.callout-actions .btn-primary {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.callout-actions .btn-primary:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .why-built-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-comparison-arena {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-connector-col {
    display: none;
  }
  .why-stakeholders-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .why-bottom-callout {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .callout-content {
    flex-direction: column;
  }
  .callout-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .why-built-stats-strip {
    grid-template-columns: 1fr;
  }
  .why-panel {
    padding: 22px 16px;
  }
  .why-view-switcher {
    flex-wrap: wrap;
    border-radius: 16px;
    width: 100%;
  }
  .why-switch-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Platform Features Section ("Built for Genuine City Life") - Elevated UI
   ========================================================================== */
.features-section {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
  padding: 100px 0 110px 0;
}

.features-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-feat-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.12) 0%, rgba(6, 182, 212, 0.05) 70%, transparent 100%);
  top: -100px;
  right: -80px;
}

.glow-feat-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(239, 68, 68, 0.04) 70%, transparent 100%);
  bottom: 0px;
  left: -120px;
}

.features-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF4FF;
  border: 1px solid rgba(30, 90, 246, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(30, 90, 246, 0.08);
}

.features-badge-pill .live-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite;
}

.features-badge-pill .badge-divider {
  color: #94A3B8;
  font-size: 0.8rem;
}

.features-badge-pill .badge-sub {
  color: #475569;
  font-weight: 600;
}

.features-main-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.features-gradient-text {
  background: linear-gradient(135deg, #1E5AF6 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.features-lead {
  max-width: 680px;
  margin: 0 auto 36px auto;
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Feature Filter Wrapper & Bar */
.features-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 48px auto;
  padding: 0 16px;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.features-filter-wrapper::-webkit-scrollbar {
  display: none;
}

.features-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F1F5F9;
  padding: 5px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.03);
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: auto;
  box-sizing: border-box;
  margin: 0;
}

.feature-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #64748B;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  user-select: none;
  box-sizing: border-box;
}

.feature-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 100px;
  background: rgba(148, 163, 184, 0.16);
  color: #64748B;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.feature-filter-btn:focus {
  outline: none !important;
}

.feature-filter-btn:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 2px rgba(30, 90, 246, 0.35);
}

.feature-filter-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.75);
  color: #0F172A;
}

.feature-filter-btn.active {
  background: #FFFFFF;
  color: #1E5AF6;
  font-weight: 700;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.feature-filter-btn.active .filter-count {
  background: rgba(30, 90, 246, 0.12);
  color: #1E5AF6;
}

/* Features Bento Grid */
.features-grid.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              opacity 0.28s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-accent, #1E5AF6);
  opacity: 0.85;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 20px 40px -12px var(--c-glow, rgba(15, 23, 42, 0.1)), 0 0 0 1px rgba(30, 90, 246, 0.12);
}

.feature-card:hover::before {
  height: 4px;
  opacity: 1;
}

.feature-card.is-hidden {
  display: none !important;
}

/* Hero & Highlight Variants */
.feature-card-hero {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: rgba(30, 90, 246, 0.25);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-card-sos {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
}

.feature-card-sos::before {
  background: linear-gradient(90deg, #EF4444 0%, #F59E0B 100%);
}

.feature-card-sos:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 40px -12px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.22);
}

/* iOS Showcase Banner (Full-Width 3 cols) */
.feature-card-ios-showcase {
  grid-column: span 3;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FF 100%);
  border-color: rgba(99, 102, 241, 0.25);
  padding: 30px;
}

.feature-card-ios-showcase::before {
  background: linear-gradient(90deg, #6366F1 0%, #06B6D4 100%);
}

.feature-card-ios-showcase:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 22px 45px -12px rgba(99, 102, 241, 0.16), 0 0 0 1px rgba(99, 102, 241, 0.22);
}

/* Filter-Specific Dynamic Grid Symmetries */
.features-grid[data-active-filter="essentials"] .feature-card-hero {
  grid-column: span 1;
}

.features-grid[data-active-filter="safety"] .feature-card-wide {
  grid-column: span 1;
}

.features-grid[data-active-filter="roadmap"] {
  grid-template-columns: repeat(2, 1fr);
}

.features-grid[data-active-filter="roadmap"] .feature-card-ios-showcase {
  grid-column: span 1;
  padding: 26px;
}

.features-grid[data-active-filter="roadmap"] .ios-showcase-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.ios-showcase-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 32px;
  align-items: center;
}

.ios-showcase-content {
  display: flex;
  flex-direction: column;
}

.ios-showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dynamic Island Mockup */
.dynamic-island-mockup {
  width: 100%;
  max-width: 380px;
}

.island-pill {
  background: #050811;
  color: #FFFFFF;
  border-radius: 28px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-island-mockup:hover .island-pill {
  transform: scale(1.02);
}

.island-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.island-delivery-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.island-text-info {
  display: flex;
  flex-direction: column;
}

.island-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.island-eta {
  font-size: 0.7rem;
  color: #94A3B8;
}

.island-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.island-otp-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #10B981;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.island-audio-wave {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulseDot 1.4s infinite;
}

.island-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.74rem;
  color: #6366F1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Card Top Row */
.feature-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-bg, rgba(30, 90, 246, 0.08));
  color: var(--c-accent, #1E5AF6);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease;
  margin-bottom: 0;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.feature-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-cat-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 100px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.sos-pill {
  background: #FEE2E2;
  color: #DC2626;
  border-color: rgba(239, 68, 68, 0.25);
}

.feature-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.status-active {
  background-color: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-active .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  display: inline-block;
}

.status-coming-soon {
  background-color: #FEF3C7;
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: #64748B;
  font-size: 0.91rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

/* Mini Feature Widgets - Unified Luxury Styling */
.feature-mini-widget {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.feature-card:hover .feature-mini-widget {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Widget Geofence */
.widget-geofence {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-geofence .widget-geo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EEF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.widget-geo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.geo-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.geo-status-line strong {
  font-size: 0.82rem;
  color: #0F172A;
  font-weight: 700;
}

.geo-coord-badge {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1E5AF6;
  background: #EEF4FF;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(30, 90, 246, 0.15);
}

.widget-geo-text span {
  font-size: 0.74rem;
  color: #64748B;
}

.widget-geo-cities {
  display: flex;
  gap: 6px;
}

.geo-city-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.geo-city-chip.active {
  background: #EEF4FF;
  color: #1E5AF6;
  border-color: rgba(30, 90, 246, 0.3);
}

/* Widget Pro Preview */
.widget-pro-preview .pro-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-avatar-chip {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.12);
  color: #0891B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pro-details {
  display: flex;
  flex-direction: column;
}

.pro-details strong {
  font-size: 0.82rem;
  color: #0F172A;
  font-weight: 700;
}

.pro-rating-line {
  font-size: 0.73rem;
  color: #64748B;
}

.pro-rate-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  align-self: flex-start;
}

/* Widget PG Preview */
.widget-pg-preview .pg-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.widget-pg-preview strong {
  font-size: 0.82rem;
  color: #0F172A;
  font-weight: 700;
}

.pg-badge-rent {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0D9488;
  background: #F0FDFA;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.pg-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.72rem;
  color: #475569;
}

.pg-amenities-tags span {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
}

/* Widget SOS */
.widget-sos {
  background: #FFF5F5;
  border-color: rgba(239, 68, 68, 0.2);
  gap: 10px;
}

.widget-sos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sos-indicator-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #B91C1C;
}

.sos-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: pulseDot 1.5s infinite;
}

.sos-telemetry-pill {
  font-size: 0.7rem;
  color: #DC2626;
  font-weight: 700;
  background: #FEE2E2;
  padding: 2px 8px;
  border-radius: 100px;
}

.widget-sos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sos-chip {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sos-chip-red {
  background: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.sos-chip-red:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.sos-chip-amber {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sos-chip-slate {
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
}

/* Widget Rental Preview */
.rental-preview-row, .job-preview-top, .relocation-target-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rental-preview-row strong, .job-preview-top strong, .relocation-target-line strong {
  font-size: 0.82rem;
  color: #0F172A;
  font-weight: 700;
}

.rental-rate-chip {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284C7;
  background: #F0F9FF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.rental-sub-text, .job-sub-text, .relocation-result-tag {
  font-size: 0.73rem;
  color: #64748B;
}

.job-salary-chip {
  font-size: 0.75rem;
  font-weight: 800;
  color: #7C3AED;
  background: #F5F3FF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.relocation-budget {
  font-size: 0.75rem;
  font-weight: 800;
  color: #D97706;
  background: #FFFBEB;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

/* Widget Pipeline */
.widget-pipeline {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #F1F5F9;
  padding: 10px 14px;
}

.mini-track-step {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-track-step.done {
  color: #10B981;
}

.mini-track-step.active {
  color: #2563EB;
}

.mini-track-arrow {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* Widget Diff Preview */
.widget-diff-preview {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.diff-preview-col {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diff-preview-col strong {
  font-size: 0.76rem;
  color: #0F172A;
}

.diff-preview-col span {
  font-size: 0.71rem;
  color: #059669;
  font-weight: 600;
}

.diff-preview-vs {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.04em;
}

/* Widget Escrow Preview */
.escrow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.escrow-node {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 4px 8px;
  border-radius: 7px;
}

.escrow-node.highlight {
  color: #EA580C;
  background: #FFF7ED;
  border-color: rgba(234, 88, 12, 0.3);
}

.escrow-arr {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* Micro Perks Row */
.feature-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.mini-feature-perk {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.feature-card:hover .mini-feature-perk {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #1E293B;
}

/* Responsive Bento Breakpoints */
@media (max-width: 991px) {
  .features-grid.bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-hero, .feature-card-wide, .feature-card-ios-showcase {
    grid-column: span 2;
  }
  .ios-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .features-filter-wrapper {
    justify-content: flex-start;
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .features-grid.bento-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-hero, .feature-card-wide, .feature-card-ios-showcase {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 20px;
  }
  .widget-diff-preview {
    flex-direction: column;
    align-items: stretch;
  }
  .widget-sos-chips {
    flex-direction: column;
  }
  .widget-pipeline {
    flex-wrap: wrap;
    gap: 6px;
  }
  .widget-geo-cities {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Two-Sided Marketplace Ecosystem (Citizens & Local Businesses) - Elevated UI
   ========================================================================== */
.ecosystem-section {
  position: relative;
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 100px 0 110px 0;
  overflow: hidden;
}

/* Ambient Glowing Light Orbs */
.ecosystem-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ecosystem-ambient-glow.glow-1 {
  top: 5%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.15) 0%, rgba(30, 90, 246, 0.02) 70%, transparent 100%);
}

.ecosystem-ambient-glow.glow-2 {
  bottom: 10%;
  right: 8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, rgba(6, 182, 212, 0.02) 70%, transparent 100%);
}

.ecosystem-ambient-glow.glow-3 {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

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

/* Header Badge Pill */
.ecosystem-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(30, 90, 246, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px -2px rgba(30, 90, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ecosystem-badge-pill .badge-text {
  color: var(--primary);
  font-weight: 800;
}

.ecosystem-badge-pill .badge-divider {
  color: #94A3B8;
  font-weight: 400;
}

.ecosystem-badge-pill .badge-sub {
  color: #059669;
  font-weight: 700;
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreenGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGreenGlow {
  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 9px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.ecosystem-main-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.eco-gradient-text {
  background: linear-gradient(135deg, #1E5AF6 0%, #0284C7 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ecosystem-lead {
  max-width: 780px;
  margin: 0 auto 36px auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

/* 3 Core Highlight Pillars (Glass Cards) */
.ecosystem-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 36px auto 48px auto;
  text-align: left;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pillar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E5AF6 0%, #06B6D4 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pillar-item:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(30, 90, 246, 0.12), 0 0 0 1px rgba(30, 90, 246, 0.2);
}

.pillar-item:hover::before {
  opacity: 1;
}

.pillar-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--p-bg);
  color: var(--p-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease;
}

.pillar-item:hover .pillar-icon-wrap {
  transform: scale(1.08) rotate(2deg);
}

.pillar-content {
  flex: 1;
  min-width: 0;
}

.pillar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pillar-content strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.pillar-chip {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

.pillar-content p {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

/* Persona Tabs Switcher */
.ecosystem-tabs {
  display: flex;
  align-items: center;
  background: #F8FAFC;
  padding: 6px;
  border-radius: 100px;
  border: 1px solid #E2E8F0;
  max-width: 880px;
  width: 100%;
  margin: 0 auto 48px auto;
  gap: 6px;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.tab-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.tab-btn:focus {
  outline: none !important;
}

.tab-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(30, 90, 246, 0.25);
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
  color: #1E293B;
}

.tab-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  transition: all 0.22s ease;
}

.tab-btn-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.tab-btn-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-btn-desc {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
  line-height: 1.25;
}

.tab-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  background: #EDF2F7;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.tab-btn.active {
  background: #FFFFFF;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.tab-btn.active#tab-buyer .tab-btn-icon,
.tab-btn.active[data-target="buyer-pane"] .tab-btn-icon {
  background: linear-gradient(135deg, #1E5AF6 0%, #06B6D4 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(30, 90, 246, 0.3);
}

.tab-btn.active#tab-seller .tab-btn-icon,
.tab-btn.active[data-target="seller-pane"] .tab-btn-icon {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.tab-btn.active .tab-btn-title {
  color: #0F172A;
}

.tab-btn.active .tag-buyer {
  background: #EEF4FF;
  color: #1E5AF6;
  border: 1px solid rgba(30, 90, 246, 0.2);
}

.tab-btn.active .tag-seller {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Panes */
.ecosystem-pane {
  display: none;
}

.ecosystem-pane.active {
  display: block;
  animation: ecoFadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Grid Layout */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.ecosystem-steps-wrap {
  min-width: 0;
}

.ecosystem-steps-header {
  margin-bottom: 24px;
}

.flow-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #EEF4FF;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 10px;
  border: 1px solid rgba(30, 90, 246, 0.2);
}

.flow-step-tag.tag-merchant {
  background: #ECFDF5;
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.flow-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.flow-pill-dot.green {
  background: #10B981;
}

.ecosystem-steps-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ecosystem-steps-header p {
  font-size: 0.94rem;
  color: #64748B;
  line-height: 1.5;
}

/* Workflow Steps */
.workflow-steps-modern {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-steps-modern::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 24px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, #1E5AF6 0%, #06B6D4 50%, #10B981 100%);
  opacity: 0.55;
  z-index: 1;
}

.step-card-modern {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 18px 22px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.step-card-modern:hover {
  transform: translateX(8px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px -6px rgba(30, 90, 246, 0.15);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-num {
  font-size: 0.74rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.merchant-workflow .step-num {
  color: #059669;
}

.step-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EEF4FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(30, 90, 246, 0.15);
  transition: all 0.25s ease;
}

.step-icon-bubble.green-bubble {
  background: #ECFDF5;
  color: #059669;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.18);
}

.step-card-modern:hover .step-icon-bubble {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1);
}

.step-card-modern:hover .step-icon-bubble.green-bubble {
  background: #059669;
  color: #FFFFFF;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.step-title-row h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.step-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.step-pill.pill-green {
  background: #ECFDF5;
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.step-card-modern:hover .step-pill {
  background: #EEF4FF;
  color: var(--primary);
  border-color: rgba(30, 90, 246, 0.25);
}

.step-card-modern:hover .step-pill.pill-green {
  background: #D1FAE5;
  color: #047857;
}

.step-body p {
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.step-perks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-perk {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

/* Smartphone Mockup Frame Container */
.ecosystem-mockup-wrap {
  position: sticky;
  top: 96px;
}

.phone-frame-container {
  position: relative;
  max-width: 410px;
  margin: 0 auto;
}

/* Floating Badges with High-End Glassmorphism */
.floating-badge {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 10px 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(30, 90, 246, 0.1);
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -16px;
  right: -16px;
}

.badge-bottom-left {
  bottom: -16px;
  left: -16px;
  animation-delay: -2s;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.pulse-radar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1E5AF6;
  box-shadow: 0 0 0 4px rgba(30, 90, 246, 0.25);
  animation: radarWave 2s infinite ease-out;
}

.pulse-emerald {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: radarWave 2s infinite ease-out;
}

@keyframes radarWave {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.fb-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.fb-sub {
  display: block;
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 600;
  margin-top: 1px;
}

.fb-icon-shield {
  font-size: 1.15rem;
}

/* Smartphone Hardware Chassis */
.smartphone-chassis {
  background: #0F172A;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 35px 80px -15px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 50px -10px rgba(30, 90, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.phone-dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  gap: 8px;
}

.camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sensor-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0F172A;
}

.phone-screen-inner {
  background: #F8FAFC;
  border-radius: 38px;
  padding: 24px 14px 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px 10px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
}

.battery-icon {
  width: 18px;
  height: 9px;
  border: 1.5px solid var(--text-dark);
  border-radius: 3px;
  padding: 1px;
  display: inline-flex;
}

.battery-level {
  width: 75%;
  height: 100%;
  background: var(--text-dark);
  border-radius: 1px;
}

/* Location Bar inside Simulation */
.sim-location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.sim-loc-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loc-pin-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #EEF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-text-col {
  display: flex;
  flex-direction: column;
}

.loc-city {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dark);
}

.loc-radius {
  font-size: 0.65rem;
  color: #64748B;
}

.sim-gps-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #ECFDF5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gps-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulseGreen 1.5s infinite;
}

/* Category Horizontal Scroll */
.sim-category-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.sim-category-scroll::-webkit-scrollbar {
  display: none;
}

.sim-cat-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  white-space: nowrap;
}

.sim-cat-chip.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 90, 246, 0.25);
}

/* Provider Listing Card inside Screen */
.sim-provider-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  margin-bottom: 12px;
}

.sim-provider-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.sim-provider-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF4FF 0%, #E0E7FF 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(30, 90, 246, 0.2);
}

.avatar-verified-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.sim-name-badge h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.sim-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  margin-top: 3px;
  flex-wrap: wrap;
}

.sim-rating-row .stars {
  color: #F59E0B;
  font-size: 0.78rem;
}

.sim-rating-row .score {
  font-weight: 800;
  color: var(--text-dark);
}

.sim-rating-row .count,
.sim-rating-row .distance {
  color: #64748B;
}

.sim-service-details {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px dashed #CBD5E1;
}

.sim-service-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.service-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-badge-open {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ECFDF5;
  color: #059669;
}

.sim-pricing-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  color: var(--primary);
  font-weight: 900;
}

.price-wrap .currency {
  font-size: 0.8rem;
}

.price-wrap .price {
  font-size: 1.1rem;
}

.rate-note {
  font-size: 0.68rem;
  color: #64748B;
}

/* Tracker Simulation */
.sim-tracker-box {
  background: #EEF4FF;
  border: 1px solid rgba(30, 90, 246, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.tracker-label {
  color: #64748B;
  font-weight: 600;
}

.tracker-status.pulse-glow {
  color: var(--primary);
  font-weight: 800;
  animation: pulseBlue 1.6s infinite ease-in-out;
}

.tracker-eta-badge {
  font-size: 0.7rem;
  color: #1E293B;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.tracker-progress-bar {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.tracker-progress-bar::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #CBD5E1;
  z-index: 1;
}

.tracker-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tracker-step .step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #CBD5E1;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #FFFFFF;
  position: relative;
}

.tracker-step .step-lbl {
  font-size: 0.62rem;
  color: #64748B;
  font-weight: 700;
}

.tracker-step.done .step-dot {
  background: #10B981;
}

.tracker-step.done .step-lbl {
  color: #059669;
}

.tracker-step.active .step-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 90, 246, 0.3);
}

.tracker-step.active .step-lbl {
  color: var(--primary);
  font-weight: 900;
}

.pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Action Buttons inside Simulation */
.sim-action-row {
  display: flex;
  gap: 8px;
}

.sim-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.sim-btn-outline {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-dark);
}

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

.sim-btn-primary.glow-cta {
  background: linear-gradient(135deg, #1E5AF6 0%, #06B6D4 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.35);
}

.sim-btn.sm {
  padding: 6px 10px;
  font-size: 0.72rem;
}

/* Trust Badges inside Simulation */
.sim-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
}

.sim-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #475569;
}

.sim-trust-item .trust-icon {
  font-size: 0.85rem;
}

/* Merchant Hub Simulation Styles */
.merchant-hub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.merchant-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FEF3C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.merchant-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.merchant-name-row h5 {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.verified-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.merchant-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #059669;
  font-weight: 700;
  margin-top: 2px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.merchant-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpi-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}

.kpi-label {
  display: block;
  font-size: 0.62rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.kpi-val {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 2px 0;
}

.kpi-sub {
  display: block;
  font-size: 0.62rem;
  color: #059669;
  font-weight: 700;
}

.sim-lead-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 90, 246, 0.25);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.08);
}

.sim-lead-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sim-lead-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  background: #EEF4FF;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bell-ring {
  animation: bellShake 1.5s infinite;
}

@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  20%, 60% { transform: rotate(15deg); }
  40%, 80% { transform: rotate(-15deg); }
}

.lead-time {
  font-size: 0.68rem;
  color: #D97706;
  font-weight: 800;
}

.lead-details h6 {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.lead-address {
  font-size: 0.72rem;
  color: #64748B;
  margin-bottom: 8px;
}

.lead-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 10px;
  background: #F8FAFC;
  border-radius: 8px;
  margin-bottom: 10px;
}

.lead-amount {
  font-size: 0.95rem;
  font-weight: 900;
  color: #059669;
}

.lead-mode {
  font-size: 0.68rem;
  color: #64748B;
}

.lead-actions {
  display: flex;
  gap: 8px;
}

.merchant-perks-list {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
}

.perk-check {
  color: #059669;
  font-weight: 900;
}

/* Responsive Rules for Ecosystem Section */
@media (max-width: 991px) {
  .ecosystem-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ecosystem-mockup-wrap {
    position: static;
  }
  .badge-top-right {
    top: -10px;
    right: 0;
  }
  .badge-bottom-left {
    bottom: -10px;
    left: 0;
  }
}

@media (max-width: 640px) {
  .ecosystem-tabs {
    flex-direction: column;
    border-radius: 20px;
  }
  .tab-btn {
    border-radius: 14px;
  }
  .tab-tag {
    display: none;
  }
  .step-card-modern {
    padding: 16px 18px;
  }
  .workflow-steps-modern::before {
    left: 36px;
  }
  .phone-frame-container {
    max-width: 100%;
  }
  .floating-badge {
    position: static;
    margin-bottom: 12px;
  }
}


/* ==========================================================================
   SECURE TRANSACTIONS & FINANCIAL INTEGRITY — PREMIUM FINTECH UI
   Bank-Grade Glassmorphic Architecture, Neon Trust Accents & Rail Badges
   ========================================================================== */
#security {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.security-banner {
  position: relative;
  background: radial-gradient(120% 120% at 15% 10%, #0F1C36 0%, #090E1A 45%, #050811 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  border-radius: 32px;
  padding: 64px 54px;
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

/* Ambient glow orbs */
.security-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
}

.security-glow-top {
  top: -120px;
  left: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 70%);
}

.security-glow-bottom {
  bottom: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.22) 0%, rgba(30, 90, 246, 0) 70%);
}

/* Header Area */
.security-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.security-header-left {
  max-width: 680px;
}

.security-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34D399;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.security-live-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981, 0 0 18px #10B981;
  animation: pulseLiveGreen 2s infinite ease-in-out;
}

@keyframes pulseLiveGreen {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.security-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 16px;
}

.security-title-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #34D399 50%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.security-banner p.security-lead {
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Trust Quick Chips */
.security-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.security-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.security-stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.security-stat-pill svg {
  color: #38BDF8;
  flex-shrink: 0;
}

/* Grid Layout */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

@media (max-width: 1100px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

/* Glassmorphic Cards */
.security-item {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease,
              background 0.32s ease;
  overflow: hidden;
}

.security-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.security-item:hover {
  transform: translateY(-6px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(59, 130, 246, 0.2);
}

.security-item:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent 0%, #60A5FA 50%, transparent 100%);
}

.security-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.security-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.security-item:hover .security-icon-box {
  transform: scale(1.08) rotate(2deg);
}

/* Card Icon Themes */
.icon-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38BDF8;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.15);
}

.icon-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #60A5FA;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.icon-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34D399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #C084FC;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.2);
}

.security-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

.security-item h4 {
  color: #FFFFFF;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.security-item p {
  color: #94A3B8;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.security-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sec-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sec-chip.highlight {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

/* Bottom Rails & Verification Bar */
.security-rails-footer {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.security-rails-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.88rem;
  font-weight: 600;
}

.security-rails-title svg {
  color: #10B981;
}

.security-rails-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rail-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #F1F5F9;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.rail-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.rail-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
}

.security-guarantee-note {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 12px 18px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 12px;
  font-size: 0.82rem;
  color: #A7F3D0;
  flex-wrap: wrap;
  gap: 12px;
}

.security-guarantee-note a {
  color: #6EE7B7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.security-guarantee-note a:hover {
  color: #FFFFFF;
}

/* Legal Pages Styling */
/* ==========================================================================
   ELEVATED LEGAL & POLICY PAGES DESIGN SYSTEM
   Modern SaaS / Apple-tier Aesthetic with Glassmorphism, Micro-Badges & Fluid Cards
   ========================================================================== */

.legal-header {
  padding-top: calc(var(--nav-height) + 36px);
  padding-bottom: 36px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(30, 90, 246, 0.09) 0%, rgba(248, 250, 252, 0.95) 55%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.legal-header::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(35px);
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.legal-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-breadcrumbs a:hover {
  color: var(--primary);
}

.legal-breadcrumbs .crumb-sep {
  opacity: 0.45;
  font-size: 0.75rem;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(30, 90, 246, 0.25);
  box-shadow: 0 2px 10px rgba(30, 90, 246, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.legal-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.legal-header h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-header-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.legal-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

.legal-meta-chip.verified {
  border-color: rgba(16, 185, 129, 0.35);
  color: #065F46;
  background: rgba(16, 185, 129, 0.08);
}

/* Policy Switcher Tabs */
.policy-switcher-wrap {
  margin-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding-top: 20px;
}

.policy-switcher-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.policy-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.policy-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.policy-tab-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.policy-tab-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.3);
}

.policy-tab-item.active .tab-icon {
  filter: brightness(1.2);
}

/* Legal Content Section */
.legal-content {
  padding: 48px 0 88px 0;
  background: #FAFAFC;
}

.legal-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* Policy Highlights Bento Row */
.policy-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.policy-highlight-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.policy-highlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 90, 246, 0.4);
  box-shadow: 0 6px 18px rgba(30, 90, 246, 0.08);
}

.highlight-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.highlight-icon {
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.highlight-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.highlight-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Enhanced Table of Contents Sidebar */
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.legal-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.legal-toc-title {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.legal-toc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 999px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100vh - 380px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.legal-toc-list a {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.legal-toc-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 12px;
}

.legal-toc-list a.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border-left-color: var(--primary);
}

.legal-toc-contact {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.legal-toc-contact-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-toc-contact-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.legal-toc-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 6px;
}

.legal-toc-contact-phone:hover {
  text-decoration: underline;
}

.legal-toc-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.legal-toc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.legal-toc-btn-call {
  background: var(--primary);
  color: #FFFFFF;
}

.legal-toc-btn-call:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
}

.legal-toc-btn-wa {
  background: #059669;
  color: #FFFFFF;
}

.legal-toc-btn-wa:hover {
  background: #047857;
  color: #FFFFFF;
}

/* Enhanced Legal Document Body */
.legal-body {
  max-width: 860px;
}

.legal-section-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  scroll-margin-top: 100px;
}

.legal-section-card:hover {
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(30, 90, 246, 0.25);
  flex-shrink: 0;
}

.legal-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  margin: 0;
  border: none;
  padding: 0;
}

.legal-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-body p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-body ul li, .legal-body ol li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

.legal-body ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.legal-body ol {
  counter-reset: policy-step;
}

.legal-body ol li {
  counter-increment: policy-step;
}

.legal-body ol li::before {
  content: counter(policy-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.legal-body code {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.88rem;
  color: #0F172A;
  font-weight: 600;
}

/* Callout Box Variants */
.legal-callout {
  background: linear-gradient(180deg, #F0F6FF 0%, #EEF4FF 100%);
  border: 1px solid rgba(30, 90, 246, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.legal-callout-warning {
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid #F59E0B;
  color: #78350F;
}

.legal-callout-success {
  background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 4px solid #10B981;
  color: #064E3B;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* Statutory Officer Box */
.statutory-officer-box {
  background: #FFFFFF;
  border: 1px solid rgba(30, 90, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.05);
  margin-top: 18px;
}

.statutory-officer-box .officer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.officer-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.officer-detail-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* Bottom Policy Help Banner */
.legal-help-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.legal-help-banner::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.legal-help-info h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.legal-help-info p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.legal-help-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.legal-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.legal-help-btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.4);
}

.legal-help-btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.legal-help-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.legal-help-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(30, 90, 246, 0.15);
}

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

/* ==========================================================================
   ABOUT US PAGE - PREMIER HIGH-IMPACT DESIGN SYSTEM
   ========================================================================== */
.about-hero {
  position: relative;
  background: radial-gradient(circle at 12% 20%, rgba(30, 90, 246, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 88% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 130px 0 70px 0;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.about-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.about-breadcrumbs a:hover {
  color: var(--primary);
}

.about-breadcrumbs .crumb-sep {
  color: #CBD5E1;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 90, 246, 0.08);
  border: 1.5px solid rgba(30, 90, 246, 0.22);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(30, 90, 246, 0.06);
}

.about-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.about-hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  max-width: 960px;
  margin-bottom: 20px;
}

.about-hero-title .gradient-text {
  color: var(--primary);
  display: inline-block;
}

.about-hero-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 820px;
  margin-bottom: 34px;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.about-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 246, 0.3);
  box-shadow: 0 12px 28px rgba(30, 90, 246, 0.1);
}

.about-stat-card:hover::before {
  opacity: 1;
}

.about-stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-stat-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Common Section Wrapper */
.about-section {
  padding: 88px 0;
  position: relative;
}

.about-section-alt {
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.about-section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.about-section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Asymmetric Origin Story */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-story-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-quote-box {
  background: linear-gradient(135deg, #EEF4FF 0%, #F5F3FF 100%);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 28px;
  box-shadow: 0 4px 14px rgba(30, 90, 246, 0.06);
}

.about-quote-box p {
  font-size: 1.02rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.about-quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* Dilemmas Cards Stack */
.about-dilemma-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-dilemma-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-dilemma-card:hover {
  transform: translateX(6px);
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.dilemma-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dilemma-content h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.dilemma-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

/* Mission, Vision, Promise (Trio Bento) */
.about-trio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.about-trio-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.about-trio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 16px 36px rgba(30, 90, 246, 0.12);
}

.trio-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.about-trio-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-trio-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 22px;
  flex-grow: 1;
}

.trio-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.trio-highlights-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trio-highlights-list li span:first-child {
  color: var(--success);
  font-weight: 800;
}

/* 4 Core Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 246, 0.3);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pillar-num {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.about-pillar-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.about-pillar-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

/* 5 Verticals Super-App Showcase */
.about-verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.about-vertical-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
}

.about-vertical-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 12px 30px rgba(30, 90, 246, 0.09);
}

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

.vertical-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.vertical-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.vertical-tagline {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-vertical-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
}

.vertical-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vertical-bullet-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Audience Tri-Split */
.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.about-audience-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: all var(--transition-normal);
}

.about-audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 246, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.audience-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.about-audience-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.about-audience-card p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* Timeline */
.about-timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
}

.about-timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, #6366F1 50%, var(--purple) 100%);
}

.timeline-step {
  position: relative;
  padding-left: 72px;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 14px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 90, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.timeline-phase {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* Corporate Governance Card */
.about-gov-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.about-gov-box::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-gov-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 32px;
}

.about-gov-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.about-gov-header p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin: 0;
}

.about-gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.about-gov-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.about-gov-item strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  margin-bottom: 6px;
}

.about-gov-item span, .about-gov-item a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

.about-gov-item a:hover {
  color: #60A5FA;
  text-decoration: underline;
}

.about-gov-desk {
  background: rgba(30, 90, 246, 0.15);
  border: 1px solid rgba(30, 90, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.about-gov-desk-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.about-gov-desk-info p {
  color: #CBD5E1;
  font-size: 0.88rem;
  margin: 0;
}

.about-gov-desk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Big Bottom CTA Banner */
.about-bottom-cta {
  background: linear-gradient(135deg, #1E5AF6 0%, #172554 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(30, 90, 246, 0.25);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.about-bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.about-bottom-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.about-bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 72px 0 32px 0;
  border-top: 1px solid #1E293B;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin: 16px 0 24px 0;
  max-width: 320px;
}

.footer-corporate {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

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

.footer-legal-links a {
  color: #94A3B8;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Error Pages (404/500) */
.error-hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-content {
  max-width: 540px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

/* Accessibility: Focus and Reduced Motion */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@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;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    display: none;
  }
  .legal-section-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .legal-help-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-help-actions {
    width: 100%;
  }
  .legal-help-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .section {
    padding: 64px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
  .about-hero {
    padding: 110px 0 50px 0;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-gov-box {
    padding: 32px 24px;
  }
  .about-bottom-cta {
    padding: 44px 24px;
  }
  .about-timeline-wrap::before {
    left: 18px;
  }
  .timeline-marker {
    left: 4px;
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }
  .timeline-step {
    padding-left: 52px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group .btn {
    width: 100%;
  }
  .phone-mockup {
    width: 280px;
    height: 560px;
  }
  .floating-pill {
    display: none;
  }
  .security-banner {
    padding: 38px 20px;
    border-radius: 24px;
  }
  .security-header-wrap {
    margin-bottom: 28px;
    gap: 20px;
  }
  .security-quick-stats {
    width: 100%;
  }
  .security-stat-pill {
    width: 100%;
    justify-content: flex-start;
  }
  .security-item {
    padding: 22px 18px;
  }
  .security-rails-footer {
    padding-top: 20px;
    gap: 16px;
  }
  .security-guarantee-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .rail-badge {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
}

/* ==========================================================================
   App Download Banner — Redesigned Premium UI
   ========================================================================== */
.download-section {
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.download-card {
  position: relative;
  background: radial-gradient(130% 130% at 20% 0%, #1E3A8A 0%, #0F172A 55%, #090E17 100%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 64px 56px;
}

.download-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.download-glow-1 {
  width: 380px;
  height: 380px;
  background: rgba(30, 90, 246, 0.35);
  top: -120px;
  left: -80px;
}

.download-glow-2 {
  width: 320px;
  height: 320px;
  background: rgba(6, 182, 212, 0.22);
  bottom: -100px;
  right: 5%;
}

.download-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.download-content {
  text-align: left;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  color: #93C5FD;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.download-title {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.download-lead {
  color: #CBD5E1;
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.download-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.download-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #F1F5F9;
  font-size: 0.86rem;
  font-weight: 600;
}

.download-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.download-qr-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.download-qr-img {
  width: 54px;
  height: 54px;
  background: #FFFFFF;
  padding: 4px;
  border-radius: 10px;
  display: block;
}

.download-qr-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.qr-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.qr-sub {
  font-size: 0.72rem;
  color: #94A3B8;
}

.download-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Phone Mockup Frame */
.download-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  width: 290px;
  background: #090D16;
  border-radius: 38px;
  border: 4px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  padding: 12px 10px 14px 10px;
  position: relative;
  z-index: 2;
  transform: rotate(2deg);
  transition: transform var(--transition-smooth);
}

.phone-mockup-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-screen-header {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.phone-notch {
  width: 70px;
  height: 6px;
  background: #1E293B;
  border-radius: var(--radius-full);
}

.phone-screen-body {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  border-radius: 28px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.mockup-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
}

.mockup-loc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
}

.mockup-app-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  background: #EEF4FF;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.mockup-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

.mockup-card-main {
  background: rgba(30, 90, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.mockup-card-icon {
  font-size: 1.1rem;
}

.mockup-card-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mockup-card-text strong {
  font-size: 0.75rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.mockup-card-text span {
  font-size: 0.67rem;
  color: #94A3B8;
}

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

.mockup-cat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mockup-cat-item .cat-icon {
  font-size: 0.95rem;
}

.mockup-cat-item span {
  font-size: 0.58rem;
  font-weight: 600;
  color: #E2E8F0;
}

.mockup-cat-sos {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.mockup-card-alert {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.mockup-alert-icon {
  font-size: 1.1rem;
}

.floating-rate-badge {
  position: absolute;
  bottom: 14px;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: float-badge 3s ease-in-out infinite alternate;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-rate-badge .star-icon {
  font-size: 1.25rem;
}

.floating-rate-badge .rate-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-rate-badge .rate-info strong {
  font-size: 0.8rem;
  color: #FFFFFF;
}

.floating-rate-badge .rate-info span {
  font-size: 0.68rem;
  color: #94A3B8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .download-card {
    padding: 48px 32px;
  }
  .download-content {
    text-align: center;
  }
  .download-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .download-features-row {
    justify-content: center;
  }
  .download-actions-row {
    justify-content: center;
  }
  .download-meta {
    justify-content: center;
  }
  .floating-rate-badge {
    left: 50%;
    transform: translateX(-50%);
    animation: none;
  }
}

@media (max-width: 600px) {
  .download-card {
    padding: 36px 20px;
    border-radius: 24px;
  }
  .download-title {
    font-size: 1.85rem;
  }
  .download-lead {
    font-size: 1rem;
  }
  .download-qr-card {
    display: none;
  }
  .phone-mockup-frame {
    width: 260px;
  }
}

/* ==========================================================================
   How It Works — Hyperlocal Lifecycle 4-Step Interactive Showcase
   ========================================================================== */
.how-it-works-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 40%, #F8FAFC 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.hiw-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 1;
}

.glow-hiw-1 {
  top: -80px;
  left: 8%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(30, 90, 246, 0.16) 0%, transparent 70%);
}

.glow-hiw-2 {
  top: 35%;
  right: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.13) 0%, transparent 70%);
}

.glow-hiw-3 {
  bottom: -90px;
  left: 32%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.hiw-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #EEF4FF;
  border: 1px solid rgba(30, 90, 246, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E5AF6;
  margin-bottom: 14px;
}

.hiw-badge-pill .live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1E5AF6;
  box-shadow: 0 0 0 0 rgba(30, 90, 246, 0.7);
  animation: hiwPulse 2s infinite;
}

@keyframes hiwPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 90, 246, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(30, 90, 246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 90, 246, 0); }
}

.hiw-badge-pill .badge-divider {
  opacity: 0.35;
  color: #64748B;
}

.hiw-badge-pill .badge-sub {
  color: #64748B;
  font-weight: 600;
}

.hiw-main-title {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hiw-gradient-text {
  background: linear-gradient(135deg, #1E5AF6 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hiw-lead {
  max-width: 760px;
  margin: 0 auto 36px auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #64748B;
}

/* Step Navigation Strip */
.hiw-step-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin: 0 auto 52px auto;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.hiw-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: #64748B;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.hiw-nav-btn:hover {
  color: #0F172A;
  background: #F8FAFC;
}

.hiw-nav-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.hiw-nav-btn .nav-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  background: #EDF2F7;
  color: #64748B;
  transition: all 0.22s ease;
}

.hiw-nav-btn.active .nav-step-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* 4-Step Interactive Timeline Grid */
.hiw-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 56px;
}

.hiw-step-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 26px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

.hiw-step-card:hover,
.hiw-step-card.active {
  transform: translateY(-5px);
  border-color: var(--c-step);
  box-shadow: 0 16px 36px -10px var(--c-step-glow), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.hiw-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hiw-step-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-step-bg);
  color: var(--c-step);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-step-glow);
}

.hiw-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hiw-stage-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 100px;
  background: #F1F5F9;
  color: #475569;
}

.hiw-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 100px;
  background: #EEF4FF;
  color: #1E5AF6;
  border: 1px solid rgba(30, 90, 246, 0.18);
}

.hiw-live-tag.status-emerald {
  background: #ECFDF5;
  color: #059669;
  border-color: rgba(16, 185, 129, 0.22);
}

.hiw-live-tag .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hiw-step-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hiw-step-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Micro-Widgets Inside Cards */
.hiw-mini-widget {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 20px;
  transition: all 0.22s ease;
}

.hiw-step-card:hover .hiw-mini-widget,
.hiw-step-card.active .hiw-mini-widget {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Widget 1: Geofence Radar Preview */
.widget-hiw-geo .hiw-widget-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hiw-geo-radar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EEF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-radar-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(30, 90, 246, 0.45);
  animation: radarRing 2.2s infinite ease-out;
}

@keyframes radarRing {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hiw-geo-pin {
  font-size: 0.95rem;
}

.hiw-geo-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.hiw-geo-info strong {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hiw-geo-info span {
  font-size: 0.66rem;
  color: #64748B;
  margin-top: 2px;
}

.hiw-geo-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.hiw-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 7px;
  border-radius: 6px;
  color: #334155;
  white-space: nowrap;
}

/* Widget 2: Upfront Rates */
.widget-hiw-rate .hiw-rate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.hiw-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E0F2FE;
  color: #0284C7;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-rate-details {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
  min-width: 0;
}

.hiw-rate-details strong {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hiw-rate-details span {
  font-size: 0.66rem;
  color: #64748B;
  margin-top: 1px;
}

.hiw-price-chip {
  font-size: 0.72rem;
  font-weight: 900;
  color: #0284C7;
  background: #E0F2FE;
  padding: 4px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hiw-rate-guarantee {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  font-weight: 700;
  color: #059669;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

/* Widget 3: Direct Call & Progress Track */
.widget-hiw-direct .hiw-direct-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.hiw-call-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 6px;
  border-radius: 8px;
  background: #7C3AED;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.hiw-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.hiw-milestone-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 6px;
  white-space: nowrap;
}

.hiw-milestone-track .track-node {
  color: #94A3B8;
  white-space: nowrap;
}

.hiw-milestone-track .track-node.done {
  color: #059669;
}

.hiw-milestone-track .track-node.active {
  color: #7C3AED;
  font-weight: 800;
}

.hiw-milestone-track .track-arr {
  color: #CBD5E1;
  font-size: 0.58rem;
}

/* Widget 4: Security OTP & Fair Settlement */
.widget-hiw-otp .hiw-otp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hiw-otp-title {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 700;
  white-space: nowrap;
}

.hiw-otp-cells {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.otp-digit {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ECFDF5;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: #059669;
  font-size: 1rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.08);
}

.hiw-otp-status {
  font-size: 0.66rem;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  padding: 3px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.hiw-settlement-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #475569;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

.hiw-settlement-bar strong {
  color: #059669;
  font-weight: 800;
}

/* Card Footers */
.hiw-card-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.hiw-footer-perk {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 4-Pillar Trust Guarantee Strip */
.hiw-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.hiw-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px;
}

.hiw-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hiw-trust-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hiw-trust-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
  line-height: 1.3;
}

.hiw-trust-text span {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.4;
}

/* Responsive Rules for How It Works */
@media (max-width: 1200px) {
  .hiw-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hiw-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: 70px 0 80px 0;
  }
  .hiw-timeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }
  .hiw-trust-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .hiw-step-nav {
    border-radius: 18px;
    padding: 6px;
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 440px;
  }
  .hiw-nav-btn {
    padding: 9px 12px;
    font-size: 0.8rem;
    justify-content: center;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hiw-step-nav {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hiw-nav-btn {
    width: 100%;
  }
}

