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

:root {
  --bg-dark: #0e0b1a;
  --bg-dark2: #16122a;
  --bg-card: #1e1932;
  --bg-card2: #251e3e;
  --amber: #ffaa00;
  --amber-dark: #cc8800;
  --amber-light: #ffcc44;
  --magenta: #e91e8c;
  --magenta-dark: #b5156d;
  --white: #ffffff;
  --off-white: #f0ecff;
  --muted: #9b91c2;
  --border: rgba(255,255,255,0.08);
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-btn: 0 4px 20px rgba(255,170,0,0.35);
  --shadow-pink: 0 4px 20px rgba(233,30,140,0.35);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--off-white);
  font-family: var(--font-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--amber);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--amber-light);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(14, 11, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(14, 11, 26, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--amber);
  color: var(--bg-dark) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--amber-light) !important;
  color: var(--bg-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg-dark);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--amber-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,170,0,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,30,140,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,170,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,170,0,0.12);
  border: 1px solid rgba(255,170,0,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title em {
  color: var(--amber);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(14,11,26,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
}

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

.apply-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: left;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-main);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus {
  border-color: var(--amber);
}

.form-group input.error {
  border-color: #ff4d4d;
}

.field-error {
  font-size: 0.78rem;
  color: #ff6b6b;
  margin-top: 4px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.form-agree {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.form-agree a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

section {
  padding: 96px 0;
}

section.alt-bg {
  background: var(--bg-dark2);
}

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.audience-card:hover {
  border-color: rgba(255,170,0,0.3);
  transform: translateY(-4px);
}

.audience-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.format-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.format-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.format-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.format-feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,170,0,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}

.module-card:hover {
  border-color: rgba(233,30,140,0.3);
}

.module-num {
  width: 36px;
  height: 36px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

.module-info h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.module-info p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

.instructor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.instructor-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instructor-info h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 4px;
}

.instructor-role {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.instructor-info p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.instructor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
}

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

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.testimonial-stars {
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber);
  flex-shrink: 0;
  border: 2px solid rgba(255,170,0,0.3);
}

.author-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--muted);
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(255,170,0,0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--bg-card2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--amber);
}

.faq-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--muted);
  transition: color var(--transition);
}

.faq-item.open .faq-arrow svg {
  color: var(--bg-dark);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

.apply-section {
  background: var(--bg-dark2);
}

.apply-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.apply-inner .section-title {
  color: var(--white);
}

.apply-inner .section-desc {
  margin: 0 auto 40px;
}

.site-footer {
  background: #080614;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(155,145,194,0.5);
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
}

.cookie-text a {
  color: var(--amber);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--amber);
  color: var(--bg-dark);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.cookie-accept:hover {
  background: var(--amber-light);
}

.cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.cookie-decline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.legal-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--off-white);
  margin: 28px 0 10px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 14px 0 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.success-inner {
  text-align: center;
  max-width: 480px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,170,0,0.12);
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 28px;
}

.success-inner h1 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.success-inner p {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.7;
}

.success-inner .btn {
  margin-top: 32px;
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 0 60px;
    gap: 48px;
  }

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

  .format-layout,
  .instructor-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(14, 11, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .apply-form {
    padding: 24px 20px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
