/* ============================================================
   0044 Landing Page - Custom Styles
   Monochrome Graphite/Charcoal Theme
   ============================================================ */

/* --- Font Smoothing --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #111827;
  color: #e5e7eb;
}

/* --- Navbar --- */
#navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(17, 24, 39, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#navbar .nav-link {
  position: relative;
  transition: color 0.25s ease;
}

#navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9ca3af;
  transition: width 0.3s ease;
}

#navbar .nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* --- Hero Section --- */
.hero-gradient {
  background: linear-gradient(135deg, #111827 0%, #1f2937 40%, #374151 100%);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid #4b5563;
  border-radius: 12px;
  z-index: 0;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

/* --- Feature Cards --- */
.feature-card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: #6b7280;
}

.icon-frame {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #374151;
  color: #9ca3af;
  font-size: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .icon-frame {
  background: #4b5563;
  color: #d1d5db;
}

/* --- Stats Counter --- */
.stat-number {
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* --- Testimonials --- */
.testimonial-card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #6b7280;
}

.testimonial-card .quote-icon {
  color: #374151;
  font-size: 2rem;
}

/* --- FAQ Accordion --- */
.accordion-item {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.accordion-item:hover {
  border-color: #4b5563;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: #d1d5db;
}

.accordion-icon {
  transition: transform 0.35s ease;
  color: #6b7280;
  font-size: 0.85rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #9ca3af;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: #9ca3af;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-gradient {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.btn-cta {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-cta:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #4b5563;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background: #1f2937;
  color: #ffffff;
  border-color: #6b7280;
}

/* --- Section Title Divider --- */
.section-divider {
  width: 60px;
  height: 3px;
  background: #4b5563;
  margin: 0 auto;
}

/* --- Back to Top --- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #374151;
  color: #9ca3af;
  border: 1px solid #4b5563;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 50;
  font-size: 1rem;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #4b5563;
  color: #d1d5db;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hover lift utility --- */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Thin scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}
