/* ============================================================
   OPERA — Light Theme Design System v2
   Palette: #4290C6 · #698ECE · #5B93CD · #A39BDB · #E9D1E4
   ============================================================ */

:root {
  --c-blue:    #4290C6;
  --c-mid:     #698ECE;
  --c-lt:      #5B93CD;
  --c-purple:  #A39BDB;
  --c-pink:    #E9D1E4;
  --c-navy:    #0d1b3e;
  --c-navy2:   #152444;
  --c-white:   #ffffff;
  --c-bg:      #f6f8fd;
  --c-bg2:     #eef1f9;
  --c-text:    #0f1a2e;
  --c-body:    #2d3f5e;
  --c-muted:   #6b7fa3;
  --c-muted2:  #9ba8c0;
  --border:    rgba(66,144,198,0.15);
  --border2:   rgba(66,144,198,0.08);
  --radius:    18px;
  --radius-sm: 12px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --pad:       clamp(20px,4vw,60px);
  --maxw:      1280px;
  --sec:       clamp(72px,9vw,116px);

  /* legacy aliases so feature-page inline styles still work */
  --bg:          var(--c-bg);
  --bg-2:        var(--c-bg2);
  --card:        var(--c-white);
  --card-2:      var(--c-bg);
  --card-hi:     var(--c-bg2);
  --border-strong: rgba(66,144,198,0.25);
  --text:        var(--c-text);
  --muted:       var(--c-muted);
  --muted-2:     var(--c-muted2);
  --gold:        var(--c-blue);
  --gold-bright: var(--c-lt);
  --gold-soft:   rgba(66,144,198,0.10);
  --gold-line:   rgba(66,144,198,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', 'General Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
p, li, .lede, .sec-head p, .fp-subhead, .fp-ov-desc, .fp-step-panel p,
.fp-hi-card p, .fp-testi-card blockquote, .fp-faq-a p, .fp-cta-sub,
.hiw-content p, .step-content p, .uc-card p, .cmp-card p, blockquote {
  text-align: justify;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--c-navy); }
h1 { font-size: clamp(28px,4vw,44px); }
h2 { font-size: clamp(22px,3.5vw,40px); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   NAV — floating glass pill (feature pages)
   ============================================================ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 999; width: calc(100% - 32px); max-width: 1180px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.55); border-radius: 999px;
  box-shadow: 0 4px 24px rgba(13,27,62,0.07);
  transition: background .35s, box-shadow .35s;
}
.nav.scrolled { background: rgba(255,255,255,0.72); box-shadow: 0 6px 30px rgba(13,27,62,0.10); }

.nav-inner {
  display: flex; align-items: center; height: 54px;
  padding: 0 12px 0 18px; gap: 0; max-width: none;
}

/* logo */
.logo {
  display: flex; align-items: center; gap: 8px; flex: none;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 18px;
  color: var(--c-navy); letter-spacing: -0.01em;
}
.logo img.logo-img { height: 30px; width: auto; display: block; }
.logo .mark {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--c-blue), var(--c-purple), var(--c-pink), var(--c-blue));
  animation: markSpin 6s linear infinite;
}
@keyframes markSpin { to { transform: rotate(360deg); } }
/* legacy mark inner spans */
.logo .mark span { display: none; }

/* nav menu */
.nav-menu {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px;
}
.nav-item { position: relative; }
.nav-item::after { content: ''; position: absolute; top: 100%; left: -12px; right: -12px; height: 12px; }
.nav-link {
  display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px;
  font-size: 13.5px; font-weight: 500; color: var(--c-body); border-radius: 999px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-link:hover { color: var(--c-navy); background: rgba(66,144,198,0.08); }
.chev { opacity: .45; transition: transform .2s; }
.nav-item:hover .chev { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 200;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 14px;
  box-shadow: 0 20px 50px rgba(66,144,198,0.15);
  display: none;
}
.dropdown.wide { min-width: 580px; display: none; grid-template-columns: repeat(3,1fr); gap: 4px; }
.dropdown.single { min-width: 200px; display: none; flex-direction: column; gap: 2px; }
.nav-item:hover .dropdown.wide { display: grid; }
.nav-item:hover .dropdown.single { display: flex; }
.dd-col { display: flex; flex-direction: column; gap: 1px; }
.dd-col-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted2); padding: 7px 10px 4px; }
.dd-link { font-size: 13.5px; color: var(--c-body); padding: 7px 10px; border-radius: 10px; transition: background .15s, color .15s; }
.dd-link:hover { background: var(--c-bg); color: var(--c-navy); }
.business-dropdown { min-width: 520px !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px 12px !important; }
.dd-overview {
  grid-column: 1/-1; min-height: 66px; padding: 12px 14px; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(120deg,rgba(66,144,198,.12),rgba(124,94,221,.08));
  border: 1px solid rgba(66,144,198,.16); color: var(--c-navy);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dd-overview:hover { transform: translateY(-1px); border-color: rgba(66,144,198,.32); background: linear-gradient(120deg,rgba(66,144,198,.17),rgba(124,94,221,.11)); }
.dd-overview:focus-visible { outline: 3px solid rgba(66,144,198,.32); outline-offset: 2px; }
.dd-overview strong { display: block; font-size: 14px; color: var(--c-navy); }
.dd-overview small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.55; color: var(--c-muted); }
.dd-overview-arrow { flex: none; font-size: 20px; color: var(--c-blue); transition: transform .18s ease; }
.dd-overview:hover .dd-overview-arrow { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) {
  .dd-overview, .dd-overview-arrow { transition: none; }
}
.dd-promo { margin-top: 10px; padding: 14px; border-top: 1px solid var(--border); grid-column: 1/-1; }
.dd-promo b { font-size: 13px; color: var(--c-navy); }
.dd-promo span { display: block; font-size: 12.5px; color: var(--c-muted); margin: 4px 0 10px; }

