/* ==========================================================================
   Landing page specific styles
   ========================================================================== */

/* ---------------------------------- Navbar ---------------------------------- */
.navbar-sg {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
  padding: var(--space-4) 0;
  transition: all var(--dur-base) var(--ease-out);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.navbar-sg.scrolled {
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-sm);
}
.navbar-sg .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.brand-mark .brand-badge {
  width: 38px; height: 38px; border-radius: 11px; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem;
  box-shadow: var(--shadow-brand);
}
.nav-links-sg { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
/* Main-nav items are position:static so their full-width menus anchor to the fixed
   header itself; utility items stay relative for their small right-aligned panels. */
.nav-links-sg > li { position: static; }
.nav-utility > li { position: relative; }
.nav-links-sg a { font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); transition: color var(--dur-fast); position: relative; }
.nav-links-sg a:hover { color: var(--text-primary); }
.nav-links-sg .nav-plain-link { display: inline-flex; padding: var(--space-3) var(--space-3); }

/* QuickBooks-style brand lockup: round badge + stacked two-line wordmark */
.brand-mark .brand-badge-round { border-radius: 50%; }
.brand-mark .brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark .brand-top { font-size: 9.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-primary); }
.brand-mark .brand-bottom { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }

.nav-actions-sg { display: flex; align-items: center; gap: var(--space-3); }

/* Right-side utility group: Customize (theme toggle) + Sales + Sign in, as text items */
.nav-utility { gap: 0; }
.nav-utility .nav-link-trigger { color: var(--text-primary); padding: var(--space-3) var(--space-2); white-space: nowrap; }
.nav-customize {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-primary); padding: var(--space-2) var(--space-2); border-radius: var(--radius-sm);
  cursor: pointer; transition: background var(--dur-fast); white-space: nowrap;
}
.nav-customize:hover { background: var(--bg-surface-2); }
/* Signed-in avatar badge shown inline in the "Sign in" nav trigger once nav-auth.js
   detects a live session (replaces the button label with the user's name). */
.nav-account-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gradient-brand);
  color: #fff; font-size: 0.65rem; font-weight: 800; flex-shrink: 0; vertical-align: -5px;
}

.nav-customize .customize-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand-500); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0;
}

/* Sales dropdown: hours + support links, QuickBooks-style */
.sales-menu { min-width: 270px; }
.sales-hours { font-size: var(--fs-sm); color: var(--text-primary); margin: 0; padding: 2px var(--space-2) var(--space-2); }
.mm-divider { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--space-2) 0; }
.mm-text-link { display: block; padding: var(--space-2); font-size: var(--fs-sm); font-weight: 600; color: var(--brand-600); border-radius: var(--radius-sm); transition: background var(--dur-fast); }
.mm-text-link:hover { background: var(--bg-surface-2); color: var(--brand-700); }
[data-theme="dark"] .mm-text-link { color: var(--brand-400); }
.theme-toggle-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-default);
  background: var(--bg-surface); display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-secondary); transition: all var(--dur-fast);
}
.theme-toggle-btn:hover { border-color: var(--brand-400); color: var(--brand-600); transform: rotate(15deg); }

.nav-toggle-btn { display: none; width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-default); background: var(--bg-surface); align-items: center; justify-content: center; cursor: pointer; color: var(--text-primary); }

/* ---------------------------------- Desktop mega menu ---------------------------------- */
.nav-link-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-secondary); cursor: pointer; padding: var(--space-3) var(--space-3);
  transition: color var(--dur-fast);
}
.nav-link-trigger:hover { color: var(--text-primary); }
.nav-link-trigger .chevron { font-size: 0.62rem; transition: transform var(--dur-fast) var(--ease-out); color: var(--text-tertiary); }
.has-dropdown:hover .nav-link-trigger .chevron,
.has-dropdown.open .nav-link-trigger .chevron { transform: rotate(180deg); color: var(--brand-500); }
.has-dropdown.open > .nav-link-trigger,
.has-dropdown:hover > .nav-link-trigger { color: var(--text-primary); }

.megamenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: var(--space-4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), visibility 0s linear var(--dur-fast);
  z-index: 1045;
}
.megamenu.align-right { left: auto; right: 0; transform: none; }
/* Open state is driven by the .open class, which components.js sets from hover
   (with a grace timer that survives the gap between trigger and sheet) and click. */
.has-dropdown.open .megamenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition-delay: 0s, 0s;
}
.megamenu-inner {
  background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: var(--space-5); display: flex; gap: var(--space-6);
}
.megamenu.single .megamenu-inner { flex-direction: column; gap: 2px; min-width: 240px; padding: var(--space-3); }

.mm-col { min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.mm-col-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); font-weight: 700; padding: var(--space-2) var(--space-2) var(--space-1); }
.mm-link { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-2); border-radius: var(--radius-md); transition: background var(--dur-fast); }
.mm-link:hover { background: var(--bg-surface-2); }
.mm-link .mm-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; font-size: 0.95rem;
  background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .mm-link .mm-icon { background: rgba(213, 24, 45, 0.14); color: var(--brand-400); }
.mm-link-title { font-weight: 700; font-size: var(--fs-sm); color: var(--text-primary); }
.mm-link-desc { font-size: var(--fs-xs); color: var(--text-tertiary); margin-top: 2px; }
.megamenu.single .mm-link-title { font-size: var(--fs-sm); }

/* ---- Full-width megamenu sheet (QuickBooks-style) ---- */
.megamenu-full { left: 0; right: 0; transform: none; padding-top: 0; }
.megamenu-sheet {
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 32px 48px -24px rgba(11, 11, 12, 0.25);
}
.mmf-flex { display: flex; gap: var(--space-16); flex-wrap: wrap; padding: var(--space-10) 0 var(--space-12); }

/* Quick-links bar along the bottom of each sheet (white band, pipe-separated bold links) */
.mmf-footer { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); padding: var(--space-4) 0; }
.mmf-footer-inner { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.mmf-foot-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-primary); transition: color var(--dur-fast); }
.mmf-foot-link:hover { color: var(--brand-600); text-decoration: underline; }
[data-theme="dark"] .mmf-foot-link:hover { color: var(--brand-400); }
.mmf-foot-link i { font-size: 0.72rem; color: var(--text-tertiary); }
.mmf-sep { width: 1px; height: 16px; background: var(--border-default); flex-shrink: 0; }
.mmf-group { min-width: 180px; }
.mmf-wide { min-width: 380px; }
.mmf-title {
  font-size: var(--fs-base); font-weight: 700; color: var(--brand-600);
  padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-default);
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .mmf-title { color: var(--brand-400); }
.mmf-cols { display: flex; gap: var(--space-12); }
.mmf-link { display: block; padding: 8px 0; font-size: var(--fs-sm); font-weight: 500; color: var(--text-primary); transition: color var(--dur-fast); }
.mmf-link:hover { color: var(--brand-600); text-decoration: underline; }
[data-theme="dark"] .mmf-link:hover { color: var(--brand-400); }
.mmf-sub-divider { border: 0; border-top: 1px solid var(--border-default); width: 44px; margin: var(--space-4) 0; }

.mm-promo {
  width: 240px; flex-shrink: 0; background: var(--gradient-brand-soft); border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3);
}
[data-theme="dark"] .mm-promo { border-color: rgba(213, 24, 45, 0.25); }
.mm-promo .mm-promo-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-brand); font-size: 1.1rem;
}
.mm-promo h6 { font-size: var(--fs-sm); font-weight: 800; margin-top: var(--space-1); }
.mm-promo p { font-size: var(--fs-xs); }

/* ---------------------------------- Mobile nav ---------------------------------- */
/* Fixed + hidden at all breakpoints so the panel never disrupts desktop layout/flow;
   only the toggle button that reveals it is breakpoint-gated below. */
.nav-menu-mobile {
  position: fixed; inset: 0; top: 0; background: var(--bg-canvas); z-index: 1050;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: all var(--dur-base) var(--ease-out); padding: var(--space-6);
  display: flex; flex-direction: column; overflow-y: auto;
}
.nav-menu-mobile.open { transform: translateY(0); opacity: 1; visibility: visible; }

