/* ==========================================================================
   RatePing — Marketing Page Stylesheet
   Structure mirrors CSS-STANDARDS.md: base -> layout -> components -> pages
   Rules followed: plx- prefix on all classes, px-only units, CSS variables
   for every color/spacing/radius/shadow, alphabetical property order,
   mobile-first min-width media queries, max 3 levels of selector nesting.
   ========================================================================== */

/* ==========================================================================
   1. BASE — Design Tokens (base/variables.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors */
  --color-primary:        #E23F24;
  --color-primary-hover:  #C7331B;
  --color-primary-light:  #FDEDE9;
  --color-secondary:      #171519;
  --color-secondary-light:#F4EFEC;

  /* Semantic colors */
  --color-success:      #0F9D58;
  --color-success-bg:   #E9F8F0;
  --color-warning:      #D97706;
  --color-warning-bg:   #FFF7EB;
  --color-danger:       #DC2626;
  --color-danger-bg:    #FEF2F2;
  --color-info:         #2563EB;
  --color-info-bg:      #EFF5FF;

  /* Neutrals */
  --color-gray-50:  #FAFAF9;
  --color-gray-100: #F4F3F1;
  --color-gray-200: #E7E5E2;
  --color-gray-300: #D6D3CE;
  --color-gray-400: #A9A49C;
  --color-gray-500: #78736B;
  --color-gray-600: #57534A;
  --color-gray-700: #3D3A33;
  --color-gray-800: #26241F;
  --color-gray-900: #171519;

  /* Text */
  --color-text-primary:    #1A1815;
  --color-text-secondary:  #57534A;
  --color-text-muted:      #8A857C;
  --color-text-inverse:    #FFFFFF;
  --color-text-link:       var(--color-primary);
  --color-text-link-hover: var(--color-primary-hover);

  /* Backgrounds */
  --color-bg-body:    #FFFFFF;
  --color-bg-surface: #FFFFFF;
  --color-bg-muted:   #FAF8F6;
  --color-bg-tint:    #FCF0EC;
  --color-bg-dark:    #14120F;
  --color-bg-overlay: rgba(20, 18, 15, 0.6);

  /* Borders */
  --color-border:       #EAE6E1;
  --color-border-dark:  rgba(255, 255, 255, 0.1);
  --color-border-focus: var(--color-primary);

  /* Typography */
  --font-family-base:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-heading: 'DM Sans', 'Inter', sans-serif;

  --font-size-xs:  12px;
  --font-size-sm:  14px;
  --font-size-base:16px;
  --font-size-md:  18px;
  --font-size-lg:  20px;
  --font-size-xl:  24px;
  --font-size-2xl: 30px;
  --font-size-3xl: 38px;
  --font-size-4xl: 52px;
  --font-size-5xl: 64px;

  --font-weight-regular:  400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;
  --font-weight-extrabold:800;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --section-padding-y: var(--space-20);
  --section-padding-x: var(--space-6);

  /* Cards */
  --card-padding:       var(--space-8);
  --card-gap:           var(--space-6);
  --card-border-radius: 16px;
  --card-shadow:        0 1px 2px rgba(23, 21, 16, 0.04), 0 1px 3px rgba(23, 21, 16, 0.06);
  --card-shadow-hover:  0 16px 32px rgba(23, 21, 16, 0.10), 0 4px 8px rgba(23, 21, 16, 0.05);

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(23, 21, 16, 0.05);
  --shadow-md: 0 8px 20px rgba(23, 21, 16, 0.08);
  --shadow-lg: 0 20px 40px rgba(23, 21, 16, 0.12);
  --shadow-xl: 0 30px 60px rgba(23, 21, 16, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max-width: 1280px;
  --header-height:       76px;
}

/* ==========================================================================
   2. BASE — Reset (base/reset.css)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, picture, svg {
  display:   block;
  max-width: 100%;
}

button, input, select, textarea {
  color:       inherit;
  font:        inherit;
}

button {
  background: none;
  border:     none;
  cursor:     pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration:  0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Prevents the horizontal scrollbar Bootstrap's .row negative-margin gutter
   would otherwise introduce, since .row is nested inside our own
   .plx-container rather than Bootstrap's .container (which pads to match).
   No visual content is clipped — only the row's own edge whitespace.
   `clip` (not `hidden`) is deliberate: per the CSS Overflow spec, an
   overflow-x value other than `visible` paired with a `visible` overflow-y
   computes overflow-y to `auto`, which turns body into its own scroll
   container and silently breaks `position: sticky` for every descendant
   (the Explore section's sticky visual). `clip` still clips the axis
   without creating that scroll container. */
html, body {
  overflow-x: clip;
}

/* Flex/grid columns default to a content-based min-width, which stops long
   unbroken text (or fixed-size children) from shrinking and forces a
   horizontal overflow instead of wrapping. Reset it project-wide for any
   Bootstrap .row column. */
.row > * {
  min-width: 0;
}

/* ==========================================================================
   3. BASE — Typography (base/typography.css)
   ========================================================================== */

body {
  background:     var(--color-bg-body);
  color:          var(--color-text-primary);
  font-family:    var(--font-family-base);
  font-size:      var(--font-size-base);
  font-weight:    var(--font-weight-regular);
  line-height:    1.6;
}

h1, h2, h3, h4, h5, h6 {
  color:       var(--color-text-primary);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
  color: var(--color-text-secondary);
}

a {
  color:           var(--color-text-link);
  text-decoration: none;
  transition:      color var(--transition-fast);
}

a:hover {
  color: var(--color-text-link-hover);
}

.plx-eyebrow {
  background:    var(--color-primary-light);
  border-radius: var(--radius-full);
  color:         var(--color-primary);
  display:       inline-block;
  font-size:     var(--font-size-xs);
  font-weight:   var(--font-weight-bold);
  letter-spacing:0.06em;
  padding:       var(--space-2) var(--space-4);
  text-transform:uppercase;
}

.plx-eyebrow--inverse {
  background: rgba(255, 255, 255, 0.1);
  color:      #FFFFFF;
}

.plx-section-title {
  font-size:     var(--font-size-2xl);
  letter-spacing:-0.01em;
  margin-bottom: var(--space-4);
}

.plx-section-subtitle {
  color:         var(--color-text-secondary);
  font-size:     var(--font-size-md);
  margin:        0 auto;
  max-width:     640px;
}

.plx-section-subtitle--inverse {
  color: var(--color-gray-400);
}

.plx-section-head {
  margin-bottom: var(--space-12);
  text-align:    center;
}

.plx-section-head .plx-eyebrow {
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  h1 { font-size: var(--font-size-5xl); }
  .plx-section-title { font-size: var(--font-size-3xl); }
}

/* ==========================================================================
   4. BASE — Utilities (base/utilities.css)
   ========================================================================== */

.plx-container {
  margin:    0 auto;
  max-width: var(--container-max-width);
  padding:   0 var(--space-5);
  width:     100%;
}

.plx-section {
  padding-bottom: var(--section-padding-y);
  padding-top:    var(--section-padding-y);
}