/* nav actions */
.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; margin-left: 8px; }
.login { font-size: 13.5px; font-weight: 500; color: var(--c-body); padding: 0 8px; transition: color .2s; }
.login:hover { color: var(--c-navy); }
.btn {
  height: 34px; padding: 0 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center;
  transition: all .2s; border: none;
}
.btn-solid { background: var(--c-navy); color: #fff; }
.btn-solid:hover { background: var(--c-blue); }
.btn-outline { background: transparent; color: var(--c-body); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--c-blue); color: var(--c-blue); background: rgba(66,144,198,0.06); }

/* lang toggle */
.lang-toggle { display: flex; align-items: center; background: var(--c-bg); border: 1px solid var(--border); border-radius: 999px; padding: 2px; gap: 1px; }
.lang-btn { height: 26px; padding: 0 10px; border-radius: 999px; border: none; background: transparent; font-size: 12px; font-weight: 600; color: var(--c-muted); cursor: pointer; transition: all .2s; }
.lang-btn.active { background: var(--c-blue); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--c-navy); }

/* mobile toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--c-body); padding: 4px; margin-left: 8px; }

/* drawer elements — hidden everywhere except inside open drawer (rules in @media block) */
.mob-head { display: none; }
.mob-lang-row { display: none; }
.mob-menu-scroll { display: contents; }
.mob-lang-btn {
  flex:1; padding:9px 12px; border-radius:8px;
  border:1.5px solid #e5e7eb; background:transparent;
  font-size:13px; font-weight:600; color:#374151; cursor:pointer; transition:all .15s;
}
.mob-lang-btn:hover { border-color:var(--c-blue,#4290c6); color:var(--c-blue,#4290c6); }
.mob-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.mob-logo-img { height:30px; width:auto; }
.mob-logo-text { font-weight:800; font-size:17px; color:#111827; letter-spacing:-.3px; }
.mob-close { background:none; border:none; cursor:pointer; color:#374151; padding:8px; border-radius:10px; display:flex; align-items:center; transition:background .15s; }
.mob-close:hover { background:#f3f4f6; }

/* spacer so page content doesn't hide under fixed nav */
body::before { content: ""; display: block; height: 82px; pointer-events: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); }

.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 14px; font-family: 'Inter', system-ui, sans-serif;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-blue); border-radius: 2px; flex: none; }
.sec-head h2 { font-size: clamp(22px,2.8vw,38px); margin-bottom: 12px; color: var(--c-navy); }
.sec-head p { font-size: clamp(14.5px,1.5vw,17px); color: var(--c-muted); max-width: 58ch; line-height: 1.65; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--c-blue); transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 10px; color: var(--c-navy); }

/* ============================================================
   HERO (feature pages — left-aligned)
   ============================================================ */
.hero-ct {
  padding-top: clamp(60px,8vw,100px);
  padding-bottom: clamp(56px,7vw,90px);
  padding-inline: var(--pad);
}
.hero-ct .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-ct h1 { font-size: clamp(28px,3.8vw,50px); margin-bottom: 16px; color: var(--c-navy); }
.hero-ct h1 em { font-style: normal; color: var(--c-blue); }
.hero-ct .subhead { font-size: clamp(18px,2.2vw,26px); font-family: 'Playfair Display',Georgia,serif; color: var(--c-body); margin-bottom: 18px; }
.hero-ct .lede { color: var(--c-muted); font-size: clamp(15px,1.5vw,17px); max-width: 48ch; margin-bottom: 30px; line-height: 1.65; }
.hero-ct .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

/* centered hero */
.kb-hero, .bc-hero, .ivr-hero, .vp-hero {
  text-align: center;
  padding: clamp(80px,10vw,120px) var(--pad) clamp(60px,8vw,90px);
  position: relative; overflow: hidden;
}
.kb-hero::before, .bc-hero::before, .ivr-hero::before, .vp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(66,144,198,0.18), transparent 60%),
    repeating-linear-gradient(0deg,transparent,transparent 60px,rgba(66,144,198,0.025) 60px,rgba(66,144,198,0.025) 61px),
    repeating-linear-gradient(90deg,transparent,transparent 60px,rgba(66,144,198,0.02) 60px,rgba(66,144,198,0.02) 61px);
}
.kb-hero::after, .bc-hero::after, .ivr-hero::after, .vp-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to bottom, transparent, var(--c-bg)); pointer-events: none;
}
.kb-hero h1, .bc-hero h1, .ivr-hero h1, .vp-hero h1 {
  font-size: clamp(26px,3.8vw,50px); margin-bottom: 20px; max-width: 18ch; margin-inline: auto; color: var(--c-navy);
}
.kb-hero h1 em, .bc-hero h1 em, .ivr-hero h1 em, .vp-hero h1 em { font-style: normal; color: var(--c-blue); }
.kb-hero .lede, .bc-hero .lede, .ivr-hero .lede, .vp-hero .lede {
  color: var(--c-muted); font-size: clamp(15px,1.6vw,18px); max-width: 58ch; margin: 0 auto 32px; line-height: 1.65;
}
.kb-hero .wrap, .bc-hero .wrap, .ivr-hero .wrap, .vp-hero .wrap {
  position: relative; z-index: 2; max-width: 860px;
}
.kb-hero .cta-row, .bc-hero .cta-row, .ivr-hero .cta-row, .vp-hero .cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px;
}

