:root {
  --bg: #0b0c0e;
  --bg-elevated: #13151a;
  --surface: #181b21;
  --text: #f3f1ec;
  --muted: #a7a49c;
  --line: rgba(243, 241, 236, 0.12);
  --accent: #e23a2e;
  --accent-hover: #ff4a3c;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1.25rem, 3vw, 2rem);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(226, 58, 46, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #0d0f13 0%, var(--bg) 40%, #090a0c 100%);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand-mark,
.logo,
.footer-brand,
.price-value,
.method-steps span {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem var(--space);
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.88), rgba(11, 12, 14, 0.35) 70%, transparent);
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 1.75rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(243, 241, 236, 0.28);
}

.btn-ghost:hover {
  background: rgba(243, 241, 236, 0.06);
  border-color: rgba(243, 241, 236, 0.5);
}

.btn-block {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  transform: scale(1.05);
  animation: hero-zoom 14s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.55) 48%, rgba(8, 9, 11, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.25) 45%, rgba(8, 9, 11, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(7rem, 14vh, 9rem) var(--space) clamp(3.5rem, 8vh, 5.5rem);
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-size: clamp(3.5rem, 10vw, 7rem);
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.hero-lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) var(--space);
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2,
.method-copy h2,
.cta-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.section-head p,
.method-copy p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.course-list {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.course {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.course:nth-child(even) {
  direction: rtl;
}

.course:nth-child(even) > * {
  direction: ltr;
}

.course-media {
  min-height: clamp(240px, 36vw, 420px);
  overflow: hidden;
}

.course-media img {
  transition: transform 0.7s ease;
}

.course:hover .course-media img {
  transform: scale(1.04);
}

.course-level {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-body h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.course-body p {
  margin: 0;
  color: var(--muted);
}

.course-body ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.course-body li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
}

.course-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 1px;
  background: var(--accent);
}

.method {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.method-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.method-steps span {
  font-size: 2rem;
  color: var(--accent);
}

.method-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.method-steps p {
  margin: 0;
  color: var(--muted);
}

.atmosphere {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.atmosphere-media {
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
}

.atmosphere-media img {
  filter: contrast(1.05) saturate(0.9);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price {
  padding: 1.6rem 1.4rem 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
}

.price-featured {
  background: linear-gradient(180deg, rgba(226, 58, 46, 0.16), rgba(255, 255, 255, 0.02));
  border-top-color: var(--accent);
}

.price-name {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.price-value {
  margin: 0.7rem 0 0.35rem;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
}

.price-note {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.cta {
  padding-bottom: clamp(5rem, 10vw, 7rem);
}

.cta-panel {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-panel .btn {
  margin-top: 1.5rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space) 3rem;
  display: grid;
  gap: 0.75rem;
}

.footer-brand {
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta a:hover {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.site-header[data-reveal] {
  transition-delay: 0.05s;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-header .btn-small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 4.25rem;
    margin: 0 var(--space);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(14, 15, 18, 0.96);
    border: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .course,
  .course:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .method-grid,
  .price-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