.plx-section--tight {
  padding-bottom: var(--space-12);
  padding-top:    var(--space-12);
}

.plx-section--muted {
  background: var(--color-bg-muted);
}

.plx-section--tint {
  background: var(--color-bg-tint);
}

.plx-section--dark {
  background: var(--color-bg-dark);
  color:      var(--color-gray-300);
}

.plx-section--dark h2,
.plx-section--dark h3 {
  color: #FFFFFF;
}

.plx-grid {
  display: grid;
  gap:     var(--space-6);
}

.plx-grid-2 { grid-template-columns: repeat(1, 1fr); }
.plx-grid-3 { grid-template-columns: repeat(1, 1fr); }
.plx-grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .plx-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .plx-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plx-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 992px) {
  .plx-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.plx-flex {
  align-items: center;
  display:     flex;
}

.plx-flex-between {
  align-items:     center;
  display:         flex;
  justify-content: space-between;
}

.plx-flex-wrap {
  flex-wrap: wrap;
}

.plx-gap-2 { gap: var(--space-2); }
.plx-gap-3 { gap: var(--space-3); }
.plx-gap-4 { gap: var(--space-4); }
.plx-gap-6 { gap: var(--space-6); }

.plx-text-center { text-align: center; }
.plx-text-muted  { color: var(--color-text-muted); }
.plx-text-inverse{ color: #FFFFFF; }

.plx-sr-only {
  border:      0;
  clip:        rect(0 0 0 0);
  height:      1px;
  margin:      -1px;
  overflow:    hidden;
  padding:     0;
  position:    absolute;
  white-space: nowrap;
  width:       1px;
}

.plx-skip-link {
  background:  var(--color-primary);
  border-radius: 0 0 var(--radius-md) 0;
  color:       #FFFFFF;
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  left:        0;
  padding:     var(--space-2) var(--space-4);
  position:    fixed;
  top:         0;
  transform:   translateY(-120%);
  transition:  transform var(--transition-fast);
  z-index:     999;
}

.plx-skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline:        2px solid var(--color-primary);
  outline-offset: 2px;
}

img:not([alt]) {
  outline: 3px solid var(--color-danger);
}

.plx-divider {
  background: var(--color-border);
  border:     none;
  height:     1px;
  margin:     0;
}

.plx-divider--inverse {
  background: rgba(255, 255, 255, 0.1);
}

/* Spacing utilities — used only where a component-level class would be
   a single-use wrapper; values map directly to the space-* token scale. */
.plx-mt-2 { margin-top: var(--space-2); }
.plx-mt-4 { margin-top: var(--space-4); }
.plx-mt-8 { margin-top: var(--space-8); }
.plx-mb-4 { margin-bottom: var(--space-4); }
.plx-mb-5 { margin-bottom: var(--space-5); }

/* Bar height utilities for the dashboard mock chart — replaces inline
   style="height:%" so all sizing stays in the stylesheet. */
.plx-h-40 { height: 40%; }
.plx-h-45 { height: 45%; }
.plx-h-50 { height: 50%; }
.plx-h-55 { height: 55%; }
.plx-h-60 { height: 60%; }
.plx-h-65 { height: 65%; }
.plx-h-70 { height: 70%; }
.plx-h-75 { height: 75%; }
.plx-h-80 { height: 80%; }
.plx-h-85 { height: 85%; }
.plx-h-90 { height: 90%; }
.plx-h-95 { height: 95%; }

/* ==========================================================================
   5. COMPONENTS — Buttons (components/buttons.css)
   ========================================================================== */

.plx-btn {
  align-items:     center;
  border:          2px solid transparent;
  border-radius:   var(--radius-md);
  cursor:          pointer;
  display:         inline-flex;
  font-family:     var(--font-family-base);
  font-size:       var(--font-size-sm);
  font-weight:     var(--font-weight-semibold);
  gap:             var(--space-2);
  justify-content: center;
  line-height:     1;
  padding:         var(--space-3) var(--space-6);
  transition:      background-color var(--transition-fast),
                    border-color var(--transition-fast),
                    box-shadow var(--transition-fast),
                    color var(--transition-fast),
                    transform var(--transition-fast);
  user-select:     none;
  white-space:     nowrap;
}

.plx-btn:disabled,
.plx-btn[data-plx-loading="true"] {
  cursor:  not-allowed;
  opacity: 0.6;
}

.plx-btn-primary {
  background-color: var(--color-primary);
  border-color:     var(--color-primary);
  color:            #FFFFFF;
}

.plx-btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  border-color:     var(--color-primary-hover);
  color:            #FFFFFF;
  transform:        translateY(-1px);
}

.plx-btn-secondary {
  background-color: transparent;
  border-color:     var(--color-border);
  color:            var(--color-text-primary);
}

.plx-btn-secondary:hover:not(:disabled) {
  background-color: var(--color-bg-muted);
  border-color:     var(--color-gray-300);
  color:            var(--color-text-primary);
}

.plx-btn-inverse {
  background-color: #FFFFFF;
  border-color:     #FFFFFF;
  color:            var(--color-secondary);
}

.plx-btn-inverse:hover:not(:disabled) {
  background-color: var(--color-gray-100);
  color:            var(--color-secondary);
}

.plx-btn-ghost {
  background-color: transparent;
  border-color:     transparent;
  color:            var(--color-text-secondary);
}

.plx-btn-ghost:hover:not(:disabled) {
  background-color: var(--color-bg-muted);
  color:            var(--color-text-primary);
}

.plx-btn-outline-inverse {
  background-color: transparent;
  border-color:     var(--color-border-dark);
  color:            #FFFFFF;
}

.plx-btn-outline-inverse:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.08);
  border-color:     rgba(255, 255, 255, 0.3);
}

.plx-btn-lg {
  font-size: var(--font-size-base);
  padding:   var(--space-4) var(--space-8);
}

.plx-btn-sm {
  font-size: var(--font-size-xs);
  padding:   var(--space-2) var(--space-4);
}

.plx-btn-block {
  width: 100%;
}

.plx-btn-store {
  align-items:      center;
  background-color: var(--color-secondary);
  border-radius:    var(--radius-md);
  color:            #FFFFFF;
  display:          inline-flex;
  gap:              var(--space-3);
  padding:          var(--space-2) var(--space-5);
}

.plx-btn-store:hover {
  background-color: var(--color-gray-800);
  color:            #FFFFFF;
}

