﻿:root {
  --bg: #0b101a;
  --bg-soft: #11192a;
  --panel: #131b27;
  --panel-alt: #1a2537;
  --accent: #9ef552;
  --accent-soft: rgba(158, 245, 82, 0.18);
  --text: #f1f5f9;
  --text-muted: #9aa4b2;
  --border: rgba(255, 255, 255, 0.06);
  --shadow: rgba(6, 10, 18, 0.25);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(158, 245, 82, 0.15), transparent 55%),
              linear-gradient(180deg, #05070c 0%, #080d15 35%, #0b101a 100%);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 18, 0.88);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 2vw + 1rem, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(19, 27, 39, 0.65);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
}

main {
  flex: 1;
}

.hero {
  max-width: 1100px;
  margin: clamp(2rem, 4vw, 4rem) auto;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 25, 42, 0.92), rgba(6, 10, 18, 0.92));
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -30px var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
}

.hero-visual {
  margin: 0;
  max-width: 420px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(158, 245, 82, 0.2);
  background: rgba(5, 10, 18, 0.45);
  box-shadow: 0 28px 48px -30px var(--shadow);
  justify-self: center;
}

.hero-visual--wide {
  max-width: 580px;
  width: 100%;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(158, 245, 82, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: grid;
  gap: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.5rem);
  margin: 0;
}

.hero p.lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-button {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #05100c;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -18px rgba(158, 245, 82, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(158, 245, 82, 0.8);
}

.btn.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #05100c;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -18px rgba(158, 245, 82, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(158, 245, 82, 0.8);
}

.primary-button.is-breathing {
  animation: ctaBreath 1.8s ease-in-out infinite;
}

.btn.btn-primary.is-breathing {
  animation: ctaBreath 1.8s ease-in-out infinite;
}

@keyframes ctaBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 26px -18px rgba(158, 245, 82, 0.8);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 22px 36px -16px rgba(158, 245, 82, 0.95);
  }
}

.secondary-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.course-grid {
  max-width: 1100px;
  margin: 0 auto clamp(3rem, 4vw, 5rem);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.course-card {
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border 0.2s ease;
  position: relative;
  box-shadow: 0 12px 30px -28px var(--shadow);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(158, 245, 82, 0.38);
}

.course-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.course-card picture {
  display: block;
}

.course-card-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  flex: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(158, 245, 82, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.course-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.course-card .card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 600;
}

.course-price .old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.course-price .new-price {
  color: var(--accent);
  font-size: 1.05rem;
}

.card-link {
  color: var(--accent);
  font-weight: 600;
}

.seat-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.seat-indicator strong {
  color: var(--accent);
}

.content-section {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 4vw, 5rem);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  gap: 2rem;
}

.content-section h2 {
  text-align: center;
}

.two-column {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-list {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  list-style: none;
  padding-left: 1.6rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(158, 245, 82, 0.18);
}

.note-box {
  border-radius: 16px;
  border: 1px dashed rgba(158, 245, 82, 0.35);
  padding: 1.25rem;
  background: rgba(9, 18, 28, 0.75);
  color: var(--text-muted);
}

.cta-block {
  background: linear-gradient(135deg, rgba(17, 25, 42, 0.75), rgba(17, 25, 42, 0.55));
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(158, 245, 82, 0.25);
  display: grid;
  gap: 1rem;
  text-align: center;
}

.cta-block h2 {
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.cta-actions .primary-button {
  margin-right: 0.5rem;
}

.simple-footer {
  margin-top: auto;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(5, 10, 18, 0.75);
}

.simple-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Utility */
.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.8rem;
}

.grid-auto {
  display: grid;
  gap: 1.5rem;
}

.testimonial {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
}

.testimonial strong {
  color: var(--accent);
}

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

  .hero {
    padding: 1.75rem;
  }

  .hero-actions {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .primary-button {
    flex: 1;
  }

  .course-card img {
    height: 160px;
  }
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  }
}
