/* Ascend Society — Educational Hub (navy + gold) */
:root {
  --bg: #07090f;
  --bg-elevated: #0c1018;
  --bg-card: #121826;
  --bg-card-hover: #181f30;
  --border: rgba(212, 175, 55, 0.12);
  --border-strong: rgba(212, 175, 55, 0.28);
  --text: #f0ebe0;
  --text-muted: #a8a093;
  --text-dim: #6e685c;
  --accent: #d4af37;
  --accent-bright: #f0d060;
  --accent-dim: rgba(212, 175, 55, 0.14);
  --accent-hover: #c9a227;
  --gold-deep: #9a7b2f;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --warning-border: rgba(251, 191, 36, 0.4);
  --warning-text: #fbbf24;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --danger-border: rgba(239, 68, 68, 0.35);
  --danger-text: #f87171;
  --info-bg: rgba(96, 165, 250, 0.1);
  --info-border: rgba(96, 165, 250, 0.3);
  --info-text: #93c5fd;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 960px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(212, 175, 55, 0.09), transparent),
    radial-gradient(ellipse 50% 35% at 95% 5%, rgba(154, 123, 47, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

.logo:hover { color: var(--text); }

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.logo-text {
  background: linear-gradient(135deg, #f5e6b8, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-bright);
  background: var(--accent-dim);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent)) !important;
  color: #0a0c12 !important;
  font-weight: 700 !important;
  margin-left: 0.35rem;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #fff0b0, var(--accent-bright)) !important;
  color: #0a0c12 !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.main-wide { max-width: 1100px; }

/* Hero */
.hero {
  text-align: center;
  padding: 2.75rem 0 2.5rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4), 0 8px 32px rgba(212, 175, 55, 0.2);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff8e7 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-pitch {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1.3;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #0a0c12 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fff0b0, var(--accent-bright));
  color: #0a0c12 !important;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--accent-bright) !important;
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright) !important;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--accent-bright) !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Module cards */
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.module-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  color: inherit;
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.module-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.module-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
}

.module-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* Page content */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #fff8e7, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.content-block { margin-bottom: 2.25rem; }

.content-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  color: var(--text);
}

.content-block h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.25rem 0 0.5rem;
  color: var(--accent-bright);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.content-block ul,
.content-block ol {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem 1.35rem;
}

.content-block li { margin-bottom: 0.4rem; }
.content-block li strong { color: var(--text); }

/* Callouts */
.callout {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  border: 1px solid;
  font-size: 0.92rem;
}

.callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.callout p { margin-bottom: 0.4rem; color: inherit; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { margin: 0.35rem 0 0 1.2rem; color: inherit; }

.callout-caution {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: #fde68a;
}
.callout-caution strong { color: var(--warning-text); }

.callout-danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: #fecaca;
}
.callout-danger strong { color: var(--danger-text); }

.callout-info {
  background: var(--info-bg);
  border-color: var(--info-border);
  color: #bfdbfe;
}
.callout-info strong { color: var(--info-text); }

.callout-tip {
  background: var(--accent-dim);
  border-color: rgba(212, 175, 55, 0.35);
  color: #f5e6b8;
}
.callout-tip strong { color: var(--accent-bright); }

/* Tool card */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.tool-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--accent-bright);
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Video */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  margin: 1.25rem 0 0.5rem;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.steps li:last-child { border-bottom: none; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.steps li strong { color: var(--text); }

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.footer-inner { max-width: var(--max); margin: 0 auto; }

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--accent-bright);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.footer-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.cta-strip {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(154, 123, 47, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-strip h2 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--accent-bright); }
.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.page-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.page-nav a:hover { color: var(--accent); }
.page-nav .next { margin-left: auto; text-align: right; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 9, 15, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 1rem; font-size: 0.95rem; }
  .nav-cta { margin-left: 0; margin-top: 0.35rem; text-align: center; }
  .hero { padding: 2rem 0 1.75rem; }
  .main { padding: 1.5rem 1rem 2.5rem; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .logo-text { font-size: 0.95rem; }
}
