:root {
  --bg:             #0d1117;
  --bg-surface:     #161b22;
  --bg-elevated:    #21262d;
  --border:         #30363d;
  --text:           #e6edf3;
  --text-muted:     #8b949e;
  --text-faint:     #484f58;
  --accent-green:   #3fb950;
  --accent-purple:  #bc8cff;
  --accent-discord: #5865F2;
  --cta-bg:         #238636;
  --cta-hover:      #2ea043;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  background: var(--cta-bg);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-cta:hover { background: var(--cta-hover); }
.btn-cta--large {
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 8px;
}

.btn-secondary {
  display: inline-block;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
  transition: opacity 0.15s;
}
.btn-secondary:hover { opacity: 0.8; }

/* Hero */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
}

.badge {
  display: inline-block;
  background: rgba(188, 140, 255, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(188, 140, 255, 0.3);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
}

/* Video */
.video-section {
  padding: 0 24px 80px;
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Features */
.features {
  padding: 0 24px 80px;
}

.features-grid, .community-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  font-size: 28px;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Free Banner */
.free-banner {
  background: linear-gradient(135deg, rgba(188,140,255,0.12) 0%, rgba(13,17,23,0) 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.free-banner h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--accent-purple);
}

.free-banner p {
  font-size: 17px;
  color: var(--text-muted);
}

/* Community */
.community {
  padding: 80px 24px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-brand span { display: none; }
  footer { flex-direction: column; gap: 8px; }
}
