/* ===== INDUSTRY PAGE IMPROVEMENTS ===== */
/* Professional, conversion-optimized industry pages with rich visual design */

/* ===== INDUSTRY HERO SECTION ===== */

.industry-hero {
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: var(--s-8, 64px) 0;
}

/* Animated background pattern */
.industry-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.industry-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.industry-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-6, 40px);
  align-items: start;
}

@media (min-width: 768px) {
  .industry-hero-content {
    grid-template-columns: 1fr;
  }
}

/* Hide image placeholder for now - we'll use gradients and icons */
.industry-image {
  display: none;
}

.industry-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.industry-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: var(--s-4, 24px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.industry-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--s-6, 40px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.industry-challenges {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2, 16px);
  padding: var(--s-5, 32px);
  margin-bottom: var(--s-5, 32px);
  backdrop-filter: blur(12px);
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.industry-challenges h3 {
  color: var(--emerald, #2ECC71);
  margin-bottom: var(--s-4, 20px);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.industry-challenges ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-3, 14px);
}

.industry-challenges li {
  padding-left: 36px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1.05rem;
}

.industry-challenges li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald, #2ECC71);
  font-weight: 700;
  font-size: 1.3rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, 0.15);
  border-radius: 50%;
  top: -2px;
}

.industry-actions {
  text-align: center;
}

.industry-actions .btn {
  min-width: 220px;
  padding: 16px 40px;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.industry-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}


/* ===== COMPLIANCE SECTION ===== */

.industry-compliance {
  background: var(--gray-50, #F5F6FA);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.industry-compliance h2 {
  text-align: center;
  margin-bottom: var(--s-6, 48px);
  color: var(--navy, #0A2342);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.compliance-grid {
  display: grid;
  gap: var(--s-5, 32px);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compliance-item {
  background: white;
  border-radius: var(--radius-2, 16px);
  padding: var(--s-6, 40px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.compliance-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald, #2ECC71) 0%, var(--sky, #4FC3F7) 100%);
}

.compliance-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(79, 195, 247, 0.3);
}

.compliance-item h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-3, 16px);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compliance-item h3::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--emerald, #2ECC71) 0%, #27AE60 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.compliance-item > p {
  color: var(--slate, #2C3E50);
  margin-bottom: var(--s-4, 24px);
  font-size: 1.125rem;
  line-height: 1.6;
}

.requirements-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-2, 12px);
}

.requirements-list li {
  padding-left: 32px;
  position: relative;
  color: var(--slate, #2C3E50);
  line-height: 1.6;
}

.requirements-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sky, #4FC3F7);
  font-weight: 700;
  font-size: 1.25rem;
}


/* ===== USE CASES SECTION ===== */

.industry-use-cases {
  background: white;
}