/* ============================================================
   CARDS
   ============================================================ */
/* Highlight rows (feature pages) */
.hiw-step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hiw-step.flip .hiw-media { order: -1; }
.hiw-num {
  font-family: 'Playfair Display',Georgia,serif; font-size: clamp(60px,9vw,110px);
  font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(66,144,198,0.3); letter-spacing: -0.03em; margin-bottom: 14px;
}
.hiw-content h4 { font-size: clamp(20px,2.4vw,30px); margin-bottom: 12px; color: var(--c-navy); }
.hiw-content p  { color: var(--c-muted); font-size: clamp(14.5px,1.5vw,16.5px); max-width: 46ch; margin-bottom: 12px; line-height: 1.65; }
.hiw-caption { font-size: 12.5px; color: var(--c-muted2); font-style: italic; }
.hiw-media {
  border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--c-bg), var(--c-bg2));
  aspect-ratio: 16/11; display: grid; place-items: center;
  box-shadow: 0 20px 60px rgba(66,144,198,0.12); overflow: hidden;
}

/* Steps */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 0 36px; align-items: start; padding-bottom: 48px; }
.step:last-child { padding-bottom: 0; }
.step-num-col { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  border: 2px solid rgba(66,144,198,0.3); background: rgba(66,144,198,0.08);
  display: grid; place-items: center; font-family: 'Playfair Display',Georgia,serif;
  font-weight: 600; font-size: 20px; color: var(--c-blue);
}
.step-connector { flex: 1; width: 2px; background: rgba(66,144,198,0.15); margin-top: 8px; min-height: 40px; }
.step:last-child .step-connector { display: none; }
.step-content { padding-top: 8px; }
.step-content h4 { font-size: clamp(18px,2vw,23px); margin-bottom: 10px; color: var(--c-navy); }
.step-content p { color: var(--c-muted); font-size: 15px; max-width: 46ch; margin-bottom: 10px; line-height: 1.65; }
.step-caption { font-size: 12.5px; color: var(--c-muted2); font-style: italic; margin-bottom: 12px; }
.step-media {
  border-radius: 16px; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--c-bg), var(--c-bg2));
  aspect-ratio: 4/3; display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(66,144,198,0.1); margin-top: 8px; overflow: hidden;
}

/* Highlight cards (4-up) */
.hi-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .2s;
}
.hi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(66,144,198,0.1); border-color: rgba(66,144,198,0.3); }
.hi-card .fic {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(66,144,198,0.12), rgba(163,155,219,0.12));
  border: 1px solid var(--border); color: var(--c-blue); display: grid; place-items: center;
}
.hi-card h4 { font-size: 17px; margin-bottom: 9px; color: var(--c-navy); }
.hi-card p  { font-size: 14.5px; color: var(--c-muted); line-height: 1.6; }

/* Use case cards */
.uc-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.uc-card:hover { border-color: rgba(66,144,198,0.3); box-shadow: 0 10px 30px rgba(66,144,198,0.08); }
.uc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.uc-logo-ph {
  height: 30px; padding: 0 12px; border-radius: 8px;
  background: var(--c-bg2); border: 1px solid var(--border);
  display: flex; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--c-muted2);
}
.quote-icon { color: var(--c-blue); opacity: .4; }
.uc-card blockquote { font-family: 'Playfair Display',Georgia,serif; font-size: 16.5px; line-height: 1.5; color: var(--c-navy); flex: 1; }
.uc-card .person { display: flex; align-items: center; gap: 12px; }
.uc-card .avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); display: grid; place-items: center; font-weight: 700; color: #fff; font-family: 'Inter',sans-serif; font-size: 13px; }
.uc-card .pname { font-weight: 600; font-size: 13.5px; color: var(--c-navy); }
.uc-card .ptitle { color: var(--c-muted2); font-size: 12.5px; }

