/**
 * ============================================================================
 * APPLE LIQUID GLASS — MINIMAL DAAS AGENCY PORTAL STYLES
 * ============================================================================
 * Inherited from: C:\Users\magician\Desktop\2ND BRAIN\projects\apple-liquid-glass-design-system\
 * Referenced in: Conversation 530236b9-98e7-434e-aa4d-0468a537e88a
 * Invariants: Single-Shell, 90/10 Restraint, 1.2° Parallax Tilt, Tabular Numerals
 * ============================================================================
 */

@import url('liquid-glass.css');
@import url('squircle.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700;800&family=Vazirmatn:wght@400;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  background-color: #08080A;
}

html.theme-light {
  background-color: #F4F4F6;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: transparent !important;
  color: var(--lg-canvas-text, #F5F5F7);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100dvh;
  position: relative;
  transition: color 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* ============================================================================
 * APPLE LIQUID GLASS — REFRACTIVE BACKGROUND HARNESS
 * ============================================================================ */
.bg-mesh-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: background 600ms cubic-bezier(0.32, 0.72, 0, 1);
  background: #08080A;
}

.theme-light .bg-mesh-stage {
  background: #F4F4F6;
}

/* Aurora Fluid Mesh Mode */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.65;
  animation: blob-drift 24s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 500ms ease, filter 500ms ease;
}

.theme-light .aurora-blob {
  opacity: 0.40;
  filter: blur(55px);
  mix-blend-mode: multiply;
}

.stage-wallpaper .aurora-blob,
.stage-studio .aurora-blob {
  opacity: 0 !important;
  animation-play-state: paused;
}

.aurora-1 {
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  background: radial-gradient(circle, #ff6b6b 0%, #ff8e53 100%);
  top: -14%;
  left: -5%;
  filter: blur(95px);
  opacity: 0.35;
}

.aurora-2 {
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  background: radial-gradient(circle, #0071E3 0%, #00f2fe 100%);
  bottom: -15%;
  right: -8%;
  filter: blur(105px);
  opacity: 0.35;
  animation-duration: 28s;
  animation-delay: -5s;
}

.aurora-3 {
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  background: radial-gradient(circle, #bf5af2 0%, #ff2d55 100%);
  top: 45%;
  left: -10%;
  filter: blur(95px);
  opacity: 0.25;
  animation-duration: 22s;
  animation-delay: -9s;
}

.aurora-4 {
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  background: radial-gradient(circle, #34c759 0%, #30d158 100%);
  top: 8%;
  right: -8%;
  filter: blur(95px);
  opacity: 0.25;
  animation-duration: 32s;
  animation-delay: -14s;
}

@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(45px, -35px) scale(1.08) rotate(22deg); }
  100% { transform: translate(-35px, 45px) scale(0.92) rotate(-18deg); }
}

/* Wallpaper Layer (High-Resolution Apple Abstract Ribbons) */
.wallpaper-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 600ms cubic-bezier(0.32, 0.72, 0, 1), transform 20s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1.0);
  pointer-events: none;
}

.stage-studio .wallpaper-layer {
  opacity: 0 !important;
}

.wallpaper-layer,
.theme-dark .wallpaper-layer {
  background-image: url('apple-liquid-wallpaper.jpg');
}

.theme-light .wallpaper-layer {
  background-image: url('apple-light-wallpaper.jpg');
}

/* Studio Minimal Layer */
.stage-studio {
  background: #08080A !important;
}

.theme-light.stage-studio,
.theme-light .stage-studio {
  background: #F4F4F6 !important;
}

/* ============================================================================
 * APPLE VISIONOS DYNAMIC CONTROL CAPSULE (Island Header)
 * ============================================================================ */
.apple-capsule-island-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.apple-capsule-island {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 30, 38, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 5px 10px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
}

.theme-light .apple-capsule-island {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.08), inset 0 1px 1.5px #FFFFFF;
}

.island-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lg-canvas-text-muted, #86868B);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .island-title {
  border-right-color: rgba(0, 0, 0, 0.08);
  color: #6E6E73;
}

