/* ====== COLORS (примерно по Figma) ====== */
:root {
  --color-bg: #f8f9ff;
  --color-bg-card: #fff;
  --color-primary: #5b4fff;
  --color-primary-dark: #3a2db7;
  --color-accent: #f3f1ff;
  --color-text: #1a1a1a;
  --color-text-light: #6b6b6b;
  --color-border: #e3e6f0;
  --color-btn-outline: #5b4fff;
  --color-btn-outline-bg: #fff;
  --color-btn-outline-hover: #edeaff;
  --color-btn-primary-hover: #3a2db7;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  padding-top: 72px;
}

/* ====== HEADER ====== */
.header {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
}
.header__container {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 32px;
  position: relative;
}
.header__logo {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header__logo-text {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: 23px;
  color: #4F46E5;
  margin-left: 4px;
}
.header__nav {
  display: flex;
  gap: 8px;
  margin-left: 30px;
}
.header__link {
  background: #f6f9ff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  line-height: 20px;
  display: flex;
  align-items: center;
}
.header__link:hover {
  background: #e0e7ff;
  color: #4F46E5;
}
.header__actions {
  display: flex;
  gap: 16px;
  margin-left: auto;
  align-items: center;
}
.btn {
  height: 40px;
  min-width: 120px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
}
.btn--outline {
  border: 2px solid #4F46E5;
  color: #4F46E5;
  background: #fff;
}
.btn--outline:hover {
  background: #f6f9ff;
}
.btn--primary {
  background: #4F46E5;
  color: #fff;
  border: 2px solid #4F46E5;
}
.btn--primary:hover {
  background: #3730a3;
  border-color: #3730a3;
}
.logo-placeholder {
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  display: block;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  background: #f8f9ff;
  min-height: 713px;
}
.hero__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 0 112px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  height: auto;
  padding-bottom: 0;
}
.hero__content {
  width: 648px;
  margin-top: 150px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -1.5px;
  margin-bottom: 0;
  margin-top: 0;
}
.hero__subtitle {
  font-size: 18px;
  color: #374151;
  margin-top: 20px;
  margin-bottom: 32px;
  max-width: 518px;
}
.hero__cta {
  width: 250px;
  height: 56px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 32px;
  min-width: 280px !important;
  height: 56px !important;
}
.hero__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 843px;
  max-height: 713px;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 1;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: translateX(-10px);
}
.coming-soon {
  font-size: 18px;
  color: #6366f1;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-align: left;
  align-self: flex-start;
}
.cta-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-form form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-top: 10px;
  justify-content: flex-start;
}
.cta-form input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 260px;
  max-width: 340px;
  width: 100%;
}
.cta-form button {
  padding: 12px 20px;
  background-color: #6366f1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.cta-form button:hover {
  background-color: #4f46e5;
}
.cta-form__note {
  color: #6366f1;
  font-size: 15px;
  margin-top: 16px;
  max-width: 420px;
  line-height: 1.5;
}
/* Скрыть все остальные кнопки триала и логина вне header и формы подписки */
.btn--primary:not(.header__notify-btn):not(.header__notify-btn-mobile):not(.cta-form button),
.btn--outline {
  display: none !important;
}

/* ====== FEATURES ====== */
.features {
  padding: 96px 112px;
  background: #fff;
}
.features__container {
  max-width: 1440px;
  margin: 0 auto;
}
.features__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #111827;
  text-align: left;
  padding-left: 112px;
  margin-bottom: 80px;
}
.features__blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.features__block {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.features__image {
  width: 100%;
  max-width: 592px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.features__image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.features__content {
  width: 592px;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.features__list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}
.features__list li {
  font-size: 18px;
  line-height: 28px;
  color: #111827;
  margin-bottom: 0;
}
.features__list b {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.features__list .features__accent {
  color: #4F46E5;
  font-weight: 700;
}

/* ====== HOW IT WORKS ====== */
.how {
  background: #EDECFC;
  position: relative;
}
.how__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 112px;
  position: relative;
}
.how__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #111827;
  text-align: center;
  margin-bottom: 64px;
}
.how__cards {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: flex-start;
  align-items: center;
}
.how__card {
  width: 280px;
  height: 252px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  box-shadow: 0 0 20px 0 rgba(79,70,229,0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 0;
}
.how__icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  margin-left: 26px;
  margin-top: 29px;
  margin-bottom: 0;
}
.how__card:nth-child(2) .how__icon {
  width: 175px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
}
.how__card:nth-child(3) .how__icon {
  width: 44px;
  height: 44px;
}
.how__card-title {
  font-size: 20px;
  font-weight: 600;
  color: #252432;
  margin-left: 26px;
  margin-top: 19px;
  margin-bottom: 0;
}
.how__card-desc {
  font-size: 14px;
  color: #8987a1;
  margin-left: 26px;
  margin-top: 13px;
  width: 231px;
  line-height: 1.5;
}

/* ====== USE CASES ====== */
.usecases {
  background: #fff;
}
.usecases__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 112px;
}
.usecases__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #111827;
  text-align: center;
  margin-bottom: 50px;
}
.usecases__cards {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0;
}
.usecases__cards--row2 {
  justify-content: center;
  margin-top: 48px; /* Figma: desktop spacing between rows */
}
.usecases__card {
  width: 384px;
  background: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 0 20px 0 rgba(79,70,229,0.08);
  padding: 0 0 32px 0;
}
.usecases__image {
  width: 384px;
  height: 216px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}