@media (max-width: 991px) {
  .nav-links-sg { display: none; }
  .nav-toggle-btn { display: flex; }

  .mobile-nav-group { margin: var(--space-8) 0 var(--space-4); display: flex; flex-direction: column; }
  .mobile-nav-accordion .acc-item { border: none; border-bottom: 1px solid var(--border-subtle); border-radius: 0; margin-bottom: 0; background: transparent; }
  .mobile-nav-accordion .acc-header { padding: var(--space-4) var(--space-2); font-size: var(--fs-xl); font-weight: 700; }
  .mobile-nav-accordion .acc-body { padding: 0 var(--space-2); }
  .mobile-nav-accordion .acc-item.open .acc-body { padding-bottom: var(--space-3); }
  .mobile-sub-link { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-2); font-size: var(--fs-base); font-weight: 600; color: var(--text-secondary); }
  .mobile-sub-link i { color: var(--brand-500); font-size: 1.05rem; width: 22px; text-align: center; }
  .mobile-nav-plain { display: flex; align-items: center; padding: var(--space-4) var(--space-2); font-size: var(--fs-xl); font-weight: 700; border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); }
  .mobile-nav-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: auto; padding-top: var(--space-6); }
}

/* ---------------------------------- Hero ---------------------------------- */
.hero-sg {
  position: relative;
  padding-top: calc(var(--space-24) + 3rem);
  padding-bottom: var(--space-24);
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
@media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.hero-sg h1 { font-size: clamp(2.4rem, 5vw, var(--fs-6xl)); }
.hero-sub { font-size: var(--fs-lg); max-width: 560px; margin-top: var(--space-5); }
@media (max-width: 991px) { .hero-sub { margin-inline: auto; } }

/* ---- Light hero copy block (eyebrow + rotating headline + rating), left-aligned
   inside .hero-grid's first column — spacious white-canvas treatment, brand red used
   only as a sparing accent (badge, one CTA, small icon touches). ---- */
.hero-eyebrow-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-full);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-700); font-size: var(--fs-sm); font-weight: 700;
}
.hero-eyebrow-light i { color: var(--brand-500); }
[data-theme="dark"] .hero-eyebrow-light { background: rgba(213, 24, 45, 0.12); border-color: rgba(213, 24, 45, 0.25); color: var(--brand-300); }

/* Two stacked lines: a single rotating marketing word on top (brand red, the "pop"
   line) and one constant line underneath that never changes. */
.hero-headline-light {
  margin-top: var(--space-6);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
}
.hero-headline-light .hero-headline-rotator {
  color: var(--brand-500);
  font-size: clamp(2.6rem, 4.6vw, var(--fs-6xl));
}
[data-theme="dark"] .hero-headline-light .hero-headline-rotator { color: var(--brand-400); }
.hero-headline-light .hero-headline-constant {
  display: block; color: var(--text-primary);
  font-size: clamp(1.8rem, 3vw, var(--fs-4xl));
  margin-top: 2px;
}

.hero-rating-light { display: flex; align-items: center; gap: 10px; margin-top: var(--space-6); font-size: var(--fs-sm); font-weight: 600; color: var(--text-tertiary); }
.hero-rating-light .stars { display: inline-flex; gap: 2px; color: var(--warning-500); font-size: 13px; }
@media (max-width: 991px) { .hero-rating-light, .hero-eyebrow-light { justify-content: center; } .hero-rating-light { display: inline-flex; } }

/* ---------------------------------- Hero headline/eyebrow rotator mechanics ----------------------------------
   Shared by every hero skin (currently just the light hero) — a badge + headline that
   cycles through several phrases, sized to the widest/tallest variant so nothing jumps. */

/* Eyebrow badge rotates in sync with the headline; same grid-stack trick so the
   row sizes to the widest badge and never shifts while cycling. */
