/* ==========================================================================
   CorpoAlert — Public Site Design Tokens & Base Components (T1)
   See /design-web.md for rationale. Load LAST in <head>, after style.css /
   responsive.css / navbar.css, so these rules win without !important.
   ========================================================================== */

/* Every rule below sets --font-family to 'Plus Jakarta Sans', but nothing on
   the public site ever loaded that file — the portal has its own @font-face
   for it (portal-tokens.css) that the public pages don't include. Every page
   was silently falling back to the browser's default UI font this whole
   time, which is why type looked generic/inconsistent across devices. Same
   self-hosted variable-weight file the portal already uses. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans/PlusJakartaSans.woff2') format('woff2');
}

:root {
  /* Brand gradient — sampled from corpo-alert-logo.png (cyan -> azure -> violet) */
  --brand-cyan:   #06D6FF;
  --brand-blue:   #0091D5;
  --brand-violet: #5B21F0;
  --brand-gradient: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-blue) 55%, var(--brand-violet) 100%);
  /* Lower-contrast gradient for buttons — the full cyan/violet swing above
     reads as loud on a small pill; this keeps two close, both-dark stops
     (still meets contrast for white label text) for a calmer CTA. */
  --btn-gradient: linear-gradient(90deg, var(--primary) 0%, var(--primary-d) 100%);

  --primary:   #4F46E5;
  --primary-d: #3730C7;
  --secondary: #06B6D4;

  --green: #16A34A;  --green-s: rgba(22,163,74,.10);
  --amber: #D97706;  --amber-s: rgba(217,119,6,.10);
  --red:   #DC2626;  --red-s:   rgba(220,38,38,.10);
  --blue:  #0284C7;  --blue-s:  rgba(2,132,199,.10);

  --ink-1: #0F1117;
  --ink-2: #475069;
  --ink-3: #8A8FA3;
  --surface:      #FFFFFF;
  --surface-tint: #F7F8FC;
  --border:       #E7E9F2;

  --font-family: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-card: 12px;
  --radius-ctrl: 8px;
  --radius-pill: 999px;
  --section-pad: clamp(28px, 4vw, 48px);

  --shadow-sm: 0 1px 3px rgba(15,17,23,.06), 0 1px 2px rgba(15,17,23,.04);
  --shadow-md: 0 8px 24px rgba(15,17,23,.08);
  --shadow-lg: 0 24px 60px rgba(15,17,23,.12);
  --ease: all .3s ease;
}

/* ---- Type scale --------------------------------------------------------- */
.brand-h1 { font: 800 clamp(1.625rem, 2.2vw + 1rem, 2.25rem)/1.2 var(--font-family); color: var(--ink-1); }
.brand-h2 { font: 800 clamp(1.3125rem, 1.2vw + 1rem, 1.75rem)/1.25 var(--font-family); color: var(--ink-1); }
.brand-h3 { font: 700 1.0625rem/1.3 var(--font-family); color: var(--ink-1); }
.brand-body-lg { font: 400 .9375rem/1.6 var(--font-family); color: var(--ink-2); }
.brand-body { font: 400 .875rem/1.6 var(--font-family); color: var(--ink-2); }
.brand-caption { font: 600 .6875rem/1.4 var(--font-family); letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }

.text-gradient-brand {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn-brand,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 6px;
  font: 700 .8125rem/1 var(--font-family);
  text-decoration: none;
  transition: var(--ease);
  cursor: pointer;
}

.btn-brand {
  background: var(--btn-gradient);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-brand:active { transform: translateY(1px); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  color: var(--ink-1);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,70,229,.04);
}
.btn-outline:active { transform: translateY(1px); }

/* ---- Cards ---------------------------------------------------------------- */
.card-brand {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  height: 100%;
}
.card-brand:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-brand--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12), var(--shadow-md);
}
.card-brand--featured .badge-featured {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--brand-gradient);
  color: #fff;
  padding: 5px 14px;
  font: 700 .75rem/1 var(--font-family);
  border-radius: var(--radius-pill);
}

/* ---- Badges / pills (semantic — shared meaning with the admin panel) ------ */
.badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font: 600 .8125rem/1 var(--font-family);
}
.badge-brand.is-green  { background: var(--green-s);  color: var(--green); }
.badge-brand.is-amber  { background: var(--amber-s);  color: var(--amber); }
.badge-brand.is-red    { background: var(--red-s);    color: var(--red); }
.badge-brand.is-blue   { background: var(--blue-s);   color: var(--blue); }
.badge-brand.is-primary{ background: rgba(79,70,229,.08); color: var(--primary); }

