:root {
  --primary: #1a252f;
  --secondary: #2c3e50;
  --accent: #3498db;
  --accent-hover: #2980b9;
  --success: #2ecc71;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --text: #34495e;
  --text-light: #7f8c8d;
  --bg-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  --hover-transform: translateY(-5px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: #f4f7f6;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative; /* Context for fixed background */
}

/* Header / Hero Section */
header {
  background: transparent; /* Changed to transparent for bg visibility */
  color: var(--primary); /* Changed for visibility on light bg */
  padding: 6rem 2rem 8rem;
  text-align: center;
  position: relative;
  /* clip-path removed to let background shine through */
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  animation: fadeInDown 0.8s ease-out;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--primary);
}

header p.lead {
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: none; /* Reset border */
}

.btn-primary {
  background-color: var(--primary); /* Darker button */
  color: white;
  box-shadow: 0 4px 15px rgba(26, 37, 47, 0.3);
}

.btn-primary:hover {
  background-color: #34495e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 37, 47, 0.5);
}

.btn-outline {
  background-color: white;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Stats Dashboard */
.status-dashboard {
  max-width: 1000px;
  margin: -4rem auto 4rem;
  padding: 0 1rem;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.9); /* Glassmorphismish */
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid #eee;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Modules Section */
.modules-section {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
  background: white;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--secondary);
  font-size: 1.3rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f8f9fa;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid #dee2e6;
}

/* Footer removed per request */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}
