:root {
  --bg-color: #050505;
  --text-color: #f0f0f0;
  --accent-primary: #00f2ff;
  --accent-secondary: #7000ff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MkDocs Material Overrides */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: var(--accent-primary);
  --md-accent-fg-color: var(--accent-secondary);
  --md-default-bg-color: var(--bg-color);
}

/* Hide tabs and sidebar on landing page */
body:has(.modern-landing) .md-tabs,
body:has(.modern-landing) .md-sidebar {
  display: none !important;
}

/* Ensure the top header (search, name) is visible but clean */
body:has(.modern-landing) .md-header {
  background-color: rgba(5, 5, 5, 0.8) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

/* Remove left/right spacing for the main content area to eliminate the "black sidebars" */
body:has(.modern-landing) .md-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body:has(.modern-landing) .md-main__inner {
  margin: 0 !important;
  max-width: none !important;
}

/* The Landing Page Container with deep purple gradient background */
.modern-landing {
  background: radial-gradient(circle at 20% 30%, #1a0033 0%, #050505 70%);
  color: var(--text-color);
  overflow-x: hidden;
  padding: 4rem 10% 0 10%; /* Top padding for the header space */
  margin: -1.5rem;
  line-height: 1.6;
  min-height: 100vh;
}

/* Hero Section: 50/50 Split - Bigger Image */
.modern-landing .hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3rem;
  min-height: 80vh;
  width: 100%;
}

.modern-landing .hero-content {
  text-align: left;
  z-index: 2;
}

.modern-landing .hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  border: none !important;
}

.modern-landing .hero-title span {
  display: block;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-landing .hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 500px;
  margin-bottom: 3rem;
}

/* Hero Visual: IA Image */
.modern-landing .hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.modern-landing .hero-img-container {
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1/1;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0, 242, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.modern-landing .hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info Sections */
.modern-landing .info-section {
  padding: 6rem 0;
}

.modern-landing .section-tag {
  color: var(--accent-primary);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  display: block;
}

.modern-landing .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.modern-landing .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.modern-landing .card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
  border: none !important;
}

.modern-landing .card p {
  font-size: 1rem;
  opacity: 0.6;
}

/* Button */
.modern-landing .btn {
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
  transition: var(--transition);
}

.modern-landing .btn-primary {
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.modern-landing .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 242, 255, 0.4);
}

/* Status Button for progress tracking */
.status-btn {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: monospace;
  transition: all 0.3s ease;
}

.status-btn.completed {
  background: var(--accent-primary);
  color: #000;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
  .modern-landing .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }
  .modern-landing .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .modern-landing .grid {
    grid-template-columns: 1fr;
  }
}
