/* ==========================================================================
   Introduction Page Specific Styles
   ========================================================================== */

/* Hero Image Banner - Unique to Introduction */
.hero-image-banner img {
  height: 600px;
  width: 100%;
  object-fit: contain;
  margin-top: 40px;
}

.hero-image-banner.has-image .hero-image-placeholder {
  display: none;
}

/* Hero Details - Unique to Introduction */
.hero-details {
  background: var(--surface);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-section h1 {
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-logo {
  margin-top: 2rem;
}

.hero-logo-image {
  height: 120px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-section .lead {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.tech-badge-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tech-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-badges .badge {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--lightprimary);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.hero-badges .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Overview Cards - Introduction specific styling */
.overview-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
  overflow: hidden;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.overview-card-header {
  background: var(--grey100);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.overview-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.75rem;
  background: var(--lightprimary);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.overview-icon.rocket {
  background: var(--lightprimary);
  color: var(--primary-color);
}

.overview-icon.users {
  background: var(--lightprimary);
  color: var(--primary-color);
}

.overview-icon.star {
  background: var(--lightprimary);
  color: var(--primary-color);
}

.overview-card-body {
  padding: 2rem;
  flex: 1;
}

.overview-card h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.375rem;
  line-height: 1.3;
}

.overview-card p {
  color: var(--text-secondary);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Key Features Grid - Introduction specific layout */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.feature-item .feature-icon {
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-item h6 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.feature-item p {
  color: var(--text-secondary);
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Tech Stack Section - Introduction specific */
.tech-stack-section {
  background: var(--grey100);
  padding: 4rem 0;
  margin: 4rem 0;
  border-radius: 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tech-stack-section h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 2.5rem;
}

.tech-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.tech-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightprimary);
  border-radius: 8px;
  font-size: 24px;
  color: var(--primary-color);
}

.tech-logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tech-item h6 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.tech-version {
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0.8;
  background: var(--grey100);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Demo Preview Section - Introduction specific */
.demo-preview {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(38, 135, 229, 0.08);
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

.demo-preview h4 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.demo-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(38, 135, 229, 0.15);
  border: 1px solid var(--border-color);
}

.demo-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.demo-image-container:hover img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(38, 135, 229, 0.8), rgba(73, 190, 255, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-image-container:hover .demo-overlay {
  opacity: 1;
}

.demo-overlay .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.demo-overlay .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Design - Introduction specific */
@media (max-width: 768px) {
  .hero-image-banner {
    height: 350px;
    margin: 1rem;
  }

  .image-placeholder-content i {
    font-size: 3rem;
  }

  .image-placeholder-content p {
    font-size: 1.25rem;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-details {
    padding: 3rem 0;
  }

  .hero-badges {
    justify-content: center;
    gap: 0.75rem;
  }

  .tech-badge {
    padding: 0.5rem 1rem;
  }

  .tech-badge-logo {
    width: 20px;
    height: 20px;
  }

  .tech-badge span {
    font-size: 0.8rem;
  }

  /* Overview Cards Mobile */
  .overview-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .overview-card-header {
    padding: 1.5rem;
  }

  .overview-card-body {
    padding: 1.5rem;
  }

  .overview-card h5 {
    font-size: 1.25rem;
  }

  .overview-card p {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .tech-stack-section {
    padding: 3rem 0;
  }
}