html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ml-page-content {
  --primary-color: #330cb3;
  --text-color: #2d3748;
  --text-muted: #718096;
  --bg-color: #ffffff;
  --accent-glow: rgba(51, 12, 179, 0.05);
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.8;
}

/* --- Hero Section --- */
.ml-page-content .ml-hero {
  background: linear-gradient(
    135deg,
    #000 0%,
    #1a0a3e 50%,
    #000 100%
  ) !important;
  color: #fff;
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
}

.ml-page-content .ml-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  background: linear-gradient(45deg, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: mlTitleAppear 1s ease-out forwards;
}

@keyframes mlTitleAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* --- Main Content --- */
.ml-page-content main {
  padding: 60px 20px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.ml-page-content .ml-container {
  animation: mlContentFade 1.2s ease-out forwards;
}

@keyframes mlContentFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Grid & Cards --- */
.ml-page-content .ml-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.ml-page-content .ml-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ml-page-content .ml-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(51, 12, 179, 0.1);
}

.ml-page-content h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-glow);
  padding-bottom: 10px;
}

.ml-page-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
}

.ml-page-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.ml-page-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.ml-page-content a:hover {
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ml-page-content .ml-hero-title {
    font-size: 2.2rem;
  }

  .ml-page-content .ml-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-top: 0px;
  }

  .ml-page-content main {
    padding: 0px 0px;
  }

  .ml-page-content .ml-card {
    background: #fff;
    padding: 0px;
    border-radius: none;
    box-shadow: none;
    transition: none;
    border: none;
  }
  .ml-page-content .ml-card:hover {
    box-shadow: none;
  }
  .ml-page-content h2 {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }
}

@media (max-width: 480px) {
  .ml-page-content .ml-hero {
    padding: 80px 15px 40px;
  }

  .ml-page-content .ml-hero-title {
    font-size: 1.8rem;
  }

  .ml-page-content main {
    padding: 0px 0px;
  }

  .ml-page-content .ml-card {
    padding: 0px;
    border-radius: 12px;
  }

  .ml-page-content h2 {
    font-size: 1.3rem;
    margin-top: 0.5rem; /* User preferred compact margins */
  }
}
