:root {
  --color-blue: #3c7192;
  --color-red: #a93130;
  --color-dark: #1f2d3d;
  --color-muted: #4a5568;
  --color-bg: #f6f8fb;
  --color-card: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Arial", sans-serif;
  color: #1f2d3d;
  background: linear-gradient(135deg, rgba(60, 113, 146, 0.12), rgba(169, 49, 48, 0.1)), #f6f8fb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.landing-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #3c7192;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 20;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6edf5;
}

.cta__desktop-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
  font-style: italic;
}

.top-bar__center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__start {
  background: linear-gradient(135deg, #ff9966, #ff5e62, #a93130);
  color: white;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(169, 49, 48, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-bar__start:hover {
  box-shadow: 0 16px 32px rgba(169, 49, 48, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid #e6edf5;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1f2d3d;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  & .brand__logo {
    width: 150px;
    height: auto;
  }
}

.main-nav {
  display: flex;
  gap: 12px;
  & a {
    color: #1f2d3d;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
  }

  & a:hover {
    color: #a93130;
    background: rgba(169, 49, 48, 0.08);
  }
}

.section {
  max-width: 1140px;
  padding: 80px 24px;
  margin: 0 auto;

  & .section__header {
    margin-bottom: 32px;
  }

  & .section__header h2 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: #1f2d3d;
  }

  & .section__header p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;

  @media (max-width: 800px) {
    padding-top: 0 !important;
    grid-template-columns: 1fr;
  }

  & .hero h1 {
    font-size: 2.6rem;
    margin: 0 0 14px 0;
    color: #1f2d3d;
  }

  & .hero__subtitle {
    color: #4a5568;
    margin: 0 0 18px 0;
    line-height: 1.6;
  }

  & .hero__badges .badge {
    background: rgba(60, 113, 146, 0.12);
    color: #3c7192;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
  }

  & .hero__benefits {
    list-style: none;
    padding: 0;
    margin: 18px 0;
  }

  & .hero__benefits li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #1f2d3d;
  }

  & .hero__benefits li:before {
    content: "•";
    color: #a93130;
    position: absolute;
    left: 0;
  }

  & .hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  & .hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .hero__media img {
    width: 100%;
    height: fit-content;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;

  &.btn-primary {
    background: linear-gradient(135deg, #3c7192, #a93130);
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);

    &:hover {
      background: linear-gradient(135deg, #35607b, #8d2c2c);
    }

    &:active {
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
      background: linear-gradient(135deg, #35607b, #8a2626);
    }
  }

  &.btn-ghost {
    background: rgba(60, 113, 146, 0.1);
    color: #3c7192;
    border-color: rgba(60, 113, 146, 0.2);

    &:hover {
      background: rgba(60, 113, 146, 0.2);
    }

    &:active {
      background: rgba(60, 113, 146, 0.15);
    }
  }

  &.btn-text {
    background: transparent;
    color: #a93130;
    border: none;
    padding-left: 6px;
    padding-right: 6px;

    &:hover {
      color: #861f20;
      text-decoration: underline;
    }

    &:active {
      color: #6b1718;
    }
  }
}

.feature-grid {
  .feature-card h3 {
    margin: 10px 0 6px 0;
  }

  .feature-card p {
    margin: 0;
    color: #4a5568;
  }

  .feature-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(60, 113, 146, 0.12);
    color: #3c7192;
    font-weight: 700;
  }

  .feature-card__icon i {
    font-size: 18px;
    line-height: 1;
  }
}

.features .feature-grid,
.media .media-grid,
.reviews .reviews-grid,
.stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;

  @media (min-width: 800px) {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

.feature-card,
.media-card,
.review-card,
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e6edf5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}

.media-card {
  margin: 0;
}

.media-card__link {
  text-align: end;
}

.media-card figcaption {
  margin-top: 8px;
  color: #4a5568;
}

.media-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e6edf5;
}

.media-card--video {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.media-card__expand {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}

.media-card__expand img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6edf5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);

  & iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
}

.media-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;

  @media (max-width: 800px) {
    padding: 0;
  }

  &.media-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  & .media-overlay__content {
    max-width: 960px;
    width: 100%;
    text-align: center;
    position: relative;
  }

  & .media-overlay__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
  }

  & .media-overlay__content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e6edf5;
    background: #fff;
  }

  & .media-overlay__content p {
    margin-top: 12px;
    color: #fff;
    font-size: 0.9rem;
  }
}

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

.stats-grid {
  &.stat-card {
    text-align: left;
  }

  & .stat-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: #a93130;
  }

  & .stat-card__label {
    color: #4a5568;
  }
}

.reviews-grid {
  .reviews__rating {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
  }

  .reviews__value {
    font-weight: 700;
    color: #1f2d3d;
  }

  .review-card__header {
    display: flex;
    justify-content: space-between;
  }

  .review-card__author {
    font-weight: 700;
  }

  .review-card__role,
  .review-card__text {
    color: #4a5568;
    margin: 4px 0 0 0;
    font-style: italic;
  }

  .review-card__text {
    margin-top: 12px;
  }
}

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

  .faq-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e6edf5;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  }

  .faq-card h3 {
    margin: 0 0 10px 0;
    color: #1f2d3d;
    font-size: 1.15rem;
  }

  .faq-card p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
  }
}

.support__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  @media (max-width: 500px) {
    flex-direction: column;
    align-items: stretch;
  }
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(60, 113, 146, 0.12), rgba(169, 49, 48, 0.08));
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);

  &.cta h2 {
    margin-top: 0;
  }
}

.contact {
  padding: 56px 24px;

  & .contact__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  & .contact__header h2 {
    margin: 0;
  }

  & .contact__header &.contact__link {
    color: #3c7192;
    text-decoration: none;
    font-weight: 700;
  }

  & .contact__inner {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    padding: 24px;
    display: block;
  }

  & .contact__text h2 {
    margin: 0 0 8px 0;
  }

  & .contact__text p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
  }
}

.footer {
  padding: 32px 24px;
  background: #fff;
  border-top: 1px solid #e6edf5;
  text-align: center;
  color: #4a5568;

  & .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
  }

  & .footer__links a {
    color: #3c7192;
    text-decoration: none;
    font-weight: 600;
  }

  & .footer__fineprint {
    margin: 0;
  }
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;

  .language-switcher__label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4a5568;
  }

  .language-switcher__control select {
    border-radius: 999px;
    border: 1px solid #e6edf5;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    background: #fff;
    color: #1f2d3d;
    min-width: 120px;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #1f2d3d 50%), linear-gradient(135deg, #1f2d3d 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 1px), calc(100% - 13px) calc(50% - 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color 0.2s ease;
  }

  .language-switcher__control select:focus {
    border-color: #a93130;
    outline: none;
  }
}

@media (max-width: 900px) {
  .top-bar {
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
  }

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

  .top-bar__center {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    order: 2;
    display: none;
  }

  .top-bar__start {
    width: 100%;
    text-align: center;
    order: 1;
    display: none;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: end;
    display: none;
  }

  .top-bar.is-open .main-nav,
  .top-bar.is-open .top-bar__start {
    display: flex;
  }

  .top-bar.is-open .language-switcher {
    display: flex;
  }

  .top-bar.is-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 56px 18px;
  }
}
