/* docs/stylesheets/extra.css */

/* Hide the default MkDocs TOC on the homepage to allow full custom layout */
.md-sidebar--secondary { display: none; }

/* === PREMIUM HERO SECTION === */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 3rem;
  text-align: center;
  position: relative;
  margin-bottom: 4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* === PREMIUM BUTTONS === */
.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-modern {
  padding: 0.875rem 2.5rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff !important;
  box-shadow: 0 4px 20px -2px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

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

/* === PREMIUM GRID CARDS === */
.section-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.modern-card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #c084fc);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.modern-card:hover {
  transform: translateY(-8px);
  background: #334155;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.modern-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: #60a5fa;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 1rem;
  margin-top: 0;
}

.card-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  color: #60a5fa !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #c084fc !important;
}

@keyframes glow {
  0% { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2)); }
  100% { filter: drop-shadow(0 0 25px rgba(192, 132, 252, 0.4)); }
}