.plx-btn-store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.plx-btn-store-eyebrow {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plx-btn-store-name {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   6. COMPONENTS — Cards (components/cards.css)
   ========================================================================== */

.plx-card {
  background:    var(--color-bg-surface);
  border:        1px solid var(--color-border);
  border-radius: var(--card-border-radius);
  padding:       var(--card-padding);
  transition:    box-shadow var(--transition-base), transform var(--transition-base);
}

.plx-card-hover:hover {
  box-shadow: var(--card-shadow-hover);
  transform:  translateY(-4px);
}

.plx-stat-card-value {
  color:         var(--color-text-primary);
  font-family:   var(--font-family-heading);
  font-size:     var(--font-size-3xl);
  font-weight:   var(--font-weight-extrabold);
  line-height:   1;
}

.plx-stat-card-label {
  color:         var(--color-text-muted);
  font-size:     var(--font-size-sm);
  margin-top:    var(--space-2);
}

.plx-icon-badge {
  align-items:      center;
  background:       var(--color-primary-light);
  border-radius:    var(--radius-md);
  color:            var(--color-primary);
  display:          inline-flex;
  flex-shrink:      0;
  height:           48px;
  justify-content:  center;
  width:            48px;
}

.plx-icon-badge svg {
  height: 22px;
  width:  22px;
}

.plx-icon-badge--dark {
  background: rgba(255, 255, 255, 0.08);
  color:      #FFFFFF;
}

/* ==========================================================================
   7. LAYOUT — Header
   ========================================================================== */

.plx-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter:  saturate(180%) blur(10px);
  box-shadow:       0 1px 0 var(--color-border);
  height:           var(--header-height);
  left:             0;
  position:         sticky;
  top:              0;
  width:            100%;
  z-index:          200;
}

.plx-header-inner {
  align-items:     center;
  display:         flex;
  height:          100%;
  justify-content: space-between;
}

.plx-logo {
  align-items: center;
  display:     flex;
}

.plx-logo img {
  height: 48px;
  width:  auto;
}

.plx-footer .plx-logo img {
  height: 44px;
}

.plx-nav {
  align-items: center;
  display:     none;
  gap:         var(--space-8);
}

.plx-nav-link {
  color:       var(--color-text-secondary);
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  padding:     var(--space-2) 0;
  position:    relative;
}

.plx-nav-link:hover {
  color: var(--color-text-primary);
}

.plx-nav::after {
  display: none;
}

.plx-nav .plx-nav-link::after {
  background: var(--color-primary);
  bottom:     -4px;
  content:    "";
  height:     2px;
  left:       0;
  position:   absolute;
  transition: width var(--transition-base);
  width:      0;
}

.plx-nav .plx-nav-link:hover::after {
  width: 100%;
}

.plx-header-actions {
  align-items: center;
  display:     flex;
  gap:         var(--space-4);
}

.plx-header-login {
  display: none;
}

.plx-header-divider {
  background: var(--color-border);
  display:    none;
  height:     20px;
  width:      1px;
}

.plx-nav-toggle {
  align-items:     center;
  display:         flex;
  height:          40px;
  justify-content: center;
  width:           40px;
}

.plx-nav-toggle-bar,
.plx-nav-toggle-bar::before,
.plx-nav-toggle-bar::after {
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  content:    "";
  display:    block;
  height:     2px;
  position:   relative;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  width:      22px;
}

.plx-nav-toggle-bar::before { top: -7px; position: absolute; }
.plx-nav-toggle-bar::after  { top: 7px;  position: absolute; }

.plx-nav-toggle[data-plx-open="true"] .plx-nav-toggle-bar {
  background: transparent;
}

.plx-nav-toggle[data-plx-open="true"] .plx-nav-toggle-bar::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.plx-nav-toggle[data-plx-open="true"] .plx-nav-toggle-bar::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

.plx-mobile-menu {
  background:    var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  display:       none;
  padding:       var(--space-6) 0 var(--space-8);
}

.plx-mobile-menu[data-plx-open="true"] {
  display: block;
}

.plx-mobile-menu-link {
  border-bottom: 1px solid var(--color-border);
  color:         var(--color-text-primary);
  display:       block;
  font-size:     var(--font-size-md);
  font-weight:   var(--font-weight-medium);
  padding:       var(--space-4) 0;
}

.plx-mobile-menu-actions {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-3);
  margin-top:     var(--space-6);
}

@media (min-width: 992px) {
  .plx-nav {
    display: flex;
  }
  .plx-header-login,
  .plx-header-divider {
    display: block;
  }
  .plx-nav-toggle {
    display: none;
  }
  .plx-mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   8. PAGE — Hero
   ========================================================================== */

.plx-hero {
  background:  radial-gradient(ellipse 900px 500px at 88% 0%, var(--color-bg-tint) 0%, rgba(252, 240, 236, 0) 60%), #FFFFFF;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.plx-hero-copy {
  /* max-width: 520px; */
}

.plx-hero-eyebrow {
  margin-bottom: var(--space-5);
}

.plx-hero-title {
  letter-spacing: -0.02em;
  margin-bottom:  var(--space-5);
}

.plx-hero-title em {
  color:      var(--color-primary);
  font-style: normal;
}

.plx-hero-subtitle {
  font-size:     var(--font-size-md);
  margin-bottom: var(--space-8);
  max-width:     460px;
}

.plx-hero-actions {
  align-items: center;
  display:     flex;
  flex-wrap:   wrap;
  gap:         var(--space-6);
}

.plx-hero-secondary-link {
  align-items: center;
  color:       var(--color-text-primary);
  display:     inline-flex;
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  gap:         var(--space-2);
}

.plx-hero-secondary-link:hover {
  color: var(--color-primary);
}

.plx-hero-secondary-link-icon {
  align-items:      center;
  background:       var(--color-bg-muted);
  border-radius:    var(--radius-full);
  display:          inline-flex;
  height:           32px;
  justify-content:  center;
  transition:       transform var(--transition-fast);
  width:            32px;
}

.plx-hero-secondary-link:hover .plx-hero-secondary-link-icon {
  transform: translateX(3px);
}

.plx-hero-secondary-link-icon svg {
  height: 16px;
  width:  16px;
}

.plx-hero-stat-strip {
  border-top: 1px solid var(--color-border);
  display:    flex;
  flex-wrap:  wrap;
  gap:        var(--space-6);
  margin-top: var(--space-10);
  padding-top:var(--space-6);
}

.plx-hero-stat-strip li {
  color:     var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.plx-hero-stat-strip strong {
  color:       var(--color-text-primary);
  display:     block;
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-lg);
  font-weight: var(--font-weight-extrabold);
}

/* One unified visual: the hospitality photo and the product panel are
   fused into a single card (not separate floating elements). */
.plx-hero-visual-card {
  background:    #FFFFFF;
  border:        1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-xl);
  overflow:      hidden;
}

.plx-hero-visual-image {
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1000&q=70') center / cover no-repeat;
  height:     200px;
}

.plx-hero-visual-stats {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .plx-hero-visual-image {
    height: 240px;
  }
}

/* ==========================================================================
   9. COMPONENTS — Product UI (mock windows + rate comparison)
   ========================================================================== */

.plx-mock-window {
  background:    #FFFFFF;
  border:        1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-xl);
  overflow:      hidden;
}

.plx-mock-window-bar {
  align-items:      center;
  background:       var(--color-bg-muted);
  border-bottom:    1px solid var(--color-border);
  display:          flex;
  gap:              var(--space-2);
  padding:          var(--space-3) var(--space-4);
}

.plx-mock-window-dot {
  background:    var(--color-gray-300);
  border-radius: var(--radius-full);
  height:        9px;
  width:         9px;
}

.plx-mock-window-body {
  padding: var(--space-5);
}

.plx-mock-stat-row {
  display: grid;
  gap:     var(--space-3);
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--space-5);
}

