/* ==========================================================================
   Tenten.vn — Google Workspace Landing Page
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --blue: #1A73E8;
  --blue-dark: #1558b0;
  --blue-deep: #0b57c9;
  --text: #000000;
  --text-muted: #333333;
  --border: #dadce0;
  --bg-gray: #F8F9FA;
  --red: #ea4335;
  --green: #34a853;
  --yellow: #fbbc04;
  --radius: 12px;
  --maxw: 1296px;
  --font: "Google Sans", sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background: #f4f8fb;
  -webkit-font-smoothing: antialiased;
}

main {
  background: #fff;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: min(calc(100% - 32px), var(--maxw));
  margin: 0 auto;
}
.container--narrow { max-width: 1076px; }

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* ---------- Main decorative images (left / right) ---------- */
main { position: relative;}
main::before,
main::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}
/* Left blob */
main::before {
  width: 520px;
  height: 520px;
  left: 0px;
  top: 391px;
  background-image: url("../images/20260710_main_left.svg");
  background-position: left center;
}
/* Right blob */
main::after {
  width: 606px;
  height: 386px;
  right: 0px;
  top: 603px;
  background-image: url("../images/20260710_main_right.svg");
  background-position: right center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 46px;
  line-height: 120%;
  border-radius: 53px;
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  text-align: center;
  max-height: 47px;
  font-family: var(--font);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: #eef4fe; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}
/* PC: ẩn toàn bộ header; chỉ hiển thị trên mobile */
@media (min-width: 901px) { .site-header { display: none; } }
/* Header spans (near) full viewport width, not the 1200px container */
.header__inner {
  max-width: 1720px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}
.header__logo { height: 30px; }
.header__badges { display: flex; gap: 10px; align-items: center; }
.header__badge { height: 36px; }

.header__nav { margin-left: 40px; }
.header__nav ul { display: flex; gap: 28px; }
.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.header__nav a.is-active { color: var(--blue); }
.header__nav a:hover { color: var(--blue); }
.header__cta { margin-left: auto; padding: 9px 22px; }

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.header__toggle img { width: 30px; height: 30px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: transparent;
  padding: 120px 0px;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 0px;
}
.hero__content { flex: 1 1 51%; }
.hero__title {
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.c-blue { color: #4285f4; } .c-red { color: #ea4335; }
.c-yellow { color: #fbbc04; } .c-green { color: #34a853; }
.hero__desc {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 48px;
}
.hero__media { flex: 1 1 49%; transform: translateX(40px); }
.hero__media img { width: 100%; height: auto; }

/* ==========================================================================
   TABS NAV
   ========================================================================== */
.tabs-nav {
  display: flex;
  justify-content: center;
  padding: 0px;
  /* background: linear-gradient(90deg, #fdeef4 0%, #ffffff 45%, #edf3fd 100%); */
  position: sticky;
  top: 20px;
  z-index: 99;
}
.tabs-nav__pill {
  display: inline-flex;
  gap: 8px;
  background: #FFFDFD;
  border-radius: 61px;
  padding: 16px 54px;
  box-shadow: 0px 6px 24px 0px #0011351A;
}
.tabs-nav__pill a {
  padding: 0px 36px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  color: var(--text);
}
.tabs-nav__pill a.is-active { color: var(--blue); }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features { padding: 120px 0 60px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 auto;
  text-align: center;
}
.feature h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 120%;
}
.feature p { color: var(--text-muted); font-size: 16px; line-height: 1.5; }

/* ==========================================================================
   APPS GRID
   ========================================================================== */
.apps { padding: 0 0 120px; }
.apps__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 150%;
}
/* Full-bleed row that overflows the viewport → drag/scroll horizontally */
.apps__grid {
  display: flex;
  gap: 32px;
  align-items: start;
  overflow-x: auto;
  padding: 0px 0px 0px 32px;
  cursor: grab;
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/Edge */
  white-space: nowrap;
  scroll-behavior: auto;
}
.apps__grid::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.apps__grid.is-dragging { cursor: grabbing; }
.apps__grid.is-dragging * { pointer-events: none; user-select: none; }
.apps__grid li {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.apps__grid img { width: 72px; height: 72px; object-fit: contain; }
.apps__grid span {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 106px;
  line-height: 150%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  background: var(--bg-gray);
  padding: 120px 0px;
}
.pricing__icons {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 0px 0px 40px;
}
.pricing__icons img { width: 40px; height: 40px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  align-items: start;
  background: #ffffff;
  border-radius: 24px;
}
.plan {
  background: #fff;
  padding: 40px 24px;
  height: 100%;
  border: 3px solid transparent;
}
.plan--featured {
  border: 3px solid var(--blue);
  border-radius: 24px;
}
.plan:nth-child(1) {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.plan:nth-child(4) {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border-left: 1px solid #DADCE0;
  border-right: 5px solid transparent;
}

.plan__name { font-size: 20px; font-weight: 400; margin-bottom: 16px; line-height: 150%; }
.plan__price-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 6px;
}
.plan__discount {
  background: #FC413D;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 124px;
  line-height: 150%;
}
.plan__old {
  color: #A9ABAD;
  text-decoration: line-through;
  font-size: 18px;
  line-height: 150%;
}
.plan__price {
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
}
/* match the height of (discount row + price + unit) so the CTA aligns across cards */
.plan__price--contact { font-size: 24px; font-weight: 500; line-height: 1.3; min-height: 99px; margin-bottom: 29px; }
.plan__price .info {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  outline: none;
}
.info__icon { width: 20px; height: 20xp; }
.plan__unit { color: var(--text); font-size: 18px; margin-bottom: 24px; line-height: 140%; }
.plan__cta { display: block; width: 100%; margin-bottom: 40px; }

/* Info tooltip (price breakdown) — opens upward with a pointed tail */
.info .tooltip {
  position: absolute;
  bottom: calc(100% + 33px);
  left: 10px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px 16px 16px 0;
  padding: 20px;
  z-index: 999;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  color: var(--text-muted);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0px 12px 40px 0px #0000001A;
}
/* chat-style tail (image), points down toward the icon */
.info .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0px;
  width: 45px;
  height: 34px;
  background: url("../images/20260710_price_icon_vector.svg") no-repeat left top;
  background-size: contain;
}
.info:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.info .tooltip ul { display: flex; flex-direction: column; gap: 12px; }
.info .tooltip li { position: relative; padding-left: 18px; line-height: 140%; }
.info .tooltip li::before {
  content: "";
  position: absolute;
  left: 0px; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.info .tooltip li strong {
  font-weight: 500;
}
.info .tooltip__label { display: block; color: #151515; font-weight: 500; margin-bottom: 4px; line-height: 140%; }

/* Slider dots + "Xem thêm" — mobile only (hidden on desktop) */
.pricing__dots { display: none; }
.plan__more { display: none; }

/* reserve 2 lines so single-line titles stay centered and the lists align across cards */
.plan__list-title {
  display: flex;
  align-items: center;
  min-height: 50px;
  line-height: 1.4;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 16px;
}
.plan__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 140%;
  color: var(--text);
}
.plan__list li img { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
.plan__list li span { color: var(--text); }
.plan__list li span>span { color: rgba(0, 0, 0, .7); }
.plan__list li span strong { font-weight: 600; color: var(--text); }
.plan__list li.check::before {
  content: "";
  flex: 0 0 20px;
  width: 20px; height: 20px;
  margin-top: 1px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing__notes {
  margin-top: 24px;
  color: #151515;
  font-size: 16px;
  line-height: 150%;
  font-style: italic;
}

.pricing__notes strong {
  font-weight: 600;
}
.pricing__notes p { margin-bottom: 10px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 120px 0; }
.accordion__item {
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #F3F8FF;
  transition: background .2s ease;
}
.accordion__item.is-open { background: #F3F8FF; }
.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  line-height: 130%;
  color: var(--text);
  transition: padding .3s ease;
}
.accordion__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after { width: 2px; height: 14px; transition: .25s; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion__body p {
  padding: 0 54px 20px 24px;
  color: #151515;
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  text-align: justify;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding: 0 0 120px; }
.cta__box {
  position: relative;
  background: url("../images/20260710_cta_bg.svg") center / cover no-repeat, #eef2fd;
  border-radius: 24px;
  text-align: center;
  padding: 40px 80px;
  overflow: hidden;
}
.cta__box h2 { font-size: 32px; font-weight: 400; margin-bottom: 8px; line-height: 120%; color: #151515}
.cta__box p { color: rgba(21, 21, 21, 0.9); font-size: 18px; margin-bottom: 24px; line-height: 27px; }

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  animation: modalIn .22s ease;
  scrollbar-width: thin;                       /* Firefox */
  scrollbar-color: #c9d4e3 transparent;
}
/* slim rounded scrollbar (WebKit) */
.modal__dialog::-webkit-scrollbar { width: 8px; }
.modal__dialog::-webkit-scrollbar-track { background: transparent; margin: 12px 0; }
.modal__dialog::-webkit-scrollbar-thumb {
  background: #c9d4e3;
  border-radius: 999px;
}
.modal__dialog::-webkit-scrollbar-thumb:hover { background: #aeb9c9; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 18px; right: 20px;
  width: 34px; height: 34px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
}
.modal__close:hover { background: #f2f4f7; }
.modal__title { font-size: 28px; font-weight: 500; line-height: 120%; margin-bottom: 40px; }

/* form */
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cform__group { margin-bottom: 16px; }
.cform__group label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}
.cform__group .req { color: var(--red); }
.cform input,
.cform textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  padding: 12px 16px;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cform input::placeholder,
.cform textarea::placeholder { opacity: 0.2}
.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}
.cform textarea { resize: vertical; min-height: 96px; }
.cform input.is-invalid,
.cform textarea.is-invalid { border-color: var(--red); }

.cform__captcha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cform__captcha input { flex: 1; }
.captcha-img {
  flex: 0 0 auto;
  width: 110px; height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f3f4f6;
}
.captcha-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: none;
  background: none;
  color: var(--blue);
  cursor: pointer;
  border-radius: 50%;
}
.captcha-refresh:hover { background: #eef4fe; }
.cform__error {
  display: none;
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
}
.cform__error.is-show { display: block; }

.modal__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.modal__actions .btn { min-width: 204px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .header__nav ul { gap: 18px; }
  .header__badges { display: none; }
  .apps__grid { grid-template-columns: repeat(8, 1fr); }
  .contact-bar__cols { grid-template-columns: repeat(2, 1fr); }
  .container--narrow {
    max-width: min(calc(100% - 32px), var(--maxw));
  }
}

@media (max-width: 900px) {
  .btn {
    font-size: 14px;
    padding: 12px 46px;
  }
  /* Mobile header: logo | Đăng ký ngay | hamburger */
  .header__logo {
    width: 132px;
  }
  .header__inner { height: 64px; gap: 12px; padding: 0 18px; }
  /* offset anchor-scroll targets so the sticky 64px header doesn't cover them */
  #tinh-nang, #bang-gia, #faqs, #dang-ky { scroll-margin-top: 94px; }
  #tinh-nang { scroll-margin-top: 134px; }
  .header__nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    display: none;
    margin-left: 0;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .header__nav.is-open { display: block; }
  .header__nav ul { flex-direction: column; gap: 4px; }
  .header__nav a { padding: 8px 16px; width: 100%; }
  .header__cta { margin-left: auto; padding: 8px 18px; font-size: 14px; font-weight: 500; }
  .header__toggle { display: flex; }

  /* Hero */
  .hero { padding: 50px 0 45px; }
  .hero__inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero__content { flex: 1 1 auto; }
  .hero__title { font-size: 28px; margin-bottom: 12px; }
  .hero__desc { margin-left: auto; margin-right: auto; font-size: 14px; margin-bottom: 20px; }
  .hero__media { flex: 1 1 auto; width: 100%; transform: none; border-radius: 12px;}
  .hero__media img {
    border-radius: 12px;
  }
  .hero__content .btn {
    width: 100%;
  }
  main::before {
    top: 0px;
    width: 300px;
    height: 300px;
  }
  main::after {
    display: none;
  }

  .section-title { font-size: 24px; margin-bottom: 20px; }

  .features__grid { grid-template-columns: 1fr; gap: 28px; }

  /* Pricing → swipeable slider with dots + "Xem thêm" */
  .pricing { padding: 40px 0 40px; }
  .pricing__icons {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin: 0px 0px 20px;
  }
  .pricing__icons img {
    width: 27px;
    height: 27px;
  }
  .pricing__grid {
    display: flex;
    grid-template-columns: none;
    max-width: none;
    margin: 0;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: transparent;
  }
  .pricing__grid::-webkit-scrollbar { display: none; }
  .pricing__grid .plan {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 16px 16px 20px 16px;
    border: 2px solid #fff;
    border-radius: 16px;
  }
  .pricing__grid .plan--featured {
    border-color: var(--blue);
  }
  .plan__name {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .plan__discount {
    font-size: 14px;
  }
  .plan__old {
    font-size: 14px;
  }
  .plan__price {
    font-size: 24px;
    font-weight: 700;
  }
  .plan__price--contact {
    min-height: 71px;
  }
  .plan__unit {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .plan__cta {
    margin-bottom: 20px;
  }

  /* tooltip opens downward on mobile */
  .info .tooltip {
    top: calc(100% + 11px);
    bottom: auto;
    left: -144px;
    border-radius: 20px;
    width: 280px;
    transform: translateY(-8px);
    box-shadow: 0px 0px 40px 12px #0000001A;
  }
  .info:hover .tooltip {
    transform: translateY(0);
  }
  /* arrow → CSS triangle pointing up toward the icon */
  .info .tooltip::after {
    top: auto;
    bottom: 100%;
    left: 144px;
    width: 0;
    height: 0;
    background: none;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #fff;
  }

  .plan .plan__list .has-hide{
    display: flex;
  }
  .plan:not(.is-expanded) .plan__list .has-hide{
    display: none;
  }

  /* collapse the feature list, reveal on "Xem thêm" */
  .plan:not(.is-expanded) .plan__list {
    height: 210px;
    overflow: hidden;
  }
  .plan__list li {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .plan__list li img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
  .plan__list li.check::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
  }
  .plan__more {
    display: block;
    width: 100%;
    margin-top: 8px;
    background: none;
    border: none;
    color: var(--blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
  }

  /* dots */
  .pricing__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
  }
  .pricing__dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(90.4deg, #5966F3 0.3%, #257BF9 31.81%, #24ABFF 92.98%);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
  }
  .pricing__dots button.is-active {
    width: 32px;
    border-radius: 5px;
    background: linear-gradient(90.4deg, #5966F3 0.3%, #257BF9 31.81%, #24ABFF 92.98%);
  }
  .pricing__notes {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  /* Contact modal → single column, tighter padding */
  .modal__dialog { padding: 16px; border-radius: 16px; }
  .modal__title { font-size: 20px; margin-bottom: 16px; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .modal__actions {
    gap: 12px;
    margin-top: 16px;
  }
  .modal__actions .btn { min-width: 0; flex: 1; padding: 14px 12px; }
  .cform__group label {
    font-size: 14px;
  }
  .cform input, .cform textarea {
    font-size: 14px;
    padding: 10px 16px;
  }
  .captcha-img {
    width: 99px;
    height: 40px;
  }
  .modal__close {
    top: 11px;
    right: 8px;
  }

  /* Features → stacked bordered cards, left aligned */
  .br-desktop { display: none; }
  .features { padding: 0 0 24px; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .feature {
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    padding: 16px;
  }
  .feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .feature p {
    font-size: 14px;
  }

  /* Apps → 4-column grid, back inside the content width */
  .apps { padding: 20px 0 56px; }
  .apps__title { text-align: center; font-size: 24px; padding: 0 16px; margin-bottom: 28px; }
  .apps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: initial;
    gap: 20px 8px;
    overflow: visible;
    cursor: default;
    max-width: min(calc(100% - 32px), var(--maxw));
    margin: 0 auto;
    padding: 0;
  }
  .apps__grid li { width: auto; gap: 8px; }
  .apps__grid li:nth-child(n + 17) {
    display: none;
  }
  .apps__grid img {
    width: 44px;
    height: 44px;
  }
  .apps__grid span {
    font-size: 14px;
  }
  .cta { padding: 0 0 45px; }
  .cta__box { padding: 24px 16px; border-radius: 16px;}
  .cta__box h2 { font-size: 20px; margin-bottom: 8px; }
  .cta__box p { font-size: 14px; line-height: 140%; margin-bottom: 12px; }
  .tabs-nav {
    width: 100%;
    max-width: min(calc(100% - 32px), var(--maxw));
    padding-bottom: 40px;
    margin: 0 auto;
    top: 74px;
  }
  .tabs-nav__pill {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    padding: 16px 40px;
  }
  .tabs-nav__pill a {
    padding: 0;
    font-size: 14px;
  }
  .cta__box {
    background: url("../images/20260710_cta_bg_mobile.svg") center / cover no-repeat, #eef2fd;
  }
  .faq {
    padding: 40px 0;
  }
  .faq .section-title {
    margin-bottom: 16px;
  }
  .accordion__item {
    border-radius: 8px;
    margin-bottom: 12px;
  }
  .accordion__head {
    padding: 16px;
    font-size: 14px;
  }
  .accordion__body p {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 140%;
  }
}
