/* ===== LANDING PAGES CUSTOM STYLES ===== */

/* --- Navigation Dropdowns --- */
.nav-dropdown .nav-dropdown-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Mobile Accordion --- */
.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-accordion-item.open .mobile-accordion-content {
  max-height: 600px;
}
.mobile-accordion-item .mobile-accordion-chevron {
  transition: transform 0.3s ease;
}
.mobile-accordion-item.open .mobile-accordion-chevron {
  transform: rotate(180deg);
}
#navbar.nav-dark:not(.no-nav-dark) .text-slate-700,
#navbar.nav-dark:not(.no-nav-dark) .text-slate-900,
#navbar.nav-dark:not(.no-nav-dark) .text-slate-600 {
	color: #fff;
}
#navbar.nav-dark:not(.no-nav-dark) .text-slate-700:hover {
	color: #202020;
}

/* --- Dark Hero for Landing Pages --- */
.lp-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Feature Cards --- */
.feature-card-lp {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.feature-card-lp:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

/* --- Stats Counter Animation --- */
.stat-card {
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: scale(1.02);
}

/* --- Section Divider --- */
.section-divider {
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 2px;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  min-height: 300px;
  border: 2px solid transparent;
}
.img-placeholder span {
  color: #64748b;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
}

/* --- Dark Section Image Placeholder --- */
.img-placeholder-dark {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  min-height: 300px;
  border: 2px dashed #475569;
}
.img-placeholder-dark span {
  color: #94a3b8;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.875rem;
}

/* --- Glow Button --- */
.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #3b82f6, #6366f1, #3b82f6);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}
.btn-glow:hover::after {
  opacity: 0.5;
}

/* --- Subtle Grid Background --- */
.grid-bg {
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Alternating section styles --- */
.section-navy {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.section-blue-cta {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  position: relative;
  overflow: hidden;
}
.section-blue-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.4;
  pointer-events: none;
}

/* --- Checkmark list --- */
.check-list li {
  position: relative;
  padding-left: 1.75rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list li::after {
  content: '✓';
  position: absolute;
  left: 0.2rem;
  top: 0.2em;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
}

/* --- Scrollbar for mobile menu --- */
#mobile-menu::-webkit-scrollbar {
  width: 4px;
}
#mobile-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

/* --- Icon box --- */
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Floating animation for hero elements --- */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-gentle {
  animation: float-gentle 6s ease-in-out infinite;
}

/* --- Pulse ring for stats --- */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.3); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .lp-hero::before {
    width: 400px;
    height: 400px;
  }
  .lp-hero::after {
    width: 300px;
    height: 300px;
  }
}
