/* MeetFlow - Premium Enterprise Design */
/* ===================================== */

:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --dark: #0F172A;
  --slate-900: #0f172a;
  --light: #F8FAFC;
  --accent: #38BDF8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Premium Section Spacing */
.section-premium {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .section-premium {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
@media (min-width: 1024px) {
  .section-premium {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mockup {
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Premium Cards */
.premium-card {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 639px) {
  .premium-card { border-radius: 1rem; }
}
.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* Dark Section */
.section-dark {
  background: linear-gradient(180deg, #0F172A 0%, #1e293b 100%);
  color: white;
}

/* Mesh Gradient Background */
.bg-mesh {
  background-color: #0F172A;
  background-image: 
    radial-gradient(at 40% 20%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(37, 99, 235, 0.08) 0px, transparent 50%);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll-delay-1 { transition-delay: 0.1s; }
.animate-on-scroll-delay-2 { transition-delay: 0.2s; }
.animate-on-scroll-delay-3 { transition-delay: 0.3s; }
.animate-on-scroll-delay-4 { transition-delay: 0.4s; }

.hero-animate-1 { animation: fadeInUp 0.9s ease-out forwards; }
.hero-animate-2 { animation: fadeInUp 0.9s ease-out 0.1s forwards; opacity: 0; }
.hero-animate-3 { animation: fadeInUp 0.9s ease-out 0.2s forwards; opacity: 0; }
.hero-animate-4 { animation: fadeInUp 0.9s ease-out 0.3s forwards; opacity: 0; }
.hero-animate-5 { animation: fadeInUp 0.9s ease-out 0.4s forwards; opacity: 0; }
.hero-animate-6 { animation: fadeInUp 0.9s ease-out 0.5s forwards; opacity: 0; }

/* Buttons */
.btn-primary {
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border-radius: 12px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all 0.3s ease;
}
.btn-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cards */
.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
}

/* FAQ Accordion */
.faq-item { transition: all 0.3s ease; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-content { max-height: 500px; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-item.active .faq-trigger { background: rgba(248, 250, 252, 0.9); }

.pricing-toggle { transition: all 0.3s ease; }

/* Header */
.header-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Mobile menu - explicit display control for reliable toggle */
#mobile-menu.mobile-menu-closed {
  display: none;
}
@media (min-width: 768px) {
  #mobile-menu {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #mobile-menu:not(.mobile-menu-closed) {
    display: block;
  }
}

/* Section Labels - Premium */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}
.section-dark .section-label {
  color: rgba(56, 189, 248, 0.95);
}

/* Industry card */
.industry-card {
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  z-index: 1;
}
.industry-card .industry-content {
  position: relative;
  z-index: 2;
}

.stat-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