.island-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 8px #34C759;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.island-seg {
  display: inline-flex;
  gap: 4px;
}

.seg-btn {
  background: transparent;
  border: none;
  color: var(--lg-canvas-text-muted, #86868B);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 180ms ease;
  user-select: none;
}

.seg-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.theme-light .seg-btn:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
}

.seg-btn.active {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-light .seg-btn.active {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.island-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2px;
}

.theme-light .island-divider {
  background: rgba(0, 0, 0, 0.08);
}

.portal-wrapper {
  max-width: 1340px;
  width: 94%;
  margin: 0 auto;
  padding: 24px 0 120px;
  position: relative;
  z-index: 10;
}

/* Monolithic Single Shell (The Core Invariant) */
.monolith-shell {
  background: rgba(16, 16, 22, 0.58);
  backdrop-filter: blur(48px) saturate(210%);
  -webkit-backdrop-filter: blur(48px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  padding: 44px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.75), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .monolith-shell {
    padding: 24px 16px;
    border-radius: 20px;
  }
}

/* Header & Eyebrow */
.shell-header {
  margin-bottom: 32px;
}

.card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-bottom: 12px;
}

.card-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--lg-canvas-text, #F5F5F7);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 15px;
  color: var(--lg-canvas-text-muted, #86868B);
  max-width: 740px;
  line-height: 1.6;
}

/* Metric Strip (Item 136) */
.lg-metric-strip-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--lg-glass-border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .lg-metric-strip-demo {
    grid-template-columns: 1fr 1fr;
  }
}

.lg-metric-item {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.lg-metric-item:last-child {
  border-right: none;
}

.lg-metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lg-canvas-text-muted, #86868B);
}

.lg-metric-val {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--lg-canvas-text, #F5F5F7);
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
  margin: 2px 0 4px;
}

.lg-metric-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chip-green {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.chip-cyan {
  background: rgba(0, 199, 190, 0.15);
  color: #00c7be;
  border: 1px solid rgba(0, 199, 190, 0.3);
}

.chip-purple {
  background: rgba(175, 82, 222, 0.15);
  color: #af52de;
  border: 1px solid rgba(175, 82, 222, 0.3);
}

.chip-blue {
  background: rgba(0, 113, 227, 0.15);
  color: #2997ff;
  border: 1px solid rgba(0, 113, 227, 0.3);
}

.lg-metric-sub {
  font-size: 11.5px;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toolbar & Filter Segmented Control */
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toolbar-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lg-canvas-text, #F5F5F7);
}

.filter-group {
  display: inline-flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 9999px;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--lg-canvas-text-muted, #86868B);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.filter-tab.active {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Minimalist Frosted Glass Data Table (Item 135) — 6 Calibrated Columns (Zero Overflow) */
.lg-minimal-table-wrapper {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--lg-glass-border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.theme-light .lg-minimal-table-wrapper {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.06), inset 0 1px 1px #FFFFFF;
}

.lg-minimal-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.lg-minimal-table th {
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lg-canvas-text-muted, #86868B);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.theme-light .lg-minimal-table th {
  background: rgba(0, 0, 0, 0.02);
  color: #6E6E73;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* 6 Calibrated Columns (Sum = 100%) */
.lg-minimal-table th:nth-child(1), .lg-minimal-table td:nth-child(1) { width: 21%; }
.lg-minimal-table th:nth-child(2), .lg-minimal-table td:nth-child(2) { width: 13%; }
.lg-minimal-table th:nth-child(3), .lg-minimal-table td:nth-child(3) { width: 19%; }
.lg-minimal-table th:nth-child(4), .lg-minimal-table td:nth-child(4) { width: 17%; }
.lg-minimal-table th:nth-child(5), .lg-minimal-table td:nth-child(5) { width: 18%; }
.lg-minimal-table th:nth-child(6), .lg-minimal-table td:nth-child(6) { width: 12%; text-align: right; }

.lg-minimal-table td {
  padding: 13px 16px;
  color: var(--lg-canvas-text, #F5F5F7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background 150ms ease;
}

.theme-light .lg-minimal-table td {
  color: #1D1D1F;
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.lg-minimal-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.012);
}

.theme-light .lg-minimal-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.012);
}

.lg-minimal-table tr:hover td {
  background: rgba(255, 255, 255, 0.04) !important;
}

.theme-light .lg-minimal-table tr:hover td {
  background: rgba(0, 0, 0, 0.03) !important;
}

.lg-minimal-table tr:last-child td {
  border-bottom: none;
}

/* Brand Cell with Monogram Avatar */
.brand-cell-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.theme-light .brand-avatar {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1D1D1F;
  text-shadow: none;
}

.brand-info {
  min-width: 0;
  overflow: hidden;
}

.brand-cell-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lg-canvas-text, #F5F5F7);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-light .brand-cell-name {
  color: #1D1D1F;
}

