/* ==========================================================================
   LEADOCIAN PREMIUM SAAS CORE SYSTEM (VANILLA CSS LIGHT/DARK SYSTEM)
   ========================================================================== */

:root {
  /* Refined Professional Dark Theme (Obsidian & Emerald Green) */
  --bg-base: #030712;
  --bg-sidebar: rgba(15, 23, 42, 0.9);
  --bg-card: rgba(30, 41, 59, 0.45);
  --bg-input: rgba(15, 23, 42, 0.85);
  --bg-terminal: #020617;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.25); /* Emerald green glow */
  
  --primary-mint: #10b981; /* Emerald Green */
  --primary-cyan: #06b6d4; /* Teal/Cyan */
  --primary-blue: #3b82f6;
  --primary-red: #ef4444;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dark: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  
  --shadow-glow: 0 0 15px rgba(6, 182, 212, 0.15);
  --shadow-glow-mint: 0 0 15px rgba(16, 185, 129, 0.2);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Light Theme Variables Override */
body.light-theme {
  --bg-base: #f8fafc;
  --bg-sidebar: rgba(255, 255, 255, 0.9);
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-input: #ffffff;
  --bg-terminal: #0f172a;
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(6, 182, 212, 0.15);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dark: #94a3b8;
  
  --shadow-glow: 0 4px 20px rgba(6, 182, 212, 0.08);
  --shadow-glow-mint: 0 4px 20px rgba(16, 185, 129, 0.08);
  --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.05);
}

/* Reset & Core base rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient glow nodes in the background */
.glow-bg-1, .glow-bg-2 {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(120px);
  opacity: 0.8;
}

.glow-bg-1 {
  top: -10%;
  left: 20%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 75%);
}

.glow-bg-2 {
  bottom: -10%;
  right: 10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 75%);
}

body.light-theme .glow-bg-1 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 75%);
}

body.light-theme .glow-bg-2 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 75%);
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.4);
}

/* SPA VIEW ROUTER */
.spa-view {
  transition: opacity 0.3s ease;
}

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

/* ==========================================================================
   LANDING PAGE STYLING
   ========================================================================== */

#view-landing {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #05070c;
  overflow-x: hidden;
}

.landing-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .landing-container {
    padding: 0 20px;
  }
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 60px;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .landing-header {
    padding: 20px;
  }
}

.landing-auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-auth-buttons .btn-signup {
  background: linear-gradient(135deg, var(--primary-mint) 0%, var(--primary-cyan) 100%);
  color: #040810;
  border: none;
}

.landing-auth-buttons .btn-signup:hover {
  box-shadow: var(--shadow-glow-mint);
  transform: translateY(-1.5px);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-glow);
}

.landing-brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .landing-brand-text {
  background: linear-gradient(135deg, #0f172a 40%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-nav-links {
  display: flex;
  gap: 32px;
}

.landing-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.landing-nav-links a:hover {
  color: var(--primary-cyan);
}

.launch-app-btn {
  width: auto;
  padding: 10px 20px;
  font-size: 13.5px;
}

/* Hero Section */
.landing-hero {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 100px auto;
  padding: 20px 24px 0;
  box-sizing: border-box;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--primary-cyan);
  font-size: 12px;
  font-weight: 800;
  border-radius: 30px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow);
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(to right, #ffffff, #a7f3d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transform-style: preserve-3d;
  animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
  0% {
    transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translateY(0);
    filter: drop-shadow(2px 2px 2px rgba(6, 182, 212, 0.4)) 
            drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
  }
  50% {
    transform: perspective(1000px) rotateX(6deg) rotateY(5deg) translateY(-8px);
    filter: drop-shadow(-2px 2px 4px rgba(16, 185, 129, 0.4)) 
            drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.3));
  }
  100% {
    transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translateY(0);
    filter: drop-shadow(2px 2px 2px rgba(6, 182, 212, 0.4)) 
            drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
  }
}

body.light-theme .hero-title {
  background: linear-gradient(to bottom, #0f172a 40%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float3DLight 6s ease-in-out infinite;
}

@keyframes float3DLight {
  0% {
    transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translateY(0);
    filter: drop-shadow(2px 2px 2px rgba(6, 182, 212, 0.2)) 
            drop-shadow(4px 4px 8px rgba(15, 23, 42, 0.1));
  }
  50% {
    transform: perspective(1000px) rotateX(6deg) rotateY(5deg) translateY(-8px);
    filter: drop-shadow(-2px 2px 4px rgba(16, 185, 129, 0.2)) 
            drop-shadow(0px 10px 15px rgba(15, 23, 42, 0.08));
  }
  100% {
    transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translateY(0);
    filter: drop-shadow(2px 2px 2px rgba(6, 182, 212, 0.2)) 
            drop-shadow(4px 4px 8px rgba(15, 23, 42, 0.1));
  }
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.01);
}