/* Compare cards */
.cmp-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, transform .3s var(--ease);
}
.cmp-card:hover { border-color: rgba(66,144,198,0.3); transform: translateY(-3px); }
.cmp-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-blue); font-family: 'Inter',sans-serif; }
.cmp-card h4 { font-size: 19px; color: var(--c-navy); }
.cmp-card p  { color: var(--c-muted); font-size: 14.5px; flex: 1; line-height: 1.6; }

/* Overview columns */
.ov-col {
  padding: 24px; border-radius: var(--radius); background: var(--c-white); border: 1px solid var(--border);
  transition: border-color .25s, transform .25s var(--ease);
}
.ov-col:hover { border-color: rgba(66,144,198,0.3); transform: translateY(-3px); }
.ov-col .fic {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(66,144,198,0.12), rgba(163,155,219,0.12));
  border: 1px solid var(--border); color: var(--c-blue); display: grid; place-items: center;
}
.ov-col h4 { font-size: 19px; margin-bottom: 8px; color: var(--c-navy); }
.ov-col p  { color: var(--c-muted); font-size: 14.5px; line-height: 1.6; }

/* Capability blocks */
.cap-text h3 { font-size: clamp(20px,2.5vw,28px); margin-bottom: 12px; color: var(--c-navy); }
.cap-text .desc { color: var(--c-muted); font-size: 15px; margin-bottom: 16px; }
.cap-text .eyebrow { margin-bottom: 10px; }
.cap-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cap-bullets li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--c-body); }
.cap-bullets li::before { content: "✓"; color: var(--c-blue); font-weight: 700; flex: none; margin-top: 2px; }

/* Overview overview-v2 cards (book-appointments side by side) */
.ov-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.ov-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--c-navy); }
.ov-card .desc { color: var(--c-muted); font-size: 14px; margin-bottom: 14px; }
.ov-bullets { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ov-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--c-body); }
.ov-bullets li::before { content: "✓"; color: var(--c-blue); font-weight: 700; flex: none; }

/* Use-case 3-col */
.uc3-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.uc3-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s, transform .3s var(--ease);
}
.uc3-card:hover { border-color: rgba(66,144,198,0.3); transform: translateY(-4px); }
.uc3-photo {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c-bg2), var(--c-bg));
  display: grid; place-items: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.uc3-photo .ph-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 18px,rgba(66,144,198,.04) 18px,rgba(66,144,198,.04) 19px); }
.uc3-photo .ph-icon { opacity: .3; color: var(--c-blue); }
.uc3-body { padding: 22px; }
.uc3-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 8px; font-family: 'Inter',sans-serif; }
.uc3-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--c-navy); }
.uc3-card p  { color: var(--c-muted); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--c-bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--c-bg), transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: mqScroll 28s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.logo-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 0 22px; height: 44px; font-size: 14.5px; font-weight: 600;
  color: var(--c-muted2); white-space: nowrap;
}
.logo-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); opacity: .4; flex: none; }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--c-navy); text-align: left; cursor: pointer;
  font-family: 'Inter',system-ui,sans-serif; transition: color .2s;
}
.faq-q:hover { color: var(--c-blue); }
.pm {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--c-bg); flex: none; display: grid; place-items: center; color: var(--c-blue);
  transition: background .2s, transform .2s;
}
.faq-item.open .pm { background: var(--c-blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 18px; font-size: 15px; color: var(--c-muted); line-height: 1.7; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--c-white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s, transform .3s var(--ease);
}
.blog-card:hover { border-color: rgba(66,144,198,0.3); transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c-bg2), var(--c-bg));
  display: grid; place-items: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.thumb-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent,transparent 18px,rgba(66,144,198,.04) 18px,rgba(66,144,198,.04) 19px); }
.thumb-icon { opacity: .25; color: var(--c-blue); }
.blog-body { padding: 20px; }
.blog-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  background: var(--c-bg2); border: 1px solid var(--border); color: var(--c-muted2); font-family: 'Inter',sans-serif;
}
.blog-tag.customer { background: rgba(66,144,198,0.1); border-color: rgba(66,144,198,0.25); color: var(--c-blue); }
.blog-card h4 { font-size: 16px; margin-bottom: 7px; color: var(--c-navy); }
.blog-card .excerpt { color: var(--c-muted); font-size: 13.5px; margin-bottom: 12px; line-height: 1.55; }
.blog-card .date { color: var(--c-muted2); font-size: 12.5px; }

/* ============================================================
   SECURITY SLIDER
   ============================================================ */