.plx-mock-stat {
  background:    var(--color-bg-muted);
  border-radius: var(--radius-md);
  padding:       var(--space-3);
}

.plx-mock-stat-label {
  color:     var(--color-text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plx-mock-stat-value {
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-md);
  font-weight: var(--font-weight-bold);
  margin-top:  var(--space-1);
}

.plx-mock-stat-value--up   { color: var(--color-success); }
.plx-mock-stat-value--flag { color: var(--color-primary); }

.plx-mock-bars {
  align-items: flex-end;
  display:     flex;
  gap:         var(--space-2);
  height:      110px;
}

.plx-mock-bar {
  background:    linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  flex:          1;
  opacity:       0.85;
}

.plx-mock-bar:nth-child(3n) {
  background: var(--color-gray-800);
  opacity: 1;
}

.plx-mock-float-score-value {
  color:       var(--color-primary);
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-lg);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
}

.plx-mock-float-score-label {
  color:     var(--color-text-muted);
  font-size: 10px;
}

/* Rate-comparison widget — reuses .plx-mock-window chrome, adds the
   competitor rate list and trend footer specific to this composition. */
.plx-rate-compare-heading {
  color:       var(--color-text-muted);
  font-size:   var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  margin-left: auto;
}

.plx-rate-compare-list {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-2);
  margin-bottom:  var(--space-5);
}

.plx-rate-compare-row {
  align-items:   center;
  background:    var(--color-bg-muted);
  border:        1px solid transparent;
  border-radius: var(--radius-md);
  display:       flex;
  gap:           var(--space-3);
  padding:       var(--space-3) var(--space-4);
}

.plx-rate-compare-row--you {
  background:   var(--color-primary-light);
  border-color: var(--color-primary);
}

.plx-rate-compare-name {
  color:       var(--color-text-primary);
  flex:        1;
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.plx-rate-compare-price {
  color:       var(--color-text-primary);
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.plx-rate-compare-badge {
  border-radius: var(--radius-full);
  font-size:     10px;
  font-weight:   var(--font-weight-bold);
  padding:       var(--space-1) var(--space-3);
}

.plx-rate-compare-badge--you  { background: var(--color-primary);    color: #FFFFFF; }
.plx-rate-compare-badge--up   { background: var(--color-success-bg); color: var(--color-success); }
.plx-rate-compare-badge--down { background: var(--color-danger-bg);  color: var(--color-danger); }

.plx-rate-compare-trend {
  border-top:  1px solid var(--color-border);
  padding-top: var(--space-4);
}

.plx-rate-compare-trend-label {
  color:          var(--color-text-muted);
  display:        block;
  font-size:      var(--font-size-xs);
  letter-spacing: 0.04em;
  margin-bottom:  var(--space-3);
  text-transform: uppercase;
}

/* ==========================================================================
   10. PAGE — Trusted By
   ========================================================================== */

.plx-trust {
  background:    var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
  padding:       var(--space-20) 0;
}

.plx-trust-head {
  margin-bottom: var(--space-10);
}

.plx-trust-title {
  font-size:     var(--font-size-xl);
  margin:        var(--space-3) 0 0;
}

.plx-trust-callout {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-6);
}

.plx-trust-callout-value {
  display:    block;
  font-size:  var(--font-size-4xl);
  margin-bottom: var(--space-2);
}

.plx-trust-callout-text {
  color:     var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin:    0;
  max-width: 280px;
}

.plx-trust-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:         linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  overflow:            hidden;
}

.plx-trust-marquee-track {
  animation:  plx-marquee 26s linear infinite;
  display:    flex;
  gap:        var(--space-5);
  width:      max-content;
}

.plx-trust-marquee:hover .plx-trust-marquee-track {
  animation-play-state: paused;
}

@keyframes plx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .plx-trust-marquee-track {
    animation: none;
  }
}

.plx-trust-logos {
  align-items: center;
  column-gap:  var(--space-5);
  display:     flex;
  flex-shrink: 0;
  row-gap:     var(--space-5);
}

.plx-trust-logo-tile {
  align-items:     center;
  background:      #FFFFFF;
  border:          1px solid var(--color-border);
  border-radius:   var(--radius-lg);
  display:         flex;
  filter:          grayscale(100%);
  height:          72px;
  justify-content: center;
  opacity:         0.7;
  padding:         0 var(--space-6);
  transition:      filter var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

.plx-trust-logo-tile:hover {
  filter:    grayscale(0%);
  opacity:   1;
  transform: translateY(-2px);
}

.plx-trust-logo-tile--lg {
  height: 88px;
}

.plx-trust-logo-item {
  color:          var(--color-text-secondary);
  font-family:    var(--font-family-heading);
  font-size:      var(--font-size-md);
  font-weight:    var(--font-weight-bold);
  letter-spacing: -0.01em;
  white-space:    nowrap;
}

.plx-trust-logo-tile--lg .plx-trust-logo-item {
  font-size: var(--font-size-lg);
}

/* ==========================================================================
   11. PAGE — Product Value / Benefits
   ========================================================================== */

.plx-value-statement {
  position: sticky;
  top:      calc(var(--header-height) + var(--space-8));
}

.plx-value-statement-title {
  font-size:      var(--font-size-2xl);
  letter-spacing: -0.01em;
  margin:         var(--space-4) 0;
}

.plx-value-statement-title em {
  color:      var(--color-primary);
  font-style: normal;
}

.plx-value-statement-text {
  margin: 0;
}

.plx-value-list {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-6);
}

.plx-value-item {
  background:    #FFFFFF;
  border:        1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display:       flex;
  gap:           var(--space-5);
  padding:       var(--space-6);
  transition:    box-shadow var(--transition-base), transform var(--transition-base);
}

.plx-value-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform:  translateY(-2px);
}

.plx-value-item-title {
  font-size:     var(--font-size-lg);
  margin-bottom: var(--space-1);
}

.plx-value-item-text {
  font-size: var(--font-size-sm);
  margin:    0;
}

