/* /features/landing-portal/premium-motif-skin.css */

/* 1. GLOBAL ROOT BASE CANVAS */
.lp-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 12px !important; /* Strict compliance with our 12px mobile padding law */
  background-color: #060913 !important; /* Solid premium matte black background canvas */
  color: #d1d5db !important; /* Smooth readable metallic silver text tone scale */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  min-height: 100vh !important;
  justify-content: space-between !important; /* Securely pins advertiser portal anchor to the base layout */
  box-sizing: border-box !important;
}

/* 2. PREMIUM CENTERED LOGO HEADERS */
.lp-brand-center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 0 8px 0 !important;
  box-sizing: border-box !important;
}

.lp-tree-logo-halo {
  width: 90px !important;
  height: 90px !important;
  background-color: #111827 !important;
  border: 2px solid #00ffcc !important; /* Signature brand neon-teal halo ring */
  box-shadow: 0 0 16px rgba(0, 255, 204, 0.3) !important; /* Ambient outer glow halo radiance */
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
}

.lp-brand-tree-img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

.lp-brand-main-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important; /* Professional tracking header spacing */
  margin: 0 0 4px 0 !important;
}

.lp-brand-sub-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #00ffcc !important; /* Neon-teal identifier text color link tokens */
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* 3. THE INTERACTIVE STATE PASSCODE ACCESS CARD (TOP PANEL) */
.lp-action-card-box {
  background-color: #111827 !important; /* Rich dark panel tile accent layer base */
  border-radius: 8px !important;
  padding: 16px !important;
  
  /* CRITICAL INSET OVERRIDE: Drawing the lines completely INSIDE the container box to prevent background leaks */
  border: none !important;
  box-shadow: 
    inset 0 0 0 1px #1e293b, 
    inset 0 2px 0 0 #00ffcc, 
    0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.lp-view-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.lp-view-panel.lp-hidden {
  display: none !important;
}

/* Form Management Field Tokens */
.lp-input-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.lp-field-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #9ca3af !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-align: left !important;
}

.lp-input-row {
  display: flex !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.lp-text-field {
  background-color: #1f2937 !important;
  border: 1px solid #374151 !important;
  border-radius: 6px !important;
  padding: 0 12px !important;
  height: 44px !important; /* Hardened 44px touch target matrix safety parameters */
  color: #ffffff !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

.lp-text-field:focus {
  border-color: #00ffcc !important;
}

/* Premium High-Contrast Neon-Teal Button Token */
.lp-primary-btn {
  height: 44px !important;
  background-color: #00ffcc !important; /* Unlocks immediate vibrant call-to-action pop */
  color: #0a0e17 !important; /* High contrast dark text node override */
  font-size: 13px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 16px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.2) !important;
  transition: all 0.1s ease !important;
  box-sizing: border-box !important;
}

.lp-primary-btn:hover {
  background-color: #00ccaa !important;
  box-shadow: 0 0 16px rgba(0, 255, 204, 0.35) !important;
}

/* 4. RE-ENGINEERED HIGH-DENSITY MISSION COMMENT CARD (LOWER PANEL) */
#landing-portal-wrapper > .lp-action-card-box:last-of-type,
.lp-view-panel + .lp-action-card-box,
div.lp-action-card-box:nth-of-type(2) {
  background-color: #0f172a !important; /* Deeper slate tile hue */
  
  /* LAYER 1: Dynamic Technical Matrix Grid Canvas Patterns */
  background-image: 
    linear-gradient(rgba(0, 255, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.08) 1px, transparent 1px) !important;
  background-size: 12px 12px !important;
  
  /* CRITICAL INSET OVERRIDE: Drawing the lines completely INSIDE the container box to prevent background leaks */
  border: none !important;
  border-radius: 8px !important;
  padding: 20px 16px !important;
  box-shadow: 
    inset 0 0 0 1px #1e293b, 
    inset 0 2px 0 0 #00ffcc, 
    0 10px 30px rgba(0, 0, 0, 0.6) !important;

  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Restructuring the Core Narrative Punctuation Elements */
.lp-panel-narrative-text {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #f3f4f6 !important; /* Premium bright platinum silver text node hierarchy replacement */
  text-align: center !important;
  position: relative !important;
  padding: 10px 4px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
}

/* Adding Developer Comment Brackets Natively Around Your Choice Text */
.lp-panel-narrative-text::before {
  content: "/*" !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: rgba(0, 255, 204, 0.35) !important; /* Translucent neon-teal punctuation bracket */
  margin-bottom: 10px !important;
  letter-spacing: 0.1em !important;
}

.lp-panel-narrative-text::after {
  content: "*/" !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: rgba(0, 255, 204, 0.35) !important;
  margin-top: 10px !important;
  letter-spacing: 0.1em !important;
}

/* 5. DYNAMIC BACKEND SUB-PANELS (CAPTCHA & BUSINESS ONBOARDING FUNNELS) */
.lp-security-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

.lp-security-title {
  margin: 0 !important;
  font-size: 13px !important;
  color: #f59e0b !important;
  font-weight: 700 !important;
}

.lp-security-text {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #9ca3af !important;
}

.lp-captcha-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.lp-captcha-opt {
  height: 44px !important;
  background-color: #1f2937 !important;
  border: 1px solid #374151 !important;
  color: #f3f4f6 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.lp-captcha-opt:hover { background-color: #374151 !important; }

.lp-link-btn {
  background: none !important;
  border: none !important;
  color: #9ca3af !important;
  font-size: 12px !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  align-self: flex-start !important;
  padding: 4px 0 !important;
}

.lp-b2b-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.lp-panel-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.lp-alert-badge {
  background-color: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid #f59e0b !important;
  color: #f59e0b !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.lp-metrics-ticker {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  background-color: #070a12 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 6px !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

.lp-metric-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.lp-metric-num {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #10b981 !important;
}

.lp-metric-lbl {
  font-size: 9px !important;
  color: #9ca3af !important;
  margin-top: 2px !important;
}

.lp-panel-instruction {
  margin: 0 !important;
  font-size: 12px !important;
  color: #9ca3af !important;
}

.lp-sector-flex-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.lp-sector-btn {
  height: 44px !important;
  background-color: #1f2937 !important;
  border: 1px solid #374151 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  text-align: left !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

.lp-sector-btn:hover { border-color: #00ffcc !important; }

/* 6. STRATEGIC LOWER FOOTER DOORWAY */
.lp-hidden-footer-perimeter {
  padding: 24px 0 12px 0 !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.lp-footer-b2b-anchor {
  background: none;
  border: none;
  color: #2e3b52; /* Ultra-low contrast deep slate gray to keep it completely hidden from standard users */
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 12px;
}

.lp-footer-b2b-anchor:hover { color: #f59e0b; }

/* Desktop Rigid Column Allocation Map (Viewport >= 1024px) */
@media (min-width: 1024px) {
  .lp-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 12px;
  }
}
