:root {
  --bg: #070a12;
  --bg-elevated: #0e1424;
  --bg-panel: #121a2e;
  --bg-soft: #182238;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(232, 236, 255, 0.08);
  --text: #e8ecff;
  --text-muted: #9aa3c0;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --gold-deep: #8a6f14;
  --accent: #4db8a8;
  --danger: #e07070;
  --success: #5dca8a;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --header-h: 4.25rem;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(77, 184, 168, 0.1), transparent 50%),
    linear-gradient(180deg, #0a0f1c 0%, var(--bg) 40%, #05070e 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-main {
  padding-top: var(--header-h);
  min-height: 70vh;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.78);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 45%, var(--gold-soft) 45% 55%, transparent 55%),
    radial-gradient(circle at 50% 50%, var(--gold) 0 18%, transparent 19%);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.35);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.site-nav .nav-cta {
  color: #0b0f1a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  color: #0b0f1a;
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--gold-soft);
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.75rem 0.9rem;
    border-radius: 6px;
  }
  .site-nav a:hover { background: var(--bg-soft); }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: #0b0f1a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.28);
}

.btn-primary:hover { color: #0b0f1a; }

.btn-ghost {
  color: var(--gold-soft);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold);
}

/* Hero variants */
.hero-editorial {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--line-soft);
}

.hero-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.92) 0%, rgba(7, 10, 18, 0.55) 48%, rgba(7, 10, 18, 0.25) 100%),
    var(--hero-image) center/cover no-repeat;
  z-index: 0;
  animation: heroFade 1.2s ease both;
}

.hero-editorial .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--text);
  margin: 0 0 1.25rem;
  background: linear-gradient(120deg, #fff 10%, var(--gold-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: riseIn 0.9s ease both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: riseIn 0.8s ease 0.1s both;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--text);
  animation: riseIn 0.9s ease 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: riseIn 0.9s ease 0.25s both;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero.with-media {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .page-hero.with-media {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  margin: 3rem 0;
}

.stat {
  background: var(--bg-elevated);
  padding: 1.75rem 1.4rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .split-stats { grid-template-columns: 1fr; }
}

/* Media / course blocks */
.media-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .media-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .media-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.media-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.media-item:hover { transform: translateY(-4px); }

.media-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  filter: saturate(0.9) contrast(1.05);
  transition: filter 0.3s ease, border-color 0.3s ease;
}

.media-item:hover img {
  filter: saturate(1.05) contrast(1.08);
  border-color: var(--line);
}

.media-item h3 {
  color: var(--text);
  margin-bottom: 0.35rem;
}

.media-meta {
  font-size: 0.85rem;
  color: var(--gold);
}

.benefit-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.benefit-row {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}

@media (min-width: 800px) {
  .benefit-row {
    grid-template-columns: 8rem 1fr;
  }
}

.benefit-row .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .quote-stack { grid-template-columns: 1.2fr 0.8fr; }
}

.quote {
  padding: 1.75rem;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.quote p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.quote footer {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quote .stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.75rem;
}

.panel + .panel { margin-top: 1rem; }

.price-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .price-grid.tiers-4 { grid-template-columns: repeat(4, 1fr); }
  .price-grid.tiers-3 { grid-template-columns: repeat(3, 1fr); }
}

.price-tier {
  position: relative;
  padding: 1.75rem 1.4rem;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.price-tier:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.price-tier.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25), var(--shadow);
}

.price-tier h3 { color: var(--gold-soft); }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.price-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(77, 184, 168, 0.08)),
    var(--bg-panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; }

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  border-color: var(--gold);
}

.form-row textarea { min-height: 140px; resize: vertical; }

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(93, 202, 138, 0.12);
  border: 1px solid rgba(93, 202, 138, 0.4);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(224, 112, 112, 0.12);
  border: 1px solid rgba(224, 112, 112, 0.4);
  color: var(--danger);
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-details p {
  color: var(--text);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 1.75rem;
  color: var(--gold-soft);
}

.prose ul, .prose ol {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.prose li { margin-bottom: 0.45rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line-soft);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-panel);
  color: var(--gold-soft);
}

.module-list {
  display: grid;
  gap: 0.85rem;
}

.module {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(18, 26, 46, 0.6);
}

.module h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.faq details[open] summary::after { content: "–"; }

.faq p { margin-top: 0.75rem; }

.avatar-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem 0;
}

.avatar-row img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.case-study {
  padding: 2rem;
  margin: 1.5rem 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.case-study h3 { color: var(--gold-soft); }

.blog-article {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.blog-article .cover {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 12px;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line-soft);
}

.muted { color: var(--text-muted); }
.gold { color: var(--gold-soft); }

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  background: rgba(224, 112, 112, 0.12);
  border: 1px solid rgba(224, 112, 112, 0.45);
  color: var(--danger);
  border-radius: 8px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 520px;
  margin-left: auto;
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible { display: block; animation: riseIn 0.4s ease both; }

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cookie-banner a { color: var(--gold-soft); }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions button {
  flex: 1;
  min-width: 120px;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 7, 14, 0.9);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.footer-tag { font-size: 0.92rem; }

.footer-col h2 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 0.9;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.reveal {
  animation: riseIn 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
