/* Index Page Specific Styles */

.wrapper {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Logo Section */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.logo-container {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.8));
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container svg {
  width: 100%;
  height: auto;
}

.title-section {
  text-align: center;
}

.badge {
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation Cards */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}

.nav-card {
  position: relative;
  padding: 32px 24px;
  border-radius: 1.8rem;
  background: radial-gradient(circle at top left, #020617, #020617 40%)
    padding-box;
  background-color: #020617;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nav-card::before {
  content: "";
  position: absolute;
  inset: -140px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 1);
  box-shadow: var(--shadow-deep);
}

.nav-card:hover::before {
  opacity: 0.9;
}

.nav-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0b1120;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.4);
  transition: transform 0.3s ease;
}

.nav-card:hover .nav-icon {
  transform: scale(1.1) rotate(5deg);
}

.nav-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(120deg, #22d3ee, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-description {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Footer */
.footer {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wrapper {
    gap: 32px;
  }

  .logo-container {
    width: 220px;
  }

  .nav-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-card {
    padding: 24px 20px;
  }

  h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 480px) {
  .logo-container {
    width: 180px;
  }

  h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
  }

  .nav-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .nav-title {
    font-size: 1.2rem;
  }
}
