@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fira+Code:wght@400;600&display=swap');

:root {
  --md-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --md-font-code: 'Fira Code', monospace;
  
  --cm-primary: #6366f1;
  --cm-primary-hover: #4f46e5;
  --cm-secondary: #06b6d4;
  --cm-accent: #f43f5e;
  --cm-bg-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
}

/* Hero Banner Styling */
.cm-hero {
  background: var(--cm-bg-gradient);
  color: #ffffff;
  padding: 3.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.3);
}

.cm-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.cm-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
}

.cm-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
}

.cm-btn-primary {
  background-color: #ffffff;
  color: #4f46e5 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cm-btn-primary:hover {
  transform: translateY(-2px);
  background-color: #f8fafc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cm-btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cm-btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.3);
}

/* Why ClassMine Section Styling */
.cm-about-section {
  padding: 1.5rem 0;
}

.cm-about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cm-about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--md-typeset-color);
}
