/* ── Kage Landing Page — style.css ─────────────────────────────────────────
   Aesthetic: dark luxury / arcane / editorial
   Fonts: Cinzel (display, Roman-inspired) + Crimson Pro (body, old-style serif)
   Palette: near-black bg, bone/parchment text, blood-red accent
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --bg:        #0c0b09;
  --bg-card:   #131210;
  --bg-raised: #1a1815;
  --border:    #2e2b26;
  --text:      #e8e0d0;
  --muted:     #8a8070;
  --accent:    #b03020;
  --accent-hi: #d44030;
  --gold:      #c8a84b;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── nav ── */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 4rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  flex: 1;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.btn-invite {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 0.45rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.btn-invite:hover { background: var(--accent); }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

/* Radial glow behind the headline */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(176,48,32,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,168,75,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 760px; }

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
}
h1 em {
  font-style: normal;
  color: var(--accent-hi);
}

.sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 0.85rem 2.4rem;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }

.trial-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ── stats ── */
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.stat { text-align: center; }
.stat-n {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
}
.stat-l {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── sections shared ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: 0.05em;
}

/* ── features ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.feature-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── pricing ── */
.pricing { border-top: 1px solid var(--border); }

.pricing-sub {
  text-align: center;
  color: var(--muted);
  margin-top: -2.5rem;
  margin-bottom: 3.5rem;
  font-style: italic;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
}

.plan-featured {
  border-color: var(--accent);
  background: var(--bg-raised);
  transform: translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
}

.plan-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.plan-price {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.plan-price span {
  font-size: 1rem;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}
.plan-features li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.plan-features li::before {
  content: '— ';
  color: var(--gold);
}

.btn-plan {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.7rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-plan:hover { border-color: var(--muted); color: var(--text); }

.btn-plan-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}
.btn-plan-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

/* ── footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
footer p {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
  text-align: right;
}

/* ── footer links ── */
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

/* ── animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── responsive ── */
@media (max-width: 640px) {
  nav { padding: 1rem 1.5rem; }
  .hero { padding: 5rem 1.5rem 3rem; }
  section { padding: 5rem 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; }
  footer p { text-align: left; }
  .plan-featured { transform: none; }
}
