@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0F0D1E;
  --bg-card: #1A1530;
  --bg-card-hover: #211942;
  --primary: #7C3AED;
  --primary-light: #9D6FF8;
  --accent: #F97316;
  --accent-light: #FB923C;
  --text: #F0EDF9;
  --text-muted: #A094C0;
  --border: rgba(124, 58, 237, 0.25);
  --border-light: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

button, input, textarea, select {
  font-family: inherit;
}

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

/* ─── NAV ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(15, 13, 30, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

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

.nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo span {
  color: var(--primary-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

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

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ─── HERO ────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.28;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,13,30,0.92) 40%, rgba(124,58,237,0.25) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__badge::before {
  content: '♪';
  font-size: 1rem;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: var(--primary-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.hero__form .form-row {
  display: flex;
  gap: 12px;
}

.hero__form input {
  flex: 1;
  padding: 15px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.hero__form input::placeholder {
  color: var(--text-muted);
}

.hero__form input:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.1);
}

.hero__form .btn-primary {
  width: 100%;
}

.hero__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero__note a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ─── BUTTONS ─────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.55);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
}

/* ─── SECTION BASICS ──────────────────────────────────── */

.section {
  padding: 96px 0;
}

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

.section__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.section__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 52px;
}

.section__header {
  margin-bottom: 52px;
}

/* ─── FOR WHOM ────────────────────────────────────────── */

.whom__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

.whom__card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.whom__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.whom__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.whom__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(33.33% - 24px);
  right: calc(33.33% - 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0.4;
}

.step {
  position: relative;
  text-align: center;
  padding: 36px 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.45);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── BENEFITS ────────────────────────────────────────── */

.benefits__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

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

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--border);
}

.benefit__text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

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

/* ─── FORMAT ──────────────────────────────────────────── */

.format__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.format__card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color var(--transition);
}

.format__card:hover {
  border-color: var(--border);
}

.format__accent {
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-bottom: 18px;
}

.format__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

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

/* ─── FAQ ─────────────────────────────────────────────── */

.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--primary-light);
}

.faq__icon {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  color: var(--primary-light);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── LEAD FORM SECTION ───────────────────────────────── */

.lead {
  background: linear-gradient(135deg, #150f2e 0%, #1e1040 50%, #0f0d1e 100%);
  position: relative;
  overflow: hidden;
}

.lead::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.lead__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lead__text .section__title {
  margin-bottom: 20px;
}

.lead__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.lead__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.lead__perks li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(124,58,237,0.2);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 700;
}

.form__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.form__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form__field input,
.form__field textarea {
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: none;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--text-muted);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.09);
}

.form__submit {
  width: 100%;
  margin-top: 8px;
}

.form__note {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.form__note a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ─── FOOTER ──────────────────────────────────────────── */

.footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--border-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer__brand h2 span {
  color: var(--primary-light);
}

.footer__brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
}

.footer__col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.footer__col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--text);
}

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

.footer__legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ─── COOKIE BANNER ───────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  max-width: 640px;
  width: calc(100% - 48px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 999;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

.cookie-banner p a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-banner__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: filter var(--transition), transform var(--transition);
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.cookie-btn--accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn--decline {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
}

/* ─── LEGAL PAGES ─────────────────────────────────────── */

.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  transition: color var(--transition);
}

.legal-page .back:hover {
  color: var(--text);
}

.legal-page h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 8px;
}

.legal-page .legal-date {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content {
  max-width: 740px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li, .legal-content ol li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ─── SUCCESS PAGE ────────────────────────────────────── */

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

.success-box {
  max-width: 500px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
  box-shadow: 0 8px 40px rgba(124,58,237,0.5);
}

.success-box h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.success-box p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.success-box .btn-primary {
  font-size: 0.95rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  .nav__links.open + .nav__cta {
    display: block;
    margin: 0 24px 20px;
  }

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

  .steps::before { display: none; }

  .benefits__wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .lead__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }

  .hero__form .form-row {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .form__card {
    padding: 24px 20px;
  }
}

/* ─── ANIMATIONS ──────────────────────────────────────── */

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

.animate-fadein {
  animation: fadeUp 0.6s ease both;
}

.animate-fadein-delay-1 { animation-delay: 0.1s; }
.animate-fadein-delay-2 { animation-delay: 0.2s; }
.animate-fadein-delay-3 { animation-delay: 0.3s; }
.animate-fadein-delay-4 { animation-delay: 0.45s; }
.animate-fadein-delay-5 { animation-delay: 0.55s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