.hero-eyebrow-rotator { display: grid; justify-items: start; }
@media (max-width: 991px) { .hero-eyebrow-rotator { justify-items: center; justify-content: center; } }
.hero-eyebrow-rotator .he-item {
  grid-area: 1 / 1; opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.hero-eyebrow-rotator .he-item.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Badge icons animate only while their badge is the visible one */
.he-item i { display: inline-block; animation-play-state: paused; }
.he-item.is-active i { animation-play-state: running; }
.anim-rotate { animation: heRotate 2.4s linear infinite; }
@keyframes heRotate { to { transform: rotate(360deg); } }

/* Rotating headline: phrases stack in the same grid cell so the h1 sizes to the
   tallest phrase once and never jumps height while cycling. */
.hero-headline-rotator { display: grid; justify-items: start; }
@media (max-width: 991px) { .hero-headline-rotator { justify-items: center; } }
.hero-headline-rotator .hh-phrase {
  grid-area: 1 / 1; opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.hero-headline-rotator .hh-phrase.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---- Small icon animations, reused wherever a bare bootstrap-icon needs a bit of
   life (e.g. the eyebrow rotator badges) — paused unless inside an active phrase. */
.anim-pulse { animation: hdlPulse 1.8s ease-in-out infinite; }
.anim-bob   { animation: hdlBob 2s ease-in-out infinite; }
.anim-grow  { animation: hdlGrow 2.2s ease-in-out infinite; transform-origin: 50% 100%; }

@keyframes hdlPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(213, 24, 45, 0.35)); }
}
@keyframes hdlBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  40%      { transform: translateY(-3px); opacity: 0.75; }
  60%      { transform: translateY(-3px); opacity: 1; }
}
@keyframes hdlGrow {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.14); }
}

/* ---------------------------------- Offer strip ---------------------------------- */
.offer-strip { background: var(--brand-50); border-block: 1px solid var(--brand-100); }
[data-theme="dark"] .offer-strip { background: rgba(213, 24, 45, 0.10); border-color: rgba(213, 24, 45, 0.22); }
.offer-strip-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-4) 0; text-align: center; }
.offer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-500); color: #fff;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-full);
}
.offer-text { font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); }
.offer-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 800; color: var(--brand-600); text-decoration: none; }
.offer-link:hover { color: var(--brand-700); text-decoration: underline; }
[data-theme="dark"] .offer-link { color: var(--brand-400); }

/* ---------------------------------- Feature-card learn-more links ---------------------------------- */
.learn-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4); font-size: var(--fs-sm); font-weight: 700; color: var(--brand-600); text-decoration: none; transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast); }
.learn-link:hover { color: var(--brand-700); gap: 9px; }
[data-theme="dark"] .learn-link { color: var(--brand-400); }

/* ---------------------------------- Tabbed platform explorer ---------------------------------- */
.explore-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-12); }
.explore-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-full);
  border: 1px solid var(--border-default); background: transparent;
  font-family: inherit; font-weight: 700; font-size: var(--fs-sm); color: var(--text-secondary);
  cursor: pointer; transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.explore-tab i { color: var(--brand-500); }
.explore-tab:hover { border-color: var(--brand-500); color: var(--text-primary); }
.explore-tab.active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.explore-tab.active i { color: var(--brand-400); }
[data-theme="dark"] .explore-tab.active { background: #fff; border-color: #fff; color: var(--ink-950); }
[data-theme="dark"] .explore-tab.active i { color: var(--brand-500); }
/* .row sets display:flex, which beats the hidden attribute's default — force it */
.explore-panel[hidden] { display: none !important; }

.hero-cta-row { display: flex; gap: var(--space-3); margin-top: var(--space-8); flex-wrap: wrap; }
@media (max-width: 991px) { .hero-cta-row { justify-content: center; } }
.hero-trust-row { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-10); }
@media (max-width: 991px) { .hero-trust-row { justify-content: center; } }

.hero-visual { position: relative; height: 400px; }
@media (max-width: 991px) { .hero-visual { height: 340px; margin-top: var(--space-10); } }
@media (max-width: 576px) { .hero-visual { height: 300px; } }

.floating-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
}
.floating-card.fc-1 { top: 0; left: 8%; width: 250px; }
.floating-card.fc-2 { top: 46%; right: 0; width: 230px; }
.floating-card.fc-3 { bottom: 0; left: 14%; width: 260px; }
@media (max-width: 576px) { .floating-card { width: 190px !important; padding: var(--space-3); } }

