/* ══════════════════════════════════════
   home.css — Below-the-fold sections
   Loaded async for PageSpeed performance
   ══════════════════════════════════════ */

/* ── Logos ── */
.logos-section {
  background: #eef0f8;
  padding: 56px 24px;
  text-align: center;
}
.logos-inner { max-width: 1200px; margin: 0 auto; }
.logos-title {
  font-size: 20px;
  font-weight: 500;
  color: #1f1f1f;
  margin: 0 0 36px;
  letter-spacing: 0.02em;
}
.logos-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 0 32px;
}
.logos-row img {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: opacity .25s, filter .25s;
}
.logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.logos-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #1F1F1F;
  margin: 0;
}
.logos-section--white { background: #fff; }
.logos-section--white .logos-title,
.logos-section--white .logos-subtitle { color: #1F1F1F; }

@media (max-width: 768px) {
  .logos-section { padding: 40px 20px; }
  .logos-row { flex-wrap: wrap; gap: 16px 24px; justify-content: center; }
  .logos-row img { height: 28px; }
}


/* ── About Block ── */
.about-block {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-block__card {
  background: #e8eaf6;
  border-radius: 24px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-block__text { flex: 1; }
.about-block__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a2e;
  margin: 0 0 20px;
}
.about-block__desc {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #535356;
  margin: 0;
  max-width: 480px;
}
.about-block__badge { flex-shrink: 0; }
.about-block__badge-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.about-block__badge-card img { height: 120px; width: auto; display: block; }

@media (max-width: 768px) {
  .about-block { padding: 48px 20px; }
  .about-block__card {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
  }
  .about-block__title { font-size: 28px; }
  .about-block__desc { max-width: 100%; }
  .about-block__badge-card { padding: 28px 32px; }
  .about-block__badge-card img { height: 90px; }
}


/* ── News ── */
.news-section {
  background: #eef0f8;
  padding: 80px 24px 96px;
}
.news-inner { max-width: 1200px; margin: 0 auto; }
.news-heading {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); }
.news-card--featured .news-card__img { width: 100%; overflow: hidden; }
.news-card--featured .news-card__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.news-card--featured .news-card__body { padding: 28px 28px 24px; }
.news-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-card--small .news-card__body { padding: 24px 28px; }
.news-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.news-card--featured .news-card__title { font-size: 20px; }
.news-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #6b6b7a;
  margin: 0 0 12px;
}
.news-card__date svg { flex-shrink: 0; }
.news-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #535356;
  margin: 0 0 16px;
}
.news-card__tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #3E46DB;
  background: #F0F3FF;
  border: none;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .news-section { padding: 56px 20px 64px; }
  .news-heading { font-size: 26px; margin-bottom: 28px; }
  .news-grid { grid-template-columns: 1fr; }
}


/* ── Products ── */
.products-section {
  background: #fff;
  padding: 80px 24px 96px;
}
.products-inner { max-width: 1000px; margin: 0 auto; }

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.products-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #5c65f5;
  background: #fff;
  color: #5c65f5;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.products-tab:hover { background: #f0f0ff; }
