/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0f2f5;

  /* Light glowing grid lines */
  background-image:
    linear-gradient(to right, rgba(30, 58, 138, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 138, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
  color: #333;
}

/* Animation */
@keyframes glowGridLight {
  0% { background-position: 0 0, 0 0; }
  50% { background-position: 25px 25px, 25px 25px; }
  100% { background-position: 0 0, 0 0; }
}

body {
  animation: glowGridLight 15s linear infinite;
}

/* Glow overlay */
body::before {
  content: '';
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(30, 58, 138, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 138, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  filter: blur(2px);
  z-index: -1;
  animation: glowGridLight 20s linear infinite;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.logo {
  max-width: 180px;
  width: 40%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .logo {
    max-width: 140px;
    width: 50%;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  background: #1E3A8A;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Header */
.header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.header h1 span {
  color: #1E3A8A;
}

.header p {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Card */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Hover */
.card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #1E3A8A;
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.25);
}

/* Icon */
.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: 0.3s;
}

.card:hover .icon {
  transform: scale(1.1) rotate(5deg);
  color: #1E3A8A;
}

/* Text */
.card h3 {
  font-size: 1.35rem;
  color: #111;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

/* Highlight */
.card.highlight {
  border: 2px solid #1E3A8A;
  background: #e8edff;
}

/* Premium */
.card.premium {
  border: 2px solid gold;
  background: linear-gradient(145deg, #fff8e1, #ffe680);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
}

.card.premium:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

/* Utility */
.card.utility {
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
}