/* === Скидання та базові стилі === */
html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
    background: #F5F6FA;
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }

body {
    min-height: 100vh;
    font-family: 'Manrope', 'Fira Sans', Arial, sans-serif;
    color: #262939;
    background: #F5F6FA;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Глобальні кольори та палітра */
:root {
    --color-accent: #7061E7;
    --color-accent-light: #EAE6FB;
    --color-dark: #262939;
    --color-text: #262939;
    --color-bg: #F5F6FA;
    --color-border: #ECEBFB;
    --color-footer-bg: #24213A;
    --color-footer-text: #F5F6FA;
}

/* Контейнер */
.header__container,
.footer__container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}

.header__container {
    justify-content: space-between;
    min-height: 62px;
    gap: 28px;
}

.header__logo {
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.header__logo:hover {
    color: #4A41AD;
}

.header__nav {
    flex: 1 1 auto;
    margin-left: 36px;
}

.header__nav-list {
    list-style: none;
    display: flex;
    gap: 2.4rem;
}

.header__nav-link {
    color: var(--color-dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.22s;
}

.header__nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.22s;
    border-radius: 2px;
    margin-top: 2px;
}

.header__nav-link:hover,
.header__nav-link:focus {
    color: var(--color-accent);
}
.header__nav-link:hover::after,
.header__nav-link:focus::after {
    width: 100%;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .header__nav-list {
        gap: 1.2rem;
    }
}
@media (max-width: 700px) {
    .header__nav {
        display: none;
    }
    .header__burger {
        display: block;
    }
    .header__container {
        gap: 14px;
    }
}
/* Footer */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 54px 0 28px 0;
}
.footer__container {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}
.footer__col {
    flex: 1 1 180px;
    margin-bottom: 22px;
    min-width: 150px;
}
.footer__col--logo .footer__logo {
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-accent);
}
.footer__title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: #C9C6F4;
    letter-spacing: 0.02em;
}
.footer__nav-list,
.footer__legal-list,
.footer__contacts-list {
    list-style: none;
    font-size: 0.98rem;
    line-height: 1.7;
}
.footer__nav-link,
.footer__legal-list a {
    color: #EAE6FB;
    text-decoration: none;
    transition: color 0.18s;
}
.footer__nav-link:hover,
.footer__legal-list a:hover {
    color: var(--color-accent);
}
.footer__contacts-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
}
.footer__contacts-list a, .footer__contacts-list span {
    color: #EAE6FB;
    font-size: 0.97rem;
    text-decoration: none;
    transition: color 0.18s;
}
.footer__contacts-list a:hover {
    color: var(--color-accent);
}

@media (max-width: 960px) {
    .footer__container {
        flex-direction: column;
        gap: 24px;
    }
    .footer__col {
        min-width: unset;
    }
}

/* Сторінки політик */
.pages {
    padding: 54px 0 54px 0;
    background: #F7F8FC;
}
.pages .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
}
.pages h1 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 26px;
}
.pages h2 {
    font-size: 1.24rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 30px;
    margin-bottom: 14px;
}
.pages p {
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 18px;
}
.pages ul {
    margin-bottom: 18px;
    padding-left: 1.5rem;
}
.pages li {
    margin-bottom: 9px;
    font-size: 1.05rem;
    color: #3F3D56;
}
.pages li strong {
    font-weight: 700;
    color: var(--color-accent);
}
.pages a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.18s;
}
.pages a:hover {
    color: #4A41AD;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    overflow: hidden;
    z-index: 0;
}
.hero__bg {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
}
.hero__wave {
    position: absolute;
    left: 50%;
    top: 18%;
    min-width: 120vw;
    min-height: 42vh;
    transform: translateX(-50%);
    animation: wave-move 8s ease-in-out infinite alternate;
}
@keyframes wave-move {
    0% { transform: translateX(-50%) scaleY(1);}
    100% { transform: translateX(-48%) scaleY(1.08);}
}
.hero__container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 54px;
    padding: 80px 16px 54px 16px;
    flex-wrap: wrap;
}
.hero__content {
    max-width: 500px;
}
.hero__title {
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 26px;
    line-height: 1.14;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 34px;
    max-width: 430px;
}
.hero__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0.9em 2.3em 0.9em 1.2em;
    font-weight: 600;
    font-size: 1.07rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 2.4em;
    text-decoration: none;
    box-shadow: 0 3px 20px 0 rgba(112, 97, 231, 0.10);
    transition: background 0.22s, box-shadow 0.24s, transform 0.16s;
    will-change: background, transform;
}
.hero__cta-btn:hover,
.hero__cta-btn:focus {
    background: #4A41AD;
    transform: translateY(-3px) scale(1.035);
    box-shadow: 0 7px 28px 0 rgba(112, 97, 231, 0.18);
}
.hero__image {
    min-width: 220px;
    max-width: 330px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
}
.hero__image img {
    width: 100%;
    height: auto;
    border-radius: 2em;
    box-shadow: 0 8px 32px 0 rgba(44, 41, 67, 0.08);
    background: var(--color-accent-light);
}