.products-tab--active { background: #5c65f5; color: #fff; }
.products-tab--active:hover { background: #4a53e0; }

.products-panel { display: none; text-align: center; }
.products-panel--active { display: block; }
.products-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.products-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #6b6b7a;
  margin: 0 auto 40px;
  max-width: 600px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}
.product-card {
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(92,101,245,.1);
  border-color: #c8cbf8;
}
.product-card__img {
  padding: 24px 24px 16px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.product-card__body {
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.3;
}
.product-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: #535356;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.product-card__btn {
  display: inline-block;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #5c65f5;
  border-radius: 6px;
  transition: background .2s;
  align-self: flex-start;
}
.product-card:hover .product-card__btn { background: #4a53e0; }

.products-cta { text-align: center; margin-top: 48px; }
.products-cta__btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #5c65f5;
  border: 2px solid #5c65f5;
  border-radius: 8px;
  transition: background .2s;
}
.products-cta__btn:hover { background: #4a53e0; border-color: #4a53e0; }

@media (max-width: 768px) {
  .products-section { padding: 56px 20px 64px; }
  .products-title { font-size: 24px; }
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .products-tabs { gap: 8px; }
  .products-tab { padding: 8px 16px; font-size: 13px; }
}


/* ── Security ── */
.security-section {
  background: #eef0f8;
  padding: 80px 24px;
}
.security-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.security-img {
  flex-shrink: 0;
  width: 320px;
  height: 260px;
  background: #c8cbf8;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security-img img {
  width: 240px;
  height: auto;
  display: block;
}
.security-text { flex: 1; }
.security-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 20px;
}
.security-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #535356;
  margin: 0 0 28px;
  max-width: 640px;
}
.security-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #5c65f5;
  border-radius: 8px;
  transition: background .2s;
}
.security-btn:hover { background: #4a53e0; }

@media (max-width: 768px) {
  .security-section { padding: 48px 20px; }
  .security-inner { flex-direction: column; gap: 32px; text-align: center; }
  .security-img { width: 240px; height: 200px; }
  .security-img img { width: 180px; }
  .security-title { font-size: 24px; }
  .security-desc { max-width: 100%; }
}


/* ── Use Cases ── */
.usecases-section {
  background: #fff;
  padding: 80px 24px 96px;
}
.usecases-inner { max-width: 1200px; margin: 0 auto; }
.usecases-heading {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 16px;
}
.usecases-subheading {
  font-size: 16px;
  font-weight: 400;
  color: #6b6b7a;
  text-align: center;
  margin: 0 0 56px;
}
.usecases-columns {
  display: flex;
  align-items: center;
  gap: 64px;
}
.usecases-list { flex: 1; }
.usecases-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.usecases-num {
  font-size: 28px;
  font-weight: 800;
  color: #5c65f5;
  line-height: 1.2;
  flex-shrink: 0;
}
.usecases-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.3;
}
.usecases-item__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #535356;
  margin: 0;
  max-width: 480px;
}
.usecases-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #5c65f5;
  border-radius: 8px;
  transition: background .2s;
}
.usecases-btn:hover { background: #4a53e0; }
@media (max-width: 1023px) {
  .usecases-btn {
    display: table;
    margin: 0 auto;
  }
}
.usecases-img {
  flex-shrink: 0;
  width: 480px;
}
.usecases-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .usecases-section { padding: 56px 20px 64px; }
  .usecases-heading { font-size: 26px; }
  .usecases-columns { flex-direction: column; gap: 40px; }
  .usecases-img { width: 100%; }
}