/* ---- Section rhythm -------------------------------------------------------- */
.section { padding-block: var(--section-pad); }
.section.is-tint { background: var(--surface-tint); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .brand-caption { display: block; margin-bottom: 12px; }
.section-head .brand-h2 { margin-bottom: 14px; }

/* ---- Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn-brand:hover, .btn-outline:hover, .card-brand:hover { transform: none; }
}

/* ---- Smooth scrolling -------------------------------------------------------
   Applies to in-page anchor jumps (#use-cases links, "back to top" button)
   and any programmatic window.scrollTo({behavior:'smooth'}) call. Respects
   the user's reduced-motion preference instead of forcing animation on them. */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Header / navbar (T3)
   Selectors #navbar / .navbar and .sticky are kept as-is because custom.js
   toggles that class on scroll — restyle in place rather than rename.
   ========================================================================== */
/* Fixed, transparent-until-scrolled header. custom.js adds/removes .sticky
   on #navbar based on scroll position — that's the only signal we style on. */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  /* navbar.css's own .navbar rule adds 14px top+bottom padding here; left
     unchecked it stacks with .site-navbar-inner's own padding below and
     nearly doubles the header's height. All spacing is owned by
     .site-navbar-inner instead. */
  padding: 0 !important;
  /* The glass background/blur/shadow live on the full-width bar (#navbar)
     rather than on .site-navbar-inner, so the bar itself always spans edge
     to edge while its content can be width-capped independently below. */
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
body { padding-top: 58px; }

/* Fixed permanently, same look at all scroll positions — no transparent-to-
   solid transition and no scroll-triggered animation. */
.site-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
}
/* Every page section below sits inside .container, which this site overrides
   (further down in this same file) to max-width: 95% instead of Bootstrap's
   stepped breakpoints — .site-navbar-inner had no max-width at all, so it
   spanned edge-to-edge while the content beneath it didn't, leaving the
   header and page content with different left/right edges. Matching that
   same 95% here keeps both perfectly aligned at every viewport size. */
.site-navbar-inner {
  width: 100%;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
/* navbar.css's .navbar.sticky adds its own fadeInDown animation + background
   flip; neutralized so scrolling never re-triggers any visual change. */
#navbar.sticky,
#navbar.sticky .site-navbar-inner {
  animation: none !important;
  transition: none !important;
}

.site-logo { width: 112px; height: auto; transition: var(--ease); }

.site-nav-list { display: flex; align-items: center; gap: 2px; }
.site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 10px;
  border-radius: 6px;
  font: 500 .875rem/1 var(--font-family);
  color: var(--ink-2);
  text-decoration: none;
  transition: var(--ease);
}
.site-nav-link:hover { color: var(--primary); background: rgba(79,70,229,.06); }
/* Active page: color only, no pill fill or extra indicator */
.site-nav-link.active { color: var(--pp-accent, #04a083); background: transparent; font-weight: 600; }

.site-nav-item { position: relative; }

/* The template's own arrow (RemixIcon glyph via ::before, navbar.css) is
   kept; Bootstrap's native dropdown caret (::after) duplicated it, so it's
   switched off here rather than in the template file. */
.site-nav-link.dropdown-toggle::after { display: none; content: none; }
.site-dropdown {
  /* Override navbar.css's hardcoded top:73px (assumed a taller, non-fixed
     nav) with a position anchored to this nav item, so it stays aligned
     regardless of the nav's actual height. */
  top: 100% !important;
  margin-top: 6px !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-ctrl);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
}
.site-dropdown .site-nav-link { width: 100%; border-radius: 8px; padding: 10px 14px; }

.site-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--ease);
}
.site-burger:hover { border-color: var(--primary); background: rgba(79,70,229,.06); }
.site-burger .top-bar,
.site-burger .middle-bar,
.site-burger .bottom-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-1);
  border-radius: 2px;
}

/* Mobile offcanvas */
.site-offcanvas { background: var(--surface); }
.site-offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.site-offcanvas-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-offcanvas-close:hover { background: var(--surface-tint); }

.site-accordion .accordion-item { border: none; border-bottom: 1px solid var(--border); }
.site-accordion .accordion-button,
.site-accordion .accordion-link {
  font: 600 .9375rem/1 var(--font-family);
  color: var(--ink-1);
  padding: 14px 24px;
  text-decoration: none;
  display: block;
}
.site-accordion .accordion-link { color: var(--ink-2); padding: 10px 24px 10px 40px; font-weight: 500; }
.site-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: transparent; box-shadow: none; }
.site-accordion .accordion-button::after { filter: none; }

/* ==========================================================================
   Footer (T3)
   ========================================================================== */
.site-footer { background: var(--surface-tint); padding-block: var(--section-pad) 48px; }
.site-footer-inner { padding-inline: 32px; }

.site-footer-heading {
  font: 700 1.0625rem/1.3 var(--font-family);
  color: var(--ink-1);
  margin-bottom: 18px;
}

.site-footer-about { color: var(--ink-2); line-height: 1.7; margin-top: 12px; }

.site-store-row { display: flex; gap: 10px; margin-top: 20px; }
.site-store-row img { height: 40px; width: auto; }

.site-footer-link { list-style: none; margin: 0; padding: 0; }
.site-footer-link li { margin-bottom: 12px; }
.site-footer-link a {
  color: var(--ink-2);
  text-decoration: none;
  transition: var(--ease);
}
.site-footer-link a:hover { color: var(--primary); }