.sccard {
  flex: none; width: 300px; background: var(--c-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color .25s;
}
.sccard:hover { border-color: rgba(66,144,198,0.3); }
.sccard .fic {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(66,144,198,0.12), rgba(163,155,219,0.12));
  border: 1px solid var(--border); color: var(--c-blue); display: grid; place-items: center;
}
.sccard h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--c-navy); }
.sccard p  { font-size: 13px; color: var(--c-muted); line-height: 1.55; }

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.carousel-head .sec-head { margin: 0; }
.carousel-btns { display: flex; gap: 8px; }
.carr-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--c-white); display: grid; place-items: center; color: var(--c-body); cursor: pointer;
  transition: all .2s;
}
.carr-btn:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ============================================================
   FEATURE BAND
   ============================================================ */
.feature-band { background: linear-gradient(180deg, var(--c-bg2), var(--c-bg)); border-block: 1px solid var(--border); padding-block: clamp(56px,8vw,100px); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--c-navy), #1a3a7a); border-radius: 30px; margin: 0 var(--pad) var(--pad); padding: clamp(56px,9vw,100px) var(--pad); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(66,144,198,0.35), transparent 60%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(163,155,219,0.25), transparent 55%); }
.cta-banner h2 { position: relative; font-size: clamp(24px,3.2vw,44px); color: #fff; margin-bottom: 14px; max-width: 20ch; margin-inline: auto; }
.cta-banner p { position: relative; color: rgba(255,255,255,0.65); font-size: 17px; margin-bottom: 30px; }
.cta-banner .cta-row { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CTA grid (two-col with visual) */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, rgba(66,144,198,0.08), transparent 60%), var(--c-white); border: 1px solid rgba(66,144,198,0.25); border-radius: 26px; padding: clamp(36px,5vw,62px); margin-inline: var(--pad); }
.cta-grid h2 { font-size: clamp(22px,3vw,38px); margin-bottom: 12px; color: var(--c-navy); }
.cta-grid .sub { color: var(--c-muted); font-size: clamp(14.5px,1.6vw,17px); margin-bottom: 24px; }
.cta-grid .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-visual { border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(160deg, var(--c-bg2), var(--c-bg)); aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden; }
.cta-visual .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(66,144,198,0.25); animation: cvExpand 3s ease-out infinite; }
.cta-visual .ring:nth-child(1){ width:80px; height:80px; animation-delay:0s; }
.cta-visual .ring:nth-child(2){ width:140px; height:140px; animation-delay:.6s; }
.cta-visual .ring:nth-child(3){ width:210px; height:210px; animation-delay:1.2s; }
@keyframes cvExpand { 0%{ opacity:.9; transform:scale(.7); } 100%{ opacity:0; transform:scale(1.4); } }
.cta-visual .inner { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--c-blue); display: grid; place-items: center; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--c-navy); padding: clamp(56px,7vw,88px) var(--pad) 32px; }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; align-items: start; }
.foot-slogan { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(22px,3vw,36px); font-weight: 500; color: #fff; margin-bottom: 24px; }
.foot-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
.mini-cta { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 22px; }
.mini-cta h4 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; font-family: 'Inter',sans-serif; }
.mini-cta p { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; line-height: 1.5; }
.mini-cta .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.mini-cta .row .btn {
  width: 100%; min-width: 0; height: auto; min-height: 40px; padding: 8px 10px;
  justify-content: center; text-align: center; line-height: 1.45; white-space: normal;
}
.mini-cta .row .btn-solid { background: #fff; color: var(--c-navy); font-size: 13px; }
.mini-cta .row .btn-outline { font-size: 13px; color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.15); }
.foot-cols { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px 14px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 40px; margin-bottom: 40px; }
.foot-col h5 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; font-family: 'Inter',sans-serif; }
.foot-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); padding: 3.5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; gap: 12px; flex-wrap: wrap; }
.copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.legal { display: flex; gap: 16px; flex-wrap: wrap; }
.legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color .15s; }
.legal a:hover { color: rgba(255,255,255,0.75); }

/* ============================================================
   DISCOVER MORE
   ============================================================ */
