/* Hero - aligned with Meta ad creative */
.aptabook-hero-v2 .pr-mark-banner-text {
  text-align: center;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .pr-mark-banner-text {
    text-align: left;
  }
}

.aptabook-hero-v2 .hero-eyebrow {
  color: #1b44fe;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
}

.aptabook-hero-v2 .pr-mark-banner-text h1 {
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  line-height: 1.12;
  padding: 0 0 14px;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  color: #151621;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .pr-mark-banner-text h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: 11em;
  }
}

.aptabook-hero-v2 .hero-subhead {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: #444;
  padding: 0 0 18px !important;
  max-width: 32rem;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .hero-subhead {
    margin: 0;
  }
}

/* Benefit bullets - matches Meta ad list style */
.aptabook-hero-v2 .hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto 22px;
  max-width: 22rem;
  text-align: left;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .hero-benefits {
    margin: 0 0 24px;
    max-width: none;
  }
}

.aptabook-hero-v2 .hero-benefits li {
  position: relative;
  padding: 0 0 10px 1.35rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #1e293b;
  font-family: "Inter", sans-serif;
}

.aptabook-hero-v2 .hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b44fe;
  box-shadow: 0 0 0 3px rgb(27 68 254 / 18%);
}

.aptabook-hero-v2 .hero-cta-block {
  margin-bottom: 0;
}

.aptabook-hero-v2 .hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .hero-cta-buttons {
    justify-content: flex-start;
  }
}

.hero-cta-secondary,
.aptabook-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: #1b44fe !important;
  background: #fff;
  border: 2px solid #1b44fe;
  box-shadow: 0 2px 8px rgb(27 68 254 / 12%);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.hero-cta-secondary:hover,
.aptabook-cta-btn-secondary:hover {
  background: #f0f4ff;
  transform: translateY(-1px);
}