.industry-use-cases h2 {
  text-align: center;
  margin-bottom: var(--s-6, 48px);
  color: var(--navy, #0A2342);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.use-cases-grid {
  display: grid;
  gap: var(--s-6, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-card {
  background: white;
  border-radius: var(--radius-2, 16px);
  padding: var(--s-6, 40px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.03) 0%, rgba(46, 204, 113, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border-color: var(--sky, #4FC3F7);
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-icon {
  font-size: 3.5rem;
  margin-bottom: var(--s-4, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.use-case-card h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-3, 16px);
  font-size: 1.75rem;
  position: relative;
  z-index: 1;
}

.use-case-card > p {
  color: var(--slate, #2C3E50);
  margin-bottom: var(--s-4, 24px);
  line-height: 1.6;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.use-case-benefits {
  margin-bottom: var(--s-4, 24px);
  position: relative;
  z-index: 1;
}

.use-case-benefits h4 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-2, 12px);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.use-case-benefits ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-2, 10px);
}

.use-case-benefits li {
  padding-left: 28px;
  position: relative;
  color: var(--slate, #2C3E50);
  font-size: 0.95rem;
  line-height: 1.5;
}

.use-case-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald, #2ECC71);
  font-weight: 700;
  font-size: 1.1rem;
}

.use-case-roi {
  background: linear-gradient(135deg, var(--emerald, #2ECC71) 0%, #27AE60 100%);
  color: white;
  padding: var(--s-3, 16px) var(--s-4, 20px);
  border-radius: var(--radius-1, 12px);
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.use-case-roi strong {
  font-size: 1.125rem;
  font-weight: 700;
  display: block;
}


/* ===== CASE STUDIES SECTION ===== */

.industry-case-studies {
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.industry-case-studies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(79, 195, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.industry-case-studies h2 {
  text-align: center;
  margin-bottom: var(--s-6, 48px);
  color: white;
  font-size: clamp(2rem, 4vw, 2.75rem);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.case-studies-carousel {
  position: relative;
  z-index: 1;
}

.case-study-slide {
  max-width: 1000px;
  margin: 0 auto;
}

.case-study-content {
  background: linear-gradient(135deg, rgba(15, 30, 60, 0.95) 0%, rgba(20, 40, 70, 0.92) 100%);
  border: 2px solid rgba(79, 195, 247, 0.3);
  border-radius: var(--radius-2, 20px);
  padding: var(--s-7, 48px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(79, 195, 247, 0.2);
  position: relative;
}

.case-study-content blockquote {
  margin: 0 0 var(--s-6, 40px) 0;
  padding: 0;
  border: none;
  background: transparent;
}

.case-study-content blockquote p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  margin-bottom: var(--s-4, 24px);
  position: relative;
}

.case-study-content blockquote p::before {
  content: '"';
  font-size: 4rem;
  color: var(--emerald, #2ECC71);
  position: absolute;
  left: -20px;
  top: -10px;
  line-height: 1;
  opacity: 0.5;
}

.case-study-content footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--s-3, 16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-content footer strong {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.case-study-content footer span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5, 32px);
  margin-top: var(--s-5, 32px);
  padding-top: var(--s-5, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--emerald, #2ECC71);
  line-height: 1;
  margin-bottom: var(--s-2, 12px);
  text-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}


/* ===== NEXT STEPS / GETTING STARTED SECTION ===== */

.industry-next-steps {
  background: var(--gray-50, #F5F6FA);
}

.industry-next-steps h2 {
  text-align: center;
  margin-bottom: var(--s-6, 48px);
  color: var(--navy, #0A2342);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.next-steps-process {
  display: grid;
  gap: var(--s-5, 32px);
  margin-bottom: var(--s-8, 64px);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .next-steps-process {
    grid-template-columns: repeat(3, 1fr);
  }
}

.next-step {
  background: white;
  border-radius: var(--radius-2, 16px);
  padding: var(--s-6, 40px);
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.next-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky, #4FC3F7) 0%, var(--emerald, #2ECC71) 100%);
  border-radius: 16px 16px 0 0;
}

.next-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(79, 195, 247, 0.3);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--s-4, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(46, 204, 113, 0.15) 100%);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.next-step h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-3, 16px);
  font-size: 1.5rem;
}

.next-step p {
  color: var(--slate, #2C3E50);
  margin-bottom: var(--s-4, 20px);
  line-height: 1.6;
}

.step-duration {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  color: var(--navy, #0A2342);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(79, 195, 247, 0.2);
}

.cta-final {
  background: white;
  border-radius: var(--radius-2, 20px);
  padding: var(--s-7, 48px);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--emerald, #2ECC71);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.03) 0%, rgba(46, 204, 113, 0.05) 100%);
  pointer-events: none;
}

.cta-final h3 {
  color: var(--navy, #0A2342);
  margin-bottom: var(--s-3, 16px);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  position: relative;
  z-index: 1;
}

.cta-final p {
  color: var(--slate, #2C3E50);
  margin-bottom: var(--s-5, 32px);
  font-size: 1.125rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-final .btn {
  position: relative;
  z-index: 1;
  min-width: 260px;
  padding: 18px 48px;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

.cta-final .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 204, 113, 0.4);
}


/* ===== PAGE CTA (SIMPLE VERSION FOR HEALTHCARE) ===== */

.page-cta {
  background: linear-gradient(135deg, var(--navy, #0A2342) 0%, var(--slate, #2C3E50) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-cta h2 {
  color: white;
  margin-bottom: var(--s-4, 24px);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--s-5, 32px);
  font-size: 1.25rem;
  line-height: 1.6;
}

.page-cta .btn {
  min-width: 240px;
  padding: 16px 40px;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.page-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}


/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 767px) {
  .industry-hero {
    padding: var(--s-6, 40px) 0;
  }

  .industry-challenges {
    padding: var(--s-4, 24px);
  }

  .compliance-item {
    padding: var(--s-5, 32px);
  }

  .use-case-card {
    padding: var(--s-5, 32px);
  }

  .case-study-content {
    padding: var(--s-5, 32px);
  }

  .case-study-content blockquote p::before {
    font-size: 3rem;
    left: -10px;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
    gap: var(--s-4, 24px);
  }

  .next-step {
    padding: var(--s-5, 32px);
  }

  .cta-final {
    padding: var(--s-5, 32px);
  }
}


/* ===== PRINT STYLES ===== */

@media print {
  .industry-hero::before,
  .industry-hero::after,
  .industry-case-studies::before,
  .page-cta::before,
  .use-case-card::before,
  .cta-final::before {
    display: none;
  }

  .industry-hero,
  .industry-case-studies,
  .page-cta {
    background: white;
    color: black;
  }

  .industry-hero h1,
  .industry-case-studies h2,
  .page-cta h2 {
    color: black;
  }
}


/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .industry-hero,
  .industry-case-studies,
  .page-cta {
    background: var(--navy, #0A2342);
  }

  .compliance-item,
  .use-case-card,
  .next-step {
    border-color: currentColor;
  }
}
