/* ══════════════════════════════════════════════════════════════
   HEALTHCARE & LIFE SCIENCES - INDUSTRY PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Section ─────────────────────────────────────────────── */
.industry-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #020509 0%, #0a1628 50%, #020509 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(42, 125, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(117, 222, 83, 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232A7DF1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(42, 125, 241, 0.1);
  border: 1px solid rgba(42, 125, 241, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #2A7DF1;
  width: fit-content;
  letter-spacing: 0.5px;
}

.industry-badge i {
  font-size: 18px;
}

.hero-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.hero-content h1 .accent {
  background: linear-gradient(135deg, #2A7DF1 0%, #75DE53 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #B8C5D6;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2A7DF1 0%, #1E5FBD 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42, 125, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 125, 241, 0.5);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-industry-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

/* ── Metrics Section ─────────────────────────────────────────── */
.industry-metrics {
  background: linear-gradient(180deg, #0a1628 0%, #020509 100%);
  padding: 60px 6%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.metric {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.metric:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(42, 125, 241, 0.3);
  transform: translateY(-4px);
}

.metric strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #2A7DF1 0%, #75DE53 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.metric span {
  display: block;
  font-size: 16px;
  color: #B8C5D6;
  font-weight: 500;
}

/* ── Section Styles ──────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section.light {
  background: #f8f9fb;
}

.section.dark {
  background: linear-gradient(135deg, #020509 0%, #0a1628 100%);
  color: #fff;
}

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6%;
}

.head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2A7DF1;
  margin-bottom: 16px;
}

.head h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
}

.section.light .head h2 {
  color: #0D1B2A;
}

.section.dark .head h2 {
  color: #fff;
}

.head p {
  font-size: 18px;
  line-height: 1.7;
  color: #6B7280;
  margin: 0;
}

.section.dark .head p {
  color: #B8C5D6;
}

/* ── Challenges Grid ─────────────────────────────────────────── */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.challenge-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.challenge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(42, 125, 241, 0.15);
  border-color: #2A7DF1;
}

.challenge-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42, 125, 241, 0.1) 0%, rgba(117, 222, 83, 0.1) 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 28px;
  color: #2A7DF1;
}

.challenge-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0D1B2A;
  margin: 0 0 12px;
}

.challenge-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* ── Solutions Grid ──────────────────────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #2A7DF1;
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(42, 125, 241, 0.2);
}

.solution-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.solution-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2A7DF1 0%, #1E5FBD 100%);
  border-radius: 12px;
  font-size: 26px;
  color: #fff;
  flex-shrink: 0;
}

.solution-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 0;
}

.solution-card > p {
  font-size: 16px;
  line-height: 1.7;
  color: #B8C5D6;
  margin: 0 0 24px;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #B8C5D6;
}

.solution-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(117, 222, 83, 0.2);
  color: #75DE53;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Technology Categories ───────────────────────────────────── */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.tech-category {
  background: #fff;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.tech-category:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: #2A7DF1;
}

.tech-category h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0D1B2A;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-category h3 i {
  color: #2A7DF1;
  font-size: 22px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(42, 125, 241, 0.08) 0%, rgba(117, 222, 83, 0.08) 100%);
  border: 1px solid rgba(42, 125, 241, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2A7DF1;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: linear-gradient(135deg, rgba(42, 125, 241, 0.15) 0%, rgba(117, 222, 83, 0.15) 100%);
  transform: translateY(-2px);
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0a1628 0%, #020509 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(42, 125, 241, 0.15) 0%, transparent 70%);
  opacity: 0.5;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #B8C5D6;
  margin: 0 0 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Reveal Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal.in {
  opacity: 1;
}

.reveal.up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.up.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade {
  opacity: 0;
}

.reveal.fade.in {
  opacity: 1;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal-group.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.in > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-group.in > *:nth-child(6) { transition-delay: 0.6s; }

/* ── Responsive Design ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-industry-img {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .industry-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 16px;
  }

  .industry-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 4%;
  }

  .section {
    padding: 60px 0;
  }

  .challenges-grid,
  .solutions-grid,
  .tech-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 0 4%;
  }

  .industry-metrics {
    grid-template-columns: 1fr;
  }

  .metric strong {
    font-size: 2rem;
  }

  .challenge-card,
  .solution-card,
  .tech-category {
    padding: 30px 24px;
  }
}