@media (min-width: 768px) {
  .plx-value-list {
    display:               grid;
    gap:                   var(--space-8) var(--space-6);
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   12. PAGE — Product Dashboard Showcase
   ========================================================================== */

.plx-dashboard-section {
  background: radial-gradient(ellipse 900px 500px at 100% 0%, rgba(226, 63, 36, 0.16), rgba(226, 63, 36, 0) 60%), var(--color-bg-dark);
  position:   relative;
}

.plx-dashboard-section::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size:  40px 40px;
  content:          "";
  inset:            0;
  mask-image:       radial-gradient(ellipse 900px 500px at 50% 0%, black, transparent 70%);
  position:         absolute;
}

.plx-dashboard-section .plx-container {
  position: relative;
  z-index:  1;
}

.plx-dashboard-section .plx-section-title {
  color: #FFFFFF;
}

.plx-dashboard-section .plx-section-subtitle {
  color: var(--color-gray-400);
}

.plx-dashboard-frame {
  background:    #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow:    0 40px 80px rgba(0, 0, 0, 0.4);
  margin:        0 auto;
  max-width:     880px;
  overflow:      hidden;
}

.plx-dashboard-frame-bar {
  align-items:     center;
  border-bottom:   1px solid var(--color-border);
  display:         flex;
  flex-wrap:       wrap;
  justify-content: space-between;
  row-gap:         var(--space-2);
}

.plx-dashboard-frame-bar .plx-mock-window-bar {
  border-bottom: none;
  flex:          1;
}

.plx-dashboard-tabs {
  display: flex;
  gap:     var(--space-1);
  padding: var(--space-2) var(--space-4) var(--space-2) 0;
}

.plx-dashboard-tab {
  border-radius: var(--radius-full);
  color:         var(--color-text-muted);
  font-size:     var(--font-size-xs);
  font-weight:   var(--font-weight-semibold);
  padding:       var(--space-1) var(--space-3);
  transition:    background-color var(--transition-fast), color var(--transition-fast);
}

.plx-dashboard-tab:hover {
  color: var(--color-text-primary);
}

.plx-dashboard-tab[data-plx-active="true"] {
  background: var(--color-primary-light);
  color:      var(--color-primary);
}

.plx-dashboard-tab[data-plx-active="true"]:hover {
  color: var(--color-primary);
}

.plx-dashboard-frame-stats {
  border-bottom:         1px solid var(--color-border);
  display:               grid;
  gap:                   1px;
  background:            var(--color-border);
  grid-template-columns: repeat(2, 1fr);
}

.plx-dashboard-stat {
  background: #FFFFFF;
  display:    flex;
  flex-direction: column;
  gap:        var(--space-1);
  padding:    var(--space-4) var(--space-5);
}

.plx-dashboard-frame-table {
  margin:  0;
  padding: var(--space-5);
}

@media (min-width: 576px) {
  .plx-dashboard-frame-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   13. PAGE — Rate Intelligence Flow
   ========================================================================== */

.plx-flow-section {
  background: linear-gradient(160deg, rgba(252, 240, 236, 0.95), rgba(252, 240, 236, 0.88)),
              url('https://images.unsplash.com/photo-1584132967334-10e028bd69f7?auto=format&fit=crop&w=1600&q=60') center / cover no-repeat;
}

.plx-flow {
  align-items:     center;
  display:         flex;
  flex-direction:  column;
  gap:             var(--space-2);
}

.plx-flow-node {
  background:    #FFFFFF;
  border:        1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow:    var(--shadow-sm);
  padding:       var(--space-3) var(--space-6);
  text-align:    center;
  width:         100%;
  max-width:     320px;
}

.plx-flow-node--end {
  background:   var(--color-primary);
  border-color: var(--color-primary);
}

.plx-flow-node--end .plx-flow-node-label {
  color: #FFFFFF;
}

.plx-flow-node-label {
  color:       var(--color-text-primary);
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.plx-flow-arrow {
  background: var(--color-border);
  height:     20px;
  width:      2px;
}

@media (min-width: 768px) {
  .plx-flow {
    flex-direction: row;
    flex-wrap:      wrap;
    justify-content: center;
  }
  .plx-flow-node {
    width: auto;
  }
  .plx-flow-arrow {
    height: 2px;
    width:  28px;
  }
}

/* ==========================================================================
   14. PAGE — Solutions
   ========================================================================== */

.plx-solution-card-media {
  background:      linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-secondary) 100%);
  border-radius:   var(--radius-lg);
  display:         flex;
  flex-direction:  column;
  height:          160px;
  justify-content: space-between;
  margin-bottom:   var(--space-6);
  overflow:        hidden;
  position:        relative;
}

.plx-solution-card-media::after {
  background: linear-gradient(180deg, rgba(226, 63, 36, 0.15), rgba(23, 21, 25, 0.55));
  content:    "";
  inset:      0;
  position:   absolute;
}

.plx-solution-card-media-bar {
  align-items: center;
  display:     flex;
  gap:         var(--space-2);
  padding:     var(--space-4);
  position:    relative;
  z-index:     1;
}

.plx-solution-card-media-stats {
  display:  flex;
  gap:      var(--space-3);
  padding:  0 var(--space-4) var(--space-5);
  position: relative;
  z-index:  1;
}

.plx-solution-card-media-stat {
  background:    rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color:         #FFFFFF;
  font-size:     var(--font-size-xs);
  padding:       var(--space-1) var(--space-3);
}

.plx-solution-card-media-stat strong {
  color: var(--color-primary-light);
}

.plx-solution-card {
  display:        flex;
  flex-direction: column;
}

.plx-solution-card--featured {
  height: 100%;
}

.plx-solution-card--featured .plx-solution-card-media {
  background: url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=900&q=70') center / cover no-repeat;
  height:     240px;
}

.plx-solution-card-media--groups {
  background: url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?auto=format&fit=crop&w=700&q=70') center / cover no-repeat;
}

.plx-solution-card-media--rentals {
  background: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=700&q=70') center / cover no-repeat;
}

.plx-solution-card--featured h3 {
  font-size: var(--font-size-xl);
}

.plx-solution-card-stack {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-4);
}

.plx-solution-card--row {
  flex: 1;
}

@media (min-width: 576px) {
  .plx-solution-card--row {
    align-items: center;
    display:     flex;
    flex-direction: row;
    gap:         var(--space-6);
  }
  .plx-solution-card--row .plx-solution-card-media {
    flex-shrink:   0;
    height:        120px;
    margin-bottom: 0;
    width:         160px;
  }
  .plx-solution-card--row .plx-solution-card-media-stats {
    flex-wrap: wrap;
    gap:       var(--space-1);
    padding:   0 var(--space-3) var(--space-3);
  }
  .plx-solution-card--row .plx-solution-card-media-stat {
    font-size: 10px;
    padding:   2px var(--space-2);
  }
  .plx-solution-card-body {
    display:        flex;
    flex-direction: column;
    height:         100%;
  }
}

.plx-solution-list {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-2);
  margin:         var(--space-5) 0 var(--space-6);
}

.plx-solution-list-item {
  align-items: flex-start;
  color:       var(--color-text-secondary);
  display:     flex;
  font-size:   var(--font-size-sm);
  gap:         var(--space-2);
}

.plx-solution-list-item svg {
  color:      var(--color-success);
  flex-shrink:0;
  height:     16px;
  margin-top: 3px;
  width:      16px;
}

.plx-solution-link {
  font-size:   var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-top:  auto;
}

/* ==========================================================================
   15. PAGE — Customer Success
   ========================================================================== */

.plx-success-feature {
  display: grid;
  gap:     var(--space-8);
}

.plx-success-quote-block {
  background: linear-gradient(160deg, rgba(20, 18, 15, 0.9) 10%, rgba(23, 21, 25, 0.65) 60%, rgba(23, 21, 25, 0.85) 100%),
              url('https://images.unsplash.com/photo-1445019980597-93fa8acb246c?auto=format&fit=crop&w=1400&q=70') center / cover no-repeat;
  border-radius: var(--radius-xl);
  box-shadow:    0 24px 48px rgba(23, 21, 16, 0.18);
  min-height:    460px;
  padding:       var(--space-10) var(--space-8);
  position:      relative;
}