.fc-header { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-mini-bar { height: 6px; border-radius: var(--radius-full); background: var(--bg-surface-2); overflow: hidden; margin-top: 6px; }
.fc-mini-bar span { display: block; height: 100%; background: var(--gradient-brand); border-radius: var(--radius-full); }

.hero-mockup-main {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 340px;
  transform: translate(-50%, -50%) rotate(-3deg);
}
/* Four scenes stacked in the same box, cross-fading — only the active one is
   interactive/hit-testable so the invisible ones never block clicks. */
.hero-scene { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); pointer-events: none; }
.hero-scene.is-active { opacity: 1; pointer-events: auto; }
.hero-mockup-main .stat-card { padding: var(--space-2); }
.floating-card { z-index: 2; }
@media (max-width: 991px) { .hero-mockup-main { width: 280px; } }
@media (max-width: 576px) { .hero-mockup-main { width: 230px; } }

/* ---------------------------------- Decorative background blobs ----------------------------------
   Soft blurred color fields used behind page-header sections for extra depth beyond the flat
   gradient-hero background — purely decorative, aria-hidden, never affects layout (absolute +
   pointer-events:none). */
.bg-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; opacity: 0.55; }
[data-theme="dark"] .bg-blob { opacity: 0.35; }
.bg-blob-brand { background: radial-gradient(circle, var(--brand-400), transparent 70%); }
.bg-blob-ink { background: radial-gradient(circle, var(--ink-400), transparent 70%); }

/* ---------------------------------- Platform tiles (quick-scan icon row) ---------------------------------- */
.platform-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3);
  padding: var(--space-5) var(--space-3); border-radius: var(--radius-lg); border: 1px solid transparent;
  transition: all var(--dur-fast);
}
.platform-tile:hover { border-color: var(--border-default); background: var(--bg-surface); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.platform-tile .pt-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--gradient-brand-soft); color: var(--brand-600); border: 1px solid var(--brand-100);
}
[data-theme="dark"] .platform-tile .pt-icon { color: var(--brand-400); border-color: rgba(213, 24, 45, 0.25); }
.platform-tile .pt-label { font-size: var(--fs-sm); font-weight: 700; color: var(--text-primary); }

/* ---------------------------------- Feature spotlight rows (alternating image/text) ---------------------------------- */
.spotlight-row:not(:last-child) { margin-bottom: var(--space-20); }
.spotlight-check-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.spotlight-check-list .scl-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.spotlight-check-list .scl-item i { color: var(--brand-500); font-size: 1.1rem; margin-top: 2px; }
[data-theme="dark"] .spotlight-check-list .scl-item i { color: var(--brand-400); }

/* Mini bar-chart graphic used inside a mockup card */
.mini-chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding: var(--space-2) var(--space-2) 0; }
.mini-chart span { flex: 1; background: var(--gradient-brand); border-radius: 6px 6px 0 0; opacity: 0.9; }
.mini-chart span:last-child { background: var(--ink-950); opacity: 1; }
[data-theme="dark"] .mini-chart span:last-child { background: var(--ink-25); }

/* Mini safety-alert list graphic used inside a mockup card */
.mini-alert-list { display: flex; flex-direction: column; gap: var(--space-3); }
.mini-alert-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); background: var(--bg-surface-2); }
.mini-alert-row .mar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-alert-row .mar-text { flex: 1; height: 8px; border-radius: var(--radius-full); background: var(--border-default); }
.mini-alert-row .mar-text.short { max-width: 60%; }

/* ---------------------------------- Stats strip ---------------------------------- */
.stats-strip { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--bg-surface); }
.stat-block { text-align: center; padding: var(--space-10) var(--space-4); }
.stat-block .num { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -0.02em; }
.stat-block .lbl { font-size: var(--fs-sm); color: var(--text-secondary); font-weight: 600; margin-top: 4px; }

/* ---------------------------------- Trusted-by ---------------------------------- */
.trusted-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-10); opacity: 0.75; }
.trusted-strip .logo-chip { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: var(--fs-lg); color: var(--text-tertiary); filter: grayscale(1); transition: all var(--dur-fast); }
.trusted-strip .logo-chip:hover { filter: none; opacity: 1; color: var(--text-primary); }

