:root {
  --bg: #000000;
  --neon: #43F5A0;
  --neon-hover: #28D985;
  --emerald-dark: #0B2418;
  --card-bg: #101713;
  --text: #FFFFFF;
  --text-muted: #A1A1A1;
  --gold: #D5AA55;
  --header-h: 64px;
  --glow: 0 0 24px rgba(67, 245, 160, 0.35);
  --font: "Manrope", sans-serif;
}

*,
*::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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(67, 245, 160, 0.12);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(67, 245, 160, 0.35);
}

.logo__text {
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--neon);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--neon);
  color: #000000;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  background: var(--neon-hover);
}

.btn--lg {
  min-height: 56px;
  padding: 16px 36px;
  font-size: 0.9375rem;
}

/* Sections common */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 680px;
  margin-bottom: 12px;
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(67, 245, 160, 0.25);
  border-radius: 16px;
  padding: 28px 24px;
}

.card__icon {
  margin-bottom: 16px;
}

.card__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 24px) 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(67, 245, 160, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  max-width: 640px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(67, 245, 160, 0.4);
  flex-shrink: 0;
}

.hero__logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-shadow: 0 0 20px rgba(67, 245, 160, 0.3);
}

.hero__subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--neon);
  margin-top: 4px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__explore {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.hero__explore:hover {
  color: var(--neon);
}

/* About */
.about {
  padding: 96px 0;
}

/* Courses */
.courses {
  padding: 96px 0;
}

/* Meet */
.meet {
  padding: 96px 0;
}

.meet__content {
  max-width: 640px;
}

.meet__content .btn {
  margin-top: 28px;
}

/* Community */
.community {
  padding: 96px 0;
  background: var(--emerald-dark);
  position: relative;
  overflow: hidden;
}

.community::before,
.community::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(67, 245, 160, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.community::before {
  top: -80px;
  left: -60px;
}

.community::after {
  bottom: -80px;
  right: -60px;
}

.community__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.community__inner .section-title,
.community__inner .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.community__desc {
  margin-bottom: 32px;
}

.community__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 36px;
}

.community__list li {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.community__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(67, 245, 160, 0.6);
}

.community__note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 48px 0 40px;
  background: var(--bg);
  border-top: 1px solid rgba(67, 245, 160, 0.1);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.footer__contacts {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer__contacts a {
  color: var(--neon);
  transition: color 0.2s ease;
}

.footer__contacts a:hover {
  color: var(--neon-hover);
}

.footer__disclaimer {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.footer__copy {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Gold accent — minimal decorative detail */
.hero__subtitle::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(67, 245, 160, 0.12);
    padding: 8px 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
  }

  .hero {
    padding: calc(var(--header-h) + 16px) 0 32px;
    align-items: flex-start;
  }

  .hero__logo {
    font-size: 1.25rem;
  }

  .hero__title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .hero__desc {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .about,
  .courses,
  .meet,
  .community {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.9375rem;
  }

  .btn--lg {
    width: 100%;
  }

  .community__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding: calc(var(--header-h) + 12px) 0 24px;
  }

  .hero__brand {
    margin-bottom: 12px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__desc {
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 0.8125rem;
  }
}