.aptabook-hero-v2 .hero-demo-book-link-wrap {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.aptabook-hero-v2 .hero-demo-book-link,
.hero-cta-buttons .hero-demo-book-link {
  color: #64748b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aptabook-hero-v2 .hero-demo-book-link:hover,
.hero-cta-buttons .hero-demo-book-link:hover {
  color: #1b44fe;
}

/* Bottom CTA (features page etc.): keep text link vertically centered with trial button */
.hero-cta-buttons--inline-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.hero-cta-buttons--inline-demo .hero-demo-book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Match primary button box so the label sits on the same midline */
  min-height: 56px;
  margin: 0;
  padding: 0 4px;
  line-height: 1.2;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.aptabook-hero-v2 .hero-live-demo {
  width: 100%;
}

.aptabook-hero-v2 .hero-chat-demo-hint {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f4ff;
  border: 1px solid #c7d7fe;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

html[data-aptabook-market="india"] .aptabook-hero-v2 .hero-chat-demo-hint {
  display: block;
}

/* Primary CTA (brand blue, matches .blue_btn) */
.hero-cta-orange,
.aptabook-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: #fff !important;
  background: radial-gradient(88% 75% at 50% 50%, #1b44fe 37.45%, #5375fe 100%);
  box-shadow: 0 5px 10px rgb(43 82 254 / 43%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  border: none;
}

.hero-cta-orange:hover,
.aptabook-cta-btn-primary:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgb(43 82 254 / 48%);
}

.hero-cta-call,
.aptabook-cta-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: #334155 !important;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.hero-cta-call:hover,
.aptabook-cta-btn-call:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
  transform: translateY(-1px);
}

.aptabook-mobile-cta-bar .hero-cta-orange {
  width: 100%;
  max-width: 420px;
}

.pr-mark-header-demo {
  margin-right: 0;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1b44fe !important;
  border: 1px solid #c7d4fe;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  line-height: 1;
  flex-shrink: 0;
}

/* Sitewide header: one row, no nav link stacking */
.pr-mark-main-navigation-wrapper {
  max-width: min(1180px, 96%);
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.pr-mark-main-header.sticky-on .pr-mark-main-navigation-wrapper {
  max-width: min(1180px, 96%);
}

.pr-mark-navigation-menu {
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  gap: 10px;
  min-width: 0;
}

.pr-mark-navigation-menu .pr-main-navigation {
  flex: 0 0 auto;
}

.pr-mark-navigation-menu .navbar-nav,
.pr-mark-navigation-menu .pr-main-navigation .navbar-nav,
.pr-mark-navigation-menu .pr-main-navigation ul.nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  margin: 0;
  padding: 0;
}

.pr-mark-navigation-menu .pr-main-navigation li {
  display: block;
  margin-left: 22px;
  flex-shrink: 0;
}

.pr-mark-navigation-menu .pr-main-navigation li:first-child {
  margin-left: 0;
}

.pr-mark-navigation-menu .pr-main-navigation li a {
  padding-bottom: 0 !important;
  white-space: nowrap;
  display: inline-block;
}

.pr-mark-navigation-menu .pr-mark-login {
  margin-left: 16px !important;
  flex-shrink: 0;
}

.pr-mark-navigation-menu .pr-mark-login a {
  white-space: nowrap;
  height: auto;
  width: auto;
}

.pr-mark-navigation-menu .pr-mark-header-demo {
  margin-left: 8px;
}

.pr-mark-navigation-menu .pr-mark-btn {
  margin-left: 8px !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

.pr-mark-navigation-menu .pr-mark-btn a {
  width: auto;
  min-width: 128px;
  padding: 0 14px;
  height: 46px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Windows laptops often land in 992–1200 CSS px (125%/150% scaling). Keep one clean CTA row. */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .pr-mark-navigation-menu .pr-mark-header-demo {
    display: none !important;
  }

  .pr-mark-navigation-menu .pr-main-navigation li {
    margin-left: 14px;
  }

  .pr-mark-navigation-menu .pr-mark-login {
    margin-left: 10px !important;
  }

  .pr-mark-navigation-menu .pr-mark-btn a {
    min-width: 0;
    padding: 0 12px;
    font-size: 0.85rem;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1360px) {
  .pr-mark-navigation-menu .pr-main-navigation li {
    margin-left: 16px;
  }

  .pr-mark-navigation-menu .pr-mark-login {
    margin-left: 12px !important;
  }

  .pr-mark-navigation-menu .pr-mark-btn a {
    min-width: 112px;
    padding: 0 10px;
    font-size: 0.85rem;
  }

  .pr-mark-navigation-menu .pr-mark-header-demo {
    padding: 0 10px;
    font-size: 0.85rem;
  }
}

.pr-mark-header-demo:hover {
  color: #1538d4 !important;
  background: #f8faff;
}

@media screen and (max-width: 991px) {
  .pr-mark-navigation-menu .pr-mark-header-demo,
  .mobile_menu_content .pr-mark-header-demo {
    display: none !important;
  }

  /* Keep CTA + hamburger from colliding across iOS/Android/desktop responsive.
     HTML places `.mobile_menu` as a sibling of `.pr-mark-main-navigation-wrapper`
     inside `.container` — not a child of the wrapper. Pin the button to the
     header container so it vertically centers with the logo/CTA row. */
  .pr-mark-main-header > .container {
    position: relative;
  }

  .pr-mark-main-navigation-wrapper {
    gap: 8px;
    padding-right: 48px;
    padding-left: 12px;
  }

  .pr-mark-navigation-menu {
    gap: 6px;
    min-width: 0;
  }

  .pr-mark-navigation-menu .pr-mark-login {
    margin-left: 6px !important;
  }

  .pr-mark-navigation-menu .pr-mark-login a {
    font-size: 0.85rem;
    padding: 0 6px;
  }

  .pr-mark-navigation-menu .pr-mark-btn {
    margin-left: 4px !important;
    margin-right: 0 !important;
  }

  .pr-mark-navigation-menu .pr-mark-btn a {
    min-width: 0;
    width: auto;
    padding: 0 12px;
    height: 42px;
    font-size: 0.82rem;
  }

  /* Neutralize Bootstrap `.position-relative` so absolute hamburger uses
     the header container, not a collapsed relative parent. */
  .pr-mark-main-header > .container > .mobile_menu.position-relative,
  .pr-mark-main-header > .container > .mobile_menu {
    position: static !important;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .pr-mark-main-header > .container > .mobile_menu .mobile_menu_button {
    display: block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  /* Login is in the drawer; drop it from the condensed bar so CTA + menu never collide. */
  .pr-mark-navigation-menu .pr-mark-login {
    display: none !important;
  }

  .pr-mark-main-navigation-wrapper {
    padding-right: 44px;
  }

  .pr-mark-navigation-menu .pr-mark-btn {
    margin-right: 0 !important;
  }

  .pr-mark-navigation-menu .pr-mark-btn a {
    padding: 0 10px;
    font-size: 0.78rem;
    height: 40px;
  }
}

.aptabook-definition {
  padding: 40px 0 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.aptabook-definition-inner {
  max-width: 760px;
  margin: 0 auto;
}

.aptabook-definition-inner h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 12px;
  color: #0d1d72;
}

.aptabook-definition-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.ix-page .ix-markets {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.aptabook-why-section {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.aptabook-why-section .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.aptabook-why-section .why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 4%);
}

.aptabook-why-section .why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.aptabook-why-section .why-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.aptabook-channels-section {
  padding: 0 0 48px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.aptabook-channels-panel {
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  background:
    radial-gradient(circle at 12% 18%, rgb(27 68 254 / 8%) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, rgb(16 185 129 / 8%) 0%, transparent 38%),
    linear-gradient(135deg, #fff 0%, #f8faff 100%);
  box-shadow: 0 8px 32px rgb(27 68 254 / 8%);
}

.aptabook-channels-copy h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  margin: 12px auto 10px;
  max-width: 28rem;
}

.aptabook-channels-copy p {
  margin: 0 auto 24px;
  max-width: 36rem;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.55;
}

.aptabook-channels-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aptabook-channel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: 14px;
  background: rgb(255 255 255 / 88%);
  border: 1px solid #e2e8f0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.aptabook-channel-item:hover {
  transform: translateY(-2px);
  border-color: #c7d7fe;
  box-shadow: 0 8px 20px rgb(27 68 254 / 10%);
}

.aptabook-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.aptabook-channel-icon--calls {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.aptabook-channel-icon--sms {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.aptabook-channel-icon--booking {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.aptabook-channel-icon--web {
  background: linear-gradient(135deg, #1b44fe 0%, #5375fe 100%);
}

.aptabook-channel-icon--whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.aptabook-channel-icon--email {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.aptabook-channel-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  font-family: "Inter", sans-serif;
}

.aptabook-channel-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.35;
  font-family: "Inter", sans-serif;
}

@media (min-width: 768px) {
  .aptabook-channels-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .aptabook-channels-panel {
    padding: 36px 40px;
  }
}

.aptabook-channels-features {
  padding: 56px 0;
  background: #0f172a;
  color: #fff;
}

.aptabook-channels-features__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.aptabook-channels-features__intro h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 12px 0 14px;
  line-height: 1.2;
}

.aptabook-channels-features__intro p {
  margin: 0;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 26rem;
}

.aptabook-channels-features__intro .banner-sub-tag1 {
  color: #0a0b10;
}

.aptabook-channels-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aptabook-channels-features__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-left: 4px solid #1b44fe;
  transition: background 0.15s ease, transform 0.15s ease;
}

.aptabook-channels-features__item:hover {
  background: rgb(255 255 255 / 10%);
  transform: translateX(4px);
}

.aptabook-channels-features__item--calls {
  border-left-color: #0ea5e9;
}

.aptabook-channels-features__item--sms {
  border-left-color: #8b5cf6;
}

.aptabook-channels-features__item--web {
  border-left-color: #5375fe;
}

.aptabook-channels-features__item--whatsapp {
  border-left-color: #22c55e;
}

.aptabook-channels-features__item--email {
  border-left-color: #f97316;
}

.aptabook-channels-features__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
}

.aptabook-channels-features__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aptabook-channels-features__text strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.aptabook-channels-features__text span {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

@media (min-width: 992px) {
  .aptabook-channels-features__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
  }
}

.aptabook-see-it-action__demos-row {
  align-items: stretch;
  margin-bottom: 20px;
}

.aptabook-see-it-action__voice-row {
  align-items: stretch;
}

.aptabook-see-it-action__demos-row > [class*="col-"],
.aptabook-see-it-action__voice-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.aptabook-see-it-action .automation_bo {
  width: 100%;
  margin: 0;
  height: 100%;
}

.aptabook-see-it-action .automation_bo--video-demo {
  padding: 22px 24px;
}

.aptabook-see-it-action .automation_bo--video-demo h5 {
  margin-bottom: 12px;
  flex-shrink: 0;
  line-height: 1.45;
}

.aptabook-see-it-action .auth_img--whatsapp {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
}

.aptabook-see-it-action .aptabook-demo-video-wrap {
  border-radius: 10px;
  background: #f1f5f9;
  overflow: hidden;
  height: clamp(380px, 58vh, 520px);
  max-height: clamp(380px, 58vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aptabook-see-it-action .aptabook-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: contain;
  background: #f1f5f9;
}

@media (min-width: 992px) {
  .aptabook-see-it-action__demos-row,
  .aptabook-see-it-action__voice-row {
    --bs-gutter-x: 2rem;
  }

  .aptabook-see-it-action .aptabook-demo-video-wrap {
    height: clamp(460px, 62vh, 640px);
    max-height: clamp(460px, 62vh, 640px);
  }
}

.aptabook-see-it-action {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding-top: 56px;
  padding-bottom: 56px;
}

.aptabook-see-it-action .headline.pb_30 {
  padding-bottom: 20px !important;
}

.aptabook-cta-bar {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgb(15 23 42 / 6%);
  text-align: center;
}

.aptabook-cta-bar-label {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  font-family: "Inter", sans-serif;
}

.aptabook-cta-bar .hero-cta-buttons,
.aptabook-cta-bar .aptabook-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.signup-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #a7f3d0;
}

.signup-pricing-demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.aptabook-hero-v2 .hero-call-me-wrap {
  margin-top: 14px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
@media (min-width: 992px) {
  .aptabook-hero-v2 .hero-call-me-wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

.aptabook-hero-v2 .hero-call-me-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 10px;
}

/* If Slick fails, show rotating lines as a simple stack (first visible) */
.text-fade-slider-fallback > div:first-child,
.text-fade-slider:not(.slick-initialized) > div:first-child {
  display: block;
}
.text-fade-slider-fallback > div:not(:first-child),
.text-fade-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}

.aptabook-hero-v2 .hero-call-me-slot [data-call-me-widget] {
  width: 100%;
}

.aptabook-hero-v2 .hero-call-me-slot .call-me-box {
  max-width: none !important;
}

#hero-call-me,
#hero-call-me-slot,
#hero-live-demo {
  scroll-margin-top: 110px;
}

.aptabook-hero-v2 .hero-demo-link {
  color: #1b44fe;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aptabook-hero-v2 .hero-demo-link:hover {
  color: #1538d4;
}

/* Columns - no overlap */
.aptabook-hero-v2 .hero-row > [class*="col-"] {
  min-width: 0;
}

.aptabook-hero-v2 .hero-copy-col {
  position: relative;
  z-index: 2;
}

.aptabook-hero-v2 .hero-visual {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.aptabook-hero-v2 .hero-product-frame {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 4px 6px rgb(15 23 42 / 4%),
    0 20px 50px rgb(15 23 42 / 10%);
  padding: 10px;
  line-height: 0;
  width: 100%;
}

.aptabook-hero-v2 .hero-product-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .aptabook-hero-v2 .hero-row {
    align-items: center;
  }

  .aptabook-hero-v2 .hero-copy-col {
    padding-right: 28px;
  }

  .aptabook-hero-v2 .hero-visual {
    margin-top: 0;
    padding-left: 8px;
  }

  .aptabook-hero-v2 .hero-product-frame {
    padding: 12px;
  }
}

#pr-mark-banner.aptabook-hero-v2.pr-mark-banner-section {
  padding-bottom: 48px;
}

#aptabook-hero-stats-duplicate {
  display: none !important;
}

.aptabook-mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 10%);
  display: none;
  justify-content: center;
  align-items: center;
}

.aptabook-mobile-cta-bar.is-visible {
  display: flex;
}

@media (min-width: 992px) {
  .aptabook-mobile-cta-bar {
    display: none !important;
  }
}

body.aptabook-mobile-cta-active {
  padding-bottom: 72px;
}

/* ── Resources mega menu (modern flyout) ── */
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown {
  padding-right: 14px;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown > a {
  /* Keep caret optically centered on the label text (not the tall hit-area). */
  position: relative;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:after {
  content: "";
  /* Sit on the Resources label midline (link is 16px Inter; avoid top-of-box). */
  top: 0.7em;
  right: 1px;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid #00000099;
  transform: none;
  transform-origin: 50% 40%;
  transition: transform 0.2s ease, border-top-color 0.2s ease;
  pointer-events: none;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:hover:after,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:focus-within:after {
  transform: rotate(180deg);
  border-top-color: #0d1d72;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .dropdown-menu,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega {
  top: 48px;
  left: 50%;
  transform: translateX(-40%);
  width: min(420px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow:
    0 18px 50px rgba(13, 29, 114, 0.12),
    0 4px 14px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  display: block;
  height: auto;
  z-index: 50;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:hover .dropdown-menu,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:hover .resources-mega,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:focus-within .dropdown-menu,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown:focus-within .resources-mega {
  top: 42px;
  opacity: 1;
  visibility: visible;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .dropdown-menu li {
  border-bottom: none;
  margin: 0;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none !important;
  color: #151621 !important;
  background: transparent;
  transition: background 0.18s ease;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-item:hover {
  background: #f4f6fb !important;
  color: #151621 !important;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1b44fe 0%, #0d1d72 100%);
  color: #fff;
  font-size: 15px;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #151621;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-copy span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
  font-weight: 400;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-divider {
  height: 1px;
  margin: 8px 4px;
  background: #e8ecf4;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 4px 2px;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-cats a {
  display: inline-flex !important;
  width: auto !important;
  padding: 6px 10px !important;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-cats a:hover {
  background: #0d1d72 !important;
  color: #fff !important;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 4px 8px 2px;
}

/* Public blog pages */
.aptabook-blog {
  --blog-ink: #151621;
  --blog-muted: #64748b;
  --blog-line: #e8ecf4;
  --blog-navy: #0d1d72;
  --blog-blue: #1b44fe;
  --blog-surface: #ffffff;
  color: var(--blog-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(27, 68, 254, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(254, 93, 135, 0.07), transparent 50%),
    linear-gradient(180deg, #f7f8fc 0%, #ffffff 42%, #ffffff 100%);
}
.aptabook-blog a { text-decoration: none; }
.aptabook-blog .blog-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}
.aptabook-blog .blog-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--blog-ink);
}
.aptabook-blog .blog-hero-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--blog-muted);
  max-width: none;
  width: 100%;
  margin: 0 0 16px;
}
.aptabook-blog .blog-editorial {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--blog-muted);
  max-width: 42rem;
  margin: 0 0 28px;
  padding: 12px 0 0;
  border-top: 1px solid var(--blog-line);
}
.aptabook-blog .blog-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.aptabook-blog .blog-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--blog-line);
  background: rgba(255,255,255,0.8);
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.aptabook-blog .blog-cat-chip:hover {
  border-color: #c7d2fe;
  color: var(--blog-navy);
}
.aptabook-blog .blog-cat-chip.is-active {
  background: var(--blog-navy);
  border-color: var(--blog-navy);
  color: #fff;
}
.aptabook-blog .blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 16px;
  border-radius: 24px;
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  margin-bottom: 40px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .aptabook-blog .blog-featured {
    grid-template-columns: 1fr;
  }
}
.aptabook-blog .blog-featured-media {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1d72, #1b44fe 60%, #5b8cff);
}
.aptabook-blog .blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aptabook-blog .blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blog-blue);
  margin-bottom: 10px;
}
.aptabook-blog .blog-featured h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--blog-ink);
}
.aptabook-blog .blog-featured p {
  color: var(--blog-muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.aptabook-blog .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--blog-muted);
}
.aptabook-blog .blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 960px) {
  .aptabook-blog .blog-layout {
    grid-template-columns: 1fr;
  }
}
.aptabook-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 700px) {
  .aptabook-blog .blog-grid {
    grid-template-columns: 1fr;
  }
}
.aptabook-blog .blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 8px;
}
.aptabook-blog .blog-page-btn,
.aptabook-blog .blog-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--blog-line);
  background: var(--blog-surface);
  color: var(--blog-ink);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.aptabook-blog .blog-page-num {
  min-width: 36px;
  padding: 0 10px;
}
.aptabook-blog .blog-page-btn:hover:not(:disabled),
.aptabook-blog .blog-page-num:hover:not(.is-active) {
  border-color: #c7d2fe;
  background: #f5f7ff;
}
.aptabook-blog .blog-page-num.is-active {
  background: var(--blog-blue, #2563eb);
  border-color: var(--blog-blue, #2563eb);
  color: #fff;
  cursor: default;
}
.aptabook-blog .blog-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.aptabook-blog .blog-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aptabook-blog .blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.aptabook-blog .blog-card:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: 0 16px 36px rgba(13, 29, 114, 0.1);
}
.aptabook-blog .blog-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e293b, #334155);
  overflow: hidden;
}
.aptabook-blog .blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aptabook-blog .blog-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.aptabook-blog .blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--blog-ink);
}
.aptabook-blog .blog-card-body p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.aptabook-blog .blog-side-card {
  position: sticky;
  top: 110px;
  padding: 18px;
  border-radius: 18px;
  background: #0d1d72;
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 29, 114, 0.25);
}
.aptabook-blog .blog-side-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.aptabook-blog .blog-side-card > p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  opacity: 0.8;
  line-height: 1.45;
}
.aptabook-blog .blog-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aptabook-blog .blog-top-list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  color: #fff;
  align-items: start;
}
.aptabook-blog .blog-top-list .num {
  font-weight: 700;
  opacity: 0.45;
  font-size: 0.95rem;
  padding-top: 2px;
}
.aptabook-blog .blog-top-list strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 600;
}
.aptabook-blog .blog-top-list span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.7;
}
.aptabook-blog .blog-post-hero {
  max-width: 760px;
  margin: 0 auto 28px;
}
.aptabook-blog .blog-post-cover {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 36px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, #0d1d72, #1b44fe);
}
.aptabook-blog .blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aptabook-blog .blog-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1e293b;
}
.aptabook-blog .blog-prose h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.aptabook-blog .blog-prose h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}
.aptabook-blog .blog-prose p { margin: 0 0 1rem; }
.aptabook-blog .blog-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.aptabook-blog .blog-prose a { color: var(--blog-blue); }
.aptabook-blog .blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
  display: block;
}
.aptabook-blog .blog-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.aptabook-blog .blog-prose th,
.aptabook-blog .blog-prose td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.aptabook-blog .blog-prose th {
  background: #f8fafc;
  font-weight: 600;
}
.aptabook-blog .blog-prose blockquote {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid #1b44fe;
  color: #475569;
}