/* ── CTA ── */
.cta-section {
  background-image: linear-gradient(135deg, #b697e7 0%, #1e5cff 100%);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("/images/Mask-group.png") no-repeat right center;
  background-size: cover;
  pointer-events: none;
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-text { flex: 1; }
.cta-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.cta-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  margin: 0;
  max-width: 560px;
  opacity: 0.9;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.cta-link--filled {
  background: #fff;
  color: #5c65f5;
  border-color: #fff;
}

@media (max-width: 767px) {
  .cta-section { padding: 40px 20px; }
  .cta-inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-desc { max-width: 100%; }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .cta-link {
    width: auto;
    min-width: 200px;
    text-align: center;
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* CTA centered variant */
.cta-section--centered {
  padding: 5% 0;
}
.cta-section--centered .cta-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.cta-section--centered .cta-text { max-width: 100%; }
.cta-section--centered .cta-buttons {
  justify-content: center;
}

/* ── Integrations ── */
.integrations-section {
  background: #0d1b3e;
  padding: 80px 24px;
}
.integrations-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.integrations-heading {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.integrations-subheading {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 auto 48px;
  max-width: 500px;
}
.integrations-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.integrations-card {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.integrations-card img {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .integrations-section { padding: 56px 20px; }
  .integrations-heading { font-size: 28px; }
  .integrations-row { gap: 14px; }
  .integrations-card { width: 48px; height: 48px; }
  .integrations-card img { width: 30px; height: 30px; }
}


/* ── Support ── */
.support-section {
  background: #fff;
  padding: 80px 24px 96px;
}
.support-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.support-heading {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.support-subheading {
  font-size: 16px;
  font-weight: 400;
  color: #6b6b7a;
  margin: 0 0 56px;
}
.support-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
}
.support-col {
  flex: 1;
  max-width: 320px;
  text-align: center;
}
.support-icon {
  width: 64px;
  height: 64px;
  background: #5c65f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.support-icon img {
  width: 64px;
  height: 64px;
  display: block;
}
.support-col__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.support-col__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #535356;
  margin: 0;
}

@media (max-width: 768px) {
  .support-section { padding: 56px 20px 64px; }
  .support-heading { font-size: 26px; }
  .support-grid { flex-direction: column; align-items: center; gap: 40px; }
}


/* ── Get Started ── */
.getstarted-section {
  background: #eef0f8;
  padding: 80px 24px 96px;
}
.getstarted-inner { max-width: 1200px; margin: 0 auto; }
.getstarted-heading {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 48px;
}
.getstarted-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.getstarted-card {
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.getstarted-card__img { overflow: hidden; }
.getstarted-card__img img {
  width: 100%;
  height: auto;
  display: block;
}
.getstarted-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.getstarted-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.getstarted-card__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #535356;
  margin: 0 0 20px;
  flex: 1;
}
.getstarted-card__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #5c65f5;
  background: transparent;
  border: 2px solid #5c65f5;
  border-radius: 8px;
  transition: background .2s, color .2s;
  align-self: flex-start;
}
.getstarted-card__btn:hover { background: #5c65f5; color: #fff; }

@media (max-width: 768px) {
  .getstarted-section { padding: 56px 20px 64px; }
  .getstarted-heading { font-size: 26px; }
  .getstarted-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ══════════════════════════════════════
   Mega Menu internals (moved from critical.css)
   ══════════════════════════════════════ */

/* Tab layout */
.tab {
  display: flex;
  width: 100%;
  padding: 0;
}
.left-content {
  width: 260px;
  min-width: 260px;
  background: #f0f3ff;
  padding: 20px 12px;
  flex-shrink: 0;
  border-radius: 0 0 0 19px;
}
.mid-content {
  flex: 1;
  border-left: 1px solid #DBE1FF;
  padding: 24px;
}
.right-content {
  width: 240px;
  min-width: 240px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 32px 24px;
  margin: 16px 16px 16px 0;
  border-radius: 19px;
  background-color: #5c65f5;
  flex-shrink: 0;
}

/* Tab buttons */
.tablinks { cursor: pointer; border-radius: 12px; }
.tablinks:hover {
  background-color: rgba(255,255,255,0.6);
  border-radius: 12px;
}
.tablinks.active-tab {
  background-color: rgba(255,255,255,0.8);
  border-radius: 12px;
}
.submenu_blocks {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: block;
}
.mid-content .submenu_blocks:hover {
  background-color: #f0f3ff;
  border-radius: 12px;
}
a.submenu_blocks {
  flex-direction: column;
}
.tabcontent { display: none; }

/* Submenu grid */
.submenu_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.img-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.img-text img, .img-text svg { height: 24px; width: 24px; flex-shrink: 0; display: block; object-fit: contain; }
.img-text p {
  font-weight: 700;
  color: #352E31;
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}
.text-only p {
  color: #535356;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin: 0;
  line-height: 1.5;
}
.left-content .text-only p {
  font-size: 13px;
  color: #6b6b7a;
  margin-top: 4px;
}
.left-content .img-text img {
  height: 22px;
  width: 22px;
}

/* Right promo */
.right-content .top-content p:first-child {
  font-size: 14px;
  font-weight: 400;
  opacity: .85;
  margin-bottom: 12px;
}
.right-content .top-content p:nth-child(2) {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.right-content .top-content img {
  max-width: 100%;
  margin: 16px auto 0;
  display: block;
}
.bottom-content a {
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  color: #5c65f5;
  border: 1px solid #f9f7f5;
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  display: block;
  transition: background .2s;
}
.bottom-content a:hover { background: #f0f3ff; }

.mega_menu_block .mid-content { border-left: none; }

.view-all-link {
  text-align: right;
  display: block;
  color: #4449cf;
  font-size: 14px;
  margin-top: 12px;
  padding-right: 8px;
}
.view-all-link:hover { text-decoration: underline; }

/* ── Search Overlay ── */
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(18, 21, 25, 0.98);
  z-index: 9999;
}
.search_frm {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  gap: 20px;
}
.search-input {
  width: calc(100% - 80px);
  padding: 30px 8px;
  font-size: 35px;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  border-radius: 0;
  outline: none;
  height: 90px;
  transition: border-color 0.3s ease;
}
.search-input:focus { border-bottom-color: #4449cf; }
.search-input::placeholder { color: rgba(255,255,255,0.6); font-size: 35px; }
.search-submit {
  background: #4449cf;
  border: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.search-submit:hover { background: #3238b3; transform: scale(1.05); }
.search-submit svg { width: 20px; height: 20px; fill: white; }
.close-search {
  position: absolute;
  top: 30px; right: 30px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-search:hover { opacity: 0.7; }

/* ── Mobile Menu ── */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mob-menu.active { transform: translateX(0); }

/* Header */
.mob-menu__header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  gap: 12px;
  flex-shrink: 0;
}
.mob-menu__logo { display: flex; align-items: center; }
.mob-menu__logo img { height: 36px; width: auto; }
.mob-menu__demo {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #5c65f5;
  border-radius: 6px;
  white-space: nowrap;
}
.mob-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #352E31;
  padding: 4px 8px;
  line-height: 1;
  z-index: 1;
}

/* Body */
.mob-menu__body {
  flex: 1;
  padding: 8px 24px;
  overflow-y: auto;
}

/* Section accordion (top level) */
.menu-section { margin-bottom: 12px; }
.menu-section__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #352E31;
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}
.menu-section__arrow {
  flex-shrink: 0;
  transition: transform .3s ease;
}
.menu-section--open > .menu-section__toggle .menu-section__arrow {
  transform: rotate(180deg);
}
.menu-section__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

/* Submenu group (cards container) */
.submenu-group { padding: 8px 0 4px; }

/* Submenu card (nested accordion) */
.submenu-card { margin-bottom: 6px; }
.submenu-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #352E31;
  background: #f5f6fa;
  border: 1px solid #e8e8ef;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}
.submenu-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #5c65f5;
  flex-shrink: 0;
  transition: transform .2s;
}
.submenu-card--open > .submenu-card__toggle { background: #eef0f8; }

.submenu-card__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding-left: 12px;
}

/* Submenu links */
.submenu-link {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background .15s;
}
.submenu-link:hover { background: #f5f6fa; }
.submenu-link__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #352E31;
  line-height: 1.3;
}
.submenu-link__desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #6b6b7a;
  line-height: 1.4;
  margin-top: 2px;
}

/* View all link */
.submenu-viewall {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #5c65f5;
  text-align: right;
}

/* Flat list (no sub-cards, e.g. Pricing, About) */
.submenu-flat { padding: 4px 0; }
.submenu-flat .submenu-link { padding-left: 20px; }

/* Footer - Language */
.mob-menu__footer {
  padding: 24px;
  flex-shrink: 0;
  border-top: 1px solid #e8e8ef;
}
.mob-menu__lang-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #352E31;
  margin-bottom: 12px;
}
.mob-menu__lang-flags { display: flex; gap: 16px; }
.mob-menu__lang-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #6b6b7a;
}
.mob-menu__lang-item--active { color: #352E31; font-weight: 600; }

/* Hide on desktop */
@media (min-width: 1200px) {
  .mob-menu { display: none; }
}

/* ── Homepage Hero ── */
.hero-section {
  background: #f8f9fc url('/images/pricing-bg.svg') no-repeat center center;
  background-size: cover;
  padding: 120px 24px 140px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  color: #1a1a2e;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #535356;
  margin: 0 auto 40px;
  max-width: 640px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  min-width: 180px;
}
.hero-btn--filled { background: #5c65f5; color: #fff; border: 2px solid #5c65f5; }
.hero-btn--filled:hover { background: #4a53e0; border-color: #4a53e0; }
.hero-btn--outline { background: #fff; color: #5c65f5; border: 2px solid #5c65f5; }
.hero-btn--outline:hover { background: #5c65f5; color: #fff; }

@media (max-width: 768px) {
  .hero-section { padding: 80px 20px 100px; }
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  .hero-btn { min-width: 160px; padding: 12px 28px; font-size: 15px; }
}


/* Wide table horizontal scroll */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 1.5em 0;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  margin: 0;
}


/* Wide tables: let them break out of the 750px article container on desktop */
@media (min-width: 1100px) {
  .news-single-content .table-wrap {
    /* Article is centred at max-width 750px. Allow table to extend up to ~1100px,
       centred relative to the article column. */
    width: min(1100px, 100vw - 48px);
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* Visual scroll hint (gradient shadows on left/right edges when content overflows) */
.news-single-content .table-wrap {
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(255,255,255,0), #fff 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)),
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.18), rgba(0,0,0,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

/* Compact table cells when the table is wide */
.news-single-content .table-wrap table {
  font-size: 14px;
}
.news-single-content .table-wrap th,
.news-single-content .table-wrap td {
  padding: 8px 12px;
  line-height: 20px;
}

/* Visually hidden but readable by screen readers and Lighthouse */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