.site-footer-contact { list-style: none; margin: 0; padding: 0; }
.site-footer-contact li { margin-bottom: 16px; }
.site-footer-contact span { display: block; font: 600 .75rem/1 var(--font-family); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.site-footer-contact a, .site-footer-contact p { color: var(--ink-1); font-weight: 600; margin: 0; }

.site-newsletter { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.site-newsletter input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-ctrl);
  padding: 12px 16px;
  font: 400 .9375rem/1 var(--font-family);
  background: var(--surface);
}
.site-newsletter input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.site-newsletter button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-ctrl);
  background: var(--brand-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-newsletter button img { width: 18px; filter: brightness(0) invert(1); }

.site-social-list { list-style: none; display: flex; gap: 10px; margin: 20px 0 0; padding: 0; }
.site-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: var(--ease);
}
.site-social-btn:hover { background: var(--brand-gradient); color: #fff; border-color: transparent; transform: translateY(-2px); }

.site-footer-bottom {
  background: var(--ink-1);
  padding-block: 20px;
}
.site-footer-bottom p { color: rgba(255,255,255,.72); margin: 0; font-size: .875rem; }
.site-footer-bottom a { color: #fff; font-weight: 600; text-decoration: none; }
.site-footer-bottom a:hover { color: var(--brand-cyan); }

@media (max-width: 991px) {
  .site-navbar-inner { padding: 14px 20px; }
  .site-footer-inner { padding-inline: 20px; }
}

/* ==========================================================================
   Product preview mockup — a coded stand-in for a real dashboard screenshot,
   framed in a simple browser chrome (design-web.md §7). Uses the ADMIN
   panel's own accent (teal, design.md §1) since it renders that product's
   real UI, not the marketing brand gradient. Reusable wherever a page needs
   to show "the product" (T4 hero, T6 features, T7 use-cases).
   ========================================================================== */
.browser-chrome {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.browser-chrome-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border);
}
.browser-chrome-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}
.browser-chrome-bar span:nth-child(1) { background: #ff5f57; }
.browser-chrome-bar span:nth-child(2) { background: #febc2e; }
.browser-chrome-bar span:nth-child(3) { background: #28c840; }
.browser-chrome-url {
  margin-left: 14px;
  font: 500 .75rem/1 var(--font-family);
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}

/* Admin-panel-shaped mockup: full-width topbar first, then a sidebar+content
   row below it (real app layout order), inside the .browser-chrome frame. */
.product-preview {
  --pp-accent: #04a083;
  --pp-accent-s: rgba(4,160,131,.10);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  font-family: var(--font-family);
  text-align: left;
}

.pp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface);
  flex-shrink: 0;
}
.pp-topbar-title { display: flex; align-items: center; gap: 8px; font: 700 .8125rem/1 var(--font-family); color: var(--ink-1); }
.pp-topbar-title i { color: var(--pp-accent); font-size: 1rem; }
.pp-topbar-right { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .9375rem; }
.pp-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-gradient);
}

.pp-body-row { display: flex; flex: 1; min-height: 0; }

.pp-sidebar {
  width: 148px;
  flex-shrink: 0;
  background: #0e0f13;
  padding: 14px 10px;
}
.pp-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: .75rem; margin-bottom: 14px; padding: 0 6px; }
.pp-brand i { color: var(--pp-accent); font-size: 1rem; }
/* Sidebar nav rendered as a tab list — one active pill, not a plain link list */
.pp-nav-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 7px;
  font-size: .6875rem; color: rgba(255,255,255,.55);
  margin-bottom: 3px;
  border-left: 2px solid transparent;
}
.pp-nav-row i { font-size: .875rem; }
.pp-nav-row.is-active {
  background: rgba(4,160,131,.18);
  color: #7fe4d1;
  border-left-color: var(--pp-accent);
}

.pp-main { flex: 1; min-width: 0; background: #fafbfc; }
.pp-body { padding: 12px 14px; }
.pp-content-title { font: 700 .8125rem/1 var(--font-family); color: var(--ink-1); margin-bottom: 10px; }

/* Compact pitch intro, folded into the dashboard tab content itself.
   Text on the left, CTA buttons on the right. */
.pp-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(6,214,255,.08) 0%, rgba(0,145,213,.08) 55%, rgba(91,33,240,.08) 100%);
}
.pp-intro-text { min-width: 0; }
.pp-intro-title { font: 700 .9375rem/1.3 var(--font-family); color: var(--ink-1); margin: 0 0 3px; }
.pp-intro-desc { font: 400 .6875rem/1.5 var(--font-family); color: var(--ink-2); margin: 0; max-width: 480px; }
.pp-intro-actions { flex-shrink: 0; }
.pp-intro .btn-brand,
.pp-intro .btn-outline { padding: 6px 14px; font-size: .6875rem; gap: 4px; white-space: nowrap; }
.pp-intro .btn-brand i,
.pp-intro .btn-outline i { font-size: .75rem; }

@media (max-width: 575px) {
  .pp-intro { flex-direction: column; align-items: flex-start; }
}

