:root {
  --primary: #2e6fce;
  --primary-dark: #245bb0;
  --primary-soft: rgba(46, 111, 206, 0.12);
  --text: #1f2d4a;
  --muted: #51607a;
  --border: #d9e3f5;
  --background: #f5f8ff;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(36, 76, 142, 0.12);
  --shadow-soft: 0 10px 24px rgba(36, 76, 142, 0.08);
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.site-header {
  padding: 24px 0;
  background: #f7f9ff;
  border-bottom: 1px solid #e4ecfb;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #2b59b5;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--primary);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(46, 111, 206, 0.4);
}

.logo-icon span {
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  color: #33466b;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #2d4f9c;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 1.2rem;
  line-height: 1;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(46, 111, 206, 0.3);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--primary-dark);
}

.button.outline,
.button.ghost {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #ffffff;
}

.button.ghost {
  background: transparent;
}

.button.outline:hover,
.button.outline:focus-visible,
.button.ghost:hover,
.button.ghost:focus-visible {
  background: var(--primary-soft);
}

.hero {
  background: radial-gradient(circle at top, rgba(46, 111, 206, 0.08), transparent 60%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  padding: 70px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1e3a72;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 520px;
}

.hero-copy.centered {
  text-align: center;
  margin: 0 auto;
}

.hero-copy.centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy.centered .hero-note {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy.centered .hero-actions {
  justify-content: center;
}

.highlight {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(46, 111, 206, 0.65);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: #415173;
}

.check {
  color: var(--primary);
  font-weight: 700;
  margin-right: 6px;
}

.hero-visual {
  background: #f3f7ff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: #f9fbff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  color: #2d4f9c;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 32px;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #eef4ff;
  border-radius: 999px;
  padding: 16px 20px;
  box-shadow: inset 0 1px 4px rgba(46, 111, 206, 0.1);
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #2c4b90;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.step-arrow {
  color: #8aa4d8;
  font-size: 1.5rem;
  margin: 0 4px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.plans.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step-index {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-card {
  gap: 14px;
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-header {
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  background: #eef4ff;
  border-radius: 12px;
  padding: 10px 0;
  color: #2d4f9c;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #4a5f84;
  font-size: 0.95rem;
}

.plan-card ul li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

.plan-card button {
  align-self: center;
  width: 100%;
}

.video-placeholder {
  border-radius: 14px;
  background: linear-gradient(135deg, #dbe7fb, #eff4ff);
  height: 110px;
  display: grid;
  place-items: center;
}

.play {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 18px rgba(46, 111, 206, 0.3);
}

.testimonial {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  text-align: center;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b9cdf2, #e7efff);
  border: 3px solid #94b1e8;
  display: grid;
  place-items: center;
  color: #2d4f9c;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.avatar::before {
  content: "NP";
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 6px 12px rgba(46, 111, 206, 0.18);
}

.quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d4f9c;
}

.author {
  color: #5a6f95;
  margin-top: 8px;
}

.cta {
  text-align: center;
  background: #f7faff;
}

.cta h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.cta p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #2d4f9c;
  font-size: 0.95rem;
}

.checkbox-field input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.checkbox-field a {
  color: var(--primary);
  font-weight: 700;
}

.text-link {
  padding: 0;
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.form-message {
  min-height: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d4f9c;
}

.form-message.error {
  color: #c23b3b;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

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

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  width: min(460px, 92%);
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  display: grid;
  gap: 18px;
}

.modal.active .modal-card {
  transform: translateY(0);
}

.modal-header h3 {
  color: #2d4f9c;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f1f4fb;
  color: #2d4f9c;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--primary-soft);
}

body.modal-open {
  overflow: hidden;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: #2d4f9c;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  color: #2d4f9c;
  background: transparent;
  border: none;
  text-align: left;
  gap: 12px;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
}

.faq-answer {
  margin-top: 12px;
  color: var(--muted);
  display: none;
}

.faq-answer p {
  margin-bottom: 0;
}

.responsible-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.responsible-list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

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

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 1000;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner p {
  color: var(--muted);
  margin-bottom: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 40, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  width: min(520px, 92%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.cookie-modal-card h3 {
  color: #2d4f9c;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2ff;
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-row label {
  font-weight: 600;
  color: #2d4f9c;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 60px 0;
  background: #f2f6ff;
  border-top: 1px solid #e1e9f7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #294a8d;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #51607a;
}

.footer-social {
  display: grid;
  gap: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #b7c7e8;
  display: grid;
  place-items: center;
  color: #2d4f9c;
  background: #ffffff;
  font-weight: 700;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  background: var(--primary-soft);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
  }

  .site-header.nav-open .nav-panel {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-bullets {
    justify-content: center;
  }

  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .plans {
    grid-template-columns: 1fr;
  }

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

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

  .stepper {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .header-actions .button {
    width: 100%;
  }

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