@font-face {
  font-family: 'Gotham Rounded';
  src: local('Gotham Rounded Bold'), local('GothamRounded-Bold');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Rounded';
  src: local('Gotham Rounded Medium'), local('GothamRounded-Medium'), local('Gotham Rounded');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham Rounded';
  src: local('Gotham Rounded Light'), local('GothamRounded-Light'), local('Gotham Rounded Book');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FF Shamel Family';
  src: local('FF Shamel Family Round Bold'), local('FFShamelFamily-RoundBold');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FF Shamel Family';
  src: local('FF Shamel Family Round Book'), local('FFShamelFamily-RoundBook'), local('FF Shamel Family Round'), local('FF Shamel Family');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Tokens */
  --bg-dark: #070B14;
  --bg-surface: #0E1526;
  --bg-card: rgba(18, 26, 47, 0.75);
  --bg-card-hover: rgba(26, 38, 68, 0.85);
  --bg-glass: rgba(14, 21, 38, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.28);
  --border-gold-glow: rgba(245, 158, 11, 0.6);
  --border-green: rgba(16, 185, 129, 0.3);

  /* Brand Accents */
  --gold-primary: #F59E0B;
  --gold-glow: #FBBF24;
  --gold-dark: #D97706;
  --gold-tint: rgba(245, 158, 11, 0.12);
  --green-verified: #10B981;
  --green-glow: #34D399;
  --green-tint: rgba(16, 185, 129, 0.12);
  --blue-sky: #38BDF8;
  --blue-brand: #2563EB;
  --indigo-brand: #6366F1;
  --purple-glow: #8B5CF6;

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #64748B;
  --text-gold: #FCD34D;
  --text-emerald: #6EE7B7;

  /* Geometry & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 35px rgba(245, 158, 11, 0.25);
  --shadow-emerald: 0 0 35px rgba(16, 185, 129, 0.25);

  /* Official Talno.ai Brand Typography:
     - English: Gotham Rounded (Light, Medium, Bold)
     - Urdu: FF Shamel Family (RoundBook, RoundBold) */
  --font-brand-english: 'Gotham Rounded', 'Gotham Rounded Medium', 'Gotham Rounded Bold', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand-urdu: 'FF Shamel Family', 'FF Shamel Family Round', 'FFShamelFamily-RoundBook', 'FFShamelFamily-RoundBold', 'Noto Nastaliq Urdu', 'Noto Sans Arabic', serif;

  --font-heading: var(--font-brand-english);
  --font-body: var(--font-brand-english);
  --font-mono: 'JetBrains Mono', monospace;
  --font-urdu: var(--font-brand-urdu);
}

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

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

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(245, 158, 11, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 45%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Ambient Grid Overlay */
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: 0;
}

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

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

.urdu-text {
  font-family: var(--font-urdu);
  line-height: 1.9;
  letter-spacing: normal;
  color: var(--text-gold);
}

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

.text-emerald {
  color: var(--green-verified);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #ECFDF5 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-glow);
  backdrop-filter: blur(8px);
}

.pill-badge.green {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--border-green);
  color: var(--green-glow);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-verified);
  box-shadow: 0 0 10px var(--green-verified);
  animation: pulseAnim 2s infinite ease-in-out;
}

.pulse-dot.gold {
  background-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

@keyframes pulseAnim {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px currentColor;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

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

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
  color: #070B14;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 50%, #F59E0B 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #FFF;
}

.btn-emerald {
  background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
  color: #070B14;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.55);
}

/* =============================================================================
   NAVIGATION BAR
   ============================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 11, 20, 0.95);
  border-bottom-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-glow);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-announcement {
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-headline span {
  display: inline-block;
}

.hero-urdu-tagline {
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.65;
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Institutional Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-item svg {
  color: var(--gold-primary);
}

/* =============================================================================
   KEY EXECUTIVE NUMBERS / TICKER
   ============================================================================= */
.stats-banner {
  padding: 2.5rem 0;
  background: rgba(14, 21, 38, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

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

.stat-item {
  text-align: center;
  padding: 1.2rem;
  border-right: 1px solid var(--border-glass);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold-glow);
  margin-bottom: 0.25rem;
}

.stat-number.green {
  color: var(--green-glow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================================================
   INTERACTIVE APP SHOWCASE & SIMULATOR
   ============================================================================= */
.simulator-section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* App Toggle Tabs */
.app-switcher-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0.75rem;
}

.app-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  background: rgba(14, 21, 38, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.app-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  border-color: var(--gold-primary);
  color: #FFF;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.app-tab-btn.provider-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border-color: var(--green-verified);
  color: #FFF;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.tab-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.tab-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.tab-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.app-tab-btn.active .tab-sub {
  color: var(--gold-glow);
}

.app-tab-btn.provider-tab.active .tab-sub {
  color: var(--green-glow);
}

/* Simulator Canvas */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  align-items: center;
  gap: 2.5rem;
}

/* Side Feature Lists */
.simulator-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-point-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 1.4rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-point-card:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.feature-point-card.left:hover {
  transform: translateX(-4px);
}

/* =============================================================================
   DUOTONE SVG ICON SYSTEM (BRAND IDENTITY)
   Designed after Talno Signature Gold (#F2AC0F) and Obsidian Slate (#0A0F1D)
   ============================================================================= */
.duotone-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.duotone-icon:hover {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.35));
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-tint);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  transition: all 0.25s ease;
}