.discover-more { text-align: center; }
.discover-more h3 { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(22px,2.8vw,32px); margin-bottom: 22px; color: var(--c-navy); }
.pill-cluster { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill-link { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--c-white); border: 1px solid var(--border); color: var(--c-body); font-size: 14px; font-weight: 500; transition: all .2s; }
.pill-link:hover { color: var(--c-blue); border-color: rgba(66,144,198,0.4); background: rgba(66,144,198,0.06); }

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle { display: flex; align-items: center; background: var(--c-bg); border: 1px solid var(--border); border-radius: 999px; padding: 2px; gap: 1px; }
.lang-btn { height: 26px; padding: 0 10px; border-radius: 999px; border: none; background: transparent; font-size: 12px; font-weight: 600; color: var(--c-muted); cursor: pointer; transition: all .2s; }
.lang-btn.active { background: var(--c-blue); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--c-navy); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-el { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal-el.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hiw-step { grid-template-columns: 1fr; gap: 28px; }
  .hiw-step.flip .hiw-media { order: 0; }
  .step { grid-template-columns: 60px 1fr; }
  .step-media { display: none; }
  .uc3-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .hi-grid { grid-template-columns: repeat(2,1fr); }
  /* Desktop nav items hidden on mobile — drawer handles navigation */
  .nav-menu { visibility: hidden; }
  .nav-toggle { display: flex !important; width:44px; height:44px; align-items:center; justify-content:center; border-radius:10px; transition:background .15s; }
  .nav-toggle:hover { background:rgba(66,144,198,.08); }
  .foot-cols { grid-template-columns: repeat(3,1fr); }

  /* ============================================================
     MOBILE NAV: Fix .nav transform so position:fixed children
     use the viewport as their containing block (not .nav).
     This is required because .nav has transform:translateX(-50%)
     which would otherwise trap all position:fixed descendants.
  ============================================================ */
  .nav {
    left: 16px !important; right: 16px !important;
    transform: none !important;
    width: auto !important; max-width: none !important;
    border-radius: 16px !important; top: 10px !important;
  }

  /* ---- Mobile nav overlay ---- */
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(17,24,39,.52); z-index: 996;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.active { display: block; animation: navOverlayIn .22s ease both; }
  @keyframes navOverlayIn { from { opacity:0; } to { opacity:1; } }
  body.nav-open { overflow: hidden; }

  /* ---- Hamburger → X icon swap ---- */
  .nav-toggle .nav-close-icon { display: none; }
  .nav-toggle[aria-expanded="true"] > svg:not(.nav-close-icon) { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-close-icon { display: block; }

  /* ---- Drawer panel ----
     Uses transform (not display:none) so slide animation works.
     visibility:hidden removes it from tab/SR order when closed.
     transition delay on visibility waits for slide-out to finish.
  ---- */
  .nav-menu,
  .nav-center {
    display: flex !important; flex-direction: column !important;
    position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important;
    width: min(90vw, 340px) !important; height: 100vh !important; height: 100dvh !important;
    background: #fff !important; border-radius: 0 !important; border: none !important;
    z-index: 998 !important; padding: 0 !important; gap: 0 !important;
    box-shadow: -8px 0 48px rgba(0,0,0,.2) !important;
    overflow: hidden !important;
    /* Closed state */
    transform: translateX(105%) !important;
    visibility: hidden !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear .3s !important;
  }
  /* Open state — slide in */
  .nav-menu[data-open="1"],
  .nav-center[data-open="1"] {
    transform: translateX(0) !important;
    visibility: visible !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s !important;
  }

  /* ---- Drawer: sticky header ---- */
  .nav-menu[data-open="1"] .mob-head,
  .nav-center[data-open="1"] .mob-head {
    display: flex !important; align-items: center; justify-content: space-between;
    width: 100%; align-self: stretch; padding: 0 20px; border-bottom: 1px solid #e5e7eb;
    position: relative; background: #fff; z-index: 3;
    height: 64px; min-height: 64px; flex: 0 0 64px;
    box-shadow: 0 8px 20px rgba(17,24,39,.06);
  }

  .nav-menu[data-open="1"] .mob-menu-scroll,
  .nav-center[data-open="1"] .mob-menu-scroll {
    display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; scrollbar-gutter: stable;
  }

  /* ---- Drawer: nav items ---- */
  .nav-menu[data-open="1"] .nav-item,
  .nav-center[data-open="1"] .nav-item { width: 100%; border-bottom: 1px solid #f3f4f6; }
  .nav-menu[data-open="1"] .nav-link,
  .nav-center[data-open="1"] .nav-link {
    padding: 0 20px; display: flex; justify-content: space-between;
    align-items: center; width: 100%; font-size: 15px; font-weight: 500;
    color: #111827; height: auto; border-radius: 0; min-height: 52px;
    touch-action: manipulation;
  }
  .nav-menu[data-open="1"] .nav-link:hover,
  .nav-center[data-open="1"] .nav-link:hover { background: #f9fafb; }

  /* ---- Drawer: accordion dropdowns ---- */
  .nav-menu[data-open="1"] .nav-item:hover .dropdown,
  .nav-center[data-open="1"] .nav-item:hover .dropdown { display: none !important; }
  .nav-menu[data-open="1"] .dropdown,
  .nav-center[data-open="1"] .dropdown {
    position: static !important; box-shadow: none !important; border: none !important;
    min-width: 0 !important; background: #f8f9fa !important;
    border-radius: 0; padding: 4px 0; display: none; grid-template-columns: 1fr !important;
  }
  .nav-menu[data-open="1"] .nav-item.dd-open > .nav-link .chev,
  .nav-center[data-open="1"] .nav-item.dd-open > .nav-link .chev {
    transform: rotate(180deg); transition: transform .2s ease;
  }
  .nav-menu[data-open="1"] .nav-item.dd-open .dropdown,
  .nav-center[data-open="1"] .nav-item.dd-open .dropdown { display: flex !important; flex-direction: column; }
  .nav-menu[data-open="1"] .dd-col,
  .nav-center[data-open="1"] .dd-col { width: 100%; }
  .nav-menu[data-open="1"] .dd-col-title,
  .nav-center[data-open="1"] .dd-col-title,
  .nav-center[data-open="1"] .dd-title {
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: #9ca3af; padding: 10px 24px 4px; font-weight: 700;
  }
  .nav-menu[data-open="1"] .dd-link,
  .nav-center[data-open="1"] .dd-link {
    font-size: 14px; padding: 0 28px; display: flex; align-items: center;
    min-height: 44px; color: #374151; touch-action: manipulation;
  }
  .nav-menu[data-open="1"] .dd-link:hover,
  .nav-center[data-open="1"] .dd-link:hover { background: #f3f4f6; color: #111827; }
  .nav-menu[data-open="1"] .dd-overview,
  .nav-center[data-open="1"] .dd-overview {
    order: -1; min-height: 56px; margin: 4px 16px 6px; padding: 10px 12px;
    border-radius: 12px; transform: none; touch-action: manipulation;
  }
  .nav-menu[data-open="1"] .dd-overview small,
  .nav-center[data-open="1"] .dd-overview small { font-size: 11.5px; }
  .nav-menu[data-open="1"] .dd-promo,
  .nav-center[data-open="1"] .dd-promo { display: none; }

  /* ---- Drawer: language row ---- */
  .nav-menu[data-open="1"] .mob-lang-row,
  .nav-center[data-open="1"] .mob-lang-row {
    display: flex !important; align-items: center; gap: 8px;
    padding: 20px; margin-top: auto; border-top: 1px solid #e5e7eb;
  }

  /* ---- Hide desktop-only nav elements on mobile ---- */
  .nav-actions .login,
  .nav-actions .btn-outline { display: none; }
  .nav-right .nav-login,
  .nav-right .btn-solid-nav,
  .nav-right .btn-outline-nav { display: none; }
}
@media (max-width: 768px) {
  .hero-ct .wrap { grid-template-columns: 1fr; }
  .uc3-grid, .blog-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3,1fr); }
  .foot-actions { grid-template-columns: 1fr; }
  .hl-inner { grid-template-columns: 1fr !important; gap: 28px; }
  .compare-grid { grid-template-columns: 1fr; }
  .omni-grid { grid-template-columns: repeat(2,1fr); }
  .cta-banner { margin: 0 10px 40px; border-radius: 18px; padding: 40px 20px; }
  .wrap { padding-inline: 16px; }
  .sccard { width: auto; flex: 0 0 calc(85vw); }
  p, li { text-align: left !important; }
}
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: repeat(2,1fr); }
  .foot-bottom { flex-direction: column; gap: 10px; align-items: center; }
  .foot-bottom .legal { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hi-grid { grid-template-columns: 1fr; }
  .omni-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding-block: clamp(36px,8vw,64px); }
  .hiw-step { gap: 20px; }
  .cta-banner p { font-size: 15px; }
}

