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

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

.vertical-hero {
  background:
    radial-gradient(circle at 20% 40%, rgba(43, 205, 238, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(94, 234, 212, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(236, 85, 103, 0.10) 0%, transparent 45%),
    linear-gradient(135deg, var(--color-bg-deep) 0%, var(--color-bg) 100%);
  position: relative;
  text-align: center;
  padding: 70px var(--space-lg) var(--space-4xl);
  overflow: hidden;
}

/* Subtle grid pattern overlay - matches main site hero */
.vertical-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43, 205, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 205, 238, 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: 1100px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(43, 205, 238, 0.14) 0%, rgba(43, 205, 238, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.vertical-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--color-fg);
  margin: 0 0 var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-fg-muted);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 var(--space-xl);
}

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-bg-btn) 0%, var(--color-bg) 100%);
  color: var(--color-fg);
  padding: 14px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-accent-strong);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(43, 205, 238, 0.2), inset 0 1px 0 var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-bg-btn-hover) 0%, var(--color-bg-btn) 100%);
  border-color: rgba(43, 205, 238, 0.7);
  box-shadow:
    0 4px 12px var(--glow-primary-strong),
    0 0 20px rgba(43, 205, 238, 0.15),
    inset 0 1px 0 var(--border-subtle);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-fg);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  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(236, 85, 103, 0.08);
  border-color: rgba(236, 85, 103, 0.55);
  color: var(--color-rose);
  box-shadow: 0 4px 12px rgba(236, 85, 103, 0.15);
}

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

.vertical-challenges {
  background: var(--color-bg);
  padding: var(--space-4xl) var(--space-lg);
}

.vertical-challenges h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

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

.challenge-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
  border-color: var(--border-accent-bright);
  box-shadow: 0 4px 20px var(--glow-primary);
}

.card-icon {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 16px;
}

.challenge-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-fg);
  margin: 0 0 10px;
}

.challenge-card p {
  font-size: 0.95rem;
  color: var(--color-fg-muted);
  line-height: 1.6;
  margin: 0;
}

/* Verticals index hub - challenge-card reused as a clickable link tile */
a.verticals-index-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.verticals-index-card:hover h3 {
  color: var(--color-primary);
}

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

.vertical-solution {
  background: var(--color-bg);
  padding: var(--space-4xl) var(--space-lg);
}

.vertical-solution h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

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

.solution-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
  border-color: var(--border-accent-bright);
  box-shadow: 0 4px 20px var(--glow-primary);
}

.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: var(--color-primary);
  margin: 0 0 6px;
}

.solution-item p {
  font-size: 0.9rem;
  color: var(--color-fg-muted);
  line-height: 1.6;
  margin: 0;
}

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

.vertical-compliance {
  background: var(--color-bg);
  padding: var(--space-4xl) var(--space-lg);
}

.vertical-compliance h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  margin: 0 0 var(--space-md);
}

.compliance-subtitle {
  font-size: 0.95rem;
  color: var(--color-fg-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

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

.compliance-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border-left: 3px solid var(--border-accent-strong);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.compliance-card:hover {
  border-left-color: var(--color-primary);
  box-shadow: 0 4px 20px var(--glow-primary);
}

.compliance-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-fg);
  margin: 0 0 8px;
}

.compliance-card p {
  font-size: 0.9rem;
  color: var(--color-fg-muted);
  line-height: 1.6;
  margin: 0;
}

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

.vertical-stats {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: var(--space-3xl) var(--space-lg);
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-fg-muted);
  margin: 0;
}

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

.vertical-faq {
  background: var(--color-bg);
  padding: var(--space-4xl) var(--space-lg);
}

.vertical-faq h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-fg);
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

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

.faq-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-fg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--color-primary);
  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 var(--space-lg) var(--space-md);
  font-size: 0.95rem;
  color: var(--color-fg-muted);
  line-height: 1.6;
}

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

.vertical-cta {
  background: linear-gradient(135deg, #001a4d 0%, var(--color-primary) 100%);
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.vertical-cta h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-fg);
  margin: 0 0 var(--space-md);
}

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

.btn-start {
  display: inline-block;
  background: #ffffff;
  color: var(--color-bg);
  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: var(--color-fg);
  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: 60px var(--space-md) var(--space-3xl);
  }

  .vertical-hero h1 {
    font-size: clamp(20px, 2vw, 24px);
  }

  .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: var(--space-lg);
  }

  .stat-value {
    font-size: clamp(20px, 2vw, 24px);
  }

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

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

/* --------------------------------------------------------------------------
   9. ICP Landing Page Components
   -------------------------------------------------------------------------- */