.pp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.pp-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 10px; transition: var(--ease); }
.pp-stat:hover { border-color: var(--pp-accent, #04a083); background: var(--pp-accent-s, rgba(4,160,131,.06)); box-shadow: var(--shadow-sm); }
.pp-stat-label { font: 700 .5625rem/1 var(--font-family); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 6px; }
.pp-stat-value { font: 800 1rem/1 var(--font-family); color: var(--ink-1); }
.pp-stat i { float: right; color: var(--pp-accent); background: var(--pp-accent-s); width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }

/* Small feature-highlight cards inside the mockup content area */
.pp-feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pp-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px;
  transition: var(--ease);
}
.pp-feature-card:hover {
  border-color: var(--pp-accent, #04a083);
  background: var(--pp-accent-s, rgba(4,160,131,.06));
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.pp-feature-card i {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--pp-accent-s); color: var(--pp-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; margin-bottom: 6px;
}
.pp-feature-card b { display: block; font: 700 .6875rem/1.2 var(--font-family); color: var(--ink-1); margin-bottom: 2px; }
.pp-feature-card span { font-size: .625rem; color: var(--ink-3); line-height: 1.3; display: block; }

.pp-table { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pp-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--border-lt, var(--border)); font-size: .6875rem; }
.pp-row:last-child { border-bottom: none; }
.pp-row-name { flex: 1; min-width: 0; font-weight: 600; color: var(--ink-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-row-date { width: 80px; flex-shrink: 0; color: var(--ink-3); }
.pp-tag { padding: 3px 9px; border-radius: var(--radius-pill); font-weight: 700; font-size: .625rem; }
.pp-tag.is-green { background: var(--green-s); color: var(--green); }
.pp-tag.is-amber { background: var(--amber-s); color: var(--amber); }
.pp-tag.is-red   { background: var(--red-s);   color: var(--red); }
.pp-tag.is-blue  { background: var(--blue-s);  color: var(--blue); }

/* Compact modifiers — smaller url/topbar bars (home hero, T4 follow-up) */
.browser-chrome-bar.is-compact { padding: 7px 12px; gap: 6px; }
.browser-chrome-bar.is-compact span { width: 8px; height: 8px; }
.browser-chrome-bar.is-compact .browser-chrome-url { font-size: .6875rem; padding: 3px 12px; margin-left: 10px; }

.pp-topbar.is-compact { padding: 8px 14px; }
.pp-topbar.is-compact .pp-topbar-title { font-size: .75rem; }
.pp-topbar.is-compact .pp-topbar-right { font-size: .8125rem; gap: 10px; }
.pp-topbar.is-compact .pp-avatar { width: 20px; height: 20px; }

/* Horizontal tab strip (home hero) — used instead of the left .pp-sidebar
   that features.blade.php / about.blade.php still use for their mockups. */
.pp-tabs {
  display: flex;
  gap: 4px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.pp-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pp-tab i { font-size: .8125rem; }
.pp-tab.is-active {
  color: var(--pp-accent, #04a083);
  border-bottom-color: var(--pp-accent, #04a083);
}

@media (max-width: 767px) {
  .pp-sidebar { display: none; }
  .pp-stats { grid-template-columns: repeat(2, 1fr); }
  .pp-feature-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Global compact-density override
   The purchased template's section spacing (pt-100/pb-75/etc, 100/75px) is
   loose "template" spacing. Overriding it here (loaded last) tightens every
   page site-wide — including ones not yet migrated to site-tokens classes —
   without having to hand-edit each page's markup.
   ========================================================================== */
.ptb-100 { padding-top: 44px; padding-bottom: 44px; }
.pt-100   { padding-top: 44px; }
.pb-100   { padding-bottom: 44px; }
.pb-75    { padding-bottom: 32px; }
.pb-70    { padding-bottom: 30px; }
.pb-50    { padding-bottom: 22px; }

/* Base type/line-height a touch denser than the template default */
body { font-size: 14px; line-height: 1.6; }
p { font-size: .875rem; line-height: 1.6; }

.section-title { margin-bottom: 24px; }
.section-title h2 { font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem); }

/* ==========================================================================
   Feature-page product mockups (T6) — same "coded screenshot" idea as
   .browser-chrome, plus a phone frame for the Mobile App feature. Neutralize
   the template's .progress-image/.approach-image decorative offset padding
   (built for small circular floating photos) when used with a mockup.
   ========================================================================== */
.progress-image.is-mockup,
.approach-image.is-mockup {
  padding: 0;
}

.pp-list { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-family: var(--font-family); max-width: 100%; }
.pp-list-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: .8125rem; }
.pp-list-row:last-child { border-bottom: none; }
.pp-list-row i { width: 26px; height: 26px; border-radius: 7px; background: var(--pp-accent-s, rgba(4,160,131,.10)); color: var(--pp-accent, #04a083); display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0; }
/* Flex children with text content default to a content-based min-width,
   which was forcing this row (and its ancestors, up to <body>) wider than
   the viewport on narrow screens instead of truncating/wrapping — the
   actual cause of the page's left-right scroll (T-followup). */
.pp-list-row > div { flex: 1; min-width: 0; }
.pp-list-title { font-weight: 700; color: var(--ink-1); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-list-sub { color: var(--ink-3); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-list-meta { margin-left: auto; text-align: right; }
.pp-list-row .pp-tag { margin-left: auto; flex-shrink: 0; }

.phone-chrome {
  position: relative;
  width: 240px;
  margin-inline: auto;
  border-radius: 40px;
  background: linear-gradient(155deg, #24262e, #0a0b0e 60%);
  padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.04);
}
/* Side buttons, purely decorative — sells the "real device" read */
.phone-chrome::before,
.phone-chrome::after {
  content: "";
  position: absolute;
  background: #0a0b0e;
  right: -2px;
}
.phone-chrome::before { top: 100px; width: 3px; height: 40px; border-radius: 2px 0 0 2px; }
.phone-chrome::after { top: 150px; width: 3px; height: 60px; border-radius: 2px 0 0 2px; }
.phone-chrome-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  background: #0a0b0e;
  border-radius: 999px;
  z-index: 2;
}
.phone-chrome-screen {
  position: relative;
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  font-family: var(--font-family);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 0;
  font: 700 .6875rem/1 var(--font-family);
  color: var(--ink-1);
}
.phone-statusbar i { font-size: .8125rem; }
.phone-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 6px; }
.phone-topbar strong { font: 700 .875rem/1 var(--font-family); color: var(--ink-1); }
.phone-topbar i { color: var(--ink-3); }
.phone-stats { display: flex; gap: 8px; padding: 10px 14px; }
.phone-stat { flex: 1; background: var(--surface-tint); border: 1px solid var(--border); border-radius: 10px; padding: 8px; text-align: center; }
.phone-stat b { display: block; font-size: 1rem; color: var(--ink-1); }
.phone-stat span { font-size: .625rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.phone-list { padding: 4px 14px 18px; }
.phone-list-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .75rem; color: var(--ink-2); }
.phone-list-row:last-child { border-bottom: none; }
.phone-list-row i { color: var(--pp-accent, #04a083); }
.phone-list-row .pp-tag { margin-left: auto; }
.phone-home-indicator {
  width: 100px;
  height: 4px;
  background: var(--ink-1);
  opacity: .18;
  border-radius: 999px;
  margin: 4px auto 8px;
}

/* Mobile App section redesign: phone sits in a soft gradient showcase with
   floating decorative chips around it, plus a bottom tab bar + floating
   action button inside the screen so it reads as a real app, not just a
   list inside a frame. */
.phone-showcase {
  position: relative;
  padding: 20px 0;
}
.phone-showcase-blur {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 260px;
  height: 260px;
  background: var(--brand-gradient);
  opacity: .12;
  filter: blur(60px);
  border-radius: 50%;
}
.phone-showcase-chip {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--primary);
  animation: controlChipFloat 3.4s ease-in-out infinite;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .phone-showcase-chip { animation: none; }
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 10px 4px;
  border-top: 1px solid var(--border);
  position: relative;
}
.phone-tabbar i { font-size: 1.0625rem; color: var(--ink-3); }
.phone-tabbar .is-active i { color: var(--pp-accent, #04a083); }
.phone-tabbar-fab {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--surface);
}

/* ==========================================================================
   Pricing comparison table (T8) — single shared component, included from
   both the Home and Pricing pages instead of duplicating card markup
   verbatim. Table-based: features are rows, plans are columns, so a feature
   name is never repeated per-plan and plans are easy to compare.
   ========================================================================== */
/* Section heading here was set by the template's own, more-specific
   .inner-cp-warp .section-title h2 (40px) which beat our generic
   .section-title h2 override — matched back down to the same scale used
   site-wide. */
.inner-cp-warp .section-title h2 {
  font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.pricing-amount { font: 800 1.25rem/1.1 var(--font-family); color: var(--ink-1); margin: 8px 0 4px; }
.pricing-amount .pricing-interval { font: 500 .6875rem/1 var(--font-family); color: var(--ink-3); }
.pricing-amount .pricing-was {
  display: inline-block;
  font: 500 .8125rem/1 var(--font-family);
  color: var(--ink-3);
  text-decoration: line-through;
  margin-right: 4px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pricing-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.pricing-table th, .pricing-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: .75rem;
  color: var(--ink-2);
}
.pricing-table thead th {
  vertical-align: top;
  padding-top: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.pricing-table-feature-col {
  font-weight: 600;
  color: var(--ink-1);
  min-width: 140px;
  white-space: nowrap;
}
.pricing-table-plan { font: 700 .875rem/1.2 var(--font-family); color: var(--ink-1); margin-bottom: 2px; }
.pricing-table-desc {
  font-size: .6875rem;
  color: var(--ink-3);
  margin: 4px 0 10px;
  max-width: 170px;
  margin-inline: auto;
  /* Cap plan descriptions to 2 lines so a long one never stretches every
     column's header row taller than the others. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}
.pricing-table th.is-popular,
.pricing-table td.is-popular { background: rgba(79,70,229,.04); }
.pricing-table th.is-popular { box-shadow: inset 0 3px 0 var(--primary); }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table i { font-size: 1.05rem; }
.pricing-table tfoot td { border-bottom: none; padding: 14px; }
.pricing-table tfoot .btn-brand { width: 100%; justify-content: center; }

/* Trial callouts on the shared pricing table (home + pricing page) */
.pricing-trial-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: rgba(79,70,229,.06);
  border: 1px solid rgba(79,70,229,.16);
  color: var(--primary);
  font: 600 .8125rem/1.4 var(--font-family);
  border-radius: var(--radius-ctrl);
  padding: 10px 16px;
  margin-bottom: 20px;
}
.pricing-trial-ribbon i { font-size: 1rem; }
.pricing-table-trial-note {
  margin-top: 8px;
  font: 500 .6875rem/1 var(--font-family);
  color: var(--ink-3);
}

/* ==========================================================================
   Home "Why Businesses Fail" tabs — horizontal row of tab buttons on top,
   full-width content below (not a left sidebar + right content split).
   ========================================================================== */
.control-tabs-row { align-items: stretch; }
.control-warp .control-nav-pills {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin-bottom: 16px !important;
  gap: 8px;
}
.control-warp .control-nav-pills .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 16px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  font-size: .8125rem;
  transition: var(--ease);
}
.control-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font-size: 1rem;
  transition: var(--ease);
}
.control-warp .control-nav-pills .nav-link:hover .control-nav-icon {
  transform: scale(1.1);
}
.control-warp .control-nav-pills .nav-link.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.control-warp .control-nav-pills .nav-link.active .control-nav-icon {
  background: var(--brand-gradient);
  color: #fff;
  animation: controlIconPulse 1.6s ease-in-out infinite;
}
@keyframes controlIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79,70,229,.25); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(79,70,229,0); }
}
@media (prefers-reduced-motion: reduce) {
  .control-warp .control-nav-pills .nav-link.active .control-nav-icon { animation: none; }
}
.control-warp .control-tab-content {
  padding: 20px 24px;
  height: 100%;
}
.control-content { padding-right: 0; }

/* Font sizes/spacing here were set by the template's own selectors
   (.control-warp .section-title h2, .control-content h3, .control-list li)
   which are MORE specific than our generic .section-title h2 override, so
   they were winning and the section rendered much larger than the rest of
   the (now-compact) page. Matched down to the hero's scale here. */
.control-warp .section-title h2 {
  font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem) !important;
  font-weight: 800 !important;
}
.control-content .title { font-size: .8125rem !important; margin-bottom: 4px !important; }
.control-content h3 { font-size: 1.0625rem !important; margin-bottom: 6px !important; }
.control-content p { font-size: .8125rem !important; }
.control-content .control-list { margin-top: 14px !important; }
.control-content .control-list li {
  margin-bottom: 14px !important;
  padding-left: 46px !important;
}
.control-content .control-list li p { font-size: .8125rem !important; }
.control-content .control-list li .icon {
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: .75rem !important;
}
.control-content .control-btn { margin-top: 18px !important; padding: 10px 22px !important; }

@media (max-width: 991px) {
  .control-warp .control-nav-pills { flex-direction: row; flex-wrap: wrap; margin-bottom: 16px !important; }
  .control-warp .control-tab-content { padding: 18px; }
}

/* ==========================================================================
   Goal cards — denser grid (5 per row on desktop instead of 4) and smaller
   card chrome, so the section reads as compact rather than oversized tiles.
   ========================================================================== */
/* Heading here was set by the template's own, more-specific
   .goal-warp .section-title h2 (40px) which beat our generic
   .section-title h2 override — matched down to the same scale used by the
   "Why Businesses Fail" heading above it. */
.goal-warp .section-title h2 {
  font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem) !important;
  font-weight: 800 !important;
}

.goal-warp .row { row-gap: 16px; }
/* Redesigned: one plain white/bordered surface (design system's card
   language) with a small tinted icon chip, instead of 4 different pastel
   background colors. */
.goal-card,
.goal-card.bg1, .goal-card.bg2, .goal-card.bg3, .goal-card.bg4 {
  background: var(--surface) !important;
  padding: 22px 20px !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.goal-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.goal-card h3 {
  font-size: .9375rem !important;
  margin-bottom: 8px !important;
}
.goal-card p {
  font-size: .8125rem !important;
}
.goal-card .icon {
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 12px !important;
  background: rgba(79,70,229,.08) !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.goal-card .icon i {
  font-size: 1.125rem !important;
  color: var(--primary);
}
.goal-card:hover .icon {
  background: var(--brand-gradient) !important;
}
.goal-card:hover .icon i { color: #fff; }
/* Back to 4 cards per row (Bootstrap's default col-lg-3 = 25%) instead of 5. */

/* ==========================================================================
   Features page polish — brand-tokenized eyebrow + numbered cards/list items
   instead of the template's plain "1." text and off-brand purple (#3921F5).
   ========================================================================== */
.single-section .features-title,
.section-title .features-title {
  color: var(--primary);
  font: 700 .75rem/1.4 var(--font-family);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.approach-content .approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px;
  transition: var(--ease);
}
.approach-content .approach-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.approach-content .approach-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem !important;
}
.approach-content .approach-card h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font: 700 .75rem/1 var(--font-family);
  padding: 0;
}
.approach-content .approach-card p { font-size: .8125rem; }

.progress-content .progress-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.progress-content .progress-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font: 700 .75rem/1 var(--font-family);
  padding: 0;
}

/* ==========================================================================
   Site-wide container width — 95% of viewport instead of Bootstrap's stepped
   540/720/960/1140/1320px breakpoints.
   ========================================================================== */
.container {
  max-width: 95% !important;
}

/* ==========================================================================
   "Why Businesses Fail" tab content — animated graphic on the right, per
   tab. A center icon badge with dashed orbit rings + floating satellite
   icon chips, coded (no images), themed per topic via inline style vars.
   ========================================================================== */
.control-content-row { display: flex; align-items: center; gap: 28px; }
.control-content-row > .control-content { flex: 1.4; min-width: 0; }
.control-graphic {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.control-graphic-core {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: controlCoreFloat 4s ease-in-out infinite;
}
.control-graphic-ring {
  position: absolute;
  border: 1.5px dashed rgba(79,70,229,.22);
  border-radius: 50%;
}
.control-graphic-ring.r1 { width: 150px; height: 150px; animation: controlSpin 18s linear infinite; }
.control-graphic-ring.r2 { width: 210px; height: 210px; animation: controlSpin 26s linear infinite reverse; }
.control-graphic-chip {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  color: var(--primary);
  animation: controlChipFloat 3.2s ease-in-out infinite;
}
@keyframes controlCoreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes controlSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes controlChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .control-graphic-core,
  .control-graphic-ring,
  .control-graphic-chip { animation: none; }
}
@media (max-width: 991px) {
  .control-content-row { flex-direction: column; }
  .control-graphic { height: 180px; width: 100%; }
}

/* ==========================================================================
   "Make your life easier" app-download CTA — redesigned as a brand-gradient
   band (was a plain lavender box with irrelevant stock photos of people).
   ========================================================================== */
.inner-easier-warp {
  position: relative;
  background: var(--brand-gradient);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: center;
  padding: 48px 32px;
  margin-bottom: 0;
  z-index: 1;
}
.inner-easier-warp h2 {
  font: 800 clamp(1.3125rem, 1.2vw + 1rem, 1.75rem)/1.25 var(--font-family) !important;
  color: #fff;
  max-width: 640px;
  margin: 12px auto 8px;
}
.easier-subtitle {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  max-width: 520px;
  margin: 0 auto 24px;
}
.easier-badge {
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
  position: relative;
  z-index: 2;
}
.inner-easier-warp .easier-store {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.inner-easier-warp .play-store { margin-left: 0; }
.inner-easier-warp .easier-store img {
  height: 46px;
  width: auto;
  transition: var(--ease);
}
.inner-easier-warp .easier-store a:hover img { transform: translateY(-2px); }

.easier-glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  filter: blur(50px);
  pointer-events: none;
}
.easier-glow-1 { width: 260px; height: 260px; top: -100px; left: -60px; }
.easier-glow-2 { width: 220px; height: 220px; bottom: -100px; right: -40px; }

.easier-chip {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  animation: controlChipFloat 3.4s ease-in-out infinite;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .easier-chip { animation: none; }
}
@media (max-width: 767px) {
  .inner-easier-warp { padding: 36px 20px; }
  .easier-chip { display: none; }
}

/* ==========================================================================
   White CTA button — used on brand-gradient bands (e.g. the trial banner
   below) where a second .btn-brand would blend into the background.
   ========================================================================== */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 6px;
  font: 700 .8125rem/1 var(--font-family);
  text-decoration: none;
  transition: var(--ease);
  cursor: pointer;
  background: #fff;
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--primary-d); }
.btn-white:active { transform: translateY(1px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   "15-Day Free Trial" CTA band (T-trial) — reused across home, pricing,
   about, features, how-it-works, and use-cases pages via
   web._partials.trial-banner. Rides on the same .inner-easier-warp /
   .easier-glow / .easier-chip / .easier-badge / .easier-subtitle primitives
   above so it reads as one system instead of a one-off block.
   ========================================================================== */
.trial-warp { padding-block: var(--section-pad); }
.trial-perks {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 28px;
}
.trial-perk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.95);
  font: 600 .8125rem/1 var(--font-family);
  white-space: nowrap;
}
.trial-perk i { color: #fff; font-size: 1rem; }
.trial-cta-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trial-cta-row .btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.trial-cta-row .btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.12);
}
@media (max-width: 767px) {
  .trial-perks { gap: 8px 16px; }
}

/* ==========================================================================
   Simple inner-page hero warps (About, Contact, Use Cases, How It Works,
   Privacy Policy, Features) all used the template's own
   margin-top: -130px / padding-top: 230-270px trick to tuck the hero up
   behind the OLD in-flow, non-fixed navbar. Now that #navbar is
   position:fixed (T3 header redesign), that negative margin instead pulls
   the hero's heading up underneath the fixed header, clipping it. Reset
   here for every such warp at once instead of per-page.
   ========================================================================== */
.inner-hero-warp,
.about-hero-warp,
.features-hero-warp,
.pricing-hero-warp {
  margin-top: 0 !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* ==========================================================================
   Site-wide horizontal-scroll fix. The mobile offcanvas menu (#navbarOffcanvas)
   is parked off-screen via a transform when closed, but html/body never had
   overflow-x:hidden, so its off-screen layout box was still widening the
   document and causing left-right page scroll everywhere.

   Scoped to <html> only (not <body>): per the CSS overflow spec, setting
   only overflow-x makes the browser auto-compute the other axis (overflow-y)
   to "auto" too. Doing that on BOTH html and body turns body into a second,
   unwanted scroll container distinct from the real (html) one, which broke
   every position:sticky element on the site (their containing block became
   the non-scrolling body instead of the viewport). html alone already fixes
   the horizontal overflow since it's the actual root scroller.
   ========================================================================== */
html {
  overflow-x: hidden;
  max-width: 100%;
}

/* ==========================================================================
   Use Cases page — heading size consistency + two-column layout (long text
   left, animated graphic + browser-chrome mockup right, sticky while
   scrolling) so five walls of text don't read as one long undifferentiated
   scroll.
   ========================================================================== */
.service-details-widget .success h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem) !important;
  font-weight: 800 !important;
  margin-bottom: 14px;
}
.usecase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font-size: 1.0625rem;
}
.service-details-widget .success p,
.service-details-widget .success .ss-list li {
  font-size: .875rem;
}

.usecase-row { align-items: flex-start; }
.usecase-sticky { position: sticky; top: 74px; }
.usecase-graphic { height: 160px; margin-bottom: 4px; }
.usecase-graphic .control-graphic-core { width: 60px; height: 60px; font-size: 1.5rem; }
.usecase-graphic .control-graphic-ring.r1 { width: 110px; height: 110px; }
.usecase-graphic .control-graphic-ring.r2 { width: 150px; height: 150px; }
.usecase-graphic .control-graphic-chip { width: 34px; height: 34px; font-size: .875rem; }

@media (max-width: 991px) {
  .usecase-sticky { position: static; margin-bottom: 24px; }
}

/* Breathing room between each use-case section (they had almost no
   top padding — pt-0 — so they ran straight into one another). */
.usecases-section {
  margin-block: 32px;
}
#digital-agencies.usecases-section {
  margin-top: 0;
}

