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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: #f7f7f9;
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.nav-right a {
  margin-left: 1.2rem;
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-right a:hover {
  color: #000;
}

/* Hero */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    #ffffff,
    #f0f0ff,
    #eef6ff
  );
  border-bottom: 1px solid #e9e9e9;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #222;
}

.highlight {
  color: #4a56e2;
}

.tagline {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-btn {
  background: #4a56e2;
  padding: 0.75rem 1.4rem;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.hero-btn:hover {
  background: #3d46c7;
  transform: translateY(-2px);
}

/* Cards */
.main-content {
  padding: 3rem 2rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.footer a {
  color: #4a56e2;
  text-decoration: none;
}