/* ---------------------------------- Features grid ---------------------------------- */
.feature-card { padding: var(--space-6); height: 100%; }
.feature-card .f-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; background: var(--gradient-brand-soft); color: var(--brand-600); margin-bottom: var(--space-5);
  border: 1px solid var(--brand-100);
}
[data-theme="dark"] .feature-card .f-icon { color: var(--brand-400); border-color: rgba(213,24,45,0.25); }

/* ---------------------------------- How it works ---------------------------------- */
.how-step { display: flex; gap: var(--space-5); position: relative; padding-bottom: var(--space-10); }
.how-step:last-child { padding-bottom: 0; }
.how-step::before {
  content: ''; position: absolute; left: 23px; top: 52px; bottom: 0; width: 2px;
  background: linear-gradient(var(--border-default), transparent);
}
.how-step:last-child::before { display: none; }
.how-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-brand);
}

/* ---------------------------------- Platform mockup ---------------------------------- */
.platform-mockup { border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-xl); overflow: hidden; background: var(--bg-surface); }
.mockup-topbar { display: flex; align-items: center; gap: 6px; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); background: var(--bg-surface-2); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------------------------------- Security section ---------------------------------- */
.security-panel { background: var(--gradient-brand); border-radius: var(--radius-2xl); padding: var(--space-16); color: #fff; position: relative; overflow: hidden; }
.security-panel::after {
  content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.5;
}
.security-item { display: flex; gap: var(--space-4); align-items: flex-start; position: relative; z-index: 1; }
.security-item .sec-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------------------------------- Testimonials ---------------------------------- */
.testimonial-card { padding: var(--space-8); height: 100%; display: flex; flex-direction: column; gap: var(--space-5); }
.testimonial-stars { color: var(--warning-500); letter-spacing: 2px; }
.testimonial-person { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }

/* ---------------------------------- Pricing ---------------------------------- */
.pricing-toggle-wrap { display: inline-flex; align-items: center; gap: var(--space-3); background: var(--bg-surface-2); padding: 6px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle); }
.pricing-toggle-btn { padding: 8px 20px; border-radius: var(--radius-full); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; color: var(--text-secondary); transition: all var(--dur-fast); }
.pricing-toggle-btn.active { background: var(--bg-surface); color: var(--brand-600); box-shadow: var(--shadow-sm); }
.price-amount { font-size: var(--fs-5xl); font-weight: 800; letter-spacing: -0.03em; }
.price-list { list-style: none; padding: 0; margin: var(--space-6) 0; display: flex; flex-direction: column; gap: var(--space-3); }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--text-secondary); }
.price-list li i { color: var(--success-500); margin-top: 3px; }

/* ---------------------------------- Pricing v2 (step indicator, switch-style toggle, richer cards) ---------------------------------- */
.pricing-steps { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.pricing-step { display: flex; align-items: center; gap: var(--space-2); }
.pricing-step .step-circle {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 800; border: 1.5px solid var(--border-strong); color: var(--text-tertiary); flex-shrink: 0;
}
.pricing-step.active .step-circle { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
[data-theme="dark"] .pricing-step.active .step-circle { background: #fff; border-color: #fff; color: var(--ink-950); }
.pricing-step .step-label { font-size: var(--fs-sm); font-weight: 700; color: var(--text-tertiary); }
.pricing-step.active .step-label { color: var(--text-primary); }
.pricing-step-connector { width: 56px; height: 1px; background: var(--border-default); }

.pricing-switch-row { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); flex-wrap: wrap; }
.pricing-switch-row .psw-label { font-size: var(--fs-sm); font-weight: 700; color: var(--text-tertiary); transition: color var(--dur-fast); }
.pricing-switch-row .psw-label.active { color: var(--text-primary); }
.pricing-currency-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--text-tertiary); }