.brand-cell-domain {
  font-size: 11.5px;
  color: var(--lg-canvas-text-muted, #86868B);
  letter-spacing: 0.01em;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* MRR Tabular Display */
.mrr-cell {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.mrr-val {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lg-canvas-text, #F5F5F7);
  letter-spacing: -0.01em;
}

.theme-light .mrr-val {
  color: #1D1D1F;
}

.mrr-cadence {
  font-size: 11px;
  font-weight: 500;
  color: var(--lg-canvas-text-muted, #86868B);
}

/* Micro-Status Footer below Table */
.table-footer-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: var(--lg-canvas-text-muted, #86868B);
}

.theme-light .table-footer-status {
  background: rgba(0, 0, 0, 0.02);
  border-top-color: rgba(0, 0, 0, 0.05);
  color: #6E6E73;
}

.footer-status-left, .footer-status-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.6);
  animation: radarPulse 2s infinite;
}

.status-sep {
  opacity: 0.35;
}

.status-lock-hint {
  color: #2997FF;
  font-weight: 500;
}

/* 3-Column Bento Action Cards (Item 137) */
.bento-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-section-desc {
  font-size: 13.5px;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-bottom: 24px;
}

.anchor-action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .anchor-action-cards-grid {
    grid-template-columns: 1fr;
  }
}

.lg-action-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lg-glass-border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  perspective: 1800px;
  backface-visibility: hidden;
  position: relative;
}

.lg-action-card:hover {
  transform: rotateX(1.2deg) translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.045);
}

.lg-action-card.highlight {
  border-color: rgba(0, 113, 227, 0.4);
  background: rgba(0, 113, 227, 0.04);
}

.card-top-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-tier-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.card-tier-desc {
  font-size: 13px;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-bottom: 20px;
  min-height: 38px;
}

.card-tier-price {
  font-size: 36px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.card-tier-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--lg-canvas-text-muted, #86868B);
}