.feature-icon-box.green {
  background: var(--green-tint);
  border-color: var(--border-green);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.feature-icon-box .duotone-icon {
  width: 26px;
  height: 26px;
}

.tab-icon .duotone-icon {
  width: 22px;
  height: 22px;
}

.btn .duotone-icon {
  width: 18px;
  height: 18px;
}

.benefit-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
}

.benefit-card-icon.green {
  background: var(--green-tint);
  border-color: var(--border-green);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

.benefit-card-icon .duotone-icon {
  width: 32px;
  height: 32px;
}

.taxonomy-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gold-tint);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.taxonomy-card:hover .taxonomy-icon-box {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.taxonomy-icon-box .duotone-icon {
  width: 26px;
  height: 26px;
}

.emergency-chip .duotone-icon {
  width: 13px;
  height: 13px;
  margin-right: 3px;
}

.emergency-chip {
  display: inline-flex;
  align-items: center;
}

.feature-point-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.feature-point-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Phone Mockup Frame */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-device {
  width: 360px;
  height: 720px;
  background: #000;
  border-radius: 46px;
  border: 10px solid #1E293B;
  box-shadow:
    0 0 0 2px #334155,
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    var(--shadow-gold);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Phone Screen Notch / Island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.phone-island .cam-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111827;
  border: 1px solid #374151;
}

/* Phone Screen Inner */
.phone-screen {
  flex: 1;
  background: #090D1A;
  color: #FFF;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
  position: relative;
  font-size: 0.82rem;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Top App Bar inside Phone */
.app-header-phone {
  padding: 0.75rem 1rem;
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-pill-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
}

.location-pill-phone svg {
  color: var(--gold-primary);
}

.phone-lang-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--gold-glow);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.phone-lang-badge:hover {
  background: var(--gold-primary);
  color: #070B14;
}

/* Screen Content: Customer Mode */
.customer-screen-view {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
  transition: all 0.3s ease;
}

/* Urdu RTL Mode for Phone Screen */
.customer-screen-view.urdu-mode {
  direction: rtl;
  text-align: right;
}

.customer-screen-view.urdu-mode h5,
.customer-screen-view.urdu-mode p,
.customer-screen-view.urdu-mode span,
.customer-screen-view.urdu-mode button {
  font-family: var(--font-urdu), var(--font-brand-english), sans-serif !important;
}

.customer-screen-view.urdu-mode .provider-avatar {
  font-family: var(--font-brand-english), sans-serif !important;
}

.customer-screen-view.urdu-mode .provider-meta-row {
  flex-direction: row-reverse;
}

.customer-screen-view.urdu-mode .provider-card-top {
  flex-direction: row-reverse;
}

/* Urdu RTL Mode for Provider Screen */
.provider-screen-view.urdu-mode {
  direction: rtl;
  text-align: right;
}

.provider-screen-view.urdu-mode h4,
.provider-screen-view.urdu-mode h5,
.provider-screen-view.urdu-mode p,
.provider-screen-view.urdu-mode span,
.provider-screen-view.urdu-mode button {
  font-family: var(--font-urdu), var(--font-brand-english), sans-serif !important;
}

.provider-screen-view.urdu-mode .provider-status-card,
.provider-screen-view.urdu-mode .wallet-top-meta,
.provider-screen-view.urdu-mode .wallet-actions-row,
.provider-screen-view.urdu-mode .lead-title-row {
  flex-direction: row-reverse;
}

.provider-screen-view.urdu-mode .status-toggle-pill {
  flex-direction: row-reverse;
}

.provider-screen-view.urdu-mode .lead-alert-card::before {
  left: auto;
  right: 0;
}

.lead-masked-contact {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  border-radius: 6px;
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.phone-search-box {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94A3B8;
  font-size: 0.75rem;
}

.phone-quick-emergency {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-quick-emergency::-webkit-scrollbar {
  display: none;
}

.emergency-chip {
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-glow);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.emergency-chip:hover,
.emergency-chip.active {
  background: var(--gold-primary);
  color: #070B14;
}

/* Live Provider Card in Mockup */
.mockup-provider-card {
  background: #131C31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.2s;
}

.mockup-provider-card:hover {
  border-color: var(--gold-primary);
}

.provider-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.provider-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A, #0D9488);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #FFF;
  border: 2px solid var(--gold-primary);
  flex-shrink: 0;
}

.provider-info h5 {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nadra-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.provider-trade-title {
  font-size: 0.72rem;
  color: #94A3B8;
}

.provider-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #CBD5E1;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
}

.call-ustad-action-btn {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #070B14;
  border: none;
  border-radius: 8px;
  padding: 0.55rem;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.2s;
}

.call-ustad-action-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

/* Simulated Dialer Overlay in Mockup */
.dialer-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.dialer-modal-overlay.active {
  display: flex;
}

.dialer-calling-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1E293B;
  border: 3px solid var(--green-verified);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #FFF;
  margin-bottom: 1rem;
  animation: pulseAnim 1.5s infinite;
}

.dialer-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-gold);
  margin-bottom: 0.25rem;
}

