/* =========================================
   ABOUT PAGE STYLES - PREMIUM UPGRADE
========================================= */

/* Hero (Legacy styles just in case, but now overridden by page-banner) */
.about-page-hero { display: none; }

/* Intro Section */
.about-page-intro {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.intro-image-col {
  position: relative;
}

.intro-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.intro-image-wrap:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(16, 185, 129, 0.2);
}

.intro-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #10b981, #3b82f6);
  z-index: -1;
  border-radius: 26px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.intro-image-wrap:hover::before {
  opacity: 1;
  animation: pulseGlow 2s infinite alternate;
}

.intro-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.intro-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.intro-text-col h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-sub-text p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.8;
  margin: 0;
}

.intro-accent-line {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.intro-accent-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: lightSweep 3s infinite linear;
}

@keyframes lightSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  100% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 15px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  position: relative;
  padding: 50px 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: #10b981;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.process-step:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.process-step:hover::before {
  transform: scaleX(1);
}

.step-num {
  font-size: 7rem;
  font-weight: 900;
  color: rgba(16,185,129,0.04);
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
  letter-spacing: -4px;
  transition: all 0.5s ease;
}

.process-step:hover .step-num {
  color: rgba(16,185,129,0.15);
  transform: scale(1.1) translate(-10px, 10px);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(59,130,246,0.1) 100%);
  color: #10b981;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.process-step:hover .step-icon {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, rgba(59,130,246,0.2) 100%);
}

.process-step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 15px;
}

.process-step p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* We Connect */
.we-connect-section {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
}

.connect-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.connect-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.connect-header p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
}

.connect-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.connect-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.connect-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #10b981;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
  background: #fff;
}

.connect-icon {
  color: #10b981;
  display: flex;
  background: rgba(16,185,129,0.1);
  padding: 12px;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.connect-item:hover .connect-icon {
  background: #10b981;
  color: #fff;
}

.connect-item h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

/* NdFeB Section */
.ndfeb-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ndfeb-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 60%);
  animation: slowSpin 20s linear infinite;
  z-index: 0;
}

@keyframes slowSpin {
  100% { transform: rotate(360deg); }
}

.ndfeb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ndfeb-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin: 24px 0;
  line-height: 1.15;
  background: linear-gradient(90deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ndfeb-content p {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 24px;
}

.highlight-text {
  font-weight: 700;
  color: #34d399 !important;
  font-size: 1.3rem !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.ndfeb-uses h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #f8fafc;
  font-weight: 700;
}

.uses-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.uses-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #10b981;
  transition: all 0.3s ease;
  cursor: default;
}

