/* Developer-focused overrides */
:root {
  --md-primary-fg-color: #7c4dff;
  --md-accent-fg-color: #00e5ff;
}

/* Hero section */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: -1rem -1rem 2rem -1rem;
  border-radius: 0;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* CTA buttons */
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  background: white;
  color: #667eea;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #667eea;
}

/* Course cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.course-card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
  background: var(--md-default-bg-color);
}

.course-card:hover {
  border-color: var(--md-accent-fg-color);
}

.course-card h3 {
  margin-top: 0;
  color: var(--md-accent-fg-color);
}

.course-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.course-card ul li:before {
  content: "→ ";
  color: var(--md-accent-fg-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.course-card a {
  color: var(--md-accent-fg-color);
  text-decoration: none;
  font-weight: 600;
}

.course-card a:hover {
  text-decoration: underline;
}

/* Code snippet section */
.code-sample {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Minimize footer */
.md-footer {
  padding: 1rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button {
    display: block;
    margin: 0.5rem auto;
    max-width: 300px;
  }
}

/* Code block enhancements */
.highlight {
  margin: 1.5rem 0;
}

/* Table styling for comparison */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

table th {
  background: var(--md-primary-fg-color);
  color: white;
  padding: 0.75rem;
  text-align: left;
}

table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

table tr:hover {
  background: var(--md-default-fg-color--lightest);
}