/* ============================================================
   RTL (Farsi)
   ============================================================ */
/* RTL nav — logo flips to right side on ALL pages */
[dir="rtl"] .nav-inner   { flex-direction: row-reverse !important; }
/* nav-menu keeps original LTR item order (Product first → Company last) */
[dir="rtl"] .nav-menu    { flex-direction: row !important; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; margin-left: 0; margin-right: 8px; }
/* order overrides push logo to right end in RTL+row-reverse context */
[dir="rtl"] .logo        { order: 9; }
[dir="rtl"] .nav-menu    { order: 5; }
[dir="rtl"] .nav-actions { order: 1; }
[dir="rtl"] .nav-toggle  { order: 0; }

/* Mobile RTL header: logo on the left, menu trigger on the right.
   Keep the language toggle and trial CTA together in the middle. */
@media (max-width: 960px) {
  [dir="rtl"] .nav-inner { justify-content: space-between; }
  [dir="rtl"] .nav-inner > .logo { order: 0; }
  [dir="rtl"] .nav-inner > .nav-actions { order: 1; margin: 0; }
  [dir="rtl"] .nav-inner > .nav-toggle { order: 9; margin: 0; flex: none; }
}

@media (max-width: 390px) {
  [dir="rtl"] .nav-inner { padding-inline: 8px; }
  [dir="rtl"] .nav-inner > .logo { gap: 4px; font-size: 16px; }
  [dir="rtl"] .nav-inner > .logo img.logo-img { height: 26px; }
  [dir="rtl"] .nav-inner > .nav-actions { gap: 3px; }
  [dir="rtl"] .nav-inner .lang-btn { padding-inline: 6px; }
  [dir="rtl"] .nav-inner .nav-actions .btn-solid { padding-inline: 10px; font-size: 12px; white-space: nowrap; }
  [dir="rtl"] .nav-inner > .nav-toggle { width: 40px; height: 40px; }
}