.plx-success-quote-mark {
  color:       var(--color-primary);
  display:     block;
  font-family: var(--font-family-heading);
  font-size:   96px;
  line-height: 1;
  opacity:     0.7;
}

.plx-success-quote-lg {
  color:          #FFFFFF;
  font-family:    var(--font-family-heading);
  font-size:      var(--font-size-xl);
  font-weight:    var(--font-weight-semibold);
  letter-spacing: -0.01em;
  line-height:    1.35;
  margin-top:     calc(-1 * var(--space-8));
  max-width:      440px;
}

.plx-success-cite {
  color:       var(--color-gray-300);
  display:     block;
  font-size:   var(--font-size-sm);
  font-style:  normal;
  margin-top:  var(--space-5);
}

.plx-success-snapshot {
  background:     #FFFFFF;
  border:         1px solid var(--color-border);
  border-radius:  var(--radius-xl);
  box-shadow:     var(--shadow-lg);
  display:        flex;
  flex-direction: column;
  height:         100%;
  padding:        var(--card-padding);
}

.plx-success-snapshot .plx-case-actions {
  margin-top: auto;
}

.plx-success-snapshot-header {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
  padding-bottom:var(--space-5);
}

.plx-success-snapshot-title {
  display:     block;
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.plx-success-snapshot-sub {
  color:     var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.plx-case-block-title {
  color:          var(--color-primary);
  font-size:      var(--font-size-xs);
  font-weight:    var(--font-weight-bold);
  letter-spacing: 0.06em;
  margin-bottom:  var(--space-2);
  text-transform: uppercase;
}

.plx-case-block-text {
  color:         var(--color-text-secondary);
  font-size:     var(--font-size-sm);
  margin-bottom: var(--space-5);
}

.plx-case-stats {
  display: grid;
  gap:     var(--space-4);
  grid-template-columns: repeat(3, 1fr);
  margin:  var(--space-6) 0;
}

.plx-case-stat-value {
  color:       var(--color-primary);
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
}

.plx-case-stat-label {
  color:     var(--color-text-muted);
  font-size: var(--font-size-xs);
}

@media (min-width: 992px) {
  .plx-success-feature {
    align-items:           stretch;
    grid-template-columns: 1.2fr 0.8fr;
  }
  .plx-success-quote-lg {
    font-size: var(--font-size-2xl);
  }
}

/* ==========================================================================
   16. PAGE — Feature / Workflow
   ========================================================================== */

.plx-workflow-steps {
  counter-reset: workflow;
  display:       flex;
  flex-direction: column;
  gap:           var(--space-8);
}

.plx-workflow-step {
  background:        var(--color-bg-surface);
  border:            1px solid var(--color-border);
  border-radius:     var(--radius-lg);
  counter-increment: workflow;
  padding:           var(--space-6);
  position:          relative;
  transition:        box-shadow var(--transition-base), transform var(--transition-base);
}

.plx-workflow-step:nth-child(odd) {
  background: var(--color-bg-tint);
}

.plx-workflow-step:hover {
  box-shadow: var(--card-shadow-hover);
  transform:  translateY(-3px);
}

.plx-workflow-step::before {
  color:          var(--color-border);
  content:        counter(workflow, decimal-leading-zero);
  display:        block;
  font-family:    var(--font-family-heading);
  font-size:      var(--font-size-3xl);
  font-weight:    var(--font-weight-extrabold);
  line-height:    1;
  margin-bottom:  var(--space-4);
}

.plx-workflow-step-icon {
  align-items:      center;
  background:       var(--color-primary-light);
  border-radius:    var(--radius-full);
  color:            var(--color-primary);
  display:          inline-flex;
  height:           52px;
  justify-content:  center;
  margin-bottom:    var(--space-4);
  width:            52px;
}

.plx-workflow-step-icon svg {
  height: 22px;
  width:  22px;
}

.plx-workflow-step-title {
  margin-bottom: var(--space-2);
}

.plx-workflow-step-text {
  font-size: var(--font-size-sm);
  margin:    0;
}

@media (min-width: 992px) {
  .plx-workflow-steps {
    flex-direction: row;
  }
  .plx-workflow-step {
    flex: 1;
  }
}

/* ==========================================================================
   17. PAGE — Explore / Feature Timeline
   ========================================================================== */

.plx-explore {
  background: var(--color-bg-muted);
  color:      var(--color-text-secondary);
}

/* .plx-explore-grid column split now comes from Bootstrap's .row/.col-lg-6
   + .col-lg-6 (g-5 gutter) in the markup. */

.plx-explore-visual {
  align-self: start;
  position:   sticky;
  top:        calc(var(--header-height) + var(--space-8));
}

.plx-explore-visual-stack {
  min-height: 380px;
  position:   relative;
}

.plx-explore-visual-panel {
  inset:          0;
  opacity:        0;
  pointer-events: none;
  position:       absolute;
  transition:     opacity 0.4s ease;
}

.plx-explore-visual-panel[data-plx-active="true"] {
  opacity:        1;
  pointer-events: auto;
  z-index:        1;
}

@media (prefers-reduced-motion: reduce) {
  .plx-explore-visual-panel {
    transition: none;
  }
}

.plx-timeline-wrap {
  position: relative;
}

.plx-timeline-track {
  bottom:   18px;
  left:     -1px;
  position: absolute;
  top:      18px;
  width:    2px;
}

.plx-timeline-track,
.plx-timeline-track-fill {
  background:    var(--color-border);
  border-radius: var(--radius-full);
}

.plx-timeline-track-fill {
  background: var(--color-primary);
  display:    block;
  height:     0%;
  transition: height var(--transition-slow);
  width:      100%;
}

.plx-timeline-track-fill[data-plx-progress-step="1"] { height: 20%; }
.plx-timeline-track-fill[data-plx-progress-step="2"] { height: 40%; }
.plx-timeline-track-fill[data-plx-progress-step="3"] { height: 60%; }
.plx-timeline-track-fill[data-plx-progress-step="4"] { height: 80%; }
.plx-timeline-track-fill[data-plx-progress-step="5"] { height: 100%; }

.plx-timeline {
  display: flex;
  flex-direction: column;
}

.plx-timeline-item {
  padding-bottom: var(--space-10);
  padding-left:   var(--space-8);
  position:       relative;
}

.plx-timeline-item:last-child {
  padding-bottom: 0;
}

.plx-timeline-marker {
  align-items:      center;
  background:       var(--color-bg-surface);
  border:           2px solid var(--color-border);
  border-radius:    var(--radius-full);
  color:            var(--color-text-muted);
  display:          flex;
  height:           36px;
  justify-content:  center;
  left:             -19px;
  position:         absolute;
  top:              0;
  width:            36px;
}

.plx-timeline-item[data-plx-active="true"] .plx-timeline-marker,
.plx-timeline-item[data-plx-passed="true"] .plx-timeline-marker {
  background:   var(--color-primary);
  border-color: var(--color-primary);
  color:        #FFFFFF;
}

.plx-timeline-marker svg {
  height: 16px;
  width:  16px;
}

.plx-timeline-eyebrow {
  color:          var(--color-primary);
  font-size:      var(--font-size-xs);
  font-weight:    var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plx-timeline-title {
  color:         var(--color-text-muted);
  font-size:     var(--font-size-lg);
  margin:        var(--space-2) 0 var(--space-3);
  transition:    color var(--transition-base);
}

.plx-timeline-item[data-plx-active="true"] .plx-timeline-title {
  color: var(--color-text-primary);
}

.plx-timeline-text {
  color:     var(--color-text-secondary);
  font-size: var(--font-size-sm);
  max-width: 440px;
}

.plx-explore-stats {
  border-top: 1px solid var(--color-border);
  display:    grid;
  gap:        var(--space-6);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-16);
  padding-top:var(--space-12);
  text-align: center;
}

@media (min-width: 576px) {
  .plx-explore-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   18. PAGE — Pricing
   ========================================================================== */

.plx-pricing-layout {
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-lg);
  margin:        0 auto;
  max-width:     980px;
  overflow:      hidden;
}

.plx-pricing-panel {
  background: linear-gradient(160deg, var(--color-bg-tint), #FFFFFF);
  padding:    var(--card-padding);
}

.plx-pricing-visual {
  background: linear-gradient(0deg, rgba(20, 18, 15, 0.55), rgba(20, 18, 15, 0)),
              url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=900&q=70') center / cover no-repeat;
  min-height: 240px;
  position:   relative;
}

.plx-pricing-visual-badge {
  background:    #FFFFFF;
  border-radius: var(--radius-lg);
  bottom:        var(--space-6);
  box-shadow:    var(--shadow-lg);
  left:          var(--space-6);
  padding:       var(--space-4) var(--space-5);
  position:      absolute;
  text-align:    center;
}

@media (min-width: 992px) {
  .plx-pricing-visual {
    min-height: 100%;
  }
}

.plx-pricing-panel-head {
  align-items:     center;
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--space-5);
  justify-content: space-between;
}

.plx-pricing-eyebrow {
  color:          var(--color-text-muted);
  font-size:      var(--font-size-xs);
  font-weight:    var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plx-price {
  align-items:   baseline;
  display:       flex;
  gap:           var(--space-2);
  margin-top:    var(--space-2);
}

.plx-price-value {
  color:       var(--color-text-primary);
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
}

.plx-price-period {
  color:     var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.plx-pricing-intro {
  border-top:  1px solid var(--color-border);
  color:       var(--color-text-secondary);
  margin-top:  var(--space-8);
  padding-top: var(--space-6);
}

.plx-pricing-list {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-3);
  margin-top:     var(--space-5);
}

.plx-pricing-list--grid {
  display:               grid;
  gap:                   var(--space-3) var(--space-6);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {
  .plx-pricing-list--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plx-pricing-list-item {
  align-items: flex-start;
  color:       var(--color-text-secondary);
  display:     flex;
  font-size:   var(--font-size-sm);
  gap:         var(--space-3);
}

.plx-pricing-list-item svg {
  color:       var(--color-primary);
  flex-shrink: 0;
  height:      18px;
  margin-top:  2px;
  width:       18px;
}

/* ==========================================================================
   19. PAGE — Resources
   ========================================================================== */

/* .plx-resources-grid column split now comes from Bootstrap's .row/.col-lg-5
   + .col-lg-7 (g-5 gutter) in the markup. */

.plx-guide-card {
  background: linear-gradient(180deg, rgba(23, 21, 25, 0.15) 0%, rgba(23, 21, 25, 0.9) 100%),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=900&q=70') center / cover no-repeat;
  border-radius: var(--radius-xl);
  min-height:    340px;
  overflow:      hidden;
  padding:       var(--space-6);
  position:      relative;
}

.plx-guide-tag {
  background:    var(--color-primary);
  border-radius: var(--radius-sm);
  color:         #FFFFFF;
  display:       inline-block;
  font-size:     var(--font-size-xs);
  font-weight:   var(--font-weight-bold);
  padding:       var(--space-1) var(--space-3);
}

.plx-guide-title {
  bottom:      var(--space-6);
  color:       #FFFFFF;
  left:        var(--space-6);
  position:    absolute;
  right:       var(--space-6);
}

.plx-guide-text {
  color:      var(--color-gray-300);
  font-size:  var(--font-size-sm);
  margin:     var(--space-2) 0 var(--space-4);
}

.plx-article-list {
  display:        flex;
  flex-direction: column;
}

.plx-article-item {
  border-bottom: 1px solid var(--color-border);
  display:       flex;
  gap:           var(--space-5);
  padding:       var(--space-5) 0;
}

.plx-article-item:first-child {
  padding-top: 0;
}

.plx-article-thumb {
  background-position: center;
  background-size:     cover;
  border-radius:        var(--radius-md);
  flex-shrink:          0;
  height:               72px;
  width:                96px;
}

.plx-article-thumb--01 { background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=300&q=70'); }
.plx-article-thumb--02 { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=300&q=70'); }
.plx-article-thumb--03 { background-image: url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=300&q=70'); }

.plx-article-body {
  min-width: 0;
}

.plx-article-meta {
  align-items: center;
  color:       var(--color-text-muted);
  display:     flex;
  font-size:   var(--font-size-xs);
  gap:         var(--space-3);
  margin-bottom: var(--space-2);
}

.plx-article-tag {
  color:       var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.plx-article-title {
  color:       var(--color-text-primary);
  display:     block;
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

.plx-article-title:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   20. PAGE — CTA Banner
   ========================================================================== */

.plx-cta-banner {
  background: radial-gradient(ellipse 900px 600px at 15% 10%, rgba(226, 63, 36, 0.45), rgba(20, 18, 15, 0) 65%),
              linear-gradient(100deg, rgba(20, 18, 15, 0.95) 30%, rgba(20, 18, 15, 0.75) 70%, rgba(20, 18, 15, 0.55) 100%),
              url('https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?auto=format&fit=crop&w=1600&q=65') center / cover no-repeat;
  overflow:   hidden;
  position:   relative;
}

/* .plx-cta-grid column split now comes from Bootstrap's .row/.col-lg-6
   (g-5 gutter, align-items-center) in the markup. */

.plx-cta-title {
  color:         #FFFFFF;
  font-size:     var(--font-size-3xl);
  letter-spacing:-0.01em;
  margin-bottom: var(--space-5);
  margin-top:    var(--space-4);
}

@media (min-width: 768px) {
  .plx-cta-title {
    font-size: var(--font-size-4xl);
  }
}

.plx-cta-link {
  align-items:    center;
  color:          #FFFFFF;
  display:        inline-flex;
  font-size:      var(--font-size-sm);
  font-weight:    var(--font-weight-semibold);
  gap:            var(--space-2);
  padding:        var(--space-4) var(--space-2);
}

.plx-cta-link:hover {
  color: var(--color-gray-300);
}

.plx-cta-actions {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-4);
  margin-top:     var(--space-8);
}

.plx-cta-note {
  color:     var(--color-gray-400);
  font-size: var(--font-size-xs);
  margin-top:var(--space-3);
}

.plx-cta-text {
  color:     var(--color-gray-400);
  font-size: var(--font-size-md);
  max-width: 520px;
}

.plx-cta-trust {
  display:    flex;
  flex-wrap:  wrap;
  gap:        var(--space-3) var(--space-6);
  margin-top: var(--space-8);
}

.plx-cta-trust li {
  color:       var(--color-gray-300);
  font-size:   var(--font-size-sm);
  padding-left:var(--space-6);
  position:    relative;
}

.plx-cta-trust li::before {
  color:    var(--color-primary);
  content:  "✓";
  left:     0;
  position: absolute;
}

.plx-demo-form {
  background:    #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow:    0 40px 80px rgba(0, 0, 0, 0.4);
  padding:       var(--space-8);
}

.plx-demo-form-title {
  margin-bottom: var(--space-2);
}

.plx-demo-form-subtitle {
  color:         var(--color-text-secondary);
  font-size:     var(--font-size-sm);
  margin-bottom: var(--space-6);
}

.plx-demo-form-row {
  margin-bottom: var(--space-4);
}

.plx-form-label {
  color:         var(--color-text-secondary);
  display:       block;
  font-size:     var(--font-size-sm);
  font-weight:   var(--font-weight-medium);
  margin-bottom: var(--space-2);
}

.plx-form-label span {
  color: var(--color-primary);
}

.plx-form-input {
  background:    var(--color-bg-muted);
  border:        1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding:       var(--space-3) var(--space-4);
  transition:    border-color var(--transition-fast), background-color var(--transition-fast);
  width:         100%;
}

.plx-form-input:focus-visible {
  background:  #FFFFFF;
  border-color:var(--color-border-focus);
  outline:     none;
}

.plx-form-input:invalid:not(:placeholder-shown) {
  border-color: var(--color-danger);
}

.plx-demo-form-status {
  color:      var(--color-text-muted);
  font-size:  var(--font-size-xs);
  margin-top: var(--space-3);
  min-height: 16px;
  text-align: center;
}

.plx-demo-form button[data-plx-loading="true"] {
  opacity: 0.7;
}

@media (min-width: 992px) {
  .plx-cta-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   21. LAYOUT — Footer
   ========================================================================== */

.plx-footer {
  background:  var(--color-secondary);
  border-top:  1px solid rgba(226, 63, 36, 0.3);
  color:       var(--color-gray-400);
  padding:     var(--space-16) 0 var(--space-8);
}

.plx-footer-cta {
  align-items:     center;
  border-bottom:   1px solid rgba(255, 255, 255, 0.1);
  display:         flex;
  flex-direction:  column;
  gap:             var(--space-4);
  justify-content: space-between;
  margin-bottom:   var(--space-12);
  padding-bottom:  var(--space-10);
  text-align:      center;
}

.plx-footer-cta-text {
  color:       #FFFFFF;
  font-family: var(--font-family-heading);
  font-size:   var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

@media (min-width: 768px) {
  .plx-footer-cta {
    flex-direction: row;
    text-align:     left;
  }
}

/* .plx-footer-top / .plx-footer-cols column splits now come from
   Bootstrap's .row/.col-md-4, .col-md-8, .col-sm-4 in the markup. */

.plx-footer-top {
  margin-bottom: var(--space-12);
}

.plx-footer-brand-text {
  color:         var(--color-gray-400);
  font-size:     var(--font-size-sm);
  margin-top:    var(--space-4);
  max-width:     280px;
}

.plx-footer-col-title {
  color:          #FFFFFF;
  font-size:      var(--font-size-sm);
  font-weight:    var(--font-weight-semibold);
  letter-spacing: 0.04em;
  margin-bottom:  var(--space-4);
  text-transform: uppercase;
}

.plx-footer-link-list {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-3);
}

.plx-footer-link {
  color:      var(--color-gray-400);
  font-size:  var(--font-size-sm);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.plx-footer-link:hover {
  color:       #FFFFFF;
  padding-left: var(--space-2);
}

/* Column labels with no confirmed destination page yet — shown for
   completeness but not styled as clickable until a real URL exists. */
.plx-footer-link--static {
  cursor:  default;
  display: inline-block;
  opacity: 0.7;
}

.plx-footer-bottom {
  align-items:    flex-start;
  border-top:     1px solid rgba(255, 255, 255, 0.1);
  display:        flex;
  flex-direction: column;
  font-size:      var(--font-size-xs);
  gap:            var(--space-4);
  padding-top:    var(--space-6);
}

.plx-footer-meta {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-1);
}

@media (min-width: 768px) {
  .plx-footer-bottom {
    align-items:     center;
    flex-direction:  row;
    justify-content: space-between;
  }
}

/* Footer brand badge + app download (shared by index, login, why-rateping) */
.plx-footer .plx-logo {
  background:    #FFFFFF;
  border-radius: var(--radius-md);
  padding:       var(--space-2) var(--space-4);
  width:         fit-content;
}

.plx-footer-app {
  background:   transparent;
  border:       1px solid rgba(255, 255, 255, 0.25);
  margin-top:   var(--space-5);
}

.plx-footer-app:hover {
  border-color: var(--color-primary);
}

/* ==========================================================================
   22. COMPONENTS — Back to Top
   ========================================================================== */

.plx-back-to-top {
  align-items:     center;
  background:      #FFFFFF;
  border-radius:   var(--radius-full);
  bottom:          var(--space-5);
  box-shadow:      var(--shadow-lg);
  display:         flex;
  height:          48px;
  justify-content: center;
  opacity:         0;
  pointer-events:  none;
  position:        fixed;
  right:           var(--space-5);
  transform:       translateY(8px);
  transition:      opacity var(--transition-base), transform var(--transition-base);
  width:           48px;
  z-index:         150;
}

.plx-back-to-top[data-plx-visible="true"] {
  opacity:        1;
  pointer-events: auto;
  transform:      translateY(0);
}

.plx-back-to-top:hover {
  transform: translateY(-2px);
}

.plx-back-to-top-ring {
  height:    48px;
  left:      0;
  position:  absolute;
  top:       0;
  transform: rotate(-90deg);
  width:     48px;
}

.plx-back-to-top-track,
.plx-back-to-top-progress {
  fill:         none;
  stroke-width: 3;
}

.plx-back-to-top-track {
  stroke: var(--color-border);
}

.plx-back-to-top-progress {
  stroke:            var(--color-primary);
  stroke-dasharray:  131.9;
  stroke-dashoffset: 131.9;
  stroke-linecap:    round;
  transition:        stroke-dashoffset 100ms linear;
}

.plx-back-to-top-arrow {
  color:  var(--color-primary);
  height: 18px;
  width:  18px;
}

@media (min-width: 768px) {
  .plx-back-to-top {
    bottom: var(--space-8);
    right:  var(--space-8);
  }
}

/* ==========================================================================
   23. Print
   ========================================================================== */

@media print {
  .plx-header, .plx-btn, .plx-mobile-menu, .plx-cta-banner {
    display: none;
  }
}
