/* MacBook Comparison Page Styles */

.macbook-comparison-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1a1a1a;
  line-height: 1.9;
}

/* Typography - Increased Font Sizes */
.macbook-comparison-wrapper h2 {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.macbook-comparison-wrapper h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 80px;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

.macbook-comparison-wrapper h4 {
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #2c2c2c;
}

.macbook-comparison-wrapper p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: #3a3a3a;
}

.macbook-comparison-wrapper strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Links */
.macbook-comparison-wrapper a {
  color: #007AFF;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s ease, color 0.2s ease;
}

.macbook-comparison-wrapper a:hover {
  color: #0051D5;
  border-bottom-color: #0051D5;
}

/* Intro Section with Image */
.intro-section {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 64px;
  padding: 36px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.featured-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.intro-text {
  flex: 1;
  display: flex;
  align-items: center;
}

.intro-text p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.9;
}

/* Content Sections */
.content-section {
  margin-bottom: 48px;
}

/* Component Cards */
.component-card {
  background: #ffffff;
  border-left: 4px solid #007AFF;
  padding: 28px 32px;
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.component-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.component-label {
  display: inline-block;
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.component-card p {
  margin: 0;
  font-size: 1.25rem;
}

/* Buyer Guide Cards */
.buyer-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 36px 0;
}

.guide-card {
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.air-card {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F4 100%);
  border: 2px solid #4CAF50;
}

.pro-card {
  background: linear-gradient(135deg, #E3F2FD 0%, #F0F7FF 100%);
  border: 2px solid #2196F3;
}

.guide-card h4 {
  color: #1a1a1a;
  margin-top: 0;
  font-size: 1.625rem;
}

.guide-card p {
  margin: 0;
  color: #2c2c2c;
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .macbook-comparison-wrapper {
    padding: 40px 20px;
  }

  .macbook-comparison-wrapper h2 {
    font-size: 2.5rem;
  }

  .macbook-comparison-wrapper h3 {
    font-size: 2rem;
    margin-top: 60px;
  }

  .macbook-comparison-wrapper h4 {
    font-size: 1.375rem;
  }

  .macbook-comparison-wrapper p {
    font-size: 1.125rem;
  }

  .intro-section {
    flex-direction: column;
    padding: 28px;
  }

  .featured-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/3;
  }

  .intro-text p {
    font-size: 1.125rem;
  }

  .buyer-guide {
    grid-template-columns: 1fr;
  }

  .component-card {
    padding: 24px 28px;
  }

  .component-card p {
    font-size: 1.125rem;
  }

  .component-label {
    font-size: 0.9375rem;
  }

  .guide-card {
    padding: 28px;
  }

  .guide-card p {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .macbook-comparison-wrapper h2 {
    font-size: 2rem;
  }

  .macbook-comparison-wrapper h3 {
    font-size: 1.625rem;
  }

  .macbook-comparison-wrapper h4 {
    font-size: 1.25rem;
  }

  .macbook-comparison-wrapper p {
    font-size: 1.0625rem;
  }

  .intro-section {
    padding: 20px;
  }

  .intro-text p {
    font-size: 1.0625rem;
  }

  .guide-card {
    padding: 24px;
  }

  .component-card p,
  .guide-card p {
    font-size: 1.0625rem;
  }
}