/* style.css - GradeRise Academy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a14;
  font-family: 'DM Sans', sans-serif;
  color: white;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

h1 { font-size: 56px; letter-spacing: -1.5px; }
h2 { font-size: 36px; margin-bottom: 24px; }
h3 { font-size: 24px; margin-bottom: 16px; }

.gold { color: #f0d060; }
.text-muted { color: rgba(255,255,255,0.55); }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  background: #060c1f;
  border-bottom: 1px solid rgba(197,160,45,0.2);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
  color: white;
}
.logo span { color: #f0d060; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #f0d060; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #c5a02d, #f0d060);
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  color: #060c1f;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(197,160,45,0.5);
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 500;
  color: #f0d060;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(197,160,45,0.1);
  border-color: #f0d060;
}

/* Cards */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(197,160,45,0.15);
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.2s;
}
.card:hover {
  border-color: rgba(197,160,45,0.4);
  transform: translateY(-4px);
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Footer */
footer {
  background: #060c1f;
  border-top: 1px solid rgba(197,160,45,0.15);
  padding: 48px 0 24px;
  margin-top: 60px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 0;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
}