.dialer-status {
  font-size: 0.75rem;
  color: var(--green-glow);
  margin-bottom: 1.5rem;
}

.end-call-btn {
  background: #EF4444;
  color: #FFF;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Screen Content: Provider Mode */
.provider-screen-view {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
}

.provider-screen-view.active {
  display: flex;
}

.provider-status-card {
  background: #131C31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-toggle-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--green-verified);
  color: var(--green-glow);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-balance-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 1rem;
}

.wallet-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #94A3B8;
  margin-bottom: 0.4rem;
}

.wallet-amount-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-glow);
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}

.wallet-actions-row {
  display: flex;
  gap: 0.5rem;
}

.wallet-micro-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.wallet-micro-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.wallet-micro-btn.gold {
  background: var(--gold-primary);
  color: #070B14;
}

.wallet-micro-btn.gold:hover {
  background: var(--gold-glow);
}

/* Incoming Lead Card */
.lead-alert-card {
  background: #17233D;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.lead-alert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  bottom: 0;
  background: var(--gold-primary);
}

.lead-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFF;
}

.lead-location {
  font-size: 0.7rem;
  color: #94A3B8;
}

.reveal-btn {
  background: var(--green-verified);
  color: #070B14;
  border: none;
  border-radius: 6px;
  padding: 7px;
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.reveal-btn:hover {
  background: var(--green-glow);
}

/* Simulated Phone JazzCash Top-Up Overlay */
.phone-topup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.96);
  backdrop-filter: blur(8px);
  z-index: 110;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.phone-topup-overlay.active {
  display: flex;
}

.topup-brand-badge {
  background: #ED1C24;
  color: #FFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.topup-amounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  margin: 1.2rem 0;
}

.topup-chip-btn {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.topup-chip-btn:hover {
  background: var(--gold-primary);
  color: #070B14;
}

.cancel-topup-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
}

/* =============================================================================
   DUAL BENEFITS MATRIX (PUBLIC VS PROVIDER)
   ============================================================================= */
.benefits-section {
  padding: 6rem 0;
  background: rgba(11, 17, 32, 0.6);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.benefit-column-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.benefit-column-card.customer {
  border-top: 4px solid var(--gold-primary);
}

.benefit-column-card.provider {
  border-top: 4px solid var(--green-verified);
}

.benefit-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.benefit-card-icon.green {
  background: var(--green-tint);
  color: var(--green-verified);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.benefit-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-verified);
}

.benefit-item h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

/* =============================================================================
   16-DOMAIN TAXONOMY EXPLORER
   ============================================================================= */
.taxonomy-section {
  padding: 6rem 0;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.taxonomy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.taxonomy-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.taxonomy-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.taxonomy-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-glow);
  margin-left: auto;
}

.taxonomy-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.taxonomy-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.76rem;
  color: #CBD5E1;
}

/* Expansive "Hundreds More Services" Showcase Card */
.taxonomy-more-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(14, 21, 38, 0.85));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.taxonomy-more-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.taxonomy-more-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  color: #CBD5E1;
  transition: all 0.2s;
}

