:root {
  --bg: #0f0b09;
  --bg-alt: #16100c;
  --card: #1d1510;
  --border: #5c4427;
  --border-gold: #c99b44;
  --gold: #f2cb72;
  --gold-bright: #ffe6a3;
  --cream: #e8dcc4;
  --muted: #b0a088;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 11, 9, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 155, 68, 0.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1.2rem;
  color: var(--gold-bright);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--gold-bright); }
.btn-nav {
  padding: 7px 16px;
  border-radius: 5px;
  background: linear-gradient(180deg, #9a6c28, #6b4715);
  border: 1px solid var(--border-gold);
  color: #fff6dc !important;
  font-weight: 600 !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background: url("assets/hero_bg.jpg") center/cover no-repeat;
  border-bottom: 2px solid rgba(201, 155, 68, 0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 11, 8, 0.55) 0%, rgba(12, 8, 6, 0.92) 82%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 76px 0 64px;
}
.hero-logo {
  max-width: min(460px, 84vw);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
  margin-bottom: 18px;
}
.hero-tagline {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-primary {
  background: linear-gradient(180deg, #c99238, #8c5c19);
  border: 1px solid #f7d582;
  color: #fff9e8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-secondary {
  background: rgba(24, 17, 13, 0.82);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}
.btn-secondary:hover { transform: translateY(-2px); background: rgba(44, 31, 20, 0.92); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-badges span {
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.82);
  border: 1px solid rgba(201, 155, 68, 0.4);
  color: var(--gold);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(92, 68, 39, 0.4);
  border-bottom: 1px solid rgba(92, 68, 39, 0.4);
}
.eyebrow {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}
h2 {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.section-lead {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
  color: var(--muted);
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

.card, .feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.card h3, .feature h4 {
  font-family: "Cinzel", serif;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.card p, .feature p { color: var(--cream); font-size: 0.94rem; }
.class-card { text-align: center; }
.class-icon { font-size: 2rem; margin-bottom: 8px; }

/* Download */
.download-box {
  text-align: center;
  background: linear-gradient(180deg, rgba(35, 25, 18, 0.95), rgba(20, 14, 10, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 44px 26px;
}
.download-box code {
  background: rgba(255, 230, 163, 0.12);
  color: var(--gold-bright);
  padding: 2px 6px;
  border-radius: 4px;
}
.req-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 28px 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid rgba(92, 68, 39, 0.35);
}
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