body.light-theme .hero-metrics {
  background: rgba(15, 23, 42, 0.01);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Grid */
.landing-features {
  background-color: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding: 100px 0;
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

body.light-theme .feature-card:hover {
  border-color: rgba(15, 23, 42, 0.12);
}

.feature-icon {
  font-size: 26px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

body.light-theme .feature-icon {
  background: rgba(15, 23, 42, 0.02);
}

.feature-icon.instagram-clr { color: #e1306c; border-color: rgba(225, 48, 108, 0.2); background: rgba(225, 48, 108, 0.05); }
.feature-icon.linkedin-clr { color: #0a66c2; border-color: rgba(10, 102, 194, 0.2); background: rgba(10, 102, 194, 0.05); }
.feature-icon.facebook-clr { color: #1877f2; border-color: rgba(24, 119, 242, 0.2); background: rgba(24, 119, 242, 0.05); }
.feature-icon.gmaps-clr { color: #ea4335; border-color: rgba(234, 67, 53, 0.2); background: rgba(234, 67, 53, 0.05); }
.feature-icon.smtp-clr { color: var(--primary-mint); border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.05); }
.feature-icon.excel-clr { color: var(--primary-cyan); border-color: rgba(6, 182, 212, 0.2); background: rgba(6, 182, 212, 0.05); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Pricing Grid */
.landing-pricing {
  padding: 100px 0;
  background-color: #0b0f19;
  background-image: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.04), transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.recommended {
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(8, 12, 22, 0.5) 100%);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-mint) 100%);
  color: #030712;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.plan-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.pricing-card.recommended .plan-name {
  color: var(--primary-cyan);
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 12px;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.4;
  min-height: 40px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  font-size: 14px;
}

.plan-features li i.fa-circle-check {
  color: var(--primary-mint);
}

.plan-features li i.disabled-icon {
  color: var(--text-dark);
  opacity: 0.4;
}

.plan-features li .disabled-text {
  color: var(--text-dark);
  text-decoration: line-through;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pricing-guarantee-badge i {
  font-size: 20px;
  color: var(--primary-mint);
}

/* FAQ accordion styles */
.landing-faq {
  padding: 100px 0;
  background-color: #080c14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  margin-bottom: 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .faq-item:hover {
  border-color: rgba(15, 23, 42, 0.12);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  user-select: none;
}

.faq-question i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-question i {
  color: var(--primary-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Open state (hover simulation or active clicks) */
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Landing Footer */
.landing-footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px 0;
  background-color: #05070c;
}

.landing-footer .landing-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-top p {
  color: var(--text-dark);
  font-size: 13.5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* ==========================================================================
   APP SAAS CONSOLE VIEW STYLING
   ========================================================================== */

#view-app {
  min-height: 100vh;
}

/* Layout overrides */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation Drawer */
.app-sidebar {
  width: 300px;
  background: var(--bg-sidebar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 30px 24px;
}

.sidebar-header {
  margin-bottom: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-glow);
  padding: 2px;
}

.brand-text .brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .brand-text .brand-title {
  background: linear-gradient(135deg, #0f172a 30%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-slogan {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

/* Role Selector Dropdown */
.role-selector-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px;
}

body.light-theme .role-selector-wrapper {
  background: rgba(15, 23, 42, 0.03);
}

.role-selector-wrapper label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
}

.role-selector {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

body.light-theme .role-selector {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

/* Navigation Lists switching */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.nav-item {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 100%;
}

.nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

body.light-theme .nav-item:hover {
  background: rgba(15, 23, 42, 0.03);
}

.nav-item:hover i {
  transform: translateX(2px);
}

.nav-item.active {
  color: var(--primary-cyan);
  background: rgba(6, 182, 212, 0.08);
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-cyan), var(--primary-mint));
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--primary-cyan);
}

/* Sidebar Footer & widgets */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.active-plan-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
}

body.light-theme .active-plan-card {
  background: rgba(15, 23, 42, 0.02);
}

.plan-badge {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid var(--border-glow);
  color: var(--primary-cyan);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow);
}

.plan-sub {
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.refund-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-mint);
}

.sidebar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  flex: 1;
}

body.light-theme .status-indicator {
  background: rgba(15, 23, 42, 0.03);
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.indicator-dot.idle {
  background-color: var(--primary-cyan);
  box-shadow: 0 0 8px var(--primary-cyan);
}

.indicator-dot.active {
  background-color: var(--primary-mint);
  box-shadow: 0 0 10px var(--primary-mint);
  animation: pulse-dot 1.5s infinite;
}

.indicator-dot.error {
  background-color: var(--primary-red);
  box-shadow: 0 0 8px var(--primary-red);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

body.light-theme .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.03);
}

.theme-toggle-btn:hover {
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
  transform: scale(1.08);
}

.sidebar-copyright {
  font-size: 10px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.sidebar-copyright .company-name {
  font-weight: 700;
  color: var(--text-muted);
}

.main-content {
  margin-left: 300px;
  flex-grow: 1;
  padding: 0;
  min-width: 0;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
}

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

/* Cards (Glassmorphism layout) */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .glass-card:hover {
  border-color: rgba(15, 23, 42, 0.12);
}

/* Dashboard configurations grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 30px;
  align-items: start;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.section-title i {
  color: var(--primary-cyan);
}

/* Stats counter grid */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 0;
}

.stat-box:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

body.light-theme .stat-icon {
  background: rgba(15, 23, 42, 0.02);
}

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

.stat-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cyan-color { color: var(--primary-cyan); }
.mint-color { color: var(--primary-mint); }
.blue-color { color: var(--primary-blue); }

.pulse-cyan {
  color: var(--primary-cyan);
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Input boxes & fields styling */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

input[type="text"],
input[type="number"],
input[type="email"] {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

body.light-theme input[type="text"],
body.light-theme input[type="number"],
body.light-theme input[type="email"] {
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme input[type="text"]:focus,
body.light-theme input[type="number"]:focus,
body.light-theme input[type="email"]:focus {
  border-color: var(--primary-cyan);
  background: #ffffff;
}

/* Double column form layouts */
.form-row-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.checkbox-group {
  justify-content: flex-end;
  padding-bottom: 4px;
}

/* Custom Checkbox Design */
.custom-checkbox-container {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: all 0.3s ease;
}

body.light-theme .checkmark {
  border-color: rgba(15, 23, 42, 0.15);
}

.custom-checkbox-container:hover input ~ .checkmark {
  border-color: var(--primary-cyan);
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-mint);
  border-color: var(--primary-mint);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox-container .checkmark:after {
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Platform Tiles selectors grid layout */
.platform-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.platform-tile-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.platform-tile-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tile-content {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

body.light-theme .tile-content {
  border-color: rgba(15, 23, 42, 0.1);
}

.tile-content i {
  font-size: 22px;
  color: var(--text-dark);
  transition: color 0.3s ease, transform 0.3s ease;
}

.platform-tile-card:hover .tile-content {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

body.light-theme .platform-tile-card:hover .tile-content {
  border-color: rgba(15, 23, 42, 0.2);
}

.platform-tile-card input:checked ~ .tile-content {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

.platform-tile-card input:checked ~ .tile-content i {
  transform: scale(1.1);
}

.platform-tile-card input:checked ~ .tile-content i.instagram-color { color: #e1306c; }
.platform-tile-card input:checked ~ .tile-content i.facebook-color { color: #1877f2; }
.platform-tile-card input:checked ~ .tile-content i.linkedin-color { color: #0a66c2; }
.platform-tile-card input:checked ~ .tile-content i.twitter-color { color: var(--text-main); }
.platform-tile-card input:checked ~ .tile-content i.gmaps-color { color: #ea4335; }
.platform-tile-card input:checked ~ .tile-content i.pinterest-color { color: #bd081c; }

.platform-tile-card .tile-content::after {
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-dark);
  font-size: 11px;
  opacity: 0.5;
  transition: all 0.25s ease;
}

.platform-tile-card input:checked ~ .tile-content::after {
  content: "\f14a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-mint);
  opacity: 1;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

/* Radios for format */
.radio-group-container {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  margin-top: 6px;
}

.radio-flex {
  display: flex;
  gap: 24px;
}

.custom-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition: all 0.3s ease;
}

body.light-theme .radio-checkmark {
  border-color: rgba(15, 23, 42, 0.15);
}

.custom-radio:hover input ~ .radio-checkmark {
  border-color: var(--primary-cyan);
}

.custom-radio input:checked ~ .radio-checkmark {
  border-color: var(--primary-cyan);
  background-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .radio-checkmark:after {
  display: block;
}

.custom-radio .radio-checkmark:after {
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

/* Button UI system designs */
.btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-mint) 0%, var(--primary-cyan) 100%);
  color: #040810;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-mint);
  filter: brightness(1.08);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg) translate(-100%, -100%);
  transition: transform 1.2s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(100%, 100%);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.25);
  margin-top: 10px;
}

.btn-danger:hover {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

body.light-theme .btn-secondary {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.12);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

body.light-theme .btn-secondary:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.06);
}

.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.hidden {
  display: none !important;
}

/* Right Side: Monitor panel */
.live-monitor-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
}

.progress-card {
  padding: 18px 24px;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
}

body.light-theme .progress-track {
  background: rgba(15, 23, 42, 0.06);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-cyan), var(--primary-mint));
  border-radius: 10px;
  box-shadow: 0 0 8px var(--primary-cyan);
  transition: width 0.4s ease;
}

/* Console feed log terminals styling */
.terminal-card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.05);
}

.terminal-header {
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

body.light-theme .terminal-header {
  background: rgba(15, 23, 42, 0.05);
}

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

.terminal-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots .dot.red { background-color: #ff5f56; }
.terminal-dots .dot.yellow { background-color: #ffbd2e; }
.terminal-dots .dot.green { background-color: #27c93f; }

.terminal-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-clear-console {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-clear-console:hover {
  color: var(--text-main);
}

.terminal-body {
  background-color: var(--bg-terminal);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  overflow-y: auto;
  height: 320px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 0 0 16px 16px;
}

.log-row {
  display: flex;
  gap: 8px;
}

.log-time {
  color: var(--text-dark);
  flex-shrink: 0;
}

.log-text {
  word-break: break-all;
}

.log-row.system .log-text { color: var(--text-muted); }
.log-row.info .log-text { color: #a5f3fc; }
.log-row.success .log-text { color: var(--primary-mint); }
.log-row.warning .log-text { color: #fef08a; }
.log-row.error .log-text { color: #fca5a5; }

/* Leads Database Tab panel */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
}

.results-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.results-title-group h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.results-count-badge {
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--primary-cyan);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
  width: 280px;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dark);
  font-size: 13px;
}

.search-box input {
  padding-left: 38px;
  font-size: 13px;
  border-radius: 8px;
}

.results-actions .btn {
  width: auto;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
}

/* CRM Database tables layout */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.1);
}

body.light-theme .table-container {
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

th, td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}

th {
  background: rgba(255, 255, 255, 0.01);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.light-theme th {
  background: #f8fafc;
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

body.light-theme tbody tr:hover {
  background-color: rgba(15, 23, 42, 0.01);
}

.empty-row-placeholder td {
  padding: 80px 20px;
  text-align: center;
  border-bottom: none;
}

.table-empty-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-dark);
}

.table-empty-text i {
  font-size: 40px;
  opacity: 0.3;
}

.table-empty-text p {
  font-size: 13px;
  font-weight: 500;
  max-width: 320px;
  line-height: 1.5;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
}

.platform-badge.instagram { background: #e1306c; }
.platform-badge.facebook { background: #1877f2; }
.platform-badge.linkedin { background: #0a66c2; }
.platform-badge.twitter { background: #000000; }
.platform-badge.gmaps { background: #ea4335; }
.platform-badge.pinterest { background: #bd081c; }

body.light-theme .platform-badge.twitter {
  background: #0f172a;
}

.lead-username-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-username {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.verified-profession-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary-mint);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.1);
}

.verified-profession-pill.clickable {
  cursor: pointer;
  transition: all 0.25s ease;
}

.verified-profession-pill.clickable:hover {
  transform: translateY(-1px);
  border-color: var(--primary-mint);
  background: rgba(16, 185, 129, 0.16);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.lead-telemetry-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lead-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--primary-cyan);
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lead-temp-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}

.lead-temp-badge.hot {
  background: rgba(244, 63, 94, 0.08);
  color: var(--primary-red);
  border-color: rgba(244, 63, 94, 0.2);
}

.lead-temp-badge.warm {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-blue);
  border-color: rgba(59, 130, 246, 0.2);
}

.lead-temp-badge.cold {
  background: rgba(100, 116, 139, 0.08);
  color: var(--text-muted);
  border-color: rgba(100, 116, 139, 0.2);
}

.email-cell-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-email {
  font-weight: 600;
  font-size: 13.5px;
}

.email-verifier-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-verify-email {
  padding: 3px 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--primary-cyan);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  outline: none;
  transition: all 0.2s ease;
}

.btn-verify-email:hover {
  background: var(--primary-cyan);
  color: #030712;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.email-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.email-status-badge.unknown {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border-color: var(--border-light);
}

.email-status-badge.valid {
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary-mint);
  border-color: rgba(16, 185, 129, 0.2);
}

.email-status-badge.invalid {
  background: rgba(244, 63, 94, 0.08);
  color: var(--primary-red);
  border-color: rgba(244, 63, 94, 0.2);
}

.email-status-badge.risky {
  background: rgba(234, 179, 8, 0.08);
  color: #fbbf24;
  border-color: rgba(234, 179, 8, 0.2);
}

.email-status-badge.catch-all {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-blue);
  border-color: rgba(59, 130, 246, 0.2);
}

.lead-url-link {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  word-break: break-all;
  max-width: 250px;
}

.lead-url-link:hover {
  text-decoration: underline;
  color: var(--text-main);
}

.parsed-snippet-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.snippet-text {
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
}

body.light-theme .snippet-text {
  color: var(--text-main);
}

.highlighted-profession {
  color: var(--primary-cyan);
  font-weight: 700;
  background: rgba(6, 182, 212, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
}

.meta-tags-flex {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

body.light-theme .meta-tag {
  background: rgba(15, 23, 42, 0.02);
}

.meta-tag.phone {
  background: rgba(16, 185, 129, 0.05);
  color: var(--primary-mint);
  border-color: rgba(16, 185, 129, 0.15);
}

.meta-tag.followers {
  background: rgba(6, 182, 212, 0.05);
  color: var(--primary-cyan);
  border-color: rgba(6, 182, 212, 0.15);
}

.lead-row-animate {
  animation: tableRowFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tableRowFadeIn {
  from { opacity: 0; transform: translateY(8px); background-color: rgba(6, 182, 212, 0.08); }
  to { opacity: 1; transform: translateY(0); background-color: transparent; }
}

/* Past History download badges & rows */
.btn-history-download {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  width: auto;
}

/* User Account Status badges */
.admin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-status-badge.active {
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary-mint);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-status-badge.unverified {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-cyan);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.admin-status-badge.canceled {
  background: rgba(234, 179, 8, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.admin-status-badge.expired {
  background: rgba(244, 63, 94, 0.08);
  color: var(--primary-red);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.btn-admin-action {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  width: auto;
  border: 1px solid var(--border-light);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  transition: all 0.2s ease;
}

body.light-theme .btn-admin-action {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

.btn-admin-action:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Billing card and guaranteed styles */
.billing-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.billing-header h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.billing-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.billing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.billing-info-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.billing-info-card h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.plan-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-badge-large {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1.5px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: -0.2px;
  box-shadow: var(--shadow-glow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-mint);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.plan-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 8px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.detail-item .item-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-item .item-value {
  font-weight: 700;
  color: var(--text-main);
}

.refund-guarantee-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 182, 212, 0.02) 100%);
  border: 1.5px dashed rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.guarantee-icon {
  font-size: 36px;
  color: var(--primary-mint);
  animation: pulse-icon 2.5s infinite;
}

.refund-guarantee-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.refund-guarantee-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.guarantee-footer {
  margin-top: 10px;
}

.guarantee-footer p {
  margin: 0;
  font-size: 11px;
}

.guarantee-footer .corporate-title {
  font-weight: 800;
  color: var(--text-main);
  font-size: 12px;
}

.billing-footer-info {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

body.light-theme .billing-footer-info {
  background: rgba(15, 23, 42, 0.01);
}

.billing-footer-info i {
  color: var(--primary-cyan);
}

/* Glassmorphism AI Lead Verification Hub Modal Overlay */
.leadocean-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.leadocean-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Card styling */
.verification-modal-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
  padding: 24px;
  color: #f3f4f6;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.93) translateY(15px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

body.light-theme .verification-modal-card {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 30px rgba(6, 182, 212, 0.08);
}

.leadocean-modal-overlay.active .verification-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  outline: none;
}

body.light-theme .modal-close-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.1);
  color: var(--primary-red);
  border-color: rgba(244, 63, 94, 0.25);
  transform: rotate(90deg);
}

.modal-title-group {
  margin-bottom: 22px;
  padding-right: 32px;
}

.modal-title-group h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .modal-title-group h3 {
  background: linear-gradient(135deg, #0f172a 30%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-title-group p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-identity-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

body.light-theme .modal-identity-card {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.05);
}

.identity-avatar-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
}

.modal-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.03) 100%);
  border: 2px solid var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-cyan);
}

.modal-platform-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  border: 2px solid #0f172a;
}

body.light-theme .modal-platform-badge {
  border-color: #fff;
}

.modal-platform-badge.instagram { background: #e1306c; }
.modal-platform-badge.facebook { background: #1877f2; }
.modal-platform-badge.linkedin { background: #0a66c2; }
.modal-platform-badge.twitter { background: #000000; }
.modal-platform-badge.gmaps { background: #ea4335; }
.modal-platform-badge.pinterest { background: #bd081c; }

.identity-text-side h4 {
  font-size: 15px;
  font-weight: 700;
}

.identity-text-side .profile-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.profile-meta-row .source-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: var(--primary-cyan);
}

.btn-modal-visit-link {
  padding: 8px 14px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-modal-visit-link:hover {
  background: var(--primary-cyan);
  color: #080c16;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

body.light-theme .btn-modal-visit-link:hover {
  color: #ffffff;
}

.modal-detail-section {
  margin-bottom: 22px;
}

.modal-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bio-evidence-card {
  background: rgba(0, 0, 0, 0.15);
  border-left: 3px solid var(--primary-mint);
  border-radius: 4px 8px 8px 4px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
  position: relative;
  font-style: italic;
}

body.light-theme .bio-evidence-card {
  background: rgba(15, 23, 42, 0.03);
}

.bio-evidence-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 8px;
  left: 6px;
  font-size: 16px;
  color: rgba(16, 185, 129, 0.12);
}

.bio-evidence-card .highlighted-profession {
  color: var(--primary-mint) !important;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.evidence-caption {
  font-size: 10.5px;
  color: var(--text-dark);
  margin-top: 8px;
  display: block;
}

/* ==========================================================================
   RESPONSIVE SAAS LAYOUT & MOBILE OVERRIDES
   ========================================================================== */

@media (max-width: 992px) {
  /* Landing page overrides */
  .landing-nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-metrics {
    flex-direction: column;
    gap: 24px;
  }

  /* App sidebar overrides */
  .app-sidebar {
    width: 100%;
    height: auto;
    bottom: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding: 20px;
  }

  .sidebar-header {
    margin-bottom: 20px;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-item {
    padding: 10px 14px;
    font-size: 13px;
    width: auto;
  }

  .nav-item.active::before {
    left: 15%;
    top: auto;
    bottom: 0;
    width: 70%;
    height: 3px;
    border-radius: 4px 4px 0 0;
  }

  .sidebar-footer {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 24px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   SAAS AUTHENTICATION & SIDEBAR USER PROFILE EXTENSIONS
   ========================================================================== */

/* Sidebar Profile Component Card Styling */
.sidebar-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  margin-top: auto;
  margin-bottom: 14px;
  position: relative;
}

body.light-theme .sidebar-profile-card {
  background: rgba(15, 23, 42, 0.02);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-mint) 100%);
  color: #040810;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
}

.profile-info {
  flex-grow: 1;
  min-width: 0;
}

.profile-info h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-info p {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-status-wrapper {
  margin-top: 2px;
}

.status-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-mini.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-mint);
}

.status-badge-mini.pending {
  background: rgba(234, 179, 8, 0.1);
  color: #fbbf24;
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.btn-logout:hover {
  color: var(--primary-red);
}

/* Email Unverified Warning Header Banner */
.warning-banner {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(251, 191, 36, 0.02) 100%);
  border: 1px dashed rgba(234, 179, 8, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: bannerGlowPulse 3s infinite alternate;
}

@keyframes bannerGlowPulse {
  from { border-color: rgba(234, 179, 8, 0.3); box-shadow: none; }
  to { border-color: rgba(234, 179, 8, 0.5); box-shadow: 0 0 15px rgba(234, 179, 8, 0.05); }
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.banner-content i {
  font-size: 18px;
  color: #fbbf24;
}

.pulse-warning {
  animation: warningPulse 2s infinite;
}

@keyframes warningPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

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

.btn-mini {
  padding: 6px 12px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  width: auto !important;
}

/* Authentication Overlay Modal */
.auth-modal-card {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 35px rgba(6, 182, 212, 0.15);
  padding: 30px;
  color: #f3f4f6;
  position: relative;
  animation: modalScaleUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

body.light-theme .auth-modal-card {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 30px rgba(6, 182, 212, 0.08);
}

@keyframes modalScaleUp {
  from { transform: scale(0.93) translateY(15px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.auth-subview {
  animation: subviewFadeIn 0.3s ease-out forwards;
}

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

.auth-toggle-link a:hover {
  text-decoration: underline;
}

/* Sidebar Profile Mobile Overrides */
@media (max-width: 992px) {
  .sidebar-profile-card {
    margin-top: 0;
    margin-left: auto;
    width: auto;
  }
}

/* Members Area Top Header Bar Styles */
.app-header-bar {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

body.light-theme .app-header-bar {
  background: rgba(248, 250, 252, 0.85);
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

.root-breadcrumb {
  color: var(--text-muted);
}

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 10px;
  display: flex;
  align-items: center;
}

.active-breadcrumb {
  color: var(--primary-cyan);
  font-weight: 700;
}

.header-right-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-profile-menu {
  position: relative;
}

.profile-trigger-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light-theme .profile-trigger-btn {
  background: rgba(15, 23, 42, 0.02);
}

.profile-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

body.light-theme .profile-trigger-btn:hover {
  background: rgba(15, 23, 42, 0.05);
}

.header-logo-icon {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #3b82f6 100%);
  color: #000000;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-username {
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 700;
}

.chevron-icon {
  color: var(--text-muted);
  font-size: 11px;
}

.header-dropdown-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: dropdownFadeIn 0.2s ease-out forwards;
}

body.light-theme .header-dropdown-card {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

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

.dropdown-header-info {
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-header-info .info-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.dropdown-header-info .info-email {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

.dropdown-header-info .info-status {
  margin-top: 6px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.dropdown-item-btn {
  background: none;
  border: none;
  color: var(--text-main);
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.dropdown-item-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-cyan);
}

body.light-theme .dropdown-item-btn:hover {
  background: rgba(15, 23, 42, 0.04);
}

.dropdown-item-btn.logout-danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--primary-red);
}

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

/* Upgrade Button Premium Styling */
.btn-upgrade {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  color: #040810 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: pulse-upgrade 2s infinite !important;
}

.btn-upgrade:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.8) !important;
  filter: brightness(1.1);
}

.btn-upgrade:active {
  transform: translateY(0) !important;
}

@keyframes pulse-upgrade {
  0% {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  }
  50% {
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.7);
  }
  100% {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  }
}

/* Avatar Image Constraints */
.profile-avatar img,
.header-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-avatar {
  overflow: hidden;
}

.header-avatar {
  overflow: hidden;
}

/* Inline Plan Select inside Admin User Directory */
.admin-plan-select {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-main);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.admin-plan-select:hover {
  border-color: var(--primary-cyan);
  background: rgba(15, 23, 42, 0.6);
}
.admin-plan-select option {
  background: #0d1527;
  color: #fff;
}

body.light-theme .admin-plan-select {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
body.light-theme .admin-plan-select option {
  background: #fff;
  color: #0f172a;
}

/* Active Gateway Card highlights */
.gateway-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gateway-card.connected {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1) !important;
}

/* Active Plan Cards inside Plan Directory */
.admin-plan-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}
.admin-plan-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(6, 182, 212, 0.3);
}
.admin-plan-card .plan-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
body.light-theme .admin-plan-card .plan-info h4 {
  color: #0f172a;
}
.admin-plan-card .plan-info p {
  font-size: 12px;
  color: var(--text-muted);
}
.btn-delete-plan {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--primary-red);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-delete-plan:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--primary-red);
  transform: translateY(-1px);
}

/* Connected checkout styling */
.checkout-pill {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light) !important;
  opacity: 0.6;
}
.checkout-pill:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.05);
}
.checkout-pill.active {
  opacity: 1 !important;
  border: 2px solid var(--primary-cyan) !important;
  background: rgba(6, 182, 212, 0.12) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25) !important;
}

body.light-theme .checkout-pill.active {
  background: rgba(6, 182, 212, 0.1) !important;
  border-color: var(--primary-cyan) !important;
}

/* 2-Column Responsive Add Grid */
@media (max-width: 992px) {
  .admin-add-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Custom Preset Themes */
body.theme-solar {
  --primary-cyan: #f97316 !important;
  --primary-mint: #fbbf24 !important;
  --border-glow: rgba(249, 115, 22, 0.3) !important;
  --shadow-glow: 0 0 15px rgba(249, 115, 22, 0.2) !important;
}

body.theme-violet {
  --primary-cyan: #a855f7 !important;
  --primary-mint: #f472b6 !important;
  --border-glow: rgba(168, 85, 247, 0.3) !important;
  --shadow-glow: 0 0 15px rgba(168, 85, 247, 0.2) !important;
}

body.theme-midnight {
  --bg-base: #030712 !important;
  --bg-sidebar: rgba(17, 24, 39, 0.9) !important;
  --primary-cyan: #3b82f6 !important;
  --primary-mint: #06b6d4 !important;
  --border-glow: rgba(59, 130, 246, 0.3) !important;
  --shadow-glow: 0 0 15px rgba(59, 130, 246, 0.2) !important;
}

/* 3D Dashboard Mockup Showcase Styles */
.landing-showcase {
  max-width: 1350px;
  margin: 0 auto 120px auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.mockup-container {
  width: 100%;
  perspective: 1800px;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  position: relative;
  width: 90%;
  max-width: 950px;
  transform: rotateX(15deg) rotateY(-8deg) rotateZ(3deg) scale(0.95);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
  border-radius: 16px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(16, 185, 129, 0.2));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 
              0 0 40px rgba(6, 182, 212, 0.15);
}

.mockup-frame:hover {
  transform: rotateX(5deg) rotateY(-2deg) rotateZ(1deg) scale(1.02);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.7), 
              0 0 60px rgba(6, 182, 212, 0.3),
              0 0 30px rgba(16, 185, 129, 0.2);
}

.mockup-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.mockup-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg-base);
}

/* Landing Page Theme Switcher Button */
.landing-header .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  margin-right: 15px;
}

.landing-header .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

body.light-theme .mockup-frame {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.15));
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 
              0 0 30px rgba(6, 182, 212, 0.1);
}

body.light-theme .mockup-frame:hover {
  box-shadow: 0 35px 70px rgba(15, 23, 42, 0.18), 
              0 0 40px rgba(6, 182, 212, 0.25);
}

/* Promo Urgency Banner */
.promo-urgency-banner {
  background: linear-gradient(90deg, #10b981, #059669);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.promo-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.promo-spots {
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.promo-timer {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-mono);
}

/* Social Proof Popup */
.social-proof-popup {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  max-width: 320px;
}

.social-proof-popup.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.social-proof-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-mint));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.social-proof-content {
  flex: 1;
}

