:root {
  color-scheme: dark;
  --bg-deep: #04030a;
  --bg-panel: rgba(8, 12, 24, 0.78);
  --bg-panel-strong: rgba(8, 12, 24, 0.92);
  --text-main: #f8fbff;
  --text-muted: #a3b1d1;
  --accent: #f9415f;
  --accent-soft: #f77b9f;
  --accent-secondary: #6de0ff;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(130deg, #1a084d, #301768, #0c2638, #0c1a24);
  --gradient-card: radial-gradient(circle at top, #1e2650, #0b1324 70%);
  --shadow-xl: 0 25px 60px rgba(8, 17, 37, 0.55);
  --shadow-card: 0 15px 35px rgba(5, 7, 15, 0.55);
  --blur: blur(24px);
}

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

body {
  margin: 0;
  font-family: "Manrope", "SF Pro Display", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25% -10%;
  background: linear-gradient(
      120deg,
      rgba(249, 65, 95, 0.22),
      rgba(146, 78, 255, 0.08),
      rgba(47, 181, 255, 0.22)
    ),
    linear-gradient(240deg, rgba(18, 32, 93, 0.5), rgba(2, 5, 15, 0.9));
  filter: blur(50px);
  z-index: -3;
  animation: aurora 18s infinite alternate ease-in-out;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.9;
  filter: saturate(120%);
  animation: gradientShift 18s infinite alternate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-size: 80px 80px;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  opacity: 0.4;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: top;
  animation: gridDrift 24s linear infinite;
}

.hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.hero__glow--left {
  background: radial-gradient(circle, #f9415f, transparent 60%);
  top: 15%;
  left: 10%;
  animation: glowPulse 16s infinite alternate;
}

.hero__glow--right {
  background: radial-gradient(circle, #37c5ff, transparent 70%);
  bottom: 5%;
  right: 8%;
  animation: glowPulse 20s infinite reverse;
}

.hero__content {
  position: relative;
  max-width: 880px;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero__offer {
  font-size: 1.1rem;
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__date {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero__date strong {
  color: var(--text-main);
  font-size: 1.1rem;
}

.hero__date small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero__cta-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  width: 100%;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
}

.hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.hero__stats li {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__stats strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 5rem);
}

.section__content {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.about p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about__bullets {
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.bullet-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
}

.bullet-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.agenda {
  background: rgba(4, 6, 14, 0.75);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.agenda__col {
  background: var(--bg-panel);
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.agenda__col--speakers {
  background: rgba(9, 14, 28, 0.9);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline li {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline span {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-secondary);
}

.timeline strong {
  display: block;
  margin: 0.2rem 0 0.5rem;
  font-size: 1.15rem;
}

.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.speaker-card {
  border-radius: 1.5rem;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.speaker-card:hover {
  border-color: rgba(249, 65, 95, 0.6);
  transform: translateY(-6px);
}

.speaker-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.speaker-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.btn {
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #f97316);
  color: #fff;
  box-shadow: 0 10px 25px rgba(249, 65, 95, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 15px 35px rgba(249, 65, 95, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-wide {
  width: 100%;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
}

.badge--organizer {
  background: rgba(249, 65, 95, 0.16);
  border: 1px solid rgba(249, 65, 95, 0.5);
}

.badge__logo {
  font-weight: 700;
  color: var(--accent);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translate(-50%, 40px);
  opacity: 0;
  z-index: 20;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent) 0%, #ff6d3d 70%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 20px 45px rgba(249, 65, 95, 0.35);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 15, 0.8);
  backdrop-filter: blur(6px);
}

.modal__card {
  position: relative;
  width: min(520px, 90vw);
  background: var(--bg-panel-strong);
  border-radius: 1.75rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.is-open .modal__card {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.modal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal__form label {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal__form input,
.modal__form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__form input:focus,
.modal__form textarea:focus {
  border-color: rgba(249, 65, 95, 0.4);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 65, 95, 0.2);
}

@keyframes aurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-5%, -3%, 0) scale(1.1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 80px, 80px 0;
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.25;
    transform: translateY(0px) scale(1);
  }
  100% {
    opacity: 0.5;
    transform: translateY(-30px) scale(1.2);
  }
}

/* Новые блоки */
.for-whom__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.for-whom__result {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.for-whom__result p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
}

.organizers {
  background: rgba(4, 6, 14, 0.5);
}

.organizers__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.organizer-card {
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.organizer-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--accent);
}

.program-block {
  margin: 4rem 0;
  padding: 2.5rem;
  background: var(--bg-panel);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.program-block__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--accent-secondary);
}

.program-block__description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.program-block__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefits {
  background: rgba(4, 6, 14, 0.5);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.benefit-card h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--accent-secondary);
}

.benefit-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.partners__section {
  margin: 3rem 0;
}

.partners__section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
}

.partners__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  padding: 1.5rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.partner-card h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

.partner-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  padding: 2.5rem;
  background: var(--bg-panel);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.package-card h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--accent);
}

.package-card__suitable {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.package-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card__list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 1.5rem;
  position: relative;
}

.package-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.package-card__list li:last-child {
  border-bottom: none;
}

.registration {
  background: rgba(4, 6, 14, 0.5);
}

.registration__intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.registration__steps {
  margin: 2rem 0;
}

.registration__step {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-panel);
  border-radius: 1rem;
  border-left: 3px solid var(--accent);
}

.registration__bonus {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.registration__bonus ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.registration__bonus li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.registration__bonus li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.faq__list {
  margin-top: 2rem;
}

.faq-item {
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: var(--bg-panel);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--accent-secondary);
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.modal__form select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__form select:focus {
  border-color: rgba(249, 65, 95, 0.4);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 65, 95, 0.2);
}

@media (max-width: 768px) {
  .hero__content {
    padding: 2rem;
  }

  .hero__cta {
    flex-direction: column;
  }

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

  .for-whom__list,
  .benefits__grid,
  .partners__list,
  .packages__grid {
    grid-template-columns: 1fr;
  }

  .program-block {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