.usecases__card-title {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}
.usecases__card-desc {
  font-size: 16px;
  color: #374151;
  text-align: center;
  line-height: 24px;
  margin: 0 24px;
}

/* ====== PLANS ====== */
.plans {
  background: #EDECFC;
  backdrop-filter: none;
}
.plans__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 112px;
}
.plans__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: #111827;
  text-align: center;
  margin-bottom: 50px;
}
.plans__cards-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 32px;
}
.plans__card {
  background: #fcfbfa;
  border-radius: 48px;
  box-shadow: 0 0 20px 0 rgba(79,70,229,0.25);
  padding: 40px 36px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 320px;
  max-width: 386px;
  width: 100%;
  gap: 32px;
  position: relative;
}
.plans__card--custom {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 32px auto 0 auto;
  border-radius: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px 36px 48px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .plans__card--custom {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    padding: 24px 10px;
    margin: 0;
  }
}
.plans__card--custom-mobile { display: none; }
.plans__card--custom-desktop { display: flex; }
@media (max-width: 900px) {
  .plans__card--custom-mobile { display: inline-block; }
  .plans__card--custom-desktop { display: none; }
}
.plans__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.plans__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block;
  transition: background 0.2s;
}
.plans__dot--active {
  background: #5b4fff;
}
.plans__card-title {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.plans__card-desc {
  font-size: 18px;
  color: #181d14;
  margin-bottom: 12px;
}
.plans__price {
  font-size: 49px;
  font-weight: 700;
  color: #181d14;
  line-height: 57px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.plans__price-currency {
  font-size: 26px;
  font-weight: 500;
  align-self: flex-start;
}
.plans__price-period {
  font-size: 16px;
  font-weight: 500;
  color: #181d14;
  opacity: 0.7;
  margin-left: 8px;
  align-self: flex-end;
}
.plans__features {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 16px 0;
  color: #181d14;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plans__features b {
  font-weight: 700;
}
.btn {
  height: 62px;
  border-radius: 36px;
  font-size: 17.6px;
  font-weight: 600;
  padding: 0 32px;
}

/* ====== CTA ====== */
.cta {
  background: #f8f9ff;
  padding: 0;
}
.cta__container {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.cta-illustration {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  min-width: 420px;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  z-index: 0;
  margin-right: 112px;
}
@media (max-width: 900px) {
  .cta-illustration {
    position: static;
    width: 100vw;
    height: 180px;
    min-width: 0;
    margin: 0 0 24px 0;
  }
}
.cta__content {
  position: relative;
  z-index: 1;
  background: none;
  max-width: 600px;
  padding: 72px 0 72px 112px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.cta__title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #181d14;
  line-height: 1.1;
}
.cta__subtitle {
  font-size: 20px;
  color: #6b6b6b;
  margin-bottom: 40px;
  max-width: 420px;
}
.cta__btn {
  margin-top: 8px;
  width: 240px;
  height: 56px;
  font-size: 18px;
  border-radius: 100px;
  min-width: 280px !important;
  height: 56px !important;
}
@media (max-width: 900px) {
  .cta__container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    min-height: unset;
  }
  .cta__content {
    padding: 0 12px 40px 12px;
    align-items: center;
    text-align: center;
  }
}

/* ====== FOOTER (Figma, центр, минимальная высота) ====== */
.footer {
  background: #4F46E5;
  color: #fff;
  padding: 24px 24px;
  font-family: 'Inter', Arial, sans-serif;
}
.footer__container--centered {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.footer__legal-links {
  display: flex;
  flex-direction: row;
  gap: 56px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer__legal-link {
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  transition: opacity 0.2s;
  opacity: 1;
  white-space: nowrap;
}
.footer__legal-link:hover {
  opacity: 0.7;
}
.footer__copyright-text {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
  opacity: 1;
  white-space: pre;
  text-align: center;
}
@media (max-width: 900px) {
  .footer__container--centered {
    padding: 0 16px;
    min-height: 72px;
  }
  .footer__legal-links {
    gap: 24px;
    font-size: 13px;
  }
  .footer__copyright-text {
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .footer__container--centered {
    padding: 0 8px;
    min-height: 64px;
  }
  .footer__legal-links {
    gap: 12px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
  }
}

/* ====== FADE-IN ANIMATION ====== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 1024px) {
  .hero {
    min-height: 220px;
  }
  .hero__container {
    padding-left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding-bottom: 0;
  }
  .hero__image {
    position: static;
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: 220px;
    align-self: flex-end;
    flex: none;
    min-width: 0;
    min-height: 0;
    justify-content: center;
    align-items: flex-end;
    margin-top: 32px;
  }
  .hero-image-placeholder {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: 220px;
    object-fit: contain;
    transform: none;
  }
  .features__blocks {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .header__container, .features__container, .how__container, .usecases__container, .plans__container, .cta__container, .footer__container {
    padding: 0 12px;
  }
  .header__container {
    padding: 0 12px;
  }
  .header__nav {
    margin-left: 16px;
  }
  .header__actions .btn {
    height: 40px !important;
    min-width: 100px !important;
    padding: 0 20px !important;
    border-radius: 100px !important;
    font-size: 15px !important;
  }
  .header__container .header__actions > .btn {
    height: 40px !important;
    min-width: 100px !important;
    padding: 0 20px !important;
    border-radius: 100px !important;
    font-size: 15px !important;
  }
  .plans__cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-x: unset;
    white-space: normal;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .plans__card, .plans__card--custom-mobile {
    display: flex;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 24px;
    box-sizing: border-box;
  }
  .plans__dots {
    display: none;
  }
  .plans__card:last-child {
    margin-right: 0;
  }
  .plans__card--custom {
    display: inline-block;
    min-width: 100vw;
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    padding: 32px 20px 32px 20px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 32px;
    box-sizing: border-box;
  }
  .plans__cards, .usecases__cards, .how__cards {
    gap: 16px;
  }
  .features {
    padding: 56px 24px;
  }
  .features__title {
    padding-left: 24px;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 40px;
  }
  .features__image {
    max-width: 100%;
    aspect-ratio: 16/9;
    min-width: 0;
  }
  .features__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  .features__block {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .how__container {padding: 56px 24px;}
  .how__cards {gap: 16px;}
  .how__card {width: 220px; height: 220px;}
  .how__icon {width: 36px; height: 36px;}
  .how__card-title {font-size: 16px;}
  .how__card-desc {font-size: 13px; width: 180px;}
  .how__card:nth-child(2) .how__icon {
    width: 120px;
    height: 30px;
  }
  .how__card:nth-child(3) .how__icon {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 600px) {
  .hero__container {
    padding: 0 15px !important;
  }
  .features__container {
    padding: 0 15px !important;
  }
  .features__title {
    padding-left: 0 !important;
    text-align: left;
  }
  .features {
    padding: 40px 15px;
  }
  .features__title {
    padding-left: 15px;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 40px;
  }
  .features__blocks {
    gap: 32px;
  }
  .features__block {
    flex-direction: column;
    gap: 20px;
  }
  .features__image {
    max-width: 100%;
    aspect-ratio: 16/9;
    min-width: 0;
  }
  .features__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  .features__content {
    padding: 0;
    gap: 20px;
  }
  .how__container {padding: 40px 15px;}
  .how__title {font-size: 24px; line-height: 32px; margin-bottom: 32px;}
  .how__cards {flex-direction: column; gap: 20px;}
  .how__card {width: 100%; height: auto; min-height: 180px;}
  .how__icon {margin-left: 16px; margin-top: 20px;}
  .how__card-title {margin-left: 16px; margin-top: 12px;}
  .how__card-desc {margin-left: 16px; width: auto;}
  .how__card:nth-child(2) .how__icon {
    width: 100px;
    height: 25px;
  }
  .how__card:nth-child(3) .how__icon {
    width: 36px;
    height: 36px;
  }
  .plans__container {
    padding: 32px 0 0 0;
  }
  .plans__card, .plans__card--custom {
    min-width: 100vw;
    max-width: 100vw;
    width: 100vw;
    padding: 24px 10px 24px 10px;
    border-radius: 24px;
    box-sizing: border-box;
  }
  .plans__dots {
    margin-bottom: 8px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: 180px;
  }
  .hero__container {
    padding-left: 8px;
    height: auto;
  }
  .hero__image {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: 180px;
    margin-top: 24px;
  }
  .hero-image-placeholder {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: 180px;
    object-fit: contain;
  }
}
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 120;
}
.header__burger::before,
.header__burger::after,
.header__burger span {
  content: '';
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.header__burger::before {
  top: 12px;
}
.header__burger::after {
  bottom: 12px;
}
.header__burger span {
  top: 18px;
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 110;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 16px;
}
.header__mobile-menu--open {
  display: flex;
}
.header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.header__mobile-nav .header__link {
  font-size: 20px;
  padding: 16px 0;
  min-width: 180px;
  text-align: center;
  border-radius: 100px;
  font-weight: 600;
  background: #f6f9ff;
  margin-bottom: 8px;
  display: block;
  transition: background 0.2s, color 0.2s;
}
.header__mobile-nav .header__link:hover {
  background: #e0e7ff;
  color: #4F46E5;
}

@media (max-width: 700px) {
  .header {
    height: 56px;
  }
  .header__container {
    height: 56px;
    padding: 0 8px;
  }
  .header__burger {
    display: block;
    margin-left: auto;
    order: 3;
    background: none;
    border: none;
  }
  .header__nav,
  .header__actions {
    display: none;
  }
  .header__mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 110;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px 16px;
  }
  .header__mobile-menu--open {
    display: flex;
  }
  .header__mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .header__mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }
  .header__mobile-actions .btn {
    width: 100%;
    min-width: 0;
    max-width: 260px;
    margin: 0 auto;
  }
}
@media (max-width: 700px) {
  .header__container {
    flex-direction: row;
    height: auto;
    gap: 8px;
    align-items: center;
    padding: 0 8px;
  }
  .header__nav {
    gap: 16px;
  }
  .header__actions {
    gap: 8px;
  }
  .hero__title {
    font-size: 2rem;
  }
  .features__title, .how__title, .usecases__title, .plans__title, .cta__title {
    font-size: 1.4rem;
  }
  .plans__cards, .usecases__cards, .how__cards {
    flex-direction: column;
    align-items: stretch;
  }
  .plans__card, .usecases__card, .how__card {
    max-width: 100%;
    min-width: 0;
  }
  .cta__container {
    flex-direction: column;
    gap: 24px;
  }
  .cta__image {
    width: 100%;
    max-width: 320px;
    height: 160px;
  }
  .footer__container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero, .features, .how, .usecases, .plans, .cta {
    padding: 32px 0 16px 0;
  }
  .hero__container, .features__container, .how__container, .usecases__container, .plans__container, .cta__container, .footer__container {
    padding: 0 6px;
  }
  .btn {
    font-size: 15px;
    padding: 8px 16px;
  }
  .logo-placeholder, .footer-logo-placeholder {
    width: 90px;
    height: 28px;
  }
  .footer__nav {
    gap: 12px;
  }
  .footer__copyright {
    font-size: 12px;
  }
} 

@media (max-width: 1200px) {
  .usecases__container {padding: 56px 24px;}
  .usecases__card, .usecases__image {width: 300px;}
  .usecases__image {height: 170px;}
  .usecases__title {font-size: 32px; line-height: 40px;}
}
@media (max-width: 900px) {
  .usecases__container {padding: 40px 15px;}
  .usecases__cards {gap: 16px;}
  .usecases__card, .usecases__image {width: 100%; max-width: 100%;}
  .usecases__image {height: 140px;}
  .usecases__title {font-size: 24px; line-height: 32px; margin-bottom: 32px;}
  .usecases__cards--row1, .usecases__cards--row2 {flex-direction: column; align-items: center;}
  .usecases__cards--row2 {
    margin-top: 0;
  }
  .plans {
    margin-bottom: 32px;
  }
  .cta__container {
    flex-direction: column;
    min-height: unset;
  }
  .cta-illustration {
    position: static;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    aspect-ratio: 1/1;
    height: auto;
    margin: 0 0 24px 0;
    display: block;
  }
} 

@media (max-width: 700px) {
  .hero__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 0 15px !important;
    position: static !important;
  }
  .hero__content {
    position: static !important;
    z-index: auto !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    background: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .hero__image {
    position: static !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: 60vw !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: block !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
    z-index: auto !important;
    margin: 0 auto !important;
    margin-top: 24px !important;
  }
  .hero-image-placeholder {
    width: 100vw !important;
    height: auto !important;
    max-width: 100vw !important;
    max-height: 60vw !important;
    object-fit: contain !important;
    display: block !important;
    transform: none !important;
    margin: 0 auto !important;
  }
} 

@media (max-width: 700px) {
  .features__title {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 600px) {
  .features__title {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
} 

@media (max-width: 700px) {
  .features__content {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 600px) {
  .features__content {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
} 

@media (max-width: 700px) {
  .plans__card {
    text-align: left !important;
    align-items: flex-start !important;
    padding-left: 15px !important;
  }
  .plans__card-title,
  .plans__card-desc,
  .plans__price,
  .plans__features {
    text-align: left !important;
  }
  .plans__features {
    gap: 4px !important;
    margin-bottom: 0 !important;
  }
  .plans__card .btn {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    height: 48px !important;
    font-size: 15px !important;
    padding: 0 18px !important;
  }
} 

@media (max-width: 700px) {
  .features__blocks {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .features__block {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .features__block--right .features__image {
    order: 1 !important;
  }
  .features__block--right .features__content {
    order: 2 !important;
  }
  .features__block--left .features__image {
    order: 1 !important;
  }
  .features__block--left .features__content {
    order: 2 !important;
  }
} 

@media (max-width: 700px) {
  .footer__legal-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }
}
@media (max-width: 600px) {
  .footer__legal-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }
} 

@media (max-width: 700px) {
  .footer__container--centered {
    min-height: unset !important;
    padding: 0 8px !important;
    height: auto !important;
  }
  .footer__copyright-text {
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    white-space: normal !important;
    width: 100% !important;
    overflow: visible !important;
  }
}
@media (max-width: 600px) {
  .footer__container--centered {
    min-height: unset !important;
    padding: 0 8px !important;
    height: auto !important;
  }
  .footer__copyright-text {
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    white-space: normal !important;
    width: 100% !important;
    overflow: visible !important;
  }
} 

/* ====== FAQ ====== */
.faq {
  background: #fff;
  padding: 80px 0;
}
.faq__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}
.faq__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -1px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq__item {
  background: #f6f9ff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(79,70,229,0.06);
  padding: 0 0 0 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq__item.open {
  box-shadow: 0 4px 24px 0 rgba(79,70,229,0.12);
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: #181d14;
  padding: 28px 24px 28px 32px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 24px;
  text-align: left;
}
.faq__question:hover {
  background: #edeaff;
}
.faq__icon {
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.faq__item.open .faq__icon {
  transform: rotate(180deg);
}
/* FAQ answer instant hide on close */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 32px;
  margin-top: 0;
  border-radius: 0;
  display: none;
  transition: padding 0.2s, margin-top 0.2s;
}
.faq__item.open .faq__answer {
  display: block;
  padding: 0 32px 24px 32px;
  max-height: 600px;
  margin-top: 12px;
  transition: padding 0.2s, margin-top 0.2s;
}
@media (max-width: 700px) {
  .faq {
    padding: 48px 0;
  }
  .faq__container {
    padding: 0 8px;
  }
  .faq__title {
    font-size: 2rem;
    margin-bottom: 28px;
  }
  .faq__question {
    font-size: 1rem;
    padding: 20px 16px 20px 16px;
  }
  .faq__answer, .faq__item.open .faq__answer {
    padding: 0 16px 16px 16px;
  }
  .faq__answer {
    margin-top: 0;
  }
  .faq__item.open .faq__answer {
    margin-top: 10px;
  }
} 

@media (max-width: 700px) {
  .hero__title {
    text-align: center;
  }
  .hero__subtitle {
    text-align: center;
  }
  .cta-form__note {
    text-align: center;
  }
  .cta-form {
    align-items: center;
  }
  .cta-form form {
    justify-content: center;
  }
} 