.uses-list li:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateX(5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.use-icon {
  color: #10b981;
  width: 24px;
  height: 24px;
  display: flex;
  filter: drop-shadow(0 0 5px rgba(16,185,129,0.5));
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .ndfeb-grid { gap: 50px; }
}

@media (max-width: 768px) {
  .intro-grid, .ndfeb-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .uses-list {
    grid-template-columns: 1fr;
  }
  .process-grid { grid-template-columns: 1fr; }
  .intro-text-col h2, .ndfeb-content h2 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  /* Banner */
  .page-banner { min-height: 180px !important; height: auto !important; padding: 30px 0 !important; }
  .banner-title { font-size: 1.5rem !important; }
  .banner-subtitle { font-size: 0.85rem !important; }

  /* Intro Section */
  .about-page-intro { padding: 30px 0 !important; }
  .about-page-intro .container { padding: 20px 5px !important; }
  .intro-grid { gap: 15px !important; }
  .intro-img { height: 200px !important; border-radius: 10px !important; }
  .intro-text-col { gap: 10px !important; }
  .intro-text-col h2 { font-size: 1.15rem !important; line-height: 1.4 !important; }
  .intro-sub-text p { font-size: 0.88rem !important; line-height: 1.6 !important; }

  /* Opportunity Section */
  .opportunity-section { padding: 30px 0 !important; }
  .opportunity-container { padding: 20px 5px !important; }
  .opportunity-content { text-align: left !important; }
  .opportunity-title { font-size: 1.5rem !important; line-height: 1.3 !important; }
  .opportunity-box { padding: 25px 15px !important; margin-top: 15px !important; }
  .opportunity-box h3 { font-size: 1.2rem !important; margin-bottom: 12px !important; line-height: 1.4 !important; }
  .opportunity-box p { font-size: 0.95rem !important; line-height: 1.6 !important; }

  /* Urban Mining Section */
  .urban-mining-section { padding: 30px 0 !important; }
  .urban-mining-container { padding: 20px 5px !important; }
  .urban-mining-header { text-align: left !important; margin-bottom: 25px !important; }
  .urban-mining-title { font-size: 1.5rem !important; line-height: 1.3 !important; margin-bottom: 15px !important; }
  .urban-mining-desc { font-size: 0.95rem !important; line-height: 1.6 !important; }
  .urban-mining-grid { gap: 15px !important; }
  .urban-mining-card { padding: 25px 15px !important; }
  .urban-mining-card-title { font-size: 1.25rem !important; margin-bottom: 15px !important; }
  .urban-mining-list { gap: 10px !important; font-size: 0.95rem !important; }
  .urban-mining-list li svg { width: 16px !important; height: 16px !important; margin-right: 8px !important; }
  .urban-mining-card-text { font-size: 1rem !important; line-height: 1.6 !important; }

  /* Ecosystem Section */
  .ecosystem-section { padding: 30px 0 !important; }
  .ecosystem-container { padding: 20px 5px !important; }
  .ecosystem-header { text-align: left !important; margin-bottom: 25px !important; }
  .ecosystem-title { font-size: 1.5rem !important; line-height: 1.3 !important; margin-bottom: 15px !important; }
  .ecosystem-desc { font-size: 0.95rem !important; line-height: 1.6 !important; }
  .ecosystem-grid { gap: 20px !important; }
  .ecosystem-text-col p { font-size: 0.95rem !important; line-height: 1.6 !important; }
  .ecosystem-text-col div { padding: 15px !important; margin-top: 15px !important; }
  .ecosystem-text-col div p { font-size: 0.95rem !important; line-height: 1.5 !important; }
  .ecosystem-card { padding: 25px 15px !important; }
  .ecosystem-card-title { font-size: 1.25rem !important; margin-bottom: 15px !important; }
  .ecosystem-list { gap: 10px !important; }
  .ecosystem-list li { font-size: 0.95rem !important; padding: 12px 15px !important; }

  /* NdFeB Scrap Section */
  .ndfeb-scrap-section { padding: 30px 0 !important; }
  .ndfeb-scrap-container { padding: 20px 5px !important; }
  .ndfeb-scrap-header { text-align: left !important; margin-bottom: 25px !important; }
  .ndfeb-scrap-title { font-size: 1.5rem !important; line-height: 1.3 !important; margin-bottom: 15px !important; }
  .ndfeb-scrap-desc { font-size: 0.95rem !important; line-height: 1.6 !important; text-align: justify !important; }
  .ndfeb-scrap-subtitle { font-size: 1.25rem !important; margin-bottom: 20px !important; text-align: left !important; }
  .ndfeb-scrap-grid { gap: 12px !important; }
  .ndfeb-scrap-grid > div { padding: 15px !important; font-size: 0.95rem !important; }
  .ndfeb-scrap-grid svg { width: 18px !important; height: 18px !important; margin-right: 8px !important; }

  /* Process Section */
  .process-section { padding: 30px 0 !important; }
  .process-section .container { padding: 20px 5px !important; }
  .process-header { text-align: left !important; margin-bottom: 25px !important; }
  .process-header h2 { font-size: 1.5rem !important; line-height: 1.3 !important; margin-top: 10px !important; }
  .process-grid { gap: 15px !important; }
  .process-step { padding: 25px 15px !important; }
  .process-step h3 { font-size: 1.25rem !important; margin-bottom: 12px !important; }
  .process-step p { font-size: 0.95rem !important; line-height: 1.6 !important; text-align: justify !important; }
  .step-num { font-size: 3rem !important; right: 10px !important; top: 0 !important; }
  .step-icon { width: 40px !important; height: 40px !important; margin-bottom: 12px !important; }

  /* NdFeB Section */
  .ndfeb-section { padding: 40px 0 !important; }
  .ndfeb-grid { gap: 25px !important; }
  .ndfeb-content h2 { font-size: 1.35rem !important; margin: 10px 0 !important; line-height: 1.2 !important; }
  .ndfeb-content p { font-size: 0.88rem !important; margin-bottom: 12px !important; line-height: 1.6 !important; }
  .highlight-text { font-size: 1rem !important; }
  .ndfeb-uses h3 { font-size: 1.15rem !important; margin-bottom: 15px !important; }
  .uses-list { gap: 10px !important; }
  .uses-list li { padding: 10px 12px !important; font-size: 0.88rem !important; gap: 8px !important; min-height: auto !important; height: auto !important; overflow: visible !important; }
  .use-icon { width: 18px !important; height: 18px !important; }

  /* Emerging Ecosystem Fixes */
  .ecosystem-grid { gap: 20px !important; }
  .ecosystem-grid > div:last-child { padding: 25px 20px !important; }

  /* We Connect Section */
  .we-connect-section { padding: 30px 0 !important; }
  .we-connect-section .container { padding: 20px 5px !important; }
  .connect-header { text-align: left !important; margin-bottom: 25px !important; }
  .connect-header h2 { font-size: 1.5rem !important; margin-bottom: 12px !important; line-height: 1.3 !important; }
  .connect-header p { font-size: 0.95rem !important; line-height: 1.6 !important; text-align: justify !important; }
  .connect-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }
  .connect-item { width: 100% !important; box-sizing: border-box !important; padding: 20px 15px !important; }
  .connect-icon { width: 45px !important; height: 45px !important; margin-bottom: 0 !important; flex-shrink: 0 !important; }
  .connect-icon svg { width: 22px !important; height: 22px !important; }
  .connect-item h3 { font-size: 1.1rem !important; margin: 0 !important; }

  /* Element Section Header */
  .element-section { padding: 30px 0 !important; }
  .element-container { padding: 20px 5px !important; }
  .element-header { text-align: left !important; margin-bottom: 25px !important; }
  .element-title { font-size: 1.35rem !important; line-height: 1.3 !important; }

  /* Element Table Fixes */
  .element-table > div {
    grid-template-columns: 1fr 1fr !important;
    padding: 15px 12px !important;
  }
  .element-table-header {
    font-size: 0.95rem !important;
  }
  .element-table > div:not(.element-table-header) > div:first-child {
    font-size: 0.9rem !important;
  }
  .element-table > div:not(.element-table-header) > div:first-child > div {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
    margin-right: 10px !important;
  }
  .element-table > div:not(.element-table-header) > div:last-child {
    font-size: 0.85rem !important;
    word-break: break-word;
  }
}
