/* Platforms Data — premium dark theme */
:root {
  --bg: #07090f;
  --bg-elevated: #0e121b;
  --bg-panel: #131925;
  --bg-soft: #1a2233;
  --line: rgba(212, 175, 106, 0.18);
  --line-strong: rgba(212, 175, 106, 0.38);
  --text: #f3efe6;
  --text-muted: #a8b0c0;
  --gold: #d4af6a;
  --gold-bright: #e8c988;
  --teal: #5eead4;
  --teal-dim: rgba(94, 234, 212, 0.14);
  --danger: #f87171;
  --success: #4ade80;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(94, 234, 212, 0.08), transparent 55%),
    radial-gradient(900px 500px at 10% 0%, rgba(212, 175, 106, 0.1), transparent 50%),
    linear-gradient(180deg, #090c14 0%, var(--bg) 40%, #05070c 100%);
  min-height: 100vh;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

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

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

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--gold-bright); }

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--gold) 0%, #8a6b32 55%, var(--teal) 100%);
  box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--gold-bright) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b89045 100%);
  color: #120e07;
}

.btn-primary:hover { color: #120e07; filter: brightness(1.05); }

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

.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero compositions */
.hero-cinema {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-cinema__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-cinema__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.45);
  transform: scale(1.02);
  animation: slow-drift 18s ease-in-out infinite alternate;
}

.hero-cinema__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, 0.25) 0%, rgba(7, 9, 15, 0.55) 40%, rgba(7, 9, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 9, 15, 0.75) 0%, transparent 55%);
}

.hero-cinema__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(3.5rem, 8vw, 5rem);
  max-width: 42rem;
  animation: rise-in 0.9s ease both;
}

.hero-cinema__content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.hero-cinema__content h1 {
  color: var(--text);
  margin-bottom: 0.85rem;
}

.hero-cinema__content > p {
  font-size: 1.08rem;
  max-width: 36rem;
}

@keyframes slow-drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.accent-line {
  width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  margin: 1.25rem 0;
  transform-origin: left;
  animation: fade-line 0.8s 0.3s ease both;
}

/* Split / editorial sections */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--gold-bright);
  font-weight: 500;
}

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

/* Feature / course strips — not heavy cards */
.strip-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.strip-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.strip-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.strip-item img {
  width: 140px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.strip-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.strip-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Panels for interaction surfaces */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.panel-soft {
  background: linear-gradient(160deg, var(--bg-soft), var(--bg-elevated));
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem 1.4rem;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

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

.price-tier.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(212, 175, 106, 0.08), transparent 40%),
    var(--bg-panel);
}

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

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

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

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Forms */
.form-stack {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.15);
}

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

.form-status {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.is-success {
  border-color: rgba(74, 222, 128, 0.45);
  color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}
.form-status.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  color: var(--danger);
  background: rgba(248, 113, 113, 0.08);
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--danger);
  background: rgba(248, 113, 113, 0.08);
  display: none;
}

.inline-error.is-visible { display: block; }

/* Blog / course listing */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.media-tile {
  display: block;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.media-tile:hover { border-color: var(--gold); color: inherit; }

.media-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.media-tile h3 {
  color: var(--text);
  font-size: 1.2rem;
}

.meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

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

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  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 details p {
  margin-top: 0.75rem;
}

/* Legal */
.legal {
  max-width: 720px;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

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

.legal th {
  background: var(--bg-panel);
  color: var(--gold-bright);
}

/* Page heroes (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 18ch; }

.page-hero p.lead {
  font-size: 1.1rem;
  max-width: 40rem;
}

.prose {
  max-width: 680px;
}

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

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
}

.module-list li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #05070c;
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.1fr;
  gap: 1.75rem;
}

.footer-brand p {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

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

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

.site-footer a { color: var(--text-muted); font-size: 0.92rem; }
.site-footer a:hover { color: var(--text); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
}

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

.cookie-banner.is-visible { display: block; animation: rise-in 0.35s ease both; }

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-banner .btn-row { margin-top: 0; }

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold);
  line-height: 1;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Course detail hero band */
.band-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.band-hero img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  border: 1px solid var(--line);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
}

.instructor {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.rating-stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 960px) {
  .split,
  .band-hero,
  .price-tiers,
  .media-grid,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 { grid-template-columns: 1fr; }

  .metric-row { grid-template-columns: 1fr; gap: 1.25rem; }

  .strip-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .strip-item img {
    width: 100%;
    height: 160px;
  }

  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(7, 9, 15, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-header { position: relative; }
  .site-header.is-fixed-nav { position: sticky; }
}

@media (max-width: 600px) {
  .hero-cinema { min-height: 85vh; }
  .btn-row { flex-direction: column; align-items: stretch; }
}