/* Floating social share on blog posts */
.blog-share-bar {
  position: fixed;
  left: max(12px, calc((100vw - 1120px) / 2 - 72px));
  top: 42%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.blog-share-bar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}
.blog-share-bar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-share-bar__btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.blog-share-bar__btn:hover {
  background: #eef2ff;
  color: #1b44fe;
}
@media (max-width: 1100px) {
  .blog-share-bar {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 18px;
    transform: translateX(-50%);
    flex-direction: row;
    border-radius: 999px;
    padding: 8px 12px;
  }
  .blog-share-bar__label {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0 6px 0 0;
  }
  .blog-share-bar__list {
    flex-direction: row;
  }
}

.aptabook-blog .blog-related {
  width: min(1120px, calc(100% - 32px));
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--blog-line);
}
.aptabook-blog .blog-related h2 {
  font-size: 1.35rem;
  margin: 0 0 18px;
}

/* FAQ + Knowledge Base */
.aptabook-blog .kb-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 22px;
}
.aptabook-blog .kb-search-input {
  flex: 1 1 280px;
  max-width: 420px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--blog-line);
  background: #fff;
  font-size: 15px;
  color: var(--blog-ink);
  outline: none;
}
.aptabook-blog .kb-search-input:focus {
  border-color: #93a8ff;
  box-shadow: 0 0 0 3px rgba(27, 68, 254, 0.12);
}
.aptabook-blog .kb-secondary-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--blog-blue);
}
.aptabook-blog .faq-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.aptabook-blog .faq-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.aptabook-blog .faq-section-block h2 {
  font-size: 1.35rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.aptabook-blog .faq-section-desc {
  margin: 0 0 14px;
  color: var(--blog-muted);
  font-size: 0.95rem;
}
.aptabook-blog .faq-accordion {
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.aptabook-blog .faq-accordion-item {
  border-bottom: 1px solid var(--blog-line);
  padding: 0 4px;
}
.aptabook-blog .faq-accordion-item:last-child {
  border-bottom: none;
}
.aptabook-blog .faq-accordion-trigger {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blog-ink);
  padding: 16px 14px;
}
.aptabook-blog .faq-accordion-content {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
  padding: 0 14px 16px;
}
.aptabook-blog .kb-article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aptabook-blog .kb-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--blog-line);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.aptabook-blog .kb-article-row:hover {
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px rgba(13, 29, 114, 0.08);
  transform: translateY(-2px);
}
.aptabook-blog .kb-article-row h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--blog-ink);
}
.aptabook-blog .kb-article-row p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.aptabook-blog .kb-article-arrow {
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: var(--blog-blue);
}
.aptabook-blog .kb-cta-banner {
  margin-top: 48px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d1d72 0%, #1b44fe 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.aptabook-blog .kb-cta-banner h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.aptabook-blog .kb-cta-banner p {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}
.aptabook-blog .kb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.aptabook-blog .kb-cta-primary,
.aptabook-blog .kb-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.aptabook-blog .kb-cta-primary {
  background: #fff;
  color: #0d1d72;
}
.aptabook-blog .kb-cta-secondary {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .dropdown-menu,
.pr-mark-navigation-menu .pr-main-navigation .dropdown.resources-dropdown .resources-mega {
  width: min(440px, calc(100vw - 32px));
}

/* Features: force WhatsApp section title to stay on two lines */
.features-messaging-heading {
  margin: 0 auto;
  max-width: min(980px, 100%);
  padding: 0 16px;
}
.features-messaging-heading h2 {
  line-height: 1.15;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
}
.features-messaging-heading .features-heading-line,
.aptabook-automation-heading .features-heading-line {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .features-messaging-heading .features-heading-line,
  .aptabook-automation-heading .features-heading-line {
    white-space: normal;
  }
}

/* Home automation section: drop max-width600 so the long H2 stays on two lines */
.aptabook-automation-heading {
  margin: 0 auto;
  max-width: min(980px, 100%);
  padding: 0 16px;
}
.aptabook-automation-heading h2 {
  line-height: 1.15;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
}
.aptabook-automation-heading p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Features WhatsApp: product screenshots in feature cards */
.aptabook-feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e8eaf0;
  margin-bottom: 16px;
  background: #f8f8fa;
}

/* Features section intros: match WhatsApp / automation heading width */
.aptabook-features-section-heading {
  margin: 0 auto;
  max-width: min(980px, 100%);
  padding: 0 16px;
}
.aptabook-features-section-heading h2 {
  line-height: 1.15;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
}
.aptabook-features-section-heading p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.aptabook-integration-whatsapp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

/* ---- Features page: visual variety layouts ---- */

.aptabook-features-band {
  background: #f1f4fb;
  padding-top: 64px;
  padding-bottom: 64px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Train Your AI: numbered steps */
.aptabook-features-steps-section {
  background: #f4f6fb;
  padding: 72px 0;
}
.aptabook-features-steps-section h2 {
  color: #151621;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
}
.aptabook-features-steps-section .headline p {
  color: #7a7a7a;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.aptabook-features-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: none;
}
.aptabook-features-step {
  position: relative;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aptabook-features-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.aptabook-features-step__num {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1b44fe;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aptabook-features-step__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.aptabook-features-step__body h4 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0a0b10;
}
.aptabook-features-step__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
}
@media (max-width: 991px) {
  .aptabook-features-steps {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp product showcase */
.aptabook-whatsapp-showcase {
  background: linear-gradient(180deg, #f3faf5 0%, #ffffff 55%);
  padding: 72px 0 64px;
}
.aptabook-whatsapp-showcase .headline p {
  color: #64748b;
}
.aptabook-whatsapp-showcase__row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}
.aptabook-whatsapp-showcase__row--reverse .aptabook-whatsapp-showcase__media {
  order: 2;
}
.aptabook-whatsapp-showcase__row--reverse .aptabook-whatsapp-showcase__copy {
  order: 1;
}
.aptabook-whatsapp-showcase__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #d8ebe0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}
.aptabook-whatsapp-showcase__copy h4 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0a0b10;
}
.aptabook-whatsapp-showcase__copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 28rem;
}
.aptabook-whatsapp-followups {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.aptabook-whatsapp-followups li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dcefe4;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aptabook-whatsapp-followups strong {
  font-size: 1rem;
  color: #0a0b10;
}
.aptabook-whatsapp-followups span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #64748b;
}
@media (max-width: 900px) {
  .aptabook-whatsapp-showcase__row,
  .aptabook-whatsapp-showcase__row--reverse {
    grid-template-columns: 1fr;
  }
  .aptabook-whatsapp-showcase__row--reverse .aptabook-whatsapp-showcase__media,
  .aptabook-whatsapp-showcase__row--reverse .aptabook-whatsapp-showcase__copy {
    order: unset;
  }
  .aptabook-whatsapp-followups {
    grid-template-columns: 1fr;
  }
}

/* Integrations logo strip */
.aptabook-integrations-section {
  padding: 72px 0;
  background: #fff;
}
.aptabook-integrations-section h2 {
  color: #151621;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
}
.aptabook-integrations-section .headline p {
  color: #7a7a7a;
  margin-left: auto;
  margin-right: auto;
}
.aptabook-logo-strip {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.aptabook-logo-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 18px 12px;
  border-radius: 14px;
  border: 1px solid #e8ecf4;
  background: #fafbfd;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.aptabook-logo-strip li:hover {
  border-color: #c7d4fe;
  background: #fff;
  transform: translateY(-2px);
}
.aptabook-logo-strip img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.aptabook-logo-strip .aptabook-integration-whatsapp__icon {
  width: 40px;
  height: 40px;
  font-size: 22px;
  border-radius: 10px;
}
.aptabook-logo-strip span:last-child {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a0b10;
  text-align: center;
}
@media (max-width: 900px) {
  .aptabook-logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Security slate checklist */
.aptabook-security-band {
  background: #0f172a;
  color: #fff;
  padding: 72px 0;
}
.aptabook-security-band h2 {
  color: #fff !important;
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.aptabook-security-band .headline p {
  color: #94a3b8;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.aptabook-security-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.aptabook-security-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: background 0.2s ease;
}
.aptabook-security-list li:hover {
  background: rgba(255, 255, 255, 0.07);
}
.aptabook-security-list__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  filter: brightness(1.1);
}
.aptabook-security-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #fff;
}
.aptabook-security-list span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #94a3b8;
}
@media (max-width: 800px) {
  .aptabook-security-list {
    grid-template-columns: 1fr;
  }
}


/* Keep site footer identical on landing HTML and SPA (Tailwind must not restyle it). */
#pr-mark-footer .pr-mark-footer-social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
#pr-mark-footer .pr-mark-footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  margin-right: 0 !important;
  line-height: 0;
}
#pr-mark-footer .pr-mark-footer-social img {
  display: block !important;
  width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
}
#pr-mark-footer .pr-mark-logo-widget > img {
  display: block;
  max-width: 168px;
  height: auto;
}
#pr-mark-footer .menu-widget ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#pr-mark-footer .menu-widget a {
  color: #7a7a7a !important;
  text-decoration: none !important;
  font-weight: 500;
}
#pr-mark-footer .menu-widget a:hover {
  color: #0a0b10 !important;
}
#pr-mark-footer .ei-copyright-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  #pr-mark-footer .ei-copyright-menu {
    justify-content: flex-start;
  }
}

/* Homepage industries grid (live org types) — equal card height without row overlap */
#aptabook-industries-grid .automation_box1 {
  box-sizing: border-box;
  /* icon 76 + title ~33 + 2-line desc 48 + padding 48 ≈ original footprint */
  min-height: 230px;
}
#aptabook-industries-grid .automation_box1 img {
  width: 45px;
  height: 76px;
  object-fit: contain;
  display: block;
}
#aptabook-industries-grid .automation_box1 h4 {
  margin-top: 0;
  margin-bottom: 8px;
}
#aptabook-industries-grid .automation_box1 p {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 48px; /* 2 × 24px line-height */
}
.aptabook-industries-more {
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 600;
}
.aptabook-industries-more a {
  color: #1b44fe;
  text-decoration: none;
}
.aptabook-industries-more a:hover {
  text-decoration: underline;
}