.social-proof-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.social-proof-time {
  font-size: 11px;
  color: var(--text-dark);
  display: block;
  margin-top: 3px;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: #1f2937;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Target Audience Section */
.landing-target-audience {
  padding: 100px 0;
  background-color: #0b0f19;
  background-image: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.04), transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.audience-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.audience-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-mint);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.15);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-card i {
  font-size: 32px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
}

.audience-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
}

.audience-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Comparison Section */
.landing-comparison {
  padding: 100px 0;
  background-color: #080c14;
  background-image: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.04), transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.comparison-column-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.comparison-item-box {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.comparison-item-box.fb-ads {
  border-left: 4px solid #3b5998;
}

.comparison-item-box.traditional-scrapers {
  border-left: 4px solid #6b7280;
}

.comparison-item-box.leadocean-alternative {
  border: 2px solid var(--primary-mint);
  background: rgba(16, 185, 129, 0.03);
  box-shadow: var(--shadow-glow);
}

.comparison-badge-pop {
  position: absolute;
  top: -15px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-mint));
  color: #0b0f19;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.comparison-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.comparison-header i {
  font-size: 28px;
  margin-right: 15px;
}

.fb-ads .comparison-header i {
  color: #3b5998;
}

.traditional-scrapers .comparison-header i {
  color: #9ca3af;
}