/* ==========================================================================
   About page — same recurring bug: several template selectors (hero h1,
   section h3s, the bottom CTA h2) are more specific than our generic
   .brand-h1/.section-title overrides, so they kept their oversized
   template font-size (50px/40px/32px) instead of matching the rest of the
   compact, already-migrated site.
   ========================================================================== */
.about-hero-warp .about-hero-content h1 {
  font-size: clamp(1.625rem, 2.2vw + 1rem, 2.25rem) !important;
  font-weight: 800 !important;
}
.about-content h3,
.statement-content h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}
.stand-style2-warp .content h2 {
  font-size: clamp(1.3125rem, 1.2vw + 1rem, 1.75rem) !important;
  font-weight: 800 !important;
}
.global-warp .global-count h1 {
  font-size: 2.25rem !important;
}

/* About page card/CTA redesign — plain white bordered cards with a small
   tinted icon chip (matching the design system) instead of the template's
   giant 100px circular icons on pastel backgrounds, and an underlined
   arrow link instead of the oversized inline "hero-service-btn" icon. */
.about-boost-warp .boost-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.about-boost-warp .boost-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.about-boost-warp .icon-content { display: flex; align-items: center; gap: 12px; margin-bottom: 14px !important; }
.about-boost-warp .icon-content .rounded-icon {
  width: 44px !important;
  height: 44px !important;
  font-size: 1.125rem !important;
  line-height: 44px !important;
  background: rgba(79,70,229,.08) !important;
  color: var(--primary) !important;
}
.about-boost-warp .icon-content h3 {
  font-size: 1.0625rem !important;
  margin-left: 0 !important;
}
.about-boost-warp .icon-content h3 a { color: var(--ink-1); }
.about-boost-warp .icon-content h3 a:hover { color: var(--primary); }
.about-boost-warp .boost-card p { font-size: .875rem; }
.about-boost-warp .hero-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 0 !important;
  font: 700 .8125rem/1 var(--font-family);
  color: var(--primary);
}
.about-boost-warp .hero-service-btn i {
  position: static !important;
  font-size: .9375rem !important;
  transform: none !important;
  transition: transform .2s ease;
}