[dir="rtl"] .dropdown, [dir="rtl"] .dropdown.wide, [dir="rtl"] .dropdown.single { left: auto; right: 0; }
[dir="rtl"] .dd-col { text-align: right; }

[dir="rtl"] .eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .eyebrow::before { display: none; }
[dir="rtl"] .eyebrow::after { content: ""; width: 18px; height: 2px; background: var(--c-blue); border-radius: 2px; flex: none; }

[dir="rtl"] .sec-head { text-align: right; }
[dir="rtl"] .sec-head.center { text-align: center; align-items: center; }
[dir="rtl"] .sec-head.center .eyebrow { align-self: center; }
[dir="rtl"] .sec-head p { margin-inline: 0; }
[dir="rtl"] .sec-head.center p { margin-inline: auto; }

[dir="rtl"] .hero-ct .wrap { direction: rtl; }
[dir="rtl"] .hero-ct .cta-row { justify-content: flex-start; flex-direction: row-reverse; }
[dir="rtl"] .hero-ct h1, [dir="rtl"] .hero-ct .lede, [dir="rtl"] .hero-ct .subhead { text-align: right; }

[dir="rtl"] .kb-hero, [dir="rtl"] .bc-hero, [dir="rtl"] .ivr-hero, [dir="rtl"] .vp-hero { text-align: center; }

[dir="rtl"] .faq { text-align: right; direction: rtl; }
[dir="rtl"] .faq-q { flex-direction: row !important; direction: rtl !important; justify-content: space-between !important; }
[dir="rtl"] .faq-q .pm { order: -1 !important; }
[dir="rtl"] .faq-q > span:first-child { flex: 1; text-align: right; direction: rtl; }
[dir="rtl"] .faq-a p { text-align: right; direction: rtl; }

[dir="rtl"] .hiw-step { direction: rtl; }
[dir="rtl"] .hiw-content { text-align: right; }
[dir="rtl"] .step { direction: rtl; }
[dir="rtl"] .step-content { text-align: right; }

[dir="rtl"] .hi-card, [dir="rtl"] .uc-card, [dir="rtl"] .cmp-card, [dir="rtl"] .ov-col { text-align: right; }
[dir="rtl"] .uc-card .person { flex-direction: row-reverse; }

[dir="rtl"] .cap-bullets li { direction: rtl !important; text-align: right !important; }
[dir="rtl"] .ov-bullets li { direction: rtl !important; text-align: right !important; }

[dir="rtl"] .cap-text { text-align: right; }
[dir="rtl"] .uc3-card .uc3-body { text-align: right; }
[dir="rtl"] .sccard { text-align: right; }

[dir="rtl"] .marquee, [dir="rtl"] .marquee-track { direction: ltr; }

[dir="rtl"] .foot-top { direction: rtl; }
[dir="rtl"] .foot-cols { direction: rtl; }
[dir="rtl"] .foot-col { text-align: right; }
[dir="rtl"] .foot-bottom { flex-direction: row; }
[dir="rtl"] .legal { flex-direction: row-reverse; }
[dir="rtl"] .mini-cta { text-align: right; }
[dir="rtl"] .mini-cta .row { flex-direction: row-reverse; }

[dir="rtl"] .link-arrow { flex-direction: row-reverse; }
[dir="rtl"] .link-arrow svg { transform: rotate(180deg); }
[dir="rtl"] .link-arrow:hover svg { transform: rotate(180deg) translateX(-4px); }

[dir="rtl"] .blog-body, [dir="rtl"] .blog-card h4 { text-align: right; }
[dir="rtl"] .pill-cluster { direction: rtl; }
[dir="rtl"] .discover-more { text-align: center; }
[dir="rtl"] .cta-banner h2, [dir="rtl"] .cta-banner p { text-align: center; }
[dir="rtl"] .cta-banner .cta-row { flex-direction: row-reverse; }
[dir="rtl"] .cta-grid { direction: rtl; }
[dir="rtl"] .cta-grid h2, [dir="rtl"] .cta-grid .sub { text-align: right; }
[dir="rtl"] .cta-grid .cta-row { direction: rtl; justify-content: flex-start; }
[dir="rtl"] .carousel-head { flex-direction: row-reverse; }
[dir="rtl"] .ov-card { text-align: right; }

/* Homepage RTL additions */
[dir="rtl"] .compare-card { text-align: right; }
[dir="rtl"] .compare-card .feat-list li { flex-direction: row-reverse; }
[dir="rtl"] .tag { }
[dir="rtl"] .demo-right .desc { text-align: right; }
[dir="rtl"] .form-field label { text-align: right; }
[dir="rtl"] .demo-right { text-align: right; }

/* RTL mobile: drawer must be column (overrides [dir=rtl] .nav-menu { flex-direction:row }) */
@media (max-width: 960px) {
  [dir="rtl"] .nav-menu,
  [dir="rtl"] .nav-center { flex-direction: column !important; }
}