@media (max-width: 900px) {
    .hero__container {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 38px;
        padding-top: 38px;
    }
    .hero__content {
        max-width: 98vw;
    }
}
@media (max-width: 600px) {
    .hero__container {
        padding: 38px 7px 24px 7px;
    }
    .hero__title {
        font-size: 1.45rem;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .hero__image img {
        border-radius: 1.1em;
    }
}

/* Анімації появи Hero */
[data-animate="fade"] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.82s cubic-bezier(.23,.8,.32,1.2), transform 0.82s cubic-bezier(.23,.8,.32,1.2);
}
[data-animate="fade"]._shown {
    opacity: 1;
    transform: none;
}
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(44px) scale(.96);
    transition: opacity 1.04s cubic-bezier(.23,.8,.32,1.2), transform 1.04s cubic-bezier(.23,.8,.32,1.2);
}
[data-animate="fade-up"]._shown {
    opacity: 1;
    transform: none;
}


.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    overflow: hidden;
    z-index: 0;
}
.hero__bg-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100%;
    min-height: 350px;
    z-index: 0;
    pointer-events: none;
    filter: blur(0.5px) contrast(110%);
    background: transparent;
}

/* === Analytics Section === */
.analytics {
    background: linear-gradient(110deg, #F5F6FA 70%, #EAE6FB 100%);
    padding: 62px 0 52px 0;
}
.analytics__container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 18px;
}
.analytics__header {
    text-align: left;
    margin-bottom: 40px;
    max-width: 520px;
}
.analytics__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 11px;
    letter-spacing: -0.01em;
}
.analytics__desc {
    color: var(--color-dark);
    font-size: 1.13rem;
    max-width: 420px;
}
.analytics__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.analytics__card {
    background: #fff;
    border-radius: 1.5em;
    box-shadow: 0 2px 18px 0 rgba(112, 97, 231, 0.10);
    padding: 32px 22px 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.17s cubic-bezier(.27,.77,.59,1.08), box-shadow 0.19s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}
.analytics__card:hover {
    transform: translateY(-7px) scale(1.035);
    box-shadow: 0 7px 28px 0 rgba(112, 97, 231, 0.17);
}
.analytics__icon {
    margin-bottom: 18px;
    color: var(--color-accent);
    background: #EAE6FB;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 7px 0 rgba(112, 97, 231, 0.12);
    transition: background 0.22s;
}
.analytics__card:hover .analytics__icon {
    background: #7061E7;
    color: #fff;
}
.analytics__value {
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}
.analytics__label {
    color: #7061E7;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
@media (max-width: 900px) {
    .analytics__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .analytics__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .analytics {
        padding: 32px 0 24px 0;
    }
    .analytics__title {
        font-size: 1.25rem;
    }
}
.analytics__icon i,
.hero__cta-btn i,
.footer__contacts-list i,
.analytics__title i {
    font-size: 1.5em;
    color: var(--color-accent);
}
.hero__cta-btn i { font-size: 1.3em; }
.footer__contacts-list i { font-size: 1.1em; }

/* === Cases Section === */
.cases {
  background: #f7f8fc;
  padding: 62px 0 52px 0;
}
.cases__container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.cases__header {
  margin-bottom: 40px;
  max-width: 580px;
}
.cases__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 11px;
  letter-spacing: -0.01em;
}
.cases__desc {
  color: var(--color-dark);
  font-size: 1.13rem;
  max-width: 520px;
}
.cases__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cases__card {
  background: #fff;
  border-radius: 1.6em;
  box-shadow: 0 2px 18px 0 rgba(112, 97, 231, 0.10);
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.17s;
  will-change: box-shadow, transform;
  position: relative;
  overflow: hidden;
}
.cases__card:hover {
  box-shadow: 0 8px 32px 0 rgba(112, 97, 231, 0.17);
  transform: translateY(-6px) scale(1.025);
}
.cases__icon {
  margin-bottom: 19px;
  color: #fff;
  background: linear-gradient(135deg, #7061E7 65%, #97C5F8 100%);
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 2px 10px 0 rgba(112, 97, 231, 0.10);
  font-size: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cases__name {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 9px;
  color: var(--color-accent);
}
.cases__text {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 21px;
}
.cases__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.7em 1.5em;
  background: var(--color-accent);
  color: #fff;
  border-radius: 2em;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(112, 97, 231, 0.10);
  transition: background 0.22s, box-shadow 0.18s, transform 0.12s;
}
.cases__btn:hover, .cases__btn:focus {
  background: #4A41AD;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(112, 97, 231, 0.19);
}
@media (max-width: 900px) {
  .cases__list {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .cases__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cases {
    padding: 32px 0 24px 0;
  }
  .cases__title {
    font-size: 1.25rem;
  }
}
/* === Insights Section === */
.insights {
  background: linear-gradient(90deg, #EAE6FB 0%, #F5F6FA 100%);
  padding: 62px 0 52px 0;
}
.insights__container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 18px;
}
.insights__header {
  margin-bottom: 36px;
  max-width: 560px;
}
.insights__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.insights__desc {
  color: var(--color-dark);
  font-size: 1.08rem;
  max-width: 440px;
}
.insights__slider-wrap {
  position: relative;
  width: 100%;
}
.insights__slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.insights__slider::-webkit-scrollbar { display: none; }
.insights__slide {
  min-width: 290px;
  max-width: 320px;
  background: #fff;
  border-radius: 1.3em;
  box-shadow: 0 2px 18px 0 rgba(112, 97, 231, 0.10);
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.17s;
  will-change: box-shadow, transform;
  cursor: grab;
  user-select: none;
}
.insights__slide:hover {
  box-shadow: 0 8px 32px 0 rgba(112, 97, 231, 0.15);
  transform: translateY(-6px) scale(1.025);
}
.insights__icon {
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, #7061E7 70%, #A5A0DD 100%);
  border-radius: 50%;
  padding: 13px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insights__headline {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-accent);
}
.insights__text {
  font-size: 1rem;
  color: var(--color-dark);
  opacity: 0.96;
}
.insights__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 7px;
  margin-bottom: 0;
}
.insights__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #C9C6F4;
  opacity: 0.56;
  transition: background 0.2s, opacity 0.2s, transform 0.18s;
  cursor: pointer;
}
.insights__dot._active {
  background: var(--color-accent);
  opacity: 1;
  transform: scale(1.15);
}
@media (max-width: 700px) {
  .insights__slide {
    min-width: 84vw;
    max-width: 92vw;
    padding: 22px 12px 16px 14px;
  }
  .insights {
    padding: 32px 0 24px 0;
  }
  .insights__title {
    font-size: 1.25rem;
  }
}

