/* LobsterLauncher — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
  background: #E74C3C;
  border-radius: 3px;
}

/* Nav blur effect */
.nav-scrolled {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-child > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in-child.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.fade-in-child.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.fade-in-child.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.fade-in-child.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.fade-in-child.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.fade-in-child.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 400px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Mac window mockup */
.mac-window {
  background: #0f0f1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
}
.mac-titlebar {
  background: #1e1e30;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mac-dot-red   { background: #FF5F57; }
.mac-dot-yellow{ background: #FFBD2E; }
.mac-dot-green { background: #28C840; }
.mac-screen {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing card */
.pricing-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.pricing-popular {
  box-shadow: 0 0 0 2px #E74C3C, 0 20px 40px rgba(231,76,60,0.25);
}
.pricing-popular:hover {
  box-shadow: 0 0 0 2px #E74C3C, 0 28px 56px rgba(231,76,60,0.35);
}

/* Comparison table */
.compare-table tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #E74C3C, #ff7043);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,76,60,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Button pulse */
@keyframes pulse-coral {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(231,76,60,0); }
}
.btn-pulse {
  animation: pulse-coral 2.5s ease infinite;
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 320px;
  opacity: 1;
}

/* Feature card hover */
.feature-card {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.06);
}
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  border-color: rgba(231,76,60,0.3);
}

/* Permission preset cards */
.preset-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
.preset-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,76,60,0.4);
}

/* Step number */
.step-number {
  background: linear-gradient(135deg, #E74C3C, #c0392b);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(231,76,60,0.4);
}

/* Trust badges */
.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
