/* ================================================================
   ELECTROCODE  ·  INDUSTRIES.CSS
   Design Reference: Dashboard Dark Professional UI
   Covers: industries.html
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ================================================================
   HERO SECTION
================================================================ */
.industry-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background: transparent;
  overflow: hidden;
}

.industry-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 0.75s ease;
}

.industry-hero-content h1 {
  color: white;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.industry-hero-content h1 span {
  background: linear-gradient(90deg, #00E5FF, #2ED9C3, #A6E22E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.industry-hero-content p {
  color: #7A869A;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ================================================================
   BENEFITS SECTION
================================================================ */
.benefits-section {
  padding: 40px 48px 80px;
  background: transparent;
}

.benefits-section h2 {
  text-align: center;
  color: #FFFFFF;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}

/* GRID */
.benefits-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD */
.benefit-card {
  background: linear-gradient(145deg, #172537 0%, #0A1E33 100%);
  border: 1px solid #243447;
  border-radius: 18px;
  padding: 28px 24px;
  min-height: 220px;
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(10, 30, 51, 0.5);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, #A6E22E, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3FA9F5;
  box-shadow: 0 20px 60px rgba(63, 169, 245, 0.25);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-card li {
  position: relative;
  padding-left: 20px;
  color: #7A869A;
  font-size: 0.9rem;
  line-height: 2.1;
}

.benefit-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #A6E22E;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ================================================================
   PARTNER CTA SECTION
================================================================ */
.partner-section {
  background: transparent;
  border-top: 1px solid #243447;
  text-align: center;
  padding: 110px 20px;
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(63, 169, 245, 0.18) 0%, transparent 70%);
}

.partner-section h2 {
  position: relative;
  color: #FFFFFF;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.partner-section p {
  position: relative;
  color: #7A869A;
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.partner-btn {
  position: relative;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
  background: #00E5FF;
  color: #0A1E33;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  padding: 18px 52px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.25s;
  letter-spacing: 0.2px;
}

.partner-btn:hover {
  background: #2ED9C3;
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .industry-hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .benefits-section h2,
  .partner-section h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-section { padding: 48px 16px; }
  .partner-section { padding: 60px 16px; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}