.tier-bullets {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.tier-bullets li {
  font-size: 13px;
  color: var(--lg-canvas-text-muted, #86868B);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-bullets li::before {
  content: "✦";
  color: #0071E3;
  font-size: 11px;
}

/* Apple Tactile CTA Button (Item 138) */
.btn-tactile-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #FFFFFF;
  color: #000000;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-tactile-apple:hover {
  background: #F5F5F7;
  transform: scale(1.015);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-tactile-apple:active {
  transform: scale(0.985);
}

.btn-tactile-blue {
  background: #0071E3;
  color: #FFFFFF;
  border-color: #0071E3;
}

.btn-tactile-blue:hover {
  background: #0077ED;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35);
}

/* Apple Liquid Glass Modal (Item 141) */
.lg-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lg-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lg-payment-checkout-modal {
  background: rgba(22, 22, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lg-modal-backdrop.active .lg-payment-checkout-modal {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--lg-canvas-text-muted, #86868B);
  font-size: 18px;
  cursor: pointer;
}

/* Recessed Luminous Glass Well */
.lg-recessed-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.lg-tab-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 14px;
}

.lg-tab-btn {
  flex: 1;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--lg-canvas-text-muted, #86868B);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lg-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.lg-input-well {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #FFFFFF;
  margin-bottom: 14px;
  outline: none;
}

.lg-input-well:focus {
  border-color: #0071E3;
}

.qr-well {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  width: 160px;
  height: 160px;
  margin: 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-well svg, .qr-well img {
  width: 100%;
  height: 100%;
  display: block;
}

.copy-row-well {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-bottom: 14px;
}

.copy-btn-apple {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================================================
 * APPLE LIQUID GLASS — COMPREHENSIVE LIGHT THEME OVERRIDES
 * ============================================================================ */
.theme-light {
  --lg-canvas-bg: #F4F4F6;
  --lg-canvas-text: #1D1D1F;
  --lg-canvas-text-muted: #6E6E73;
}

.theme-light .monolith-shell {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.08), inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

.theme-light .card-eyebrow {
  color: #0071E3;
}

.theme-light .card-title {
  color: #1D1D1F;
}

.theme-light .card-desc {
  color: #515154;
}

/* Metric Strip Light Overrides */
.theme-light .lg-metric-strip-demo {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light .lg-metric-item {
  border-right-color: rgba(0, 0, 0, 0.06);
}

.theme-light .lg-metric-label {
  color: #6E6E73;
}

.theme-light .lg-metric-val {
  color: #1D1D1F;
}

.theme-light .lg-metric-sub {
  color: #86868B;
}

/* Toolbar & Filter Tabs Light Overrides */
.theme-light .section-toolbar {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.theme-light .toolbar-title {
  color: #1D1D1F;
}

.theme-light .filter-tab {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #515154;
}

.theme-light .filter-tab:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #1D1D1F;
}

.theme-light .filter-tab.active {
  background: #1D1D1F;
  color: #FFFFFF;
  border-color: #1D1D1F;
}

/* Minimal Frosted Glass Table Light Overrides */
.theme-light .lg-minimal-table-wrapper {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light .lg-minimal-table th {
  color: #6E6E73;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.theme-light .lg-minimal-table td {
  color: #1D1D1F;
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.theme-light .lg-minimal-table tr:hover td {
  background: rgba(0, 0, 0, 0.025);
}

.theme-light .brand-cell-name {
  color: #000000;
}

.theme-light .brand-cell-domain {
  color: #6E6E73;
}

.theme-light .mrr-num {
  color: #000000;
}

.theme-light .blurred-secure {
  background: rgba(0, 0, 0, 0.05);
  color: #1D1D1F;
}

.theme-light .tech-tag {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #333336;
}

/* Bento Action Cards Light Overrides */
.theme-light .bento-section-title {
  color: #1D1D1F;
}

.theme-light .bento-section-desc {
  color: #6E6E73;
}

.theme-light .lg-action-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.05), inset 0 1px 1px #FFFFFF;
}

.theme-light .lg-action-card.featured-apple {
  border: 1.5px solid #0071E3;
  box-shadow: 0 20px 48px -10px rgba(0, 113, 227, 0.15), inset 0 1px 1.5px #FFFFFF;
}

.theme-light .action-card-title {
  color: #000000;
}

.theme-light .action-card-desc {
  color: #6E6E73;
}

.theme-light .action-card-price {
  color: #000000;
}

.theme-light .feature-list li {
  color: #333336;
}

.theme-light .btn-tactile-apple {
  background: #0071E3;
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(0, 113, 227, 0.35);
}

.theme-light .btn-tactile-apple:hover {
  background: #0077ED;
}

/* Modal Light Overrides */
.theme-light .lg-payment-checkout-modal {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.22), inset 0 1px 2px #FFFFFF;
}

.theme-light .lg-payment-checkout-modal h3 {
  color: #000000 !important;
}

.theme-light #modal-package-price,
.theme-light #pay-amount {
  color: #000000 !important;
}

.theme-light .modal-close-btn {
  background: rgba(0, 0, 0, 0.06);
  color: #515154;
}

.theme-light .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #000000;
}

.theme-light .lg-recessed-box {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.theme-light .lg-tab-group {
  background: rgba(0, 0, 0, 0.04);
}

.theme-light .lg-tab-btn {
  color: #515154;
}

.theme-light .lg-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.theme-light .lg-input-well {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  color: #000000;
}

.theme-light .copy-row-well {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
  color: #1D1D1F;
}

.theme-light .copy-btn-apple {
  background: rgba(0, 0, 0, 0.08);
  color: #1D1D1F;
}

.theme-light .copy-btn-apple:hover {
  background: rgba(0, 0, 0, 0.14);
}

.theme-light #pay-network-label {
  color: #000000 !important;
}


/* Apple Privacy Shield */
.apple-privacy-shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 11.5px;
  max-width: 100%;
  box-sizing: border-box;
}

.theme-light .apple-privacy-shield {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.shield-lock-svg {
  color: #2997FF;
  flex-shrink: 0;
}

.shield-text {
  color: var(--lg-canvas-text, #F5F5F7);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-light .shield-text {
  color: #1D1D1F;
}

.shield-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(0, 113, 227, 0.18);
  color: #2997FF;
  border: 1px solid rgba(0, 113, 227, 0.32);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.shield-badge.phone-chip {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
  border-color: rgba(52, 199, 89, 0.3);
}

.contact-vectors-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.apple-phone-shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 199, 89, 0.05);
  border: 1px solid rgba(52, 199, 89, 0.14);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  max-width: 100%;
  box-sizing: border-box;
}

.theme-light .apple-phone-shield {
  background: rgba(52, 199, 89, 0.08);
  border-color: rgba(52, 199, 89, 0.2);
}

.shield-phone-svg {
  color: #34C759;
  flex-shrink: 0;
}

.tech-tag.tag-oos {
  background: rgba(255, 159, 10, 0.14);
  border-color: rgba(255, 159, 10, 0.3);
  color: #FF9F0A;
  font-weight: 600;
  cursor: help;
}

.theme-light .tech-tag.tag-oos {
  background: rgba(255, 159, 10, 0.12);
  border-color: rgba(255, 159, 10, 0.25);
  color: #D97706;
}

.founder-cell-name {
  font-weight: 600;
  color: var(--lg-canvas-text, #F5F5F7);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-light .founder-cell-name {
  color: #1D1D1F;
}

.founder-cell-title {
  font-size: 11px;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tech-tags-container {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.tech-tag {
  display: inline-block;
  padding: 2.5px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--lg-canvas-text-muted, #86868B);
  white-space: nowrap;
}

.theme-light .tech-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #6E6E73;
}

.tech-tag.tech-more {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.25);
  color: #2997FF;
  font-weight: 600;
  cursor: help;
}

/* Ad Radar Status Pill */
.ad-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3.5px 9px;
  border-radius: 9999px;
  white-space: nowrap;
}

.ad-status-pill.active {
  background: rgba(52, 199, 89, 0.12);
  color: #34C759;
  border: 1px solid rgba(52, 199, 89, 0.28);
}

.ad-status-pill.organic {
  background: rgba(255, 255, 255, 0.035);
  color: var(--lg-canvas-text-muted, #86868B);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-light .ad-status-pill.organic {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
  color: #6E6E73;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 6px #34C759;
  animation: radarPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.organic-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #86868B;
  opacity: 0.6;
}

@keyframes radarPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.15); }
}

/* Trust Micro-Bar beneath Action Cards */
.trust-micro-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  font-size: 12px;
  color: var(--lg-canvas-text-muted, #86868B);
  margin-bottom: 36px;
}

.theme-light .trust-micro-bar {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
  color: #6E6E73;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.trust-dot {
  opacity: 0.35;
}

/* Asymmetric ROI Callout Box on Tier 2 */
.roi-anchor-box {
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2997FF;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-light .roi-anchor-box {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
  color: #0071E3;
}

