/* ==========================================================================
   TallyPrime MENA Subscription page — Bootstrap 5 conversion
   Brand tokens + overrides layered on top of Bootstrap defaults.
   ========================================================================== */

:root {
  --blue: #006ea6;
  --blue-dark: #004f7a;
  --navy: #101a33;
  --yellow: #fcaf1b;
  --sky: #dcf2fb;
  --cream: #fffbe5;
  --ink: #231f20;
  --muted: #5c6478;
  --line: #d8e1e8;
  --shadow: 0 18px 55px rgba(16, 26, 51, .13);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Buttons (brand variants layered on Bootstrap .btn) ---- */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 6px;
}
.btn-sm-custom {
  min-height: 40px;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: #f0a70f;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .14);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .14);
}
.btn-outline-brand {
  border-color: var(--yellow);
  background: #fff;
  color: var(--ink);
}
.btn-outline-brand:hover {
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline-light-brand {
  border-color: var(--yellow);
  color: #fff;
  background: transparent;
}
.btn-outline-light-brand:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.eyebrow {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.text-muted-brand {
  color: var(--muted) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.check-row {
  color: var(--navy);
  font-size: .94rem;
}
.check-row li::marker,
.compact-list li::marker {
  content: none;
}
.check-row li,
.compact-list li {
  list-style: none;
}
.check-row li::before,
.compact-list li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  color: var(--blue);
  font-weight: 900;
}

.text-link {
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: 650px;
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -110px;
  height: 230px;
  background: var(--sky);
  transform: rotate(-5deg);
  z-index: 0;
}
.hero-accent {
  position: absolute;
  right: -80px;
  top: 50px;
  width: 520px;
  height: 340px;
  background: linear-gradient(135deg, #43d2e9 0 45%, var(--yellow) 45% 58%, transparent 58%);
  clip-path: polygon(32% 0, 100% 22%, 78% 100%, 0 74%);
  opacity: .7;
}
.hero-brand {
  position: relative;
  z-index: 3;
  padding-top: 26px;
}
.exit-brand {
  display: inline-block;
}
.exit-brand img {
  width: 104px;
  height: auto;
  transition: opacity .2s ease;
}
.exit-brand:hover img {
  opacity: .7;
}
.hero-grid {
  position: relative;
  z-index: 2;
  padding: 56px 0 132px;
}
.hero h1 {
  max-width: 700px;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
}
.hero-lead {
  max-width: 670px;
  color: #424857;
  font-size: 1.18rem;
  line-height: 1.65;
}
.rtb-soon {
  display: flex;
  align-items: flex-end;
  line-height: 1.2;
}
.rtb-soon::before {
  align-self: flex-end;
}
.soon-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.soon-label {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .85;
}
.rtb-soon a {
  color: var(--navy);
  font-size: .94rem;
  border-bottom: 1px solid rgba(16, 26, 51, .22);
  padding-bottom: 1px;
}
.rtb-soon a:hover {
  border-color: var(--navy);
}

.hero-plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 110, 166, .16);
  border-radius: 12px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.plan-tag {
  position: absolute;
  right: 18px;
  top: 18px;
  border-radius: 4px;
  background: var(--yellow);
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-kicker,
.plan-duration {
  font-weight: 800;
  color: var(--navy);
}
.price,
.card-price,.twelveMonthForBanner {
  font-size: 3.5rem!important;
  font-weight: 750!important;
  letter-spacing: -.04em!important;
  color: var(--navy);
  line-height: 1;
}
.card-price {
  font-size: 3rem;
}
.price span,
.card-price span,.twelveMonthForBanner span {
  font-size: .78rem!important;
  letter-spacing: .06em!important;
}
.usd-reference {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.per-month {
  color: var(--navy);
  font-weight: 700;
  font-size: .92rem;
}
.price-note,
.card-summary {
  color: var(--muted);
}
.microcopy {
  text-align: center;
  color: #687084;
  font-size: .78rem;
}

/* ---- Trust strip ---- */
.trust-strip {
  position: relative;
  z-index: 3;
  background: var(--sky);
}
.trust-item {
  padding: 0 25px;
  border-right: 0;
}
@media (min-width: 768px) {
  .trust-item {
    border-right: 1px solid rgba(0, 110, 166, .22);
  }
  .trust-item:last-child {
    border-right: 0;
  }
}
.trust-item strong {
  color: var(--navy);
  font-size: 1.05rem;
}
.trust-item span {
  color: var(--muted);
  font-size: .83rem;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}
.pale-section {
  background: var(--sky);
}
.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--navy);
}
.section-heading p:last-child,
.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---- Plan & capability cards ---- */
.plan-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  background: #fff;
  height: 100%;
}
.plan-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}
@media (min-width: 992px) {
  .plan-card.featured {
    transform: translateY(-9px);
  }
}
.plan-card .compact-list {
  margin-top: auto;
}
.plans-footnote {
  color: var(--muted);
  font-size: .9rem;
}