.taxonomy-more-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-glow);
  background: rgba(245, 158, 11, 0.12);
  transform: translateY(-2px);
}

/* =============================================================================
   INVESTOR MEMORANDUM & CALCULATOR
   ============================================================================= */
.investor-section {
  padding: 6rem 0;
  position: relative;
}

.investor-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.investor-terms-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-gold);
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.terms-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.95rem;
}

.terms-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-gold);
}

/* Interactive Calculator */
.calc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.slider-group {
  margin: 1.5rem 0;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.slider-val-display {
  color: var(--gold-glow);
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.custom-range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  cursor: pointer;
  height: 6px;
  background: #1E293B;
  border-radius: 4px;
}

.calc-results-box {
  background: #090D1A;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.result-row .val {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-glow);
}

/* Accredited Investor Diligence Access Module (No public downloads) */
.investor-access-card {
  margin-top: 3rem;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, rgba(14, 21, 38, 0.95) 70%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.investor-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border-gold);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--gold-glow);
  text-decoration: none;
  margin: 1.25rem 0;
  transition: all 0.2s;
}

.investor-email-badge:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-glow);
  transform: scale(1.02);
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.faq-section {
  padding: 6rem 0;
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-arrow {
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* =============================================================================
   FINAL CTA BANNER & FOOTER
   ============================================================================= */
.cta-banner-section {
  padding: 6rem 0 3rem 0;
}

.cta-banner-card {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.25) 0%, rgba(14, 21, 38, 0.95) 70%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
  background: #04070D;
  font-size: 0.88rem;
  color: var(--text-dark);
}

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

.footer-col h5 {
  color: #FFF;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .simulator-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .simulator-features {
    width: 100%;
    max-width: 500px;
  }

  .benefits-grid,
  .investor-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .nav-links,
  .nav-cta-group .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .phone-device {
    width: 320px;
    height: 640px;
  }

  /* App switcher → compact segmented control */
  .app-switcher-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 2rem auto;
    padding: 0.35rem;
    background: rgba(14, 21, 38, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
  }

  .app-tab-btn {
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.5rem;
    border-radius: 14px;
    border-color: transparent;
    background: transparent;
    min-width: 0;
  }

  .tab-label {
    align-items: center;
    text-align: center;
  }

  .tab-title {
    font-size: 0.88rem;
  }

  .tab-sub {
    font-size: 0.68rem;
  }

  /* Long CTA buttons (emails etc.) wrap neatly instead of overflowing */
  .hero-cta-wrapper .btn,
  .investor-access-card .btn,
  .cta-banner-card .btn {
    width: 100%;
    max-width: 420px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .investor-email-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
  }

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

/* =============================================================================
   LEGAL PAGES (PRIVACY POLICY & TERMS OF SERVICE)
   ============================================================================= */
.legal-hero {
  padding: 8rem 0 3.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(242, 172, 15, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(5, 150, 105, 0.06) 0%, transparent 50%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.legal-breadcrumbs a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-breadcrumbs a:hover {
  text-decoration: underline;
}

.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-meta-item strong {
  color: var(--text-primary);
}

.legal-container {
  padding: 4rem 0 6rem 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.legal-sidebar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}

.legal-toc-link {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1.35;
}

.legal-toc-link:hover,
.legal-toc-link.active {
  color: var(--gold-glow);
  background: rgba(242, 172, 15, 0.1);
}

.legal-sidebar-contact {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-sidebar-contact a {
  color: var(--gold-primary);
  text-decoration: none;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-callout {
  background: rgba(242, 172, 15, 0.08);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.8rem 0;
}

.legal-callout.green {
  background: rgba(5, 150, 105, 0.08);
  border-left-color: var(--green-verified);
}

.legal-callout.blue {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: #3B82F6;
}

.legal-callout-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-callout p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.legal-section {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.legal-section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.legal-section h2 .sec-num {
  font-size: 1.1rem;
  color: var(--gold-primary);
  font-family: var(--font-mono);
}

.legal-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.8rem 0;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  overflow: hidden;
}

.legal-table th {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.legal-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.legal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Provider Simulator Updated Styles */
.lead-status-banner {
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid var(--green-verified);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
  color: var(--green-glow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  font-weight: 600;
}

.immunity-active-badge {
  background: rgba(242, 172, 15, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.68rem;
  color: var(--gold-glow);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
    max-height: none;
  }

  .legal-toc-list {
    max-height: 200px;
  }

  .legal-content {
    padding: 1.5rem;
  }
}