/* Full-Lifecycle Product Engineering Page - Technical Dark-Mode Design */

/* Font Awesome Icon Fix */
.fa, .fas, .far, .fal, .fab {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-brands, .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Hero Section with Wireframe Animation */
.product-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030D1A;
  padding: 140px 20px 80px;
  overflow: hidden;
}

.wireframe-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(3, 13, 26, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 100;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}

.gradient-text {
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}

.cta-btn {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  position: relative;
  z-index: 100;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

/* Engineering Lifecycle - Vertical Timeline */
.engineering-lifecycle {
  background: #030D1A;
  padding: 100px 20px;
}

.lifecycle-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.timeline-wrapper {
  position: relative;
  padding-left: 80px;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #0A4AFF 0%, #00D4FF 100%);
  transition: height 0.5s ease;
}

.timeline-line.active {
  height: 100%;
}

.timeline-phase {
  position: relative;
  margin-bottom: 80px;
  opacity: 0.4;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.timeline-phase.active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-phase:hover {
  opacity: 1;
}

.timeline-phase:not(.active):not(:hover) {
  opacity: 0.4;
}

.phase-marker {
  position: absolute;
  left: -80px;
  top: 0;
}

.marker-dot {
  width: 60px;
  height: 60px;
  background: rgba(10, 30, 60, 0.8);
  border: 3px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.timeline-phase.active .marker-dot {
  border-color: #00D4FF;
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.phase-content {
  display: flex;
  gap: 30px;
  background: rgba(10, 30, 60, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
}

.timeline-phase:hover .phase-content {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.phase-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-icon i {
  font-size: 32px;
  color: #ffffff !important;
  font-style: normal !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.phase-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.phase-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
}

/* Why Partner - Glassmorphic Grid */
.why-partner {
  background: #030D1A;
  padding: 100px 20px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background: rgba(10, 30, 60, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  background: rgba(10, 30, 60, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon i {
  font-size: 28px;
  color: #ffffff !important;
  font-style: normal !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.partner-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.partner-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

/* Tech Ecosystem - Interactive Chips */
.tech-ecosystem {
  background: #030D1A;
  padding: 100px 20px;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: rgba(10, 30, 60, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-chip:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(0, 212, 255, 0.8);
  background: rgba(10, 74, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  color: white;
}

.tech-chip i {
  font-size: 20px;
  color: #00D4FF;
}

/* Final Conversion Section */
.final-conversion {
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-conversion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.conversion-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.conversion-content h2 {
  font-size: 52px;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
}

.conversion-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 40px;
}

.final-conversion .cta-btn {
  background: white;
  color: #0A4AFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.final-conversion .cta-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Light Theme Overrides */
body.light-theme .product-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

body.light-theme .product-hero::before {
  background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
}

body.light-theme .hero-title {
  color: #1a1f3a !important;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}

body.light-theme .hero-subtitle {
  color: rgba(26, 31, 58, 0.9) !important;
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.8);
}

body.light-theme .engineering-lifecycle,
body.light-theme .why-partner,
body.light-theme .tech-ecosystem {
  background: #ffffff;
}

body.light-theme .section-title {
  color: #1a1f3a !important;
}

body.light-theme .section-subtitle {
  color: rgba(26, 31, 58, 0.8) !important;
}

body.light-theme .timeline-line {
  background: var(--original-orange);
}

body.light-theme .marker-dot {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 123, 0, 0.3);
}

body.light-theme .timeline-phase.active .marker-dot {
  background: var(--original-orange);
  border-color: var(--original-orange);
  box-shadow: 0 0 30px rgba(255, 123, 0, 0.5);
}

body.light-theme .phase-content,
body.light-theme .partner-card,
body.light-theme .tech-chip {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .phase-icon,
body.light-theme .card-icon {
  background: var(--original-orange);
}

body.light-theme .phase-icon i,
body.light-theme .card-icon i {
  color: #ffffff !important;
}

body.light-theme .phase-text h3,
body.light-theme .partner-card h3 {
  color: #1a1f3a !important;
}

body.light-theme .phase-text p,
body.light-theme .partner-card p {
  color: rgba(26, 31, 58, 0.8) !important;
}

body.light-theme .tech-chip {
  color: rgba(26, 31, 58, 0.8);
}

body.light-theme .tech-chip:hover {
  border-color: var(--original-orange);
  background: rgba(255, 123, 0, 0.1);
  box-shadow: 0 10px 30px rgba(255, 123, 0, 0.3);
  color: #1a1f3a;
}

body.light-theme .tech-chip i {
  color: var(--original-orange);
}

body.light-theme .partner-card:hover {
  border-color: var(--original-orange);
  box-shadow: 0 0 40px rgba(255, 123, 0, 0.3);
}

body.light-theme .timeline-phase:hover .phase-content {
  border-color: var(--original-orange);
  box-shadow: 0 10px 40px rgba(255, 123, 0, 0.2);
}

body.light-theme .cta-btn {
  background: var(--original-orange) !important;
  border: 2px solid var(--original-orange) !important;
  box-shadow: none !important;
}

body.light-theme .cta-btn:hover {
  background: var(--original-orange-hover) !important;
  box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3) !important;
}

body.light-theme .final-conversion {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%);
}

body.light-theme .final-conversion .cta-btn {
  background: white !important;
  color: var(--original-orange) !important;
  border: 2px solid white !important;
}

body.light-theme .final-conversion .cta-btn:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .timeline-wrapper {
    padding-left: 60px;
  }

  .phase-marker {
    left: -60px;
  }

  .marker-dot {
    width: 50px;
    height: 50px;
  }

  .phase-content {
    flex-direction: column;
  }

  .conversion-content h2 {
    font-size: 32px;
  }

  .conversion-content p {
    font-size: 16px;
  }
}