.capability {
  min-height: 230px;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(0, 110, 166, .12);
  height: 100%;
}
.capability .number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 110, 166, .28);
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-size: .78rem;
  letter-spacing: .08em;
  font-weight: 800;
}
.capability h3 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.25;
}
.capability p {
  color: var(--muted);
  margin: 0;
}

/* ---- e-invoicing ---- */
.einv {
  background: var(--navy);
  color: #fff;
  padding: 78px 0;
}
.einv .tag {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .8);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.einv h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.einv-copy p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}
.einv-cta {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.einv-cta p.k {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.einv-cta .price {
  font-size: 3rem;
}
.einv-cta p.sub {
  color: var(--muted);
  font-size: .95rem;
}

/* ---- Dashboard proof ---- */
.dashboard-proof-copy h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.dashboard-proof-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.dashboard-frame {
  margin: 0;
  padding: 12px 12px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f3f5f7;
  box-shadow: var(--shadow);
}
.dashboard-frame img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  background: #fff;
}
.dashboard-frame figcaption {
  padding: 10px 6px 2px;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

/* ---- Audience / roles ---- */
.audience-intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}
.role-card {
  padding: 34px;
  border-radius: 12px;
  min-height: 295px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.role-card.owner {
  background: var(--cream);
  border-top: 5px solid var(--yellow);
}
.role-card.accountant {
  background: var(--navy);
  border-top: 5px solid #43d2e9;
  color: #fff;
}
.role-card.accountant h3,
.role-card.accountant p,
.role-card.accountant .role-label {
  color: #fff;
}
.role-card h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 1.28rem;
}
.role-card p {
  margin: 0;
  color: var(--muted);
}
.role-label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
}

/* ---- Steps ---- */
.start-section {
  background: #f5f8fc;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 0 0 28px;
  position: relative;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: 0;
  width: 2px;
  background: #c9d6df;
}
.steps li > span {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}
.steps h3 {
  margin: 2px 0 4px;
  color: var(--navy);
  font-size: 1.28rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---- Testimonials ---- */
.testimonial-section {
  background: var(--blue);
  color: #fff;
  padding: 100px 0;
}
.testimonial-section h2 {
  text-align: center;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.t-intro {
  margin: 0 auto 48px;
  /*max-width: 640px;*/
  text-align: center;
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
}
.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 14px);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.t-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 14px;
  padding: 38px 38px 0;
  min-height: 430px;
  color: var(--ink);
}
.t-card .t-quote-icon {
  width: 46px;
  height: auto;
  margin: 0 0 22px;
  opacity: .28;
}
.t-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 150px);
  gap: 20px;
  align-items: end;
  flex: 1;
}
.t-body p.t-quote {
  margin: 0;
  align-self: start;
  color: #5f6673;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.01em;
}
.t-body img.t-photo {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  object-position: bottom;
  align-self: end;
}
.t-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(16, 26, 51, .12);
}
.t-foot a {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}
.t-foot a:hover {
  text-decoration: underline;
}
.t-who {
  margin-left: auto;
  text-align: right;
}
.t-who strong {
  display: block;
  color: var(--blue);
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.t-who span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
}
.rating-strip {
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .3);
}
.rating-strip span {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
}
.rating-strip strong {
  color: #fff;
}