/* === Tools Section === */
.tools {
  background: #f5f6fa;
  padding: 62px 0 52px 0;
}
.tools__container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.tools__header {
  margin-bottom: 40px;
  max-width: 570px;
}
.tools__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 11px;
}
.tools__desc {
  color: var(--color-dark);
  font-size: 1.13rem;
  max-width: 520px;
}
.tools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.tools__card {
  background: #fff;
  border-radius: 1.4em;
  box-shadow: 0 2px 18px 0 rgba(112, 97, 231, 0.10);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.17s;
  will-change: box-shadow, transform;
  position: relative;
  overflow: hidden;
}
.tools__card:hover {
  box-shadow: 0 8px 32px 0 rgba(112, 97, 231, 0.18);
  transform: translateY(-6px) scale(1.025);
}
.tools__icon {
  margin-bottom: 15px;
  color: #fff;
  background: linear-gradient(135deg, #7061E7 65%, #97C5F8 100%);
  border-radius: 50%;
  padding: 13px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tools__label {
  display: inline-block;
  font-size: 0.78em;
  font-weight: 700;
  color: #fff;
  padding: 3px 11px;
  border-radius: 1em;
  margin-bottom: 8px;
  margin-right: 5px;
  letter-spacing: 0.02em;
}
.tools__label--web { background: #3e8cf1; }
.tools__label--pdf { background: #e94c3d; }
.tools__label--template { background: #43c392; }
.tools__label--ai { background: #7061E7; }
.tools__name {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--color-accent);
}
.tools__text {
  font-size: 0.99rem;
  color: var(--color-dark);
  margin-bottom: 18px;
}
.tools__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.7em 1.5em;
  background: var(--color-accent);
  color: #fff;
  border-radius: 2em;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(112, 97, 231, 0.10);
  transition: background 0.22s, box-shadow 0.18s, transform 0.12s;
}
.tools__btn:hover, .tools__btn:focus {
  background: #4A41AD;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(112, 97, 231, 0.19);
}
@media (max-width: 900px) {
  .tools__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .tools {
    padding: 32px 0 24px 0;
  }
  .tools__title {
    font-size: 1.25rem;
  }
}

/* === Contact Section === */
.contact {
  background: linear-gradient(110deg, #F5F6FA 70%, #EAE6FB 100%);
  padding: 62px 0 52px 0;
}
.contact__container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 14px;
}
.contact__header {
  margin-bottom: 32px;
  text-align: left;
}
.contact__title {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Fira Sans', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 11px;
}
.contact__desc {
  color: var(--color-dark);
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 440px;
}
.contact__form {
  background: #fff;
  border-radius: 1.6em;
  box-shadow: 0 2px 18px 0 rgba(112, 97, 231, 0.10);
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.contact__fields {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.contact__field {
  flex: 1 1 130px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact__field label {
  font-size: 0.98em;
  font-weight: 600;
  color: var(--color-accent);
}
.contact__field input {
  border: 1.5px solid #EAE6FB;
  background: #F7F8FC;
  border-radius: 1em;
  padding: 0.85em 1.1em;
  font-size: 1em;
  color: var(--color-dark);
  outline: none;
  transition: border 0.19s;
}
.contact__field input:focus {
  border-color: var(--color-accent);
}
.contact__captcha-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.contact__captcha-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  background: #EAE6FB;
  border-radius: 1em;
  padding: 0.7em 1.3em;
}
#captchaText {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}
#captchaInput {
  max-width: 52px;
  border: 1.2px solid #dad6f7;
  background: #fff;
  border-radius: 0.7em;
  padding: 0.45em 0.6em;
  font-size: 1em;
  color: var(--color-dark);
}
.contact__checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.99em;
  margin-top: 10px;
}
.contact__checkbox input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 17px;
  height: 17px;
}
.contact__checkbox label {
  color: var(--color-dark);
}
.contact__btn {
  margin-top: 6px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 2em;
  padding: 0.8em 2em;
  font-size: 1.07em;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(112, 97, 231, 0.10);
  transition: background 0.22s, box-shadow 0.16s, transform 0.14s;
}
.contact__btn:hover, .contact__btn:focus {
  background: #4A41AD;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(112, 97, 231, 0.16);
}
.contact__success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #36b37e;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 14px;
}
.contact__success i {
  font-size: 1.2em;
}
@media (max-width: 600px) {
  .contact {
    padding: 32px 0 24px 0;
  }
  .contact__title {
    font-size: 1.2rem;
  }
  .contact__form {
    padding: 18px 6px 14px 6px;
  }
  .contact__fields {
    flex-direction: column;
    gap: 10px;
  }
}
/* === Cookie Popup === */
.cookie-popup {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: rgba(36, 33, 58, 0.95);
  color: #F5F6FA;
  padding: 0;
  display: none;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  transition: opacity 0.32s;
  opacity: 0;
}
.cookie-popup._show {
  display: flex;
  pointer-events: all;
  opacity: 1;
}
.cookie-popup__content {
  margin: 18px 8px 22px 8px;
  background: #262939;
  border-radius: 1.5em;
  box-shadow: 0 6px 26px 0 rgba(112, 97, 231, 0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 15px 22px;
  max-width: 510px;
  width: 100%;
}
.cookie-popup__text {
  font-size: 0.99em;
  line-height: 1.6;
  flex: 1;
  color: #EAE6FB;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-popup__text i {
  font-size: 1.2em;
  color: #e94c3d;
}
.cookie-popup__btn {
  padding: 0.6em 1.6em;
  border-radius: 2em;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
  margin-left: 15px;
  box-shadow: 0 2px 10px 0 rgba(112, 97, 231, 0.08);
}
.cookie-popup__btn:hover, .cookie-popup__btn:focus {
  background: #4A41AD;
  transform: scale(1.04);
}
@media (max-width: 540px) {
  .cookie-popup__content {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 12px 8px 9px 11px;
    max-width: 95vw;
  }
}

/* === Pages: policy, terms, disclaimer, etc === */
.pages {
  padding: 64px 0 64px 0;
  background: #F7F8FC;
}
.pages .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}
.pages h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 26px;
  line-height: 1.17;
}
.pages h2 {
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 30px;
  margin-bottom: 14px;
}
.pages p {
  font-size: 1.07rem;
  color: var(--color-dark);
  margin-bottom: 19px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
.pages ul {
  margin-bottom: 18px;
  padding-left: 1.5rem;
}
.pages li {
  margin-bottom: 9px;
  font-size: 1.06rem;
  color: #3F3D56;
  line-height: 1.55;
}
.pages li strong {
  font-weight: 700;
  color: var(--color-accent);
}
.pages a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.18s;
  word-break: break-all;
}
.pages a:hover {
  color: #4A41AD;
}
@media (max-width: 700px) {
  .pages {
    padding: 32px 0 32px 0;
  }
  .pages h1 {
    font-size: 1.38rem;
    margin-bottom: 19px;
  }
  .pages h2 {
    font-size: 1.07rem;
    margin-top: 17px;
    margin-bottom: 9px;
  }
  .pages p,
  .pages li {
    font-size: 0.98rem;
  }
}