/* Persona Badge - hero section */
.icp-badge {
  display: inline-block;
  background: rgba(43, 205, 238, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(43, 205, 238, 0.3);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
}

/* Rose badge variant - security / high-stakes roles */
.icp-badge--rose {
  background: rgba(236, 85, 103, 0.08);
  color: var(--color-rose);
  border-color: rgba(236, 85, 103, 0.32);
}

/* Metric Badge - challenge cards */
.metric-badge {
  display: inline-block;
  background: rgba(94, 234, 212, 0.08);
  color: var(--color-primary-light);
  border: 1px solid rgba(94, 234, 212, 0.2);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: var(--space-md);
}

/* Solution Subtitle */
.solution-subtitle {
  font-size: 1rem;
  color: var(--color-fg-muted);
  text-align: center;
  max-width: 700px;
  margin: calc(-1 * var(--space-lg)) auto var(--space-2xl);
  line-height: 1.6;
}

/* Social Proof Section */
.vertical-social-proof {
  background: var(--color-bg-secondary);
  padding: var(--space-4xl) var(--space-lg);
  text-align: center;
}

.vertical-social-proof .testimonial-quote {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  border: none;
  padding: 0;
}

.vertical-social-proof .testimonial-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-fg);
  line-height: 1.5;
  margin: 0 0 var(--space-md);
}

.vertical-social-proof .testimonial-quote cite {
  font-size: 0.95rem;
  font-style: normal;
  color: var(--color-fg-muted);
}

/* Trust Badges row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-badges .trust-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-fg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-badges .trust-badge:hover {
  border-color: var(--border-accent-bright);
  color: var(--color-fg);
}

@media (max-width: 768px) {
  .vertical-social-proof .testimonial-quote p {
    font-size: 1.1rem;
  }

  .trust-badges {
    gap: 8px;
  }

  .trust-badges .trust-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   ICP Hero - 2-Column Layout with Video
   ========================================================================== */

.icp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}

.icp-hero-grid .hero-subtitle {
  margin-left: 0;
  max-width: 100%;
}

.icp-hero-grid .hero-ctas {
  justify-content: flex-start;
}

.icp-hero-grid .hero-reveal {
  justify-content: flex-start;
}

.icp-hero-grid .icp-badge {
  display: inline-block;
}

.icp-hero-text h1 {
  text-align: left;
}

@media (max-width: 960px) {
  .icp-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .icp-hero-video {
    display: none;
  }
  .icp-hero-grid .hero-ctas,
  .icp-hero-grid .hero-reveal {
    justify-content: center;
  }
  .icp-hero-text h1 {
    text-align: center;
  }
  .icp-hero-grid .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Video Player ── */
.icp-hero-video {
  position: relative;
}

/* Browser chrome frame - mirrors homepage video player */
.icp-asset-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(43, 205, 238, 0.22);
  box-shadow:
    0 0 0 1px rgba(43, 205, 238, 0.07),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(43, 205, 238, 0.06);
  background: #08121a;
}

.icp-browser-chrome {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 18, 21, 0.6);
  border-bottom: 1px solid rgba(43, 205, 238, 0.06);
}

.icp-browser-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icp-browser-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  display: inline-block;
}

.icp-dot--red   { background: var(--color-rose); }
.icp-dot--yellow { background: #EAB308; opacity: 0.7; }
.icp-dot--green  { background: var(--color-primary); opacity: 0.7; }

.icp-browser-url {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 0.75rem;
  font-family: monospace;
}

.icp-browser-badge {
  padding: 0.375rem 0.75rem;
  color: var(--color-rose);
  font-size: 10px;
  font-weight: 700;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(236, 85, 103, 0.35);
  background: rgba(236, 85, 103, 0.08);
}

.icp-play-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.icp-video-wrap {
  position: relative;
  background: #08121a;
  aspect-ratio: 16 / 9;
}

.icp-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icp-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease;
}

.icp-video-overlay:hover {
  background: rgba(0, 0, 0, 0.05);
}

.icp-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(43, 205, 238, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(43, 205, 238, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 24px rgba(43, 205, 238, 0.2);
}

.icp-video-overlay:hover .icp-play-btn {
  transform: scale(1.12);
  background: rgba(43, 205, 238, 0.28);
  box-shadow: 0 0 40px rgba(43, 205, 238, 0.4);
}

.icp-play-btn .material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-left: 5px; /* optical centering for play triangle */
}

/* ==========================================================================
   Canvas overlay utility - allow any section to host a zone-canvas
   ========================================================================== */

.vertical-challenges {
  position: relative;
  overflow: hidden;
}

.vertical-challenges > .zone-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

/* ==========================================================================
   ICP Card Hover - gradient border shimmer
   ========================================================================== */

/* Universal upgrade for all per-page ICP pain/step cards */
[class$="-pain-card"],
[class$="-step"],
[class$="-finding-card"] {
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

[class$="-pain-card"]:hover,
[class$="-step"]:hover {
  box-shadow: 0 0 0 1px rgba(43, 205, 238, 0.35), 0 8px 32px rgba(43, 205, 238, 0.1);
}

/* Comparison panel hover */
[class$="-before"]:hover {
  box-shadow: 0 4px 24px rgba(255, 77, 77, 0.12);
}

[class$="-after"]:hover {
  box-shadow: 0 4px 24px rgba(43, 205, 238, 0.15);
}