.pricing-card-v2 { position: relative; overflow: visible; }
.pricing-card-v2.pc-featured { border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
/* .pc-featured and .card-lift:hover have equal specificity and both set `transform`, and this
   file loads after components.css, so without an explicit :hover variant here the static lift
   below would silently win over (not add to) the shared hover-lift effect on this card. */
@media (min-width: 992px) {
  .pricing-card-v2.pc-featured { transform: translateY(-16px); }
  .pricing-card-v2.pc-featured:hover { transform: translateY(-22px); box-shadow: var(--shadow-xl); }
}
.pc-badge-best {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--ink-950); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 18px; border-radius: 0 0 var(--radius-md) var(--radius-md);
}
[data-theme="dark"] .pc-badge-best { background: #fff; color: var(--ink-950); }
.pc-desc { min-height: 40px; }
.pc-price-strike { font-size: var(--fs-sm); color: var(--text-tertiary); text-decoration: line-through; }
.pc-price-amount { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.02em; }
.pc-save-note { font-size: var(--fs-xs); color: var(--success-500); font-weight: 700; margin-top: 4px; }
.pc-seats { font-size: var(--fs-xs); color: var(--text-tertiary); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border-subtle); }
.pc-includes-label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-tertiary); margin-top: var(--space-5); margin-bottom: var(--space-3); }
.pc-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); color: var(--text-secondary); }
.pc-feature-list li i { color: var(--brand-500); margin-top: 3px; flex-shrink: 0; }
[data-theme="dark"] .pc-feature-list li i { color: var(--brand-400); }
.pc-beta-tag { font-size: 9px; font-weight: 800; background: var(--brand-50); color: var(--brand-600); padding: 1px 6px; border-radius: var(--radius-full); margin-left: 4px; vertical-align: middle; }
[data-theme="dark"] .pc-beta-tag { background: rgba(213, 24, 45, 0.15); color: var(--brand-400); }
.pc-divider { border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-4) 0; }

/* ---------------------------------- Partners ---------------------------------- */
.partner-tile { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; align-items: center; justify-content: center; height: 100px; font-weight: 800; color: var(--text-tertiary); background: var(--bg-surface); transition: all var(--dur-fast); }
.partner-tile:hover { border-color: var(--brand-300); color: var(--brand-600); transform: translateY(-3px); }

