/* ==========================================
   MrX Robotics - Platform Pages CSS
   ========================================== */

/* Platform Background Colors */
.ply-bg { background: linear-gradient(135deg, #7B3F9E 0%, #5a2d75 100%); }
.kid-bg { background: linear-gradient(135deg, #008080 0%, #006666 100%); }
.code-bg { background: linear-gradient(135deg, #0B3D91 0%, #082a66 100%); }
.mid-bg { background: linear-gradient(135deg, #1E5AA8 0%, #164580 100%); }
.pro-bg { background: linear-gradient(135deg, #C8102E 0%, #9a0c23 100%); }
.max-bg { background: linear-gradient(135deg, #8B0000 0%, #5c0000 100%); }
.work-bg { background: linear-gradient(135deg, #228B22 0%, #1a6b1a 100%); }
.air-bg { background: linear-gradient(135deg, #F05A28 0%, #c4481f 100%); }

/* Platform Icon Colors */
.ply-color { background: linear-gradient(135deg, #7B3F9E, #9B59B6) !important; }
.kid-color { background: linear-gradient(135deg, #008080, #00BFBF) !important; }
.code-color { background: linear-gradient(135deg, #0B3D91, #1E90FF) !important; }
.mid-color { background: linear-gradient(135deg, #1E5AA8, #3498DB) !important; }
.pro-color { background: linear-gradient(135deg, #C8102E, #E74C3C) !important; }
.max-color { background: linear-gradient(135deg, #8B0000, #C8102E) !important; }
.work-color { background: linear-gradient(135deg, #228B22, #32CD32) !important; }
.air-color { background: linear-gradient(135deg, #F05A28, #FF7F50) !important; }

/* ==========================================
   Platform Hero Section
   ========================================== */
.platform-hero {
  padding: 140px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.platform-hero::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;
}

.platform-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.platform-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
}

.platform-title span {
  display: block;
  font-size: 5rem;
}

.platform-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 15px;
}

.platform-description {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 500px;
}

.platform-hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.platform-hero-btns .btn-primary {
  background: #fff;
  color: #111;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.platform-hero-btns .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.platform-hero-btns .btn-secondary {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.platform-hero-btns .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.platform-quick-stats {
  display: flex;
  gap: 30px;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.quick-stat i {
  font-size: 1.2rem;
}

.platform-hero-image {
  position: relative;
}

.platform-hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* ==========================================
   Platform Features Section
   ========================================== */
.platform-features {
  padding: 100px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================
   What's Included Section
   ========================================== */
.platform-includes {
  padding: 100px 0;
  background: var(--gray-50);
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.includes-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.includes-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.includes-content > p {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 1rem;
}

.includes-list li i {
  color: #22c55e;
  font-size: 1rem;
}

.includes-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.price-label {
  font-weight: 600;
  color: var(--gray-700);
}

.price-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================
   Learning Outcomes Section
   ========================================== */
.platform-outcomes {
  padding: 100px 0;
  background: #fff;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.outcome-item {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.outcome-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.1);
}

.outcome-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 15px;
}

.outcome-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.outcome-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   Next Platform Section
   ========================================== */
.next-platform {
  padding: 80px 0;
  background: var(--gray-50);
}

.next-platform-box {
  border-radius: 20px;
  padding: 60px;
  color: #fff;
  text-align: center;
}

.next-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.next-platform-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.next-platform-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==========================================
   Additional Platform-Specific Sections
   ========================================== */

/* Career Pathways (WORK page) */
.platform-careers {
  padding: 100px 0;
  background: var(--gray-50);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.career-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.career-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #228B22, #32CD32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 1.5rem;
}

.career-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.career-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.career-card .salary {
  display: inline-block;
  background: #e8f5e9;
  color: #228B22;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mission Types (AIR page) */
.platform-missions {
  padding: 100px 0;
  background: var(--gray-50);
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mission-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mission-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F05A28, #FF7F50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 1.5rem;
}

.mission-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.mission-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Safety Notice (AIR page) */
.platform-safety {
  padding: 60px 0;
  background: #fff;
}

.safety-box {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff3e0;
  padding: 40px;
  border-radius: 16px;
  border-left: 5px solid #F05A28;
}

.safety-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F05A28, #FF7F50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}

.safety-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.safety-content p {
  color: var(--gray-700);
  line-height: 1.7;
  font-size: 1rem;
}

/* Championship Path (MAX page) */
.platform-championship {
  padding: 100px 0;
  background: var(--gray-50);
}

.championship-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.path-step {
  background: #fff;
  padding: 40px 35px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.path-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B0000, #C8102E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 2rem;
}

.path-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.path-step p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

.path-arrow {
  font-size: 2rem;
  color: var(--primary);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
  .platform-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .platform-description {
    max-width: 100%;
  }
  
  .platform-hero-btns {
    justify-content: center;
  }
  
  .platform-quick-stats {
    justify-content: center;
  }
  
  .platform-hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .features-grid,
  .outcomes-grid,
  .missions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .includes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .platform-hero {
    padding: 120px 0 60px;
  }
  
  .platform-title {
    font-size: 3rem;
  }
  
  .platform-title span {
    font-size: 3.5rem;
  }
  
  .platform-tagline {
    font-size: 1.25rem;
  }
  
  .platform-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .platform-quick-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .features-grid,
  .outcomes-grid,
  .missions-grid,
  .careers-grid {
    grid-template-columns: 1fr;
  }
  
  .championship-path {
    flex-direction: column;
  }
  
  .path-arrow {
    transform: rotate(90deg);
  }
  
  .path-step {
    max-width: 100%;
  }
  
  .safety-box {
    flex-direction: column;
    text-align: center;
  }
  
  .next-platform-box {
    padding: 40px 25px;
  }
  
  .next-platform-content h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .platform-title {
    font-size: 2.5rem;
  }
  
  .platform-title span {
    font-size: 3rem;
  }
  
  .includes-content h2 {
    font-size: 2rem;
  }
  
  .price-value {
    font-size: 1.5rem;
  }
}