.comparison-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.comparison-cost {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.leadocean-alternative .comparison-cost {
  color: var(--primary-mint);
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.cost-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.comparison-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.comparison-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-body li {
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-body li i {
  font-size: 16px;
}

.comparison-body li i.fa-circle-xmark {
  color: #ef4444;
}

.comparison-body li i.fa-circle-check {
  color: var(--primary-mint);
}

/* Testimonials Section */
.landing-testimonials {
  padding: 100px 0;
  background-color: #0b0f19;
  background-image: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.04), transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-mint);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(6, 182, 212, 0.15);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 2px 0;
}

.author-info span {
  font-size: 12px;
  color: var(--text-dark);
}

/* Signup pricing plan cards */
.signup-plan-card {
  border: 1px solid var(--border-light) !important;
  background: var(--bg-input) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.signup-plan-card:hover {
  border-color: var(--primary-cyan) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 230, 255, 0.1);
}

.signup-plan-card.active {
  border-color: var(--primary-cyan) !important;
  border-width: 2px !important;
  background: rgba(0, 230, 255, 0.05) !important;
  box-shadow: 0 0 15px rgba(0, 230, 255, 0.15) !important;
}

/* ==========================================================================
   EMAIL MARKETING INTEGRATIONS STYLING
   ========================================================================== */
.gateway-card {
  transition: all 0.3s ease;
}
.gateway-card:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: 0 8px 24px rgba(0, 173, 181, 0.15);
  transform: translateY(-2px);
}

.status-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.status-badge-mini i {
  font-size: 8px;
}
.status-badge-mini.connected {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-mint);
}
.status-badge-mini.connected i {
  color: var(--primary-mint);
}

#leadocean-sync-overlay.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
#leadocean-sync-overlay.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
#leadocean-sync-overlay .modal-card {
  transform: scale(0.93) translateY(15px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#leadocean-sync-overlay.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}


