/* ==========================================================================
   SQUR Vertical Landing Pages — Shared Stylesheet
   Linked from verticals/*.html as ../styles-verticals.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */

.vertical-hero {
  background:
    radial-gradient(circle at 25% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(94, 234, 212, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0b0d12 0%, #111827 100%);
  position: relative;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Subtle grid pattern overlay — matches main site hero */
.vertical-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* Secondary glow accent */
.vertical-hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 800px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.vertical-hero .container {
  position: relative;
  z-index: 1;
}

.vertical-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #9CA3AF;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.hero-tagline {
  font-size: 0.95rem;
  color: #0066FF;
  font-weight: 600;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #172554 0%, #0f172a 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow:
    0 4px 12px rgba(59, 130, 246, 0.3),
    0 0 20px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

/* --------------------------------------------------------------------------
   2. Challenges Section
   -------------------------------------------------------------------------- */

.vertical-challenges {
  background: #0F172A;
  padding: 80px 24px;
}

.vertical-challenges h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 48px;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.challenge-card {
  background: rgba(31, 41, 55, 0.5);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.challenge-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
}

.challenge-card p {
  font-size: 0.95rem;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. Solution Section
   -------------------------------------------------------------------------- */

.vertical-solution {
  background: #111827;
  padding: 80px 24px;
}

.vertical-solution h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 48px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.solution-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.solution-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0066FF;
  margin: 0 0 6px;
}

.solution-item p {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Compliance Section
   -------------------------------------------------------------------------- */

.vertical-compliance {
  background: #0F172A;
  padding: 80px 24px;
}

.vertical-compliance h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 16px;
}

.compliance-subtitle {
  font-size: 0.95rem;
  color: #9CA3AF;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.compliance-card {
  background: rgba(31, 41, 55, 0.5);
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 3px solid rgba(59, 130, 246, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.compliance-card:hover {
  border-left-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.compliance-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
}

.compliance-card p {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Stats Banner
   -------------------------------------------------------------------------- */

.vertical-stats {
  background: linear-gradient(180deg, #0a1628 0%, #0F172A 100%);
  border-top: 1px solid rgba(0, 102, 255, 0.15);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  padding: 60px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0066FF;
  margin: 0 0 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. FAQ Section
   -------------------------------------------------------------------------- */

.vertical-faq {
  background: #111827;
  padding: 80px 24px;
}

.vertical-faq h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(31, 41, 55, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #0066FF;
}

.faq-toggle {
  font-size: 1.2rem;
  color: #0066FF;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: #9CA3AF;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Bottom CTA
   -------------------------------------------------------------------------- */

.vertical-cta {
  background: linear-gradient(135deg, #001a4d 0%, #0066FF 100%);
  text-align: center;
  padding: 80px 24px;
}

.vertical-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.vertical-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn-start {
  display: inline-block;
  background: #ffffff;
  color: #0F172A;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.btn-start:hover {
  background: #f0f4ff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

.btn-demo {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn-demo:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   8. Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vertical-hero {
    padding: 120px 20px 60px;
  }

  .vertical-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .vertical-cta .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}