/* ---------------------------------- Newsletter / CTA ---------------------------------- */
.cta-panel { background: var(--ink-950); border-radius: var(--radius-2xl); padding: var(--space-16); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(213,24,45,0.35), transparent 60%); }
[data-theme="dark"] .cta-panel { background: #050506; border: 1px solid var(--border-subtle); }

/* ---------------------------------- Footer ----------------------------------
   Intentionally always-dark regardless of the site theme toggle (same treatment
   as .cta-panel / .security-panel) — a fixed dark footer is the deliberate look
   here, not a themed surface. */
.footer-sg { background: var(--ink-950); color: rgba(255, 255, 255, 0.68); }
[data-theme="dark"] .footer-sg { background: #050506; border-top: 1px solid var(--border-subtle); }

.footer-top { padding-block: var(--space-16); }

.footer-tools { background: rgba(255, 255, 255, 0.04); border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-block: var(--space-12); }
.footer-tools-intro h6 { font-size: var(--fs-lg); font-weight: 800; color: #fff; margin-bottom: var(--space-3); }
.footer-tools-intro p { color: rgba(255, 255, 255, 0.55); font-size: var(--fs-sm); }
.footer-col-accent a { color: var(--brand-400); font-weight: 600; }
.footer-col-accent a:hover { color: var(--brand-300); text-decoration: underline; }

.footer-col h6 { font-size: var(--fs-sm); font-weight: 800; color: #fff; margin-bottom: var(--space-4); }
.footer-col a { display: block; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.6); padding: 6px 0; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }

.footer-bottom-wrap { padding-block: var(--space-10); }
.footer-bottom-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding-bottom: var(--space-8); }
.footer-sitemap { font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.footer-sitemap:hover { color: #fff; }

.social-chip { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); transition: all var(--dur-fast); }
.social-chip:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }

.footer-brand-row { padding-block: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-brand-row .brand-mark { font-size: var(--fs-xl); font-weight: 800; color: #fff; }
.footer-brand-row .footer-tagline { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: var(--space-4); }

.footer-legal-row { display: flex; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-legal-text { max-width: 640px; }
.footer-legal-text p { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.45); margin-bottom: var(--space-2); line-height: 1.6; }
.footer-legal-text a { color: rgba(255, 255, 255, 0.75); }
.footer-legal-text a:hover { color: #fff; }

.footer-legal-links { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-3); flex-shrink: 0; }
.footer-legal-links .legal-links-row { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.4); display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal-links .legal-links-row a { color: rgba(255, 255, 255, 0.7); }
.footer-legal-links .legal-links-row a:hover { color: #fff; }

/* PDPO registration logo — white chip so the gray/green logo reads on the dark footer,
   with the compliance caption beside it (same text style as the old trust badge) */
.pdpo-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
a.pdpo-badge .pdpo-chip { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
a.pdpo-badge:hover .pdpo-chip { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(163, 198, 38, 0.35); }
a.pdpo-badge:hover .tb-text strong { text-decoration: underline; }
.pdpo-badge .pdpo-chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border-radius: var(--radius-sm); padding: 6px 10px; }
.pdpo-badge .pdpo-mark { display: block; height: 40px; width: auto; }
.pdpo-words {
  display: flex; flex-direction: column; line-height: 1.12;
  font-size: 10.5px; letter-spacing: 0.2px;
  padding-left: 9px; border-left: 1.5px solid #c9cacc;
}
.pdpo-words .w-gray { color: #58595b; font-weight: 700; }
.pdpo-words .w-green { color: #a3c626; font-weight: 800; }
.pdpo-badge .tb-text { line-height: 1.25; }
.pdpo-badge .tb-text strong { display: block; font-size: var(--fs-xs); color: #fff; }
.pdpo-badge .tb-text span { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.5); }

.trust-badge { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-md); padding: 8px 12px; }
.trust-badge i { color: var(--success-500); font-size: 1.1rem; }
.trust-badge .tb-text { line-height: 1.25; }
.trust-badge .tb-text strong { display: block; font-size: var(--fs-xs); color: #fff; }
.trust-badge .tb-text span { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 767px) {
  .footer-legal-row { flex-direction: column; }
  .footer-legal-links { align-items: flex-start; }
  .footer-legal-links .legal-links-row { justify-content: flex-start; }
}

/* ---------------------------------- Footer mobile accordion ----------------------------------
   Below md (768px) each column collapses into a tap-to-expand row (chevron flips 180°, like a
   typical mobile site footer). At md+ the exact same markup renders as the normal grid columns —
   chevron hidden, body forced open — so there's one source of content for both layouts. */
/* Bootstrap's g-5 row gutter (3rem) is meant for side-by-side columns — once these stack to
   col-12 on mobile it becomes a huge vertical gap between rows that are otherwise just a thin
   divider apart, so it's zeroed here and each row's own divider/padding does the spacing. */
.footer-accordion { --bs-gutter-y: 0; }
.footer-accordion .acc-item { border: none; border-radius: 0; margin-bottom: 0; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-accordion .acc-item:last-child { border-bottom: none; }
.footer-accordion .acc-header { padding: var(--space-4) 0; }
.footer-accordion .acc-header h6 { margin: 0; }
.footer-accordion .acc-header .acc-icon { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; transform: rotate(0deg); }
.footer-accordion .acc-item.open .acc-icon { transform: rotate(180deg); }
.footer-accordion .acc-body { padding: 0; }
.footer-accordion .acc-item.open .acc-body { padding-bottom: var(--space-3); }
.footer-accordion .acc-body a { padding: 8px 0; }

@media (min-width: 768px) {
  .footer-accordion .acc-item { border-bottom: none; }
  .footer-accordion .acc-header { cursor: default; padding: 0; }
  .footer-accordion .acc-header .acc-icon { display: none; }
  /* Overrides the inline max-height the accordion JS sets on click — deliberate, since an
     inline style always wins over an external stylesheet rule short of !important. */
  .footer-accordion .acc-body { max-height: none !important; padding: 0 !important; overflow: visible; }
  .footer-accordion .acc-item.open .acc-body { padding-bottom: 0 !important; }
}
