:root {
  color-scheme: dark;
  --bg: #05060b;
  --accent: linear-gradient(135deg, #5b8def, #7e5ce3, #4cd3c2);
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #e9ecf2;
  --muted: #9aa4b5;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, rgba(91, 141, 239, 0.2), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(76, 211, 194, 0.16), transparent 22%),
              radial-gradient(circle at 60% 70%, rgba(126, 92, 227, 0.18), transparent 30%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.page-shell {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 48px;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: #7e5ce3;
}

.nav-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pill-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.content {
  display: grid;
  gap: 32px;
}

.hero {
  display: grid;
  gap: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1.2rem, 3.2rem);
  line-height: 1.1;
  margin: 0;
}

.hero h1 span {
  background-image: var(--accent);
  -webkit-background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.lede {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cta.primary {
  background: var(--accent);
  color: #05060b;
  box-shadow: var(--shadow);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.12), rgba(126, 92, 227, 0.08));
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-body h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.card-link {
  color: #9fd7ff;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-books {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c7d2e6' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5h9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75h-9a2.25 2.25 0 0 1-2.25-2.25V6.75A2.25 2.25 0 0 1 8.25 4.5zM8.25 4.5v15'/%3E%3C/svg%3E");
}

.icon-film {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c7d2e6' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5.25 4.5h13.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V5.25a.75.75 0 0 1 .75-.75zm13.5 0L15 9.75m3.75 9.75L15 14.25m0 0l-6 4.5m6-4.5l-6-4.5m-3.75 9.75L9 14.25M5.25 4.5 9 9.75'/%3E%3C/svg%3E");
}

.icon-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c7d2e6' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 6.75A2.25 2.25 0 0 1 6 4.5h12a2.25 2.25 0 0 1 2.25 2.25v10.5A2.25 2.25 0 0 1 18 19.5H6a2.25 2.25 0 0 1-2.25-2.25V6.75zm.75-.375 6.74 4.494c.44.294.84.294 1.18 0L19.16 6.375'/%3E%3C/svg%3E");
}

.site-footer {
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shell {
    padding-top: 32px;
  }
}