/* ==========================================================================
   Modern section system (T4) — lighter-weight headings + a reusable tile
   component. .brand-h1/.brand-h2 (800 weight) stay as-is for existing page
   heroes; this is a calmer alternative for content sections lower on a page
   (homepage teasers, Integrations, Security) where 800-weight display type
   read as too heavy/shouty.
   ========================================================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font: 600 .75rem/1 var(--font-family);
  letter-spacing: .02em;
}
.section-heading {
  font: 700 clamp(1.375rem, 1.6vw + 1rem, 1.875rem)/1.35 var(--font-family);
  color: var(--ink-1);
  letter-spacing: -.01em;
}
.section-subtext {
  font: 400 .9375rem/1.7 var(--font-family);
  color: var(--ink-2);
}

/* A calmer card: smaller icon chip, medium-weight (not bold) title, no harsh
   drop shadow until hover. Used for icon-grid content (industries, security
   practices, integrations) instead of the heavier .boost-card treatment. */
.modern-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: var(--ease);
}
.modern-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.modern-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.modern-tile h3 {
  font: 600 1rem/1.35 var(--font-family);
  color: var(--ink-1);
  margin: 0;
}
.modern-tile p {
  font: 400 .875rem/1.65 var(--font-family);
  color: var(--ink-2);
  margin: 0;
}
.modern-tile a.modern-tile-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 .8125rem/1 var(--font-family);
  color: var(--primary);
  text-decoration: none;
}
.modern-tile a.modern-tile-link i { transition: transform .2s ease; }
.modern-tile a.modern-tile-link:hover i { transform: translateX(3px); }

/* Compact icon-chip strip — used for the homepage "industries" teaser: a
   row of small pill-cards rather than a full heavy card grid. */
.chip-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-ctrl);
  text-decoration: none;
  transition: var(--ease);
  height: 100%;
}
.chip-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.chip-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.chip-tile span {
  font: 600 .875rem/1.3 var(--font-family);
  color: var(--ink-1);
}

/* Shared blog card media header — gradient block with category pill, used
   on both the blog index cards and the homepage "From the Blog" teaser so
   the two look identical. */
.blog-card-media {
  height: 148px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.blog-card-media i { font-size: 38px; color: rgba(255,255,255,.95); }
.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15,17,23,.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font: 600 .6875rem/1 var(--font-family);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}
.about-boost-warp .hero-service-btn:hover i { transform: translateX(3px) !important; }