/* ---- FAQ accordion (jQuery-driven, Bootstrap-styled) ---- */
.faq-section {
  background: #fff;
}
.faq-wrap {
  max-width: 900px;
  margin-inline: auto;
}
.faq-wrap h2 {
  text-align: center;
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.faq-intro {
  margin: 0 auto 46px;
  /*max-width: 620px;*/
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.jq-accordion .jq-item {
  border-top: 1px solid var(--line);
}
.jq-accordion .jq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.jq-accordion .jq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
 /* font-weight: 800;*/
  color: var(--navy);
  padding: 22px 38px 22px 0;
  position: relative;
}
.jq-accordion .jq-trigger::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font-size: 1.7rem;
  color: var(--blue);
  font-weight: 400;
}
.jq-accordion .jq-item.open .jq-trigger::after {
  content: "\2212";
}
.jq-accordion .jq-panel {
  display: none;
  padding: 0 45px 22px 0;
  color: var(--muted);
}
.jq-accordion .jq-panel strong {
  color: var(--navy);
}
.jq-accordion .jq-panel ol {
  margin: 12px 0 0 20px;
  padding: 0;
}
.jq-accordion .jq-panel ol li {
  margin: 4px 0;
}

/* ---- Existing customer strip / final CTA ---- */
.existing-strip {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
}
.existing-strip h2 {
  color: #fff;
  font-size: 2rem;
}
.existing-strip p {
  color: rgba(255, 255, 255, .72);
}
.existing-strip .eyebrow {
  color: var(--yellow);
}
.final-cta {
  background: var(--blue);
  color: #fff;
  padding: 80px 0;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  letter-spacing: -.035em;
}
.final-cta .eyebrow {
  color: var(--yellow);
}

/* ---- Footer ---- */
.site-footer {
  background: #071426;
  color: #fff;
  padding: 32px 0;
}
.footer-wrap img {
  width: 80px;
}
.footer-wrap p {
  font-size: .9rem;
  opacity: .7;
}
.footer-wrap a {
  color: var(--yellow);
  font-size: .9rem;
}

/* ---- Mobile sticky buy bar ---- */
.mobile-buy {
  display: none;
}

.btn-blue {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(0, 0, 0, .14);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .plan-card.featured {
    transform: none;
  }
  .role-card {
    min-height: 230px;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 72px;
  }
  .hero {
    min-height: auto;
  }
  .hero-accent {
    right: -40px;
    width: 260px;
    height: 170px;
  }
  .hero-grid {
    padding: 34px 0 95px;
  }
  .exit-brand img {
    width: 88px;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero-lead {
    font-size: 1.04rem;
  }
  .section {
    padding: 70px 0;
  }
  .trust-item {
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(0, 110, 166, .18);
  }
  .t-track {
    grid-auto-columns: 88%;
  }
  .t-card {
    padding: 30px 26px 0;
    min-height: 0;
  }
  .t-body {
    grid-template-columns: 1fr;
  }
  .t-body img.t-photo {
    display: none;
  }
  .t-body p.t-quote {
    font-size: 1.2rem;
  }
  .t-foot {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 26px;
  }
  .t-who {
    margin-left: 0;
    text-align: left;
  }
  .mobile-buy {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px rgba(16, 26, 51, .12);
  }
  .mobile-buy .stack {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .mobile-buy span {
    font-size: .72rem;
    color: var(--muted);
  }
  .mobile-buy strong {
    color: var(--navy);
  }
  .mobile-buy .btn {
    min-height: 45px;
    padding: 10px 18px;
  }
}

.videosRepeater .video-thumb-wrap {
  position: relative;
  display: inline-block;
}
.videosRepeater .playBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.videosRepeater .slick-slide .playBtn{
  width: 3rem!important;
}
.slick-next {
    right: 0px!important;
}
@media (min-width: 280px) {
    .videosRepeater .slick-slide img {
        width: 24rem;
    }
}
@media (min-width: 425px) {
    .videosRepeater .slick-slide img {
        width: 27rem;
    }
}
@media (min-width: 576px) {
    .videosRepeater .slick-slide img {
        width: 16rem;
    }
}
@media (min-width: 768px) {
    .videosRepeater .slick-slide img {
        width: 14rem;
    }
}
@media (min-width: 992px) {
    .videosRepeater .slick-slide img {
        width: 25rem;
    }
}
@media (min-width: 1024px) {
    .videosRepeater .slick-slide img {
        width: 19rem;
    }
}
@media (min-width: 1200px) {
    .videosRepeater .slick-slide img {
        width: 22rem;
    }
}

@media (min-width: 1440px) {
    .videosRepeater .slick-slide img {
        width: 26rem;
    }
}
@media (min-width: 1920px) {
    .videosRepeater .slick-slide img {
        width: 26rem;
    }
}