:root {
  --primary: #00adef;
  --primary-dark: #0054a6;
  --accent: #0033cc;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --bg: #f0f9ff;
  --gradient: linear-gradient(135deg, #00adef 0%, #0054a6 100%);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 84, 166, 0.12);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0, 173, 239, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(0, 51, 204, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fcff 0%, #eef6fb 100%);
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 173, 239, 0.15);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  color: #334155;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(0, 173, 239, 0.1);
  color: var(--primary-dark);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 173, 239, 0.35);
}

/* Nav link styles must not override header CTA buttons */
.site-header .nav a.btn-primary {
  color: #fff;
}

.site-header .nav a.btn-primary:hover,
.site-header .nav a.btn-primary:focus {
  color: #fff;
  background: var(--gradient);
}

.btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 173, 239, 0.45);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--primary-dark);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 84, 166, 0.08);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 173, 239, 0.15);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.hero-stats span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(0, 173, 239, 0.08);
  border-bottom: 1px solid rgba(0, 173, 239, 0.08);
}

.section-intro {
  text-align: center;
  max-width: 42rem;
  margin: -1rem auto 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.container.narrow {
  max-width: 960px;
}

.section h2 {
  text-align: center;
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.feature p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.9rem;
}

.feature ul li {
  margin-bottom: 0.35rem;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.text-link {
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}

.text-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.module-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.module-jump a {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 173, 239, 0.2);
  color: var(--primary-dark);
  text-decoration: none;
}

.module-jump a:hover {
  background: rgba(0, 173, 239, 0.1);
  text-decoration: none;
}

.module-category {
  margin-bottom: 3rem;
}

.module-category-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 173, 239, 0.15);
}

.module-category-head h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.module-category-head p {
  margin: 0;
  color: var(--muted);
  max-width: 52rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.module-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.module-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.module-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--primary-dark);
  line-height: 1.3;
}

.module-version {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.module-summary {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.module-features {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #475569;
}

.module-features li {
  margin-bottom: 0.3rem;
}

.section-cta {
  padding-top: 1rem;
  padding-bottom: 3.5rem;
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  color: #fff;
  border-radius: 24px;
  padding: 0;
  margin: 0;
  box-shadow:
    0 1px 2px rgba(0, 84, 166, 0.08),
    0 16px 48px rgba(0, 84, 166, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 2.75rem;
}

.cta-content {
  text-align: left;
}

.cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.cta h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.cta-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-trust li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
}

.cta-panel {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 1.65rem 1.5rem;
  color: var(--text);
  box-shadow: 0 8px 28px rgba(0, 40, 80, 0.12);
}

.cta-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.cta-panel-text {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cta-actions .btn {
  width: 100%;
  justify-content: center;
}

.cta-panel-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}

.cta-panel-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn-cta-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 173, 239, 0.45);
  box-shadow: none;
}

.btn-cta-outline:hover {
  background: rgba(0, 173, 239, 0.08);
  color: var(--primary-dark);
}

/* SaaS pricing (live from perfex_saas packages) */
.section-pricing {
  background: rgba(255, 255, 255, 0.45);
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.pricing-tab {
  border: 1px solid rgba(0, 173, 239, 0.25);
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.pricing-tab.is-active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 173, 239, 0.35);
}

.pricing-group.hidden {
  display: none;
}

.pricing-group-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 173, 239, 0.15);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pricing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.pricing-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.pricing-amount {
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
}

.pricing-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-setup-fee {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.pricing-features {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  flex: 1;
  color: #475569;
  font-size: 0.88rem;
}

.pricing-features li {
  margin-bottom: 0.35rem;
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

.pricing-footnote {
  text-align: center;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 173, 239, 0.18);
  padding: 3rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 173, 239, 0.12);
}

.footer-brand {
  max-width: 22rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin: 0;
  line-height: 1.6;
  color: #64748b;
  font-size: 0.92rem;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
}

