/* LeadLify V8 Custom Styles */
/* Extends the Reverse SaaS template design system */

/* LeadLify brand accent: lime/cyan gradient replacement */
.leadlify-accent {
  background: linear-gradient(90deg, #a3e635, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section spacing helpers */
.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

html,
body {
  overflow-x: clip;
}

.navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 !important;
}

.navbar-component {
  position: relative;
  width: 100%;
}

.nav-container {
  align-items: center;
  width: auto;
}

.nav-container .w-nav-brand,
.nav-container .w-nav-brand img,
.nav-container > div {
  align-self: center;
}

.nav-container .w-nav-brand {
  display: flex;
  align-items: center;
  height: 64px;
}

.nav-container > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.container-fluid {
  width: auto;
}

.cta-form {
  max-width: 640px;
}

.cta-form .form-group {
  align-items: center;
  flex-wrap: nowrap !important;
  height: auto;
  min-height: 56px;
}

.cta-form .footer-email {
  flex: 1 1 auto;
  min-width: 0 !important;
  height: 48px;
}

.cta-form .cta-form-btn {
  flex: 0 0 auto;
  min-height: 48px;
}

/* Pricing highlight card */
.pricing-highlight {
  border: 2px solid #a3e635;
  position: relative;
}

.pricing-highlight::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #a3e635;
  color: #151619;
  font-family: Interdisplay, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}

/* FAQ accordion custom */
.faq-item {
  border-bottom: 1px solid #373737;
  padding: 24px 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Agent feature cards */
.agent-card {
  background-color: #161616;
  border: 1px solid #373737;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.agent-card:hover {
  border-color: #a3e635;
  transform: translateY(-4px);
}

.agent-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #a3e63533, #22d3ee33);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* Metric cards */
.metric-card {
  text-align: center;
  padding: 40px 24px;
}

.metric-value {
  font-family: Calsans, Arial, sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 64px;
  background: linear-gradient(90deg, #a3e635, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

/* Mobile nav */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .navbar-component {
    background-color: rgba(21, 22, 25, 0.95);
    backdrop-filter: blur(10px);
  }

  .nav-container {
    grid-template-columns: max-content 1fr max-content;
    min-height: 64px !important;
    height: 64px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-menu-desktop {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: #151619;
    padding: 20px 48px 24px;
    border-bottom: 1px solid #ffffff0a;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu-desktop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu-desktop .nav-link {
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    justify-content: center;
  }

  .nav-container .btn-04 {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .nav-container {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .nav-container .w-nav-brand {
    width: 132px;
  }

  .nav-container .w-nav-brand img {
    width: 132px;
    height: auto;
  }

  .nav-container > div {
    gap: 8px;
  }

  .nav-container .btn-04 {
    width: 118px;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-container .btn-text-01 {
    white-space: normal;
  }
}

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

/* Placeholder image style */
.placeholder-img {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 2px dashed #373737;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #797979;
  font-family: Interdisplay, sans-serif;
  font-size: 14px;
  min-height: 200px;
  border-radius: 16px;
}

/* Process step cards */
.process-step {
  background-color: #161616;
  border: 1px solid #373737;
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
}

.process-number {
  font-family: Calsans, Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #a3e635;
  opacity: 0.3;
  position: absolute;
  top: 16px;
  right: 24px;
}

/* Case study card */
.case-study-card {
  background-color: #161616;
  border: 1px solid #373737;
  border-radius: 16px;
  padding: 32px;
}

.case-study-result {
  background: linear-gradient(90deg, #a3e6351a, #22d3ee1a);
  border: 1px solid #a3e63533;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

/* Responsive grid overrides */
@media (max-width: 991px) {
  .agent-grid,
  .problem-grid,
  .process-grid,
  .blueprint-grid,
  .results-grid,
  .case-grid,
  .pricing-grid,
  .dept-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .content-grid {
    grid-template-columns: 1fr !important;
  }
  .heading-01 {
    font-size: 48px !important;
    line-height: 56px !important;
  }
  .heading-02 {
    font-size: 40px !important;
    line-height: 48px !important;
  }
}

@media (max-width: 767px) {
  .agent-grid,
  .problem-grid,
  .process-grid,
  .blueprint-grid,
  .results-grid,
  .case-grid,
  .pricing-grid,
  .dept-grid {
    grid-template-columns: 1fr !important;
  }
  .heading-01 {
    font-size: 36px !important;
    line-height: 44px !important;
  }
  .heading-02 {
    font-size: 32px !important;
    line-height: 40px !important;
  }
  .metric-value {
    font-size: 40px !important;
    line-height: 48px !important;
  }
  .container-fluid {
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
  .hero---home-01 {
    padding-top: 80px !important;
  }
  .section-padding,
  section:not(.navigation) {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .form-group {
    align-items: stretch;
    flex-wrap: wrap !important;
    min-height: 0;
    padding: 0;
  }

  .footer-email {
    min-width: 0 !important;
    min-height: 52px;
  }

  .cta-form-btn {
    width: 100%;
    min-height: 52px;
  }
}
