/* ========================
   INDUSTRIES PREMIUM CARDS
   ======================== */

/* Section */
.industries-premium {
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 50%, #f0fdf4 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.industries-premium::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.industries-premium::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section Header */
.ind-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.ind-section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ind-section-header .ind-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Card */
.ind-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ind-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Colored Top Border */
.ind-card-border {
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

/* Card Image */
.ind-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Card Body */
.ind-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Badge */
.ind-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Card Title */
.ind-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

/* Card Description */
.ind-card-body .ind-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* Features List */
.ind-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.ind-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.4;
}

.ind-features li::before {
  content: '✔';
  color: #10b981;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Premium Button */
.ind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff6600 0%, #e65c00 100%);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.ind-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
}

.ind-btn .ind-arrow {
  transition: transform 0.3s ease;
}

.ind-card:hover .ind-btn .ind-arrow {
  transform: translateX(4px);
}

/* Per-card accent colors for badges */
.ind-card[data-color="red"] .ind-badge {
  background: linear-gradient(135deg, #fef2f2, #fff1f2);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.15);
}

.ind-card[data-color="teal"] .ind-badge {
  background: linear-gradient(135deg, #f0fdfa, #f0fdf4);
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.15);
}

.ind-card[data-color="cyan"] .ind-badge {
  background: linear-gradient(135deg, #ecfeff, #f0f9ff);
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.15);
}

.ind-card[data-color="violet"] .ind-badge {
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
  color: #6d28d9;
  border-color: rgba(139, 92, 246, 0.15);
}

.ind-card[data-color="amber"] .ind-badge {
  background: linear-gradient(135deg, #fffbeb, #fefce8);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.15);
}

.ind-card[data-color="sky"] .ind-badge {
  background: linear-gradient(135deg, #f0f9ff, #ecfeff);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.15);
}

.ind-card[data-color="pink"] .ind-badge {
  background: linear-gradient(135deg, #fdf2f8, #fff1f2);
  color: #be185d;
  border-color: rgba(236, 72, 153, 0.15);
}

.ind-card[data-color="purple"] .ind-badge {
  background: linear-gradient(135deg, #faf5ff, #f5f3ff);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.15);
}

.ind-card[data-color="green"] .ind-badge {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.15);
}

/* Card stagger animation */
.ind-card {
  animation: indCardIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.ind-card:nth-child(1) { animation-delay: 0.05s; }
.ind-card:nth-child(2) { animation-delay: 0.1s; }
.ind-card:nth-child(3) { animation-delay: 0.15s; }
.ind-card:nth-child(4) { animation-delay: 0.2s; }
.ind-card:nth-child(5) { animation-delay: 0.25s; }
.ind-card:nth-child(6) { animation-delay: 0.3s; }
.ind-card:nth-child(7) { animation-delay: 0.35s; }
.ind-card:nth-child(8) { animation-delay: 0.4s; }
.ind-card:nth-child(9) { animation-delay: 0.45s; }

@keyframes indCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Industries CTA */
.ind-cta {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #0066cc 0%, #4f46e5 50%, #7c3aed 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.ind-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23ffffff' 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");
  pointer-events: none;
}

.ind-cta h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}

.ind-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.ind-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ind-cta-btns .ind-cta-primary {
  background: #fff;
  color: #4f46e5;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ind-cta-btns .ind-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ind-cta-btns .ind-cta-secondary {
  background: transparent;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.ind-cta-btns .ind-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ind-section-header h2 {
    font-size: 2rem;
  }

  .ind-cta h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .industries-premium {
    padding: 50px 0 40px;
  }

  .ind-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ind-section-header h2 {
    font-size: 1.6rem;
  }

  .ind-card-img {
    height: 150px;
  }

  .ind-cta {
    padding: 2rem 1.25rem;
    margin-top: 2.5rem;
  }

  .ind-cta h3 {
    font-size: 1.3rem;
  }

  .ind-cta-btns {
    flex-direction: column;
  }

  .ind-cta-btns .ind-cta-primary,
  .ind-cta-btns .ind-cta-secondary {
    width: 100%;
    text-align: center;
  }
}
