/* Page Specific CSS */

/* Hero Section for Subpages */
.page-hero {
  position: relative;
  min-height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.2rem 1.5rem;
}

.page-hero .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.page-hero h1 span {
  background: linear-gradient(to right, #fff, #6b7280);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42rem;
  margin: 0 auto;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Content Section */
.content-section {
  position: relative;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.content-section .bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0a0a0a;
}

.content-section .bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  background: linear-gradient(to bottom, transparent, #1a1a1a, transparent);
}

.content-section .content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .content-section .content-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Project Card */
.project-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.5));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.project-card .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.project-card .status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

.project-card .status-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.project-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.project-card .subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.project-card .release-info {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.project-card .description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(40, 40, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card .feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-card .feature-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}

.feature-card .feature-title {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
}

.feature-card .feature-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

/* Technical Details */
.tech-details h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.tech-list li span {
  color: rgba(255, 255, 255, 0.4);
}

/* Job Card */
.job-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom right, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.5));
}

.job-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-card .badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.job-card .badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.job-card .badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.job-card .badge-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.job-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.job-card .job-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.job-card .job-meta {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.job-card .section-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.job-card .job-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.job-card .job-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.job-card .job-list li .bullet {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.job-card .apply-section {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.job-card .apply-section p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.job-card .apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #000;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s;
}

.job-card .apply-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Responsive Typography */
@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 4.5rem;
  }

  .page-hero p {
    font-size: 1.25rem;
  }

  .project-card {
    padding: 2.5rem;
  }

  .project-card h2 {
    font-size: 2rem;
  }

  .job-card {
    padding: 2.5rem;
  }

  .job-card h2 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