.footer-copy {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

.footer-meta {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-meta span:first-child {
  color: var(--primary-dark);
  font-weight: 600;
}

.footer-dot {
  opacity: 0.5;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 84, 166, 0.08);
}

.nav a.is-active:not(.btn) {
  background: rgba(0, 173, 239, 0.14);
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 173, 239, 0.25);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px dashed rgba(0, 173, 239, 0.45);
}

.btn-cta-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.btn-cta-light:hover {
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-trust li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.section-eyebrow {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* Core platform: 6 cards → 2 even rows of 3 (avoid 4+2 orphan layout) */
.features.features-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.feature,
.module-card,
.pricing-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature:hover,
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 84, 166, 0.1);
  border-color: rgba(0, 173, 239, 0.28);
}

.module-toolbar {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.module-search-wrap {
  display: block;
}

.module-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 173, 239, 0.22);
  font: inherit;
  font-size: 0.95rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M16 16l-4-4'/%3E%3C/svg%3E") no-repeat 1rem center;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.module-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.2);
}

.module-search-meta {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.25rem;
}

.module-card.is-hidden,
.module-category.is-hidden {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 173, 239, 0.4);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top[hidden] {
  display: none;
}

html.has-um-webchat .back-to-top,
html.has-site-help-fab .back-to-top {
  bottom: 5.75rem;
}

.site-pillars {
  padding: 0 0 2.5rem;
  margin-top: -1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 173, 239, 0.14);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.pillar-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 173, 239, 0.12);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pillar h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--primary-dark);
}

.pillar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.site-help-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99998;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 24px rgba(0, 173, 239, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-help-fab::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: site-help-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.site-help-fab.is-open::before {
  animation: none;
  opacity: 0;
}

@keyframes site-help-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  70%,
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.site-help-fab:hover {
  transform: translateY(-2px) scale(1.04);
}

.site-help-fab-icon {
  width: 26px;
  height: 26px;
}

.site-help-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.75rem;
  z-index: 99999;
  width: min(360px, calc(100vw - 2.5rem));
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 84, 166, 0.18);
  border: 1px solid rgba(0, 173, 239, 0.15);
  padding: 1.15rem 1.15rem 1rem;
  font-family: var(--font);
}

.site-help-panel[hidden] {
  display: none;
}

.site-help-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.site-help-panel-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.site-help-close {
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.site-help-lead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-help-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-help-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 173, 239, 0.18);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-help-link:hover {
  background: rgba(0, 173, 239, 0.08);
  border-color: rgba(0, 173, 239, 0.35);
  text-decoration: none;
}

.site-help-link-title {
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.site-help-link-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.site-help-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .features.features-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .split-cards {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .cta-content {
    text-align: center;
  }

  .cta-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-trust {
    justify-content: center;
  }

  .site-header .inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid rgba(0, 173, 239, 0.12);
    margin-top: 0.5rem;
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav a.btn {
    text-align: center;
    margin-top: 0.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .features,
  .features.features-3 {
    grid-template-columns: 1fr;
  }
}

/* Guest login/register: reset marketing .btn styles on bootstrap-select toggles */
.customers .bootstrap-select > .dropdown-toggle.btn {
  display: block;
  align-items: unset;
  justify-content: unset;
  gap: 0;
  padding: 6px 12px;
  height: 34px;
  min-height: 34px;
  line-height: 1.42857143;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  box-shadow: none;
}

.customers .bootstrap-select > .dropdown-toggle.btn:hover,
.customers .bootstrap-select > .dropdown-toggle.btn:focus {
  transform: none;
  box-shadow: none;
}

.customers .bootstrap-select > .dropdown-toggle.btn .filter-option {
  line-height: 1.42857143;
}

/* Form action buttons inside customer auth pages */
.customers .panel-body > .btn,
.customers .panel-body .btn-primary,
.customers .panel-body .btn-default {
  display: inline-block;
  padding: 6px 12px;
  height: auto;
  min-height: 0;
  line-height: 1.42857143;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  box-shadow: none;
  transform: none;
}
