:root {
  --bg: #f7faff;
  --bg-soft: #edf4ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: #d8e4fb;
  --text: #12264d;
  --muted: #5f6f8f;
  --primary: #2638bd;
  --primary-2: #4b67ff;
  --accent: #00b44b;
  --accent-soft: rgba(0, 180, 75, 0.12);
  --shadow: 0 18px 45px rgba(30, 56, 124, 0.1);
  --shadow-soft: 0 10px 28px rgba(30, 56, 124, 0.08);
  --radius: 20px;
  --container: 1360px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  color: var(--text);
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: linear-gradient(154deg, #f8fbff 0%, #f3f8ff 44%, #f1faf6 100%);
  line-height: 1.58;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: -18vh -14vw;
  background:
    radial-gradient(circle at 16% 12%, rgba(104, 147, 255, 0.2) 0%, rgba(104, 147, 255, 0.08) 32%, transparent 60%),
    radial-gradient(circle at 84% 14%, rgba(22, 196, 156, 0.16) 0%, rgba(22, 196, 156, 0.06) 30%, transparent 58%),
    radial-gradient(circle at 52% 86%, rgba(129, 98, 255, 0.11) 0%, rgba(129, 98, 255, 0.04) 36%, transparent 66%),
    linear-gradient(160deg, rgba(248, 252, 255, 0.9), rgba(241, 248, 255, 0.88));
  transform: scale(1.05);
  opacity: 0.9;
  filter: saturate(0.96);
  animation: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", "Inter", sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   SKIP LINK (a11y)
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0;
  transition: top 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  opacity: 1;
}

/* ── screen-reader-only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================================
   AURORA / BACKGROUND DECORATION
   ========================================================= */
.site-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.aurora-one {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(75, 103, 255, 0.35), transparent 70%);
}

.aurora-two {
  width: 500px;
  height: 500px;
  bottom: -5%;
  right: -6%;
  background: radial-gradient(circle, rgba(0, 180, 75, 0.25), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75, 103, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 103, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =========================================================
   CONTAINER
   ========================================================= */
#main-content,
.site-footer,
.site-breadcrumb-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background: rgba(247, 250, 255, 0.97);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(200, 218, 248, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(30, 56, 124, 0.08);
}

/* =========================================================
   NAV LAYOUT
   ========================================================= */
.nav {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.3rem 0;
}

.nav::after {
  content: none;
}

.nav > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   BRAND / LOGO
   ========================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.55rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  width: auto;
  height: 48px;
  display: block;
}

.brand-chip {
  display: none;
  align-items: center;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 103, 255, 0.18);
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.08), rgba(0, 180, 75, 0.06));
  color: #2840cc;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand::after {
  content: none;
}

/* =========================================================
   HAMBURGER TOGGLE
   ========================================================= */
.nav-toggle {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.7rem 0.72rem;
  background: #fff;
  border: 1px solid rgba(200, 218, 248, 0.95);
  border-radius: 10px;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 56, 124, 0.07);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.nav-toggle:hover {
  background: #f0f5ff;
  border-color: rgba(75, 103, 255, 0.35);
  box-shadow: 0 4px 14px rgba(75, 103, 255, 0.14);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--primary);
  border-color: rgba(75, 103, 255, 0.38);
  background: #eef3ff;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

/* animated X when open */
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV MENU — animated slide-down */
.nav-menu,
.nav-actions {
  display: none;
}

.nav-menu {
  display: grid;
  gap: 0.18rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  width: auto;
  padding: 0.6rem;
  border: 1px solid rgba(210, 225, 252, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 6px rgba(30, 56, 124, 0.04),
    0 16px 40px rgba(30, 56, 124, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease,
    visibility 0s linear 0.26s;
}

/* =========================================================
   NAV DROPDOWN — mobile (inline) styles
   ========================================================= */
.nav-dropdown {
  display: flex;
  flex-direction: column;
}

.nav-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 10px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown__btn:hover {
  background: rgba(75, 103, 255, 0.07);
  color: var(--primary);
}

.nav-dropdown__btn.is-active,
.nav-dropdown.is-active .nav-dropdown__btn {
  color: var(--primary);
  font-weight: 700;
}

.nav-dropdown__chevron {
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.22s ease;
}

.nav-dropdown[aria-expanded="true"] .nav-dropdown__chevron,
.nav-dropdown__btn[aria-expanded="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  display: none;
  flex-direction: column;
  padding: 0.25rem 0 0.5rem 1rem;
  gap: 0.06rem;
}

.nav-dropdown__panel.is-open {
  display: flex;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 0.9rem;
  border-radius: 8px;
  color: #4a5f80;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-dropdown__item:hover {
  background: rgba(75, 103, 255, 0.07);
  color: var(--primary);
}

.nav-dropdown__item--all {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-dropdown__divider {
  height: 1px;
  background: rgba(200, 218, 250, 0.7);
  margin: 0.3rem 0.5rem;
}

.nav-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease,
    visibility 0s linear 0s;
}

.nav-menu a {
  padding: 0.82rem 1rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-menu__meta {
  margin: 0.35rem 0.35rem 0.12rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.07), rgba(0, 180, 75, 0.05));
  border: 1px solid rgba(75, 103, 255, 0.1);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.nav-menu a:hover {
  background: rgba(75, 103, 255, 0.07);
  color: var(--primary);
}

.nav-menu a.is-active {
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.1), rgba(0, 180, 75, 0.06));
  color: var(--primary);
  font-weight: 700;
}

.nav-menu__cta {
  width: 100%;
  margin-top: 0.4rem;
  justify-content: center;
}

.nav-menu a.nav-menu__cta,
.nav-menu a.nav-menu__cta:hover {
  color: #fff;
}

.mobile-only {
  display: block;
}

.nav-action-secondary {
  display: none;
}

/* -- Premium button system --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.55rem;
  border-radius: 100px;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2.5px solid rgba(38, 56, 189, 0.35);
  outline-offset: 3px;
}

/* Primary � filled gradient */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1e3fbd 100%);
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 20px rgba(37, 99, 235, 0.28),
    0 2px 6px rgba(37, 99, 235, 0.16);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1830a0 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 28px rgba(37, 99, 235, 0.36),
    0 4px 10px rgba(37, 99, 235, 0.22);
}

.btn-primary::after {
  content: "→";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::after {
  transform: translateX(3px);
}

/* Secondary � clean ghost */
.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: #d1d9f0;
  box-shadow: 0 1px 4px rgba(30, 41, 99, 0.06), 0 4px 12px rgba(30, 41, 99, 0.04);
}

.btn-secondary:hover {
  color: var(--primary);
  background: #f4f7ff;
  border-color: #a5b8f0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1), 0 6px 16px rgba(37, 99, 235, 0.08);
}

.btn-secondary::after {
  content: "↗";
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.btn-secondary:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

.hero-section,
.page-hero {
  padding: 0 0 2.55rem;
}

.hero-section--brand {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0.3rem 0 0.85rem;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.hero-grid--compact h1,
.page-hero--centered h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.section-heading--center .eyebrow::after {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-lead,
.section-copy,
.pricing-note {
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-copy,
.pricing-note {
  margin-inline: auto;
}

.hero-actions,
.cta-actions,
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.trust-list,
.bullet-list,
.check-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--muted);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.social-proof-shell {
  position: relative;
  display: grid;
  gap: 1.1rem;
}

.proof-premium-head {
  display: grid;
  gap: 1rem;
}

.proof-premium-copy {
  text-align: center;
  animation: riseIn 0.7s ease both;
}

.proof-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.proof-eyebrow__icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #d5e3fd;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.16), rgba(0, 180, 75, 0.12));
  color: var(--primary);
}

.proof-eyebrow__icon svg {
  width: 13px;
  height: 13px;
}

.proof-kpi-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.proof-kpi {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #dce7fb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: riseIn 0.75s ease both;
}

.proof-kpi:nth-child(2) {
  animation-delay: 0.08s;
}

.proof-kpi:nth-child(3) {
  animation-delay: 0.16s;
}

.proof-kpi:hover {
  transform: translateY(-3px);
  border-color: #c9dafb;
  box-shadow: 0 16px 35px rgba(30, 56, 124, 0.12);
}

.proof-kpi__icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.14), rgba(0, 180, 75, 0.1));
  border: 1px solid #dce7fb;
}

.proof-kpi__icon svg {
  width: 16px;
  height: 16px;
}

.proof-kpi strong {
  display: block;
  color: var(--primary);
  font-size: 1.06rem;
}

.proof-kpi span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.proof-premium-body {
  display: grid;
  gap: 0.9rem;
  align-items: center;
  animation: riseIn 0.85s ease both 0.2s;
}

.proof-logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.proof-logo-cloud span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid #dce8fd;
  background: rgba(255, 255, 255, 0.9);
  color: #405177;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.proof-logo-cloud span:hover {
  transform: translateY(-2px);
  border-color: #c8d9fb;
  background: rgba(255, 255, 255, 0.98);
}

.proof-logo-cloud--premium {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dce8fd;
  border-radius: 18px;
  padding: 0.7rem;
  animation: riseIn 0.85s ease both 0.36s;
}

.proof-strip span,
.device-chip,
.plan-badge,
.blog-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(38, 56, 189, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.bullet-list li,
.check-list li {
  margin-bottom: 0.65rem;
}

.bullet-list li::before,
.check-list li::before,
.trust-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #62d88d);
  box-shadow: 0 0 0 4px rgba(0, 180, 75, 0.12);
}

.glass-panel,
.feature-card,
.info-card,
.stat-card,
.pricing-card,
.testimonial-card,
.process-card,
.blog-card,
.faq-item,
.contact-panel,
.cta-banner,
.footer-cta,
.device-card,
.showcase-card,
.showcase-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-panel,
.contact-panel,
.device-card,
.showcase-card,
.showcase-tile {
  padding: 1rem;
}

.panel-hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.visual-stack {
  position: relative;
}

.glass-panel img,
.showcase-card img,
.device-card img,
.showcase-tile img {
  width: 100%;
  border-radius: 14px;
}

.floating-note {
  margin-top: 0.8rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce7fb;
  box-shadow: var(--shadow-soft);
}

.floating-note strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--primary);
}

.floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 1.65rem;
  text-align: center;
}

.section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.faq-grid h2,
.cta-banner h2,
.footer-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 2.35vw, 2.2rem);
  line-height: 1.18;
}

.stats-grid,
.feature-grid,
.benefit-grid,
.pricing-grid,
.testimonial-grid,
.process-grid,
.article-grid,
.device-grid {
  display: grid;
  gap: 1rem;
}

.stat-card,
.feature-card,
.info-card,
.process-card,
.blog-card,
.testimonial-card {
  height: 100%;
  padding: 1.1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.stats-grid--proof {
  margin-top: 0.25rem;
}

.stat-card--proof {
  position: relative;
  overflow: hidden;
}

.stat-card--proof::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 103, 255, 0.12), transparent 68%);
}

.proof-icon,
.solution-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
  color: var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.12), rgba(0, 180, 75, 0.08));
  border: 1px solid #dce7fb;
}

.proof-icon svg,
.solution-icon svg {
  width: 20px;
  height: 20px;
}

.stat-card span,
.feature-card p,
.info-card p,
.process-card p,
.blog-card p,
.pricing-copy,
.testimonial-text,
.faq-item p,
.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.feature-card > div {
  display: grid;
  gap: 0.15rem;
}

.feature-card h3,
.info-card h3,
.process-card h3,
.blog-card h2,
.pricing-card h3,
.device-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.12), rgba(0, 180, 75, 0.08));
  border: 1px solid #dce7fb;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.device-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.section-devices .device-grid img {
  object-fit: contain;
}

.showcase-grid,
.faq-grid,
.contact-grid,
.footer-grid,
.footer-cta {
  display: grid;
  gap: 1rem;
}

.showcase-mosaic {
  display: grid;
  gap: 1rem;
}

.showcase-tile {
  overflow: hidden;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.text-link::before {
  content: "↗";
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.78;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.section-about-reframe {
  position: relative;
  padding-top: 4rem;
  overflow: hidden;
}

.section-about-reframe::before,
.section-about-reframe::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.section-about-reframe::before {
  width: 340px;
  height: 340px;
  top: 0.8rem;
  right: -8.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(75, 103, 255, 0.2) 0%, rgba(75, 103, 255, 0.02) 68%, transparent 100%);
}

.section-about-reframe::after {
  width: 260px;
  height: 260px;
  left: -6.5rem;
  bottom: -5.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 180, 75, 0.16) 0%, rgba(0, 180, 75, 0.02) 65%, transparent 100%);
}


.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.15rem;
}

.pricing-card__top {
  display: grid;
  gap: 0.2rem;
}

.pricing-card .check-list {
  flex: 1;
  margin-top: 0.1rem;
}

.pricing-card--featured {
  border-color: #b9cbff;
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(38, 56, 189, 0.12);
}

.pricing-label {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.9rem 0;
}

.price {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.pricing-btn {
  width: 100%;
  margin-top: 0.85rem;
}

.testimonial-card {
  position: relative;
}

.quote-mark {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  color: #93a9ff;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
}

.testimonial-meta strong,
.testimonial-meta span {
  display: block;
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item {
  padding: 1rem 1.1rem;
}

.faq-item + .faq-item {
  margin-top: 0.8rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.65rem;
}

.cta-banner,
.footer-cta {
  padding: 1.4rem;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}

.blog-card h2 {
  font-size: 1.25rem;
}

.narrow-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(75, 103, 255, 0.18);
  border-color: #b8caff;
}

.form-message {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

.form-message.success {
  background: rgba(0, 180, 75, 0.1);
  border: 1px solid rgba(0, 180, 75, 0.2);
  color: #167a42;
}

.form-message.error {
  background: rgba(255, 94, 94, 0.09);
  border: 1px solid rgba(255, 94, 94, 0.18);
  color: #a33d3d;
}

.site-footer {
  padding: 1.2rem 0 1.5rem;
}

.footer-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  box-shadow: 0 22px 48px rgba(30, 56, 124, 0.1);
}

.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-cta {
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line);
}

.footer-cta-copy h2 {
  margin: 0 0 0.45rem;
  color: var(--text);
}

.footer-cta p {
  margin: 0;
  color: var(--muted);
}

.footer-cta-actions {
  margin-top: 0.6rem;
}

.footer-cta .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-cta .btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

.footer-cta .btn-secondary:hover {
  color: var(--primary);
  border-color: #c4d4f6;
  background: #f7faff;
}

.footer-grid {
  gap: 0.7rem;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand-panel {
  max-width: 360px;
}

.footer-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.brand--footer img {
  height: 44px;
}

.footer-tag {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(38, 56, 189, 0.06);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.footer-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.footer-mini-meta span {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #f6f9ff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-link-group h3,
.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-grid a {
  color: var(--muted);
}

.footer-link-group {
  display: grid;
  gap: 0;
}

.footer-contact-list {
  display: grid;
  gap: 0;
}

.footer-contact-row {
  align-items: flex-start;
  text-decoration: none;
}

.footer-contact-row span:last-child {
  display: grid;
  gap: 0.08rem;
}

.footer-contact-row strong {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.25;
}

.footer-contact-row small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer-contact-row--static {
  cursor: default;
}

.footer-contact-row--static:hover {
  color: var(--muted);
}

.footer-link-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.34rem 0;
  border-bottom: 1px solid rgba(216, 228, 251, 0.7);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-row:last-child {
  border-bottom: 0;
}

.footer-link-row:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-link-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #f4f8ff;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-link-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 1.05rem 0.72rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-bottom-links a {
  color: var(--muted);
  padding-right: 0.52rem;
  margin-right: 0.52rem;
  border-right: 1px solid #d7e4fb;
}

.footer-bottom-links a:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

.problem-grid,
.analysis-grid,
.visual-gallery {
  display: grid;
  gap: 1rem;
}

.problem-grid--redesigned {
  align-items: start;
}

.problem-copy,
.solution-panel--premium {
  position: relative;
}

.pain-list,
.timeline-list,
.analysis-cards,
.solution-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.pain-card,
.analysis-card,
.timeline-step,
.gallery-card,
.solution-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.pain-card,
.timeline-step,
.solution-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
}

.pain-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.12), rgba(0, 180, 75, 0.09));
  border-radius: 12px;
  border: 1px solid #dce7fb;
}

.pain-icon svg {
  width: 20px;
  height: 20px;
}

.pain-card h3,
.timeline-step strong {
  margin: 0 0 0.25rem;
}

.pain-card p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
}

.solution-panel {
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.solution-panel--premium {
  overflow: hidden;
}

.solution-header {
  margin-bottom: 0.85rem;
}

.solution-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.solution-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
}

.solution-visual-wrap {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.08), rgba(0, 180, 75, 0.06));
}

.solution-visual-wrap img {
  width: 100%;
  border-radius: 14px;
}

.timeline-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.visual-gallery {
  margin-top: 1.2rem;
}

.gallery-card {
  padding: 0.75rem;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  border-radius: 14px;
}

.gallery-caption {
  padding: 0.8rem 0.25rem 0.1rem;
}

.gallery-caption strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--primary);
}

.gallery-caption span {
  color: var(--muted);
  font-size: 0.95rem;
}

.analysis-card {
  padding: 1rem 1.05rem;
}

.analysis-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.65rem;
  margin-bottom: 0.2rem;
}

.analytics-panel {
  background: linear-gradient(180deg, #ffffff, #eff5ff);
}

.feature-card,
.info-card,
.stat-card,
.pricing-card,
.testimonial-card,
.process-card,
.blog-card,
.faq-item,
.device-card,
.gallery-card,
.showcase-tile,
.pain-card,
.analysis-card,
.solution-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover,
.info-card:hover,
.stat-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.process-card:hover,
.blog-card:hover,
.device-card:hover,
.gallery-card:hover,
.showcase-tile:hover,
.pain-card:hover,
.analysis-card:hover,
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(30, 56, 124, 0.14);
  border-color: #bed0ff;
}

.hero-copy {
  animation: riseIn 0.7s ease both;
}

.panel-hero {
  animation: riseIn 0.85s ease both, floaty 7s ease-in-out infinite 1s;
}

.floating-note {
  animation: riseIn 0.85s ease both;
}

.note-a {
  animation-delay: 0.18s;
}

.note-b {
  animation-delay: 0.28s;
}

.device-card:nth-child(1),
.gallery-card:nth-child(1),
.pain-card:nth-child(1) {
  animation: riseIn 0.7s ease both;
}

.device-card:nth-child(2),
.gallery-card:nth-child(2),
.pain-card:nth-child(2) {
  animation: riseIn 0.7s ease both 0.08s;
}

.device-card:nth-child(3),
.gallery-card:nth-child(3),
.pain-card:nth-child(3) {
  animation: riseIn 0.7s ease both 0.16s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(140%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 720px) {
  .stats-grid,
  .benefit-grid,
  .testimonial-grid,
  .process-grid,
  .article-grid,
  .device-grid,
  .problem-grid,
  .analysis-grid,
  .visual-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-cta {
    grid-template-columns: 1.6fr auto;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .showcase-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-tile--wide,
  .gallery-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .brand::after {
    display: none;
  }

  .brand-chip {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu,
  .nav-actions {
    display: flex;
    position: static;
    padding: 0;
    box-shadow: none;
    background: none;
    border: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  /* Centered floating pill nav */
  .nav-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: max-content;
    border: 1px solid rgba(200, 218, 250, 0.88);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
      0 2px 6px rgba(30, 56, 124, 0.06),
      0 10px 32px rgba(30, 56, 124, 0.09),
      0 0 0 1px rgba(255, 255, 255, 0.7) inset;
    padding: 0.32rem;
    transition: box-shadow 0.2s ease;
  }

  .site-header.is-scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
      0 2px 8px rgba(30, 56, 124, 0.08),
      0 14px 38px rgba(30, 56, 124, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  }

  .nav-menu a {
    position: relative;
    min-width: auto;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3a4a70;
    text-align: center;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    background: none;
  }

  .nav-menu a:hover {
    background: rgba(75, 103, 255, 0.08);
    color: var(--primary);
  }

  /* Active: filled pill with gradient */
  .nav-menu a.is-active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40c0 100%);
    color: #fff !important;
    font-weight: 700;
    box-shadow:
      0 2px 6px rgba(37, 99, 235, 0.3),
      0 1px 0 rgba(255,255,255,0.15) inset;
  }

  .nav-menu a.is-active:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1830a0 100%);
    color: #fff;
  }

  .nav-menu__meta.mobile-only {
    display: none;
  }

  /* ── Desktop dropdown ── */
  .nav-dropdown {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .nav-dropdown__btn {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      width: auto;
      padding: 0.48rem 0.95rem;
      border-radius: 999px;
      background: none;
      border: 0;
      color: #3a4a70;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease;
    }

    .nav-dropdown__btn:hover {
      background: rgba(75, 103, 255, 0.08);
      color: var(--primary);
    }

    .nav-dropdown.is-active .nav-dropdown__btn {
      background: linear-gradient(135deg, #2563eb 0%, #1e40c0 100%);
      color: #fff !important;
      font-weight: 700;
      box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3), 0 1px 0 rgba(255,255,255,0.15) inset;
    }

    .nav-dropdown__panel {
      position: absolute;
      top: calc(100% + 0.65rem);
      left: 50%;
      transform: translateX(-50%) translateY(-6px);
      display: flex;
      flex-direction: column;
      width: 310px;
      padding: 0.5rem;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      border: 1px solid rgba(200, 218, 250, 0.9);
      border-radius: 16px;
      box-shadow:
        0 4px 6px rgba(30, 56, 124, 0.05),
        0 20px 48px rgba(30, 56, 124, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        visibility 0s linear 0.24s;
      z-index: 200;
    }

    .nav-dropdown__panel.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
      transition:
        transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        visibility 0s linear 0s;
    }

    .nav-dropdown__item {
      padding: 0.58rem 0.85rem;
      border-radius: 9px;
      color: #3a4a70;
      font-size: 0.875rem;
      font-weight: 500;
    }

    .nav-dropdown__item--all {
      font-weight: 700;
      font-size: 0.875rem;
      color: var(--primary);
    }

    .nav-dropdown__item svg {
      opacity: 0;
      transform: translateX(-4px);
      transition: opacity 0.16s ease, transform 0.16s ease;
      flex-shrink: 0;
    }

    .nav-dropdown__item--all:hover svg {
      opacity: 1;
      transform: translateX(0);
    }

    .nav-menu__meta.mobile-only,
  .nav-menu__cta.mobile-only,
  .mobile-only {
    display: none;
  }

  .nav-actions {
    grid-column: 3;
    justify-self: end;
    gap: 0.55rem;
    margin-left: 0;
    align-items: center;
  }

  .nav-action-secondary {
    display: inline-flex;
  }

  .hero-grid,
  .showcase-grid,
  .faq-grid,
  .contact-grid,
  .problem-grid,
  .analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .device-grid {
    grid-template-columns: 1.4fr 1fr 0.85fr;
    align-items: start;
  }

  .stats-grid--proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .floating-note {
    position: absolute;
    max-width: 220px;
  }

  .note-a {
    top: 1rem;
    right: -1rem;
  }

  .note-b {
    bottom: -1rem;
    left: -1rem;
  }

  .section {
    padding: 5.3rem 0;
  }
}

/* ══════════════════════════════════════════════════════
  HX — Fresh premium hero section (BidX²)
   ══════════════════════════════════════════════════════ */

/* Section wrapper */
.hx {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
  isolation: isolate;
}

/* Multi-layer gradient background */
.hx::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 88% -10%, rgba(75, 103, 255, 0.12) 0%, transparent 58%),
    radial-gradient(ellipse 700px 600px at 8% 110%, rgba(0, 180, 75, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(14, 111, 201, 0.05) 0%, transparent 70%),
    linear-gradient(165deg, #f0f7ff 0%, #edf3fd 45%, #eaf5f2 100%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle dot-grid overlay */
.hx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(100, 130, 210, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 65% 40%, rgba(0, 0, 0, 0.6) 20%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Inner grid */
.hx__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* ─── Left: copy ─── */

.hx__copy {
  animation: riseIn 0.72s ease both;
}

.hx__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 103, 255, 0.2);
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.08), rgba(0, 180, 75, 0.06));
  color: var(--primary);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(75, 103, 255, 0.1);
}

.hx__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 75, 0.22);
  animation: hxPulse 2.2s ease-in-out infinite;
}

@keyframes hxPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 180, 75, 0.22); }
  50%       { box-shadow: 0 0 0 7px rgba(0, 180, 75, 0.06); }
}

.hx__title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  color: var(--text);
}

.hx__gradient {
  background: linear-gradient(130deg, #1d35b3 0%, #4a63ff 48%, #00b44b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(75, 103, 255, 0.18));
}

.hx__lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.74;
  color: #4a6080;
  max-width: 50ch;
}

.hx__checks {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.hx__checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #253a60;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.hx__check-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b44b, #22c47a);
  box-shadow: 0 3px 10px rgba(0, 180, 75, 0.3);
}

.hx__check-icon svg {
  width: 12px;
  height: 12px;
}

.hx__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.hx__btn-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hx__btn-tour svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hx__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
}

.hx__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #607399;
  font-size: 0.81rem;
  font-weight: 700;
}

.hx__trust-item::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 180, 75, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2300b44b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

/* ─── Right: visual ─── */

.hx__visual {
  position: relative;
  min-height: clamp(420px, 80vw, 640px);
  animation: riseIn 0.9s ease both 0.14s;
  perspective: 1500px;
  perspective-origin: 56% 38%;
}

.hx__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hx__glow--blue {
  width: 460px;
  height: 460px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(75, 103, 255, 0.16) 0%, transparent 70%);
  filter: blur(40px);
}

.hx__glow--green {
  width: 360px;
  height: 360px;
  bottom: -60px;
  left: 5%;
  background: radial-gradient(circle, rgba(0, 180, 75, 0.13) 0%, transparent 68%);
  filter: blur(32px);
}

.hx__devices {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(var(--hx-tilt-x, 0deg)) rotateY(var(--hx-tilt-y, 0deg)) translateZ(0);
  transition: transform 260ms ease-out;
}

.hx__device {
  transform-style: preserve-3d;
  will-change: transform;
}

/* MacBook — center, back */
.hx__device--desktop {
  position: absolute;
  top: 0;
  left: 12%;
  right: 2%;
  z-index: 2;
  transform: translateZ(6px) rotateX(2deg);
  filter:
    drop-shadow(0 28px 56px rgba(15, 35, 80, 0.22))
    drop-shadow(0 8px 18px rgba(15, 35, 80, 0.1));
  animation: hxDepthFloatDesktop 10.5s ease-in-out infinite;
}

.hx__device--desktop img {
  width: 100%;
  display: block;
}

/* iPad — left, front */
.hx__device--tablet {
  position: absolute;
  top: 18%;
  left: -4%;
  width: 42%;
  z-index: 4;
  transform: translateZ(42px) rotate(-2.2deg) rotateY(-5deg);
  filter:
    drop-shadow(0 22px 44px rgba(15, 35, 80, 0.26))
    drop-shadow(0 6px 14px rgba(15, 35, 80, 0.1));
  animation: hxDepthFloatTablet 8.4s ease-in-out infinite 0.6s;
}

.hx__device--tablet img {
  width: 100%;
  display: block;
}

/* iPhone — right, most front */
.hx__device--mobile {
  position: absolute;
  top: 22%;
  right: -1%;
  width: 24%;
  z-index: 5;
  transform: translateZ(68px) rotate(2deg) rotateY(6deg);
  filter:
    drop-shadow(0 20px 40px rgba(15, 35, 80, 0.28))
    drop-shadow(0 5px 12px rgba(15, 35, 80, 0.1));
  animation: hxDepthFloatMobile 6.8s ease-in-out infinite 1.1s;
}

.hx__device--mobile img {
  width: 100%;
  display: block;
}

/* Floating notification */
.hx__notif {
  position: absolute;
  bottom: 14%;
  left: 24%;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 205, 248, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 32px rgba(20, 46, 98, 0.14),
    0 2px 8px rgba(20, 46, 98, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  transform: translateZ(92px);
  animation: riseIn 1s ease both 0.6s, hxDepthFloatUi 5.5s ease-in-out infinite 2s;
}

.hx__notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 75, 0.2);
  animation: hxPulse 1.8s ease-in-out infinite;
}

.hx__notif-body {
  display: grid;
  gap: 0.06rem;
  line-height: 1.25;
}

.hx__notif-text {
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.hx__notif-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Floating bid-won badge */
.hx__win-badge {
  position: absolute;
  top: 6%;
  right: 20%;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.55rem 0.85rem 0.55rem 0.62rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 180, 75, 0.22);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 10px 26px rgba(0, 120, 50, 0.14),
    0 2px 8px rgba(15, 35, 80, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  transform: translateZ(88px);
  animation: riseIn 1s ease both 0.9s, hxDepthFloatUi 7s ease-in-out infinite 3s;
}

@keyframes hxDepthFloatDesktop {
  0%, 100% { transform: translateZ(6px) rotateX(2deg) translateY(0); }
  50% { transform: translateZ(12px) rotateX(2deg) translateY(-8px); }
}

@keyframes hxDepthFloatTablet {
  0%, 100% { transform: translateZ(42px) rotate(-2.2deg) rotateY(-5deg) translateY(0); }
  50% { transform: translateZ(52px) rotate(-1.4deg) rotateY(-4deg) translateY(-10px); }
}

@keyframes hxDepthFloatMobile {
  0%, 100% { transform: translateZ(68px) rotate(2deg) rotateY(6deg) translateY(0); }
  50% { transform: translateZ(80px) rotate(2.7deg) rotateY(7deg) translateY(-9px); }
}

@keyframes hxDepthFloatUi {
  0%, 100% { transform: translateZ(90px) translateY(0); }
  50% { transform: translateZ(102px) translateY(-7px); }
}

.hx__win-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(0, 180, 75, 0.18), rgba(0, 180, 75, 0.09));
  color: var(--accent);
  border: 1px solid rgba(0, 180, 75, 0.18);
}

.hx__win-icon svg {
  width: 13px;
  height: 13px;
}

.hx__win-body {
  display: grid;
  gap: 0.04rem;
  line-height: 1.25;
}

.hx__win-body strong {
  display: block;
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.hx__win-body span {
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

@media (min-width: 960px) {
  .hx {
    padding: 6.5rem 0 4rem;
  }

  .hx__inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
}

@media (max-width: 959px) {
  .hx__visual {
    min-height: clamp(340px, 70vw, 500px);
    perspective: none;
  }

  .hx__devices {
    transform: none;
  }

  .hx__device--desktop {
    left: 8%;
    right: 5%;
  }

  .hx__device--tablet {
    width: 40%;
    left: -2%;
  }

  .hx__device--mobile {
    width: 23%;
    right: -1%;
  }

  .hx__notif,
  .hx__win-badge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx__copy,
  .hx__visual,
  .hx__badge-dot,
  .hx__device--desktop,
  .hx__device--tablet,
  .hx__device--mobile,
  .hx__notif,
  .hx__win-badge {
    animation: none !important;
  }

  .hx__devices {
    transition: none;
    transform: none;
  }
}

@media (max-width: 580px) {
  .hx__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hx__lead {
    font-size: 0.97rem;
  }

  .hx__visual {
    min-height: 300px;
  }

  .hx__device--desktop {
    left: 5%;
    right: 2%;
  }

  .hx__device--tablet {
    width: 38%;
    left: -1%;
  }

  .hx__device--mobile {
    width: 22%;
  }
}

.proof-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.proof-note--highlight {
  border-color: #cfdefb;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.92));
}

.proof-note--premium {
  border-color: #c8d9fb;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 255, 0.9));
  animation: riseIn 0.85s ease both 0.28s;
}

.proof-note__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.12), rgba(0, 180, 75, 0.08));
  border: 1px solid #dce7fb;
}

.proof-note__icon svg {
  width: 20px;
  height: 20px;
}

.proof-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

.proof-note span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-note__meta {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.proof-note__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #3e5078;
  font-size: 0.82rem;
  font-weight: 600;
}

.proof-note__meta li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
}

.section-panel {
  position: relative;
}

.section-panel::before {
  content: "";
  position: absolute;
  inset: 1rem 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(243, 248, 255, 0.65));
  z-index: -1;
}

.problem-grid--redesigned,
.showcase-grid--premium,
.analysis-grid--premium {
  align-items: center;
  gap: 1.4rem;
}

.showcase-stack {
  display: grid;
  gap: 1rem;
}

.showcase-stack--compact {
  gap: 0.9rem;
}

.showcase-row {
  display: grid;
  gap: 1rem;
}

.view-all-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.preview-stage-cta {
  display: flex;
  justify-content: center;
  padding-top: 1.1rem;
}

.btn-stage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.55rem;
  border-radius: 100px;
  background: linear-gradient(135deg, #2563eb 0%, #1e3fbd 100%);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 20px rgba(37, 99, 235, 0.28),
    0 2px 6px rgba(37, 99, 235, 0.16);
  transition:
    background 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-stage-link span {
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-stage-link:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1830a0 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 28px rgba(37, 99, 235, 0.36),
    0 4px 10px rgba(37, 99, 235, 0.22);
  transform: translateY(-2px);
}

.btn-stage-link:active {
  transform: translateY(0);
}

.btn-stage-link:hover span {
  transform: translateX(4px);
}

body.has-modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 1400;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 35, 0.72);
  backdrop-filter: blur(3px);
}

.video-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(191, 208, 244, 0.8);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 26px 70px rgba(8, 18, 45, 0.35);
  padding: 1.1rem 1.1rem 1.25rem;
  z-index: 1;
}

.video-modal__close {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.video-modal__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#video-modal-title {
  margin: 0.4rem 0 0.9rem;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  color: var(--heading);
}

.video-modal__frame-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(197, 213, 248, 0.9);
  box-shadow: 0 16px 35px rgba(17, 31, 68, 0.14);
  aspect-ratio: 16 / 9;
}

.video-modal__frame-wrap iframe,
.video-modal__frame-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.showcase-card {
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.95));
}

.showcase-card--feature {
  transform: translateZ(0);
}

.showcase-card--compact img {
  min-height: 220px;
  object-fit: cover;
}

.showcase-caption {
  padding: 0.7rem 0.2rem 0.05rem;
}

.showcase-caption strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.15rem;
  font-size: 0.98rem;
}

.showcase-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.features-premium .feature-grid {
  margin-top: 1.4rem;
}

.device-grid--premium .device-card {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.results-panel {
  padding-right: 0.2rem;
}

.pricing-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pricing-meta-strip span {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(75, 103, 255, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.analytics-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(38, 56, 189, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.pricing-preview .pricing-grid {
  margin-top: 1.25rem;
}

.testimonial-layout {
  display: grid;
  gap: 1rem;
}

.testimonial-spotlight {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.08), rgba(0, 180, 75, 0.05));
  box-shadow: var(--shadow);
}

.testimonial-spotlight__text {
  margin: 0.7rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: var(--text);
}

.rating-stars {
  display: inline-flex;
  gap: 0.12rem;
  color: #ffb938;
  font-size: 0.9rem;
}

.cta-banner--premium {
  align-items: center;
  background: linear-gradient(135deg, rgba(75, 103, 255, 0.08), rgba(0, 180, 75, 0.06));
}

@media (min-width: 720px) {
  .hero-scene {
    min-height: 780px;
  }

  .proof-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .proof-logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-premium-body,
  .showcase-row,
  .testimonial-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .hero-badge-row {
    margin-inline: auto;
  }

  .badge-text {
    text-align: left;
  }

  .hero-keypoints,
  .hero-copy--premium .hero-actions {
    justify-content: center;
  }

  .hero-scene {
    min-height: clamp(640px, 126vw, 860px);
    padding-bottom: 0.6rem;
  }

  .scene-showcase {
    gap: 0.9rem;
    padding: 0;
  }

  .scene-showcase__topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .scene-showcase__live {
    white-space: normal;
  }

  .scene-device-stage {
    min-height: clamp(400px, 74vw, 500px);
    padding-top: 3.8rem;
  }

  .scene-card {
    padding: 0.56rem;
  }

  .scene-status--floating {
    top: 7%;
    left: 50%;
    width: min(66%, 300px);
    transform: translateX(-50%);
  }

  .scene-card--desktop {
    top: 17%;
    width: min(82%, 500px);
    transform: translateX(-50%) rotate(-1deg) translateZ(16px);
  }

  .scene-card--tablet {
    left: 10%;
    bottom: 13%;
    width: min(34%, 204px);
    transform: rotate(-10deg) translateZ(-16px);
  }

  .scene-card--mobile {
    right: 10%;
    bottom: 13%;
    width: min(20%, 120px);
    transform: rotate(9deg) translateZ(38px);
  }
}

@media (min-width: 960px) {
  .premium-fold {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    justify-items: stretch;
  }

  .hero-copy--premium {
    margin: 0;
    text-align: left;
    padding-right: 1.1rem;
  }

  .hero-copy--premium .hero-signal-row {
    max-width: 95%;
  }

  .hero-copy--premium .hero-trustbar {
    max-width: 95%;
    justify-content: flex-start;
  }

  .hero-badge-row {
    margin-inline: 0;
  }

  .hero-keypoints,
  .hero-copy--premium .hero-actions {
    justify-content: flex-start;
  }

  .proof-premium-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }

  .proof-premium-copy {
    text-align: left;
  }

  .proof-eyebrow {
    justify-content: flex-start;
  }

  .proof-logo-cloud {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .proof-premium-body {
    grid-template-columns: 1.08fr 1fr;
  }

  .showcase-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-layout {
    grid-template-columns: 1.05fr 1.2fr;
    align-items: start;
  }

  .scene-showcase {
    padding: 0;
  }

  .scene-showcase__topline {
    align-items: center;
  }

  .scene-card--desktop {
    top: 11%;
    left: 50%;
    width: 79%;
    transform: translateX(-50%) rotate(-1.6deg) translateZ(18px);
  }

  .scene-status--floating {
    top: 2%;
    left: 50%;
    width: min(48%, 312px);
    transform: translateX(-50%);
  }

  .scene-card--tablet {
    left: 7%;
    bottom: 12%;
    width: 30%;
    z-index: 2;
    transform: rotate(-14deg) translateZ(-20px);
  }

  .scene-card--mobile {
    right: 8%;
    bottom: 12%;
    width: 20%;
    z-index: 4;
    transform: rotate(12deg) translateZ(50px);
  }
}

.reference-hero {
  position: relative;
}

.intro-split,
.feature-row,
.contact-shell {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.quick-facts {
  display: grid;
  gap: 0.9rem;
}

.mini-card,
.segment-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.mini-card strong {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 1rem;
}

.mini-card span,
.segment-card p {
  color: var(--muted);
}

.feature-rows {
  display: grid;
  gap: 1.4rem;
}

.feature-row--reverse .feature-copy {
  order: 2;
}

.feature-row--reverse .showcase-card {
  order: 1;
}

.segment-grid,
.pricing-support-grid {
  display: grid;
  gap: 1rem;
}

.segment-card h3 {
  margin: 0 0 0.35rem;
}

.contact-shell {
  align-items: start;
}

@media (min-width: 720px) {
  .segment-grid,
  .pricing-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .intro-split,
  .feature-row,
  .contact-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segment-grid,
  .pricing-support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nav {
  justify-content: space-between;
}

.btn::after {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn:hover::after {
  transform: translateX(3px);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  opacity: 0.8;
}

.footer-bottom-links a {
  display: inline-flex;
  align-items: center;
}

.preview-shell,
.pricing-shell {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.6rem;
  margin: 0.9rem 0 1rem;
}

.preview-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid #d6e2fb;
  border-radius: 999px;
  background: rgba(245, 249, 255, 0.82);
  color: #4b5f8d;
  font-size: 0.82rem;
  font-weight: 600;
}

.preview-metrics strong {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 800;
}

.preview-shell--premium {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.preview-sidebar,
.pricing-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- Sidebar intro (heading lives in left column) ---- */
.preview-sidebar__intro {
  padding-bottom: 1.75rem;
}

.preview-sidebar__intro h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.27;
  margin-bottom: 0.55rem;
}

.preview-sidebar__intro .section-copy {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Feature tabs (clean minimal list) ---- */
.preview-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.preview-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0.75rem;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.preview-point:hover {
  background: rgba(75, 103, 255, 0.04);
  border-left-color: rgba(75, 103, 255, 0.35);
  transform: none;
  box-shadow: none;
}

.preview-point.is-active {
  background: rgba(75, 103, 255, 0.05);
  border-left-color: var(--primary);
  box-shadow: none;
}

.preview-point__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary);
  display: flex;
}

.preview-point__icon svg {
  width: 100%;
  height: 100%;
}

.preview-point__body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.preview-point strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}

.preview-point strong::after {
  display: none;
}

.preview-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.preview-point__eyebrow,
.preview-point__meta {
  display: none;
}

/* ---- Sidebar stats strip ---- */
.preview-stats-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.preview-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.preview-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.preview-stat span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---- Stage (right image column) ---- */
.preview-stage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stage-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 215, 250, 0.85);
  box-shadow:
    0 2px 4px rgba(14, 26, 60, 0.04),
    0 16px 48px rgba(14, 26, 60, 0.11),
    0 40px 80px rgba(14, 26, 60, 0.06);
}

.stage-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
}

.stage-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stage-caption strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading);
}

.stage-caption span {
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing-side-card {
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

.pricing-preview .pricing-grid {
  margin-top: 0;
  align-items: stretch;
}

.home-testimonials {
  position: relative;
}

.home-testimonials__heading {
  margin-bottom: 1.35rem;
}

.home-testimonials__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.home-testimonials__stats span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 103, 255, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 255, 0.9));
  color: #1f3a67;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-testimonials .testimonial-slider {
  padding: 1.3rem;
  border: 1px solid rgba(75, 103, 255, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(75, 103, 255, 0.16), transparent 42%),
    radial-gradient(circle at 12% 86%, rgba(0, 180, 75, 0.12), transparent 44%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
  box-shadow:
    0 20px 52px rgba(15, 33, 67, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-testimonials .testimonial-slider__track {
  position: relative;
  min-height: 265px;
}

.home-testimonials .testimonial-slide {
  position: absolute;
  inset: 0;
  padding: 0.15rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.home-testimonials .testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.home-testimonials .testimonial-slide__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-testimonials .testimonial-slide__quote-icon {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(75, 103, 255, 0.24);
}

.home-testimonials .rating-stars {
  margin-top: 0.8rem;
}

.home-testimonials .testimonial-slide__quote {
  margin: 0.7rem 0 0;
  color: #1a3259;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.home-testimonials .testimonial-meta {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px dashed rgba(75, 103, 255, 0.25);
}

.home-testimonials .testimonial-meta .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  overflow: hidden;
}

.home-testimonials .testimonial-slider__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.home-testimonials .testimonial-dots {
  display: inline-flex;
  gap: 0.45rem;
}

.home-testimonials .testimonial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d5f5;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.home-testimonials .testimonial-dot.is-active {
  width: 30px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.home-testimonials .testimonial-slider__status {
  color: #405f8f;
  font-size: 0.88rem;
  font-weight: 600;
}

.home-faq .faq-grid {
  gap: 1.4rem;
  align-items: start;
}

.home-faq__intro {
  padding: 1.35rem;
  border: 1px solid rgba(75, 103, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.92));
  box-shadow: 0 18px 42px rgba(17, 32, 65, 0.09);
}

.home-faq__help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.93rem;
}

.home-faq__help-link::after {
  content: "->";
  font-size: 0.88rem;
}

.home-faq .faq-list {
  display: grid;
  gap: 0.82rem;
}

.home-faq .faq-item {
  border: 1px solid rgba(75, 103, 255, 0.22);
  border-radius: 16px;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.92));
  box-shadow: 0 8px 24px rgba(20, 38, 77, 0.08);
  overflow: hidden;
}

.home-faq .faq-item + .faq-item {
  margin-top: 0;
}

.home-faq .faq-item summary {
  position: relative;
  padding: 1rem 2.65rem 1rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f385f;
}

.home-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #2a4f86;
  background: rgba(75, 103, 255, 0.14);
}

.home-faq .faq-item[open] summary::after {
  content: "-";
}

.home-faq .faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #3f5678;
  line-height: 1.65;
}

@media (min-width: 960px) {
  .preview-shell {
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: center;
  }

  .preview-shell--premium {
    padding: 0;
  }

  .pricing-shell {
    grid-template-columns: 0.76fr 1.24fr;
  }

  .home-faq .faq-grid {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 1.55rem;
  }
}

.product-hero-grid,
.premium-blog-hero__grid,
.blog-article-grid {
  display: grid;
  gap: 1rem;
}

.product-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.15rem;
}

.product-image-card {
  margin: 0;
  padding: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.product-image-card img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f2f6fb;
}

.product-image-card figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* ── product hero background ── */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 2.55rem;
  background:
    radial-gradient(circle at 12% 14%, rgba(75, 103, 255, 0.12), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(0, 180, 75, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.92), rgba(241, 248, 255, 0.82));
}

/* ── blog hero background ── */
.premium-blog-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(75, 103, 255, 0.12), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(0, 180, 75, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.92), rgba(241, 248, 255, 0.82));
}

.product-hero-copy {
  display: grid;
  gap: 0.95rem;
}

.product-hero-copy h1 {
  max-width: 18ch;
}

.product-hero-copy .hero-lead {
  max-width: 58ch;
}

.product-key-points {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
  color: #526688;
  font-weight: 500;
}

.product-key-points li + li {
  margin-top: 0.42rem;
}

.product-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-metric {
  padding: 0.75rem 0.72rem;
  border: 1px solid rgba(175, 197, 235, 0.75);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.86));
}

.product-metric strong {
  display: block;
  color: #16346a;
  font-size: 1.01rem;
}

.product-metric span {
  display: block;
  margin-top: 0.08rem;
  color: #5f7190;
  font-size: 0.74rem;
  line-height: 1.35;
}

.product-hero-panel {
  position: relative;
  padding: 0.8rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(235, 245, 255, 0.78));
  box-shadow: 0 26px 60px rgba(16, 42, 92, 0.18);
}

.product-hero-panel img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(192, 212, 243, 0.92);
}

.product-hero-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(175, 197, 235, 0.72);
  background: rgba(255, 255, 255, 0.88);
  color: #284f8a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-hero-badge span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #24b767;
  box-shadow: 0 0 0 0 rgba(36, 183, 103, 0.4);
  animation: productPulse 1.7s ease-out infinite;
}

.product-highlights-grid,
.product-video-grid {
  display: grid;
  gap: 1rem;
}

.product-video-grid {
  grid-template-columns: minmax(0, 1fr);
}

.product-highlight-card,
.product-video-card {
  margin: 0;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
  box-shadow: 0 15px 34px rgba(20, 46, 92, 0.12);
}

.product-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0 0 0.58rem;
  border-radius: 10px;
  border: 1px solid rgba(86, 115, 255, 0.28);
  background: rgba(75, 103, 255, 0.08);
  color: #3f58db;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-highlight-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.product-highlight-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.product-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b1325;
  object-fit: contain;
}

.product-video-card figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-story-list {
  display: grid;
  gap: 1rem;
}

.product-story-card {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.92));
  box-shadow: 0 16px 34px rgba(18, 42, 88, 0.11);
}

.product-story-media {
  margin: 0;
}

.product-story-media img {
  width: 100%;
  border: 1px solid rgba(212, 225, 246, 0.92);
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #edf3fb;
}

.product-story-copy {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.product-story-copy h3 {
  margin: 0;
}

.product-story-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 103, 255, 0.28);
  background: rgba(75, 103, 255, 0.08);
  color: #2c45c8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-story-copy p {
  margin: 0;
  color: var(--muted);
}

.product-story-file {
  margin-top: 0.2rem;
  color: #3f4b63;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.product-cta-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 255, 0.92));
  border: 1px solid rgba(192, 214, 245, 0.9);
  box-shadow: 0 20px 44px rgba(19, 43, 92, 0.12);
}

.product-cta-card h2 {
  margin: 0.4rem 0 0.35rem;
}

.product-cta-card p {
  margin: 0;
  color: var(--muted);
}


.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 4.5rem) 0 3rem;
  background:
    radial-gradient(circle at 10% 16%, rgba(75, 103, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(0, 180, 75, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.96), rgba(240, 247, 255, 0.88));
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 86, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 86, 184, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.about-hero__grid,
.about-story-grid,
.about-founder-grid {
  display: grid;
  gap: 1.5rem;
}
.about-hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.about-hero__copy h1 {
  max-width: 16ch;
}

.about-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-metric {
  padding: 0.9rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(181, 203, 239, 0.78);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.9));
  box-shadow: 0 16px 34px rgba(17, 41, 91, 0.08);
}

.about-metric strong {
  display: block;
  color: #14356b;
  font-size: 1.02rem;
}

.about-metric span {
  display: block;
  margin-top: 0.2rem;
  color: #5e7393;
  font-size: 0.76rem;
  line-height: 1.4;
}

.about-hero__visual {
  position: relative;
  z-index: 1;
}

.about-hero__panel {
  position: relative;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(188, 208, 241, 0.72);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.92), rgba(232, 243, 255, 0.78));
  box-shadow: 0 30px 70px rgba(15, 39, 88, 0.18);
}

.about-hero__panel img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(191, 212, 244, 0.92);
}

.about-hero__signal {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 198, 236, 0.74);
  background: rgba(255, 255, 255, 0.86);
  color: #22427a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.about-hero__signal::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #34d399);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
  animation: productPulse 1.8s ease-out infinite;
}

.about-proof-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(290px, calc(100% - 2rem));
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(187, 210, 245, 0.84);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 40px rgba(17, 38, 82, 0.18);
}

.about-proof-card strong {
  display: block;
  color: #14356b;
}

.about-proof-card p {
  margin: 0.35rem 0 0;
  color: #5f7290;
  font-size: 0.85rem;
  line-height: 1.5;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.about-card-grid,
.about-principles-grid {
  display: grid;
  gap: 1rem;
}

.about-info-card,
.about-principle-card,
.about-step-card,
.about-story-copy,
.about-founder-copy,
.about-cta-card {
  position: relative;
  border: 1px solid rgba(190, 210, 242, 0.76);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.9));
  box-shadow: 0 18px 40px rgba(18, 43, 92, 0.1);
}

.about-info-card,
.about-principle-card {
  padding: 1.2rem;
  border-radius: 20px;
}

.about-info-card__badge {
  display: inline-flex;
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 18px rgba(75, 103, 255, 0.2);
}

.about-info-card p,
.about-principle-card p,
.about-step-card p,
.about-founder-role,
.about-founder-copy .section-intro,
.about-cta-card .section-intro,
.about-story-copy .section-intro {
  color: var(--muted);
}

.about-story-section {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.about-story-copy,
.about-founder-copy {
  padding: 1.35rem;
  border-radius: 24px;
}

.about-values-list {
  display: grid;
  gap: 0.85rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.about-values-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #4f6486;
  font-weight: 500;
}

.about-values-list li::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(75, 103, 255, 0.12);
}

.about-story-steps {
  display: grid;
  gap: 0.95rem;
}

.about-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.15rem;
  border-radius: 20px;
}

.about-step-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(16, 185, 129, 0.14));
  color: #234fa8;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-step-card h3,
.about-principle-card h3,
.about-info-card h3 {
  margin: 0;
}

.about-step-card p,
.about-principle-card p,
.about-info-card p {
  margin: 0.5rem 0 0;
}

.about-founder-section {
  padding-top: 1rem;
}

.about-founder-media {
  margin: 0;
  padding: 0.9rem;
  border-radius: 28px;
  border: 1px solid rgba(192, 212, 243, 0.82);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.9));
  box-shadow: 0 24px 56px rgba(15, 39, 88, 0.12);
}

.about-founder-media img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about-founder-role {
  margin: -0.2rem 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-founder-quote {
  margin: 0.35rem 0 0;
  padding: 1rem 1.05rem;
  border-left: 4px solid rgba(75, 103, 255, 0.28);
  border-radius: 0 18px 18px 0;
  background: rgba(244, 248, 255, 0.9);
  color: #183b73;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}

.about-founder-actions {
  margin-top: 0.3rem;
}

.about-cta-section {
  padding-top: 0.5rem;
}

.about-cta-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 26px;
}

/* =========================================================
   ABOUT PAGE V2 (PREMIUM REBUILD)
   ========================================================= */
.about-premium-hero {
  padding: clamp(3.2rem, 5.5vw, 5rem) 0 2.2rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(45, 89, 214, 0.18), transparent 36%),
    radial-gradient(circle at 88% 10%, rgba(0, 173, 115, 0.14), transparent 32%),
    linear-gradient(170deg, rgba(249, 252, 255, 0.98), rgba(240, 247, 255, 0.9));
}

.about-premium-hero__grid,
.about-premium-story__grid,
.about-premium-founder__grid {
  display: grid;
  gap: 1.25rem;
}

.about-premium-hero__copy {
  display: grid;
  gap: 1rem;
}

.about-premium-hero__copy h1 {
  margin: 0;
  max-width: 15ch;
}

.about-premium-hero__title-em {
  color: #1f4ed8;
  display: inline-block;
  text-shadow: 0 8px 20px rgba(31, 78, 216, 0.18);
}

.about-premium-hero__card {
  display: grid;
  gap: 0.72rem;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(188, 209, 243, 0.84);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 255, 0.9));
  box-shadow: 0 12px 28px rgba(17, 38, 84, 0.1);
}

.about-premium-hero__card h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.34;
  max-width: 30ch;
}

.about-premium-hero__card-kicker {
  margin: 0;
  color: #2f4f89;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-premium-hero__signature {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.about-premium-hero__signature li {
  display: grid;
  gap: 0.18rem;
  align-content: start;
  padding: 0.46rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(197, 216, 245, 0.85);
  background: rgba(255, 255, 255, 0.82);
}

.about-premium-hero__signature span {
  color: #5f7290;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-premium-hero__signature strong {
  color: #1b3d74;
  font-size: 0.78rem;
  line-height: 1.28;
}

.about-premium-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.about-premium-hero__proof-item {
  padding: 0.68rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(191, 212, 244, 0.86);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.88));
}

.about-premium-hero__proof-item strong {
  display: block;
  color: #1f447f;
  font-size: 0.82rem;
  line-height: 1.3;
}

.about-premium-hero__proof-item span {
  display: block;
  margin-top: 0.2rem;
  color: #5f7391;
  font-size: 0.72rem;
  line-height: 1.42;
}

.about-premium-media {
  position: relative;
  margin-top: 1.1rem;
  padding: 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(188, 209, 243, 0.82);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.92));
  box-shadow: 0 28px 66px rgba(16, 40, 88, 0.16);
}

.about-premium-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(191, 212, 244, 0.92);
}

.about-premium-media__badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  max-width: 380px;
  padding: 0.56rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(178, 202, 240, 0.86);
  background: rgba(255, 255, 255, 0.9);
  color: #224b88;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-premium-media__pill {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(177, 203, 241, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: #254d8b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-premium-metrics {
  padding-top: 0.3rem;
}

.about-premium-metrics__grid,
.about-premium-highlight-grid,
.about-premium-principles__grid {
  display: grid;
  gap: 0.9rem;
}

.about-premium-metric,
.about-premium-highlight-card,
.about-premium-principle-card,
.about-premium-step,
.about-premium-story__copy,
.about-premium-founder__copy,
.about-premium-cta__card {
  border: 1px solid rgba(190, 211, 243, 0.78);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.9));
  box-shadow: 0 18px 40px rgba(18, 43, 92, 0.1);
}

.about-premium-metric {
  padding: 1rem;
  border-radius: 16px;
}

.about-premium-metric strong {
  display: block;
  color: #173d75;
  font-size: 1rem;
}

.about-premium-metric span {
  display: block;
  margin-top: 0.22rem;
  color: #5f7391;
  font-size: 0.78rem;
  line-height: 1.45;
}

.about-premium-highlights {
  padding-top: 0.5rem;
}

.about-premium-highlight-card,
.about-premium-principle-card {
  position: relative;
  padding: 1.12rem;
  border-radius: 18px;
}

.about-premium-highlight-card__dot {
  display: inline-flex;
  width: 0.74rem;
  height: 0.74rem;
  margin-bottom: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 18px rgba(75, 103, 255, 0.2);
}

.about-premium-highlight-card h3,
.about-premium-principle-card h3,
.about-premium-step h3 {
  margin: 0;
}

.about-premium-highlight-card p,
.about-premium-principle-card p,
.about-premium-step p,
.about-premium-founder__role,
.about-premium-founder__copy .section-intro,
.about-premium-cta__card .section-intro,
.about-premium-story__copy .section-intro {
  color: var(--muted);
}

.about-premium-highlight-card p,
.about-premium-principle-card p,
.about-premium-step p {
  margin: 0.45rem 0 0;
}

.about-premium-story {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.92), rgba(255, 255, 255, 0.99));
}

.about-premium-story__copy,
.about-premium-founder__copy {
  padding: 1.25rem;
  border-radius: 22px;
}

.about-premium-values {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.76rem;
}

.about-premium-values li {
  position: relative;
  padding-left: 1.4rem;
  color: #4f6486;
  font-weight: 500;
}

.about-premium-values li::before {
  content: "";
  position: absolute;
  top: 0.46rem;
  left: 0;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(75, 103, 255, 0.12);
}

.about-premium-story__steps {
  display: grid;
  gap: 0.9rem;
}

.about-premium-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.92rem;
  padding: 1.05rem;
  border-radius: 18px;
}

.about-premium-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.9rem;
  height: 2.9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(16, 185, 129, 0.14));
  color: #244fa8;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-premium-founder {
  padding-top: 1rem;
  background:
    radial-gradient(circle at 88% 24%, rgba(39, 96, 214, 0.09), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(0, 170, 116, 0.08), transparent 30%);
}

.about-premium-founder__portrait,
.about-premium-founder__copy {
  border-radius: 20px;
  border: 1px solid rgba(190, 211, 243, 0.78);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(241, 248, 255, 0.93));
  box-shadow: 0 14px 34px rgba(18, 43, 92, 0.09);
}

.about-premium-founder__portrait {
  margin: 0;
  padding: 0.9rem;
  display: grid;
  gap: 0.72rem;
  max-width: 360px;
  justify-self: center;
}

.about-premium-founder__portrait-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(186, 210, 247, 0.9);
  overflow: hidden;
}

.about-premium-founder__portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(35, 69, 147, 0.16), rgba(19, 140, 103, 0.08) 52%, rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.about-premium-founder__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.22) contrast(1.05) saturate(0.9);
  transform: scale(1.01);
}

.about-premium-founder__nameplate {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: fit-content;
  padding: 0.42rem 0.68rem;
  border-radius: 12px;
  border: 1px solid rgba(185, 208, 242, 0.82);
  background: rgba(255, 255, 255, 0.85);
}

.about-premium-founder__nameplate strong {
  color: #1f447f;
  font-size: 0.9rem;
  line-height: 1.2;
}

.about-premium-founder__nameplate span {
  color: #5a6f8f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-premium-founder__portrait-caption {
  margin: 0;
  color: #355681;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.about-premium-founder__signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.about-premium-founder__signals li {
  padding: 0.44rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(193, 214, 245, 0.84);
  background: rgba(255, 255, 255, 0.78);
  color: #4f6486;
  font-size: 0.75rem;
  font-weight: 600;
}

.about-premium-founder__copy {
  padding: 1.2rem;
}

.about-premium-founder__role {
  margin: -0.1rem 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6f8f;
}

.about-premium-founder__quote {
  margin: 0.48rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(181, 205, 241, 0.9);
  border-left-width: 5px;
  border-left-color: rgba(66, 97, 210, 0.48);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(247, 251, 255, 0.95), rgba(241, 248, 255, 0.9));
  color: #183a71;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.64;
}

.about-premium-founder__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.55rem 0 0.1rem;
}

.about-premium-founder__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(186, 207, 239, 0.82);
  background: rgba(247, 251, 255, 0.95);
  color: #355681;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-premium-cta {
  padding-top: 0.55rem;
}

.about-premium-cta__card {
  display: grid;
  gap: 1rem;
  padding: 1.32rem;
  border-radius: 24px;
}

@media (min-width: 900px) {
  .about-premium-hero__grid {
    grid-template-columns: minmax(0, 50%) minmax(0, 40%);
    justify-content: space-between;
    align-items: start;
  }

  .about-premium-story__grid,
  .about-premium-founder__grid {
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    align-items: start;
  }

  .about-premium-metrics__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-premium-highlight-grid,
  .about-premium-principles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-premium-hero__copy {
    gap: 1.08rem;
  }

  .about-premium-cta__card {
    grid-template-columns: minmax(0, 1.22fr) auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .about-premium-hero__card {
    padding: 0.88rem;
  }

  .about-premium-hero__signature {
    grid-template-columns: 1fr;
  }

  .about-premium-hero__proof {
    grid-template-columns: 1fr;
  }

  .about-premium-media__pill {
    position: static;
    width: fit-content;
    margin-bottom: 0.55rem;
  }

  .about-premium-media__badge {
    position: static;
    margin-top: 0.75rem;
    max-width: none;
  }

  .about-premium-step {
    grid-template-columns: 1fr;
  }

  .about-premium-founder__meta {
    gap: 0.35rem;
  }
}

@media (min-width: 900px) {
  .about-hero__grid,
  .about-story-grid,
  .about-founder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .about-card-grid,
  .about-principles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-cta-card {
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .about-hero__metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero__signal,
  .about-proof-card {
    position: static;
  }

  .about-proof-card {
    width: 100%;
    margin-top: 0.85rem;
  }

  .about-step-card {
    grid-template-columns: 1fr;
  }
}

@keyframes productPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(36, 183, 103, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(36, 183, 103, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(36, 183, 103, 0);
  }
}

.premium-featured-post {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.92));
  box-shadow: var(--shadow);
}

.premium-featured-post h2 {
  margin: 0.6rem 0;
  font-size: 1.35rem;
}

.premium-featured-post span {
  color: var(--muted);
  font-size: 0.85rem;
}

.premium-blog-grid {
  display: grid;
  gap: 1.2rem;
}

.premium-blog-card {
  padding: 1.2rem;
  border: 1px solid rgba(187, 207, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
  box-shadow: 0 14px 30px rgba(14, 37, 95, 0.1);
  display: flex;
  flex-direction: column;
}

.premium-blog-card__media,
.blogs-premium-card__media {
  margin: 0 0 0.8rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(190, 210, 241, 0.85);
  background: #fff;
}

.premium-blog-card__media img,
.blogs-premium-card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.premium-blog-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.6rem;
}

.blog-article-wrap {
  padding-top: 2.5rem;
}

.blog-article-hero__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.blog-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.premium-blog-card h2 {
  margin: 0.58rem 0 0.34rem;
  font-size: clamp(1.04rem, 2.1vw, 1.28rem);
  flex-grow: 1;
}

.premium-blog-card p {
  margin: 0;
  color: #586d8f;
}

.premium-blog-card .btn {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 0.8rem;
}

.blog-article-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.blog-article-section + .blog-article-section {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.blog-article-section h2 {
  margin: 0 0 0.45rem;
}

.blog-article-section p {
  color: var(--muted);
  margin: 0;
}

.blog-article-section p + p {
  margin-top: 0.6rem;
}

.blog-article-aside {
  display: grid;
  gap: 1rem;
}

.blog-article-aside-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.blog-article-list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.blog-article-list li + li {
  margin-top: 0.45rem;
}

.form-field--captcha {
  background:
    radial-gradient(circle at 8% 10%, rgba(44, 92, 209, 0.18), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(0, 180, 95, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(238, 246, 255, 0.9));
}

.blog-article-section + .blog-article-section {
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(201, 218, 243, 0.9);
}

.blog-article-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.7vw, 1.45rem);
}

.blog-article-section p {
  color: #546b8f;
  margin: 0;
  line-height: 1.73;
}

.blog-article-section p + p {
  margin-top: 0.72rem;
}

.blog-article-aside {
  display: grid;
  gap: 1rem;
}

.blog-article-aside-card {
  padding: 1rem;
  border: 1px solid rgba(195, 213, 244, 0.86);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.9));
  box-shadow: 0 16px 36px rgba(17, 41, 93, 0.09);
}

.blog-article-aside-card h3 {
  margin: 0 0 0.45rem;
}

.blog-article-aside-card p {
  margin: 0;
  color: #586d8f;
}

.blog-article-aside-card .btn {
  margin-top: 0.8rem;
}

.blog-article-list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: #556b8e;
}

.blog-article-list li + li {
  margin-top: 0.45rem;
}

.blog-article-list a {
  color: #224cc1;
  font-weight: 600;
}

.form-field--captcha {
  margin-top: 0.15rem;
  padding: 0.7rem;
  border-radius: 14px;
  border: 1px dashed rgba(175, 197, 231, 0.92);
  background: rgba(247, 251, 255, 0.84);
}

.captcha-label {
  margin-bottom: 0.3rem;
}

.form-field--captcha .g-recaptcha {
  overflow: hidden;
  border-radius: 10px;
}

.field-hint {
  color: #607397;
  font-size: 0.76rem;
}

.field-hint {
  color: var(--muted);
  font-size: 0.76rem;
}

.field-error {
  color: #c33636;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-field--captcha .field-error {
  margin: 0;
}

.form-error-summary {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 62, 62, 0.28);
  background: rgba(230, 62, 62, 0.08);
  color: #a92b2b;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-error-summary.is-visible {
  display: block;
}

@media (max-width: 420px) {
  .form-field--captcha .g-recaptcha {
    transform: scale(0.88);
    transform-origin: left top;
  }
}

@media (min-width: 900px) {
  .product-hero-grid,
  .premium-blog-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .blog-article-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .premium-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-featured-post {
    align-self: end;
  }

  .product-highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-cta-card {
    grid-template-columns: 1.2fr auto;
    align-items: center;
  }

  .product-story-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
    gap: 1.1rem;
    align-items: stretch;
  }

  .product-story-card:nth-child(even) .product-story-media {
    order: 2;
  }

  .product-story-card:nth-child(even) .product-story-copy {
    order: 1;
  }
}

@media (max-width: 640px) {
  .product-hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-hero-badge {
    top: 0.7rem;
    right: 0.7rem;
  }

  .blog-article-meta {
    flex-wrap: wrap;
  }
}

/* =========================================================
   CONTACT PAGE – cx-* system (clean rebuild)
   ========================================================= */

/* Hero grid */
.cx-hero {
  padding-top: 4.15rem;
  padding-bottom: 2.55rem;
  background:
    radial-gradient(circle at 8% 18%, rgba(75,103,255,.13), transparent 36%),
    radial-gradient(circle at 88% 10%, rgba(0,180,75,.11), transparent 34%),
    linear-gradient(180deg, rgba(249,252,255,.82), rgba(241,248,255,.65));
}

.cx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  align-items: start;
}

@media (max-width: 860px) {
  .cx-grid { grid-template-columns: 1fr; }
}

/* ── Left column ── */
.cx-left__heading {
  margin: .35rem 0 .55rem;
  font-size: clamp(1.85rem, 2.8vw, 2.9rem);
  line-height: 1.18;
}

.cx-left__lead {
  max-width: 54ch;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Contact info list – one row per detail */
.cx-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(195,214,245,.9);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(31,62,132,.07);
}

.cx-info-row {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: center;
  gap: 0 .9rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid rgba(214,228,248,.85);
  transition: background .18s;
}
.cx-info-row:last-child { border-bottom: none; }
.cx-info-row:hover { background: rgba(241,248,255,.78); }

.cx-info-row__icon {
  grid-row: 1 / 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background: rgba(78,109,225,.11);
  border: 1px solid rgba(84,112,214,.28);
  color: #1f48cb;
  flex-shrink: 0;
}
.cx-info-row__icon svg { width: 1rem; height: 1rem; }

.cx-info-row__body {
  display: flex;
  flex-direction: column;
  gap: .08rem;
}

.cx-info-row__label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
  color: #7a8fb5;
}

.cx-info-row__value {
  font-size: .96rem;
  font-weight: 700;
  color: #18305e;
  line-height: 1.35;
}
.cx-info-row__value a {
  color: #2048ce;
  text-decoration: none;
}
.cx-info-row__value a:hover { text-decoration: underline; }

.cx-info-row__note {
  font-size: .77rem;
  color: #7a92bc;
  line-height: 1.4;
}

/* Trust badges */
.cx-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.cx-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .34rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(69,96,190,.24);
  background: linear-gradient(150deg, rgba(75,103,255,.09), rgba(0,180,75,.07));
  color: #1f3f86;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ── Right column: form panel ── */
.cx-panel {
  padding: 1.6rem 1.55rem 1.4rem;
  border-radius: 22px;
  border: 1px solid rgba(195,214,245,.95);
  background: linear-gradient(165deg, rgba(255,255,255,.96), rgba(244,250,255,.92));
  box-shadow: 0 24px 58px rgba(31,62,132,.17);
}

.cx-panel__heading {
  margin: 0 0 .22rem;
  font-size: 1.32rem;
  color: #172c60;
}

.cx-panel__sub {
  margin: 0 0 1.1rem;
  font-size: .86rem;
  color: #5a7192;
}

/* Server-side alerts */
.cx-alert {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: .89rem;
  font-weight: 600;
  line-height: 1.5;
}
.cx-alert--ok  { background: rgba(0,180,75,.1);  border: 1px solid rgba(0,180,75,.35);  color: #085e25; }
.cx-alert--err { background: rgba(230,50,50,.09); border: 1px solid rgba(220,50,50,.35); color: #8b1a1a; }
.cx-alert svg { flex-shrink: 0; margin-top: .12rem; }

/* Form layout */
.cxf {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.cxf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .72rem;
}

@media (max-width: 600px) {
  .cxf__row { grid-template-columns: 1fr; }
}

.cxf__field {
  display: flex;
  flex-direction: column;
  gap: .28rem;
}

.cxf__label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .015em;
  color: #1e3870;
}

.cxf__req { color: #c92d2d; margin-left: .1rem; }

/* Input wrapper with left icon */
.cxf__wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cxf__icon {
  position: absolute;
  left: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  color: #617ab2;
  pointer-events: none;
  z-index: 1;
}
.cxf__icon svg { width: 100%; height: 100%; }

.cxf__icon--top {
  top: .8rem;
  align-items: flex-start;
}

.cxf__input {
  width: 100%;
  padding: .68rem .9rem .68rem 2.55rem;
  border: 1.5px solid rgba(190,208,238,.9);
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  font-size: .91rem;
  color: #18305e;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}

.cxf__wrap--select .cxf__input { padding-right: 2.4rem; cursor: pointer; }

.cxf__wrap--textarea .cxf__input {
  padding-top: .7rem;
  padding-bottom: .7rem;
  resize: vertical;
  min-height: 108px;
  line-height: 1.55;
}

.cxf__input:focus {
  border-color: rgba(57,93,231,.72);
  box-shadow: 0 0 0 4px rgba(57,93,231,.11);
  background: #fff;
}

/* Chevron for selects */
.cxf__chevron {
  position: absolute;
  right: .75rem;
  pointer-events: none;
  display: inline-flex;
  color: #6a84b6;
}
.cxf__chevron svg { width: 1.1rem; height: 1.1rem; }

/* Validation states */
.cxf__field.is-valid .cxf__input {
  border-color: rgba(0,180,75,.62);
  box-shadow: 0 0 0 3px rgba(0,180,75,.1);
}
.cxf__field.is-invalid .cxf__input {
  border-color: rgba(220,50,50,.68);
  box-shadow: 0 0 0 3px rgba(220,50,50,.1);
}
.cxf__field.is-valid .cxf__icon   { color: #00a845; }
.cxf__field.is-invalid .cxf__icon { color: #c52020; }

/* Inline error text */
.cxf__error {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: #b91c1c;
  margin-top: .08rem;
}

/* Hint */
.cxf__hint {
  font-size: .73rem;
  color: #7a96bf;
}

/* reCAPTCHA field */
.cxf__field--captcha {
  padding: .7rem .9rem;
  border: 1.5px dashed rgba(175,197,231,.85);
  border-radius: 14px;
  background: rgba(247,251,255,.86);
}
.cxf__field--captcha .cxf__label { margin-bottom: .35rem; }

.cxf__notice {
  font-size: .82rem;
  color: #8a3a00;
  background: rgba(255,200,50,.18);
  border: 1px solid rgba(220,150,0,.3);
  padding: .5rem .75rem;
  border-radius: 9px;
}

/* Error summary */
.cxf__summary {
  display: none;
  padding: .62rem .9rem;
  border-radius: 10px;
  background: rgba(230,50,50,.09);
  border: 1px solid rgba(210,50,50,.28);
  color: #8b1a1a;
  font-size: .82rem;
  font-weight: 700;
}
.cxf__summary.is-visible { display: block; }

/* Submit button */
.cxf__submit {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  justify-content: center;
  padding: .86rem 1.2rem;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
}

/* ── Pillars ── */
.cx-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 860px) { .cx-pillars { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 860px) { .cx-pillars { grid-template-columns: 1fr 1fr; } }

.cx-pillar {
  padding: 1.35rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(209,223,248,.9);
  background: linear-gradient(150deg,rgba(255,255,255,.97),rgba(243,249,255,.88));
  box-shadow: 0 8px 22px rgba(31,62,132,.07);
}

.cx-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  border: 1px solid rgba(84,112,214,.26);
  background: rgba(78,109,225,.1);
  color: #2248c8;
  margin-bottom: .75rem;
}
.cx-pillar__icon svg { width: 1.15rem; height: 1.15rem; }

.cx-pillar h3 {
  margin: 0 0 .45rem;
  font-size: 1.02rem;
  color: #18305e;
}

.cx-pillar p {
  margin: 0;
  font-size: .88rem;
  color: #5a7192;
  line-height: 1.6;
}

/* =========================================================
   Final Polish Pass - sitewide rhythm and finish
   ========================================================= */

:root {
  --radius-xl: 24px;
  --focus-ring: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section {
  padding: clamp(4.2rem, 7vw, 5.8rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.section-heading {
  margin-bottom: clamp(1.35rem, 2.8vw, 2.3rem);
}

.section-heading h2,
.faq-grid h2,
.cta-banner h2,
.footer-cta h2 {
  text-wrap: balance;
  letter-spacing: -0.028em;
}

.section-copy,
.hero-lead,
.pricing-note {
  max-width: 66ch;
}

.btn {
  min-height: 44px;
  font-weight: 700;
}

.btn:focus-visible,
.text-link:focus-visible,
.footer-grid a:focus-visible,
.nav-menu a:focus-visible,
.footer-bottom-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 12px;
}

.glass-panel,
.feature-card,
.info-card,
.stat-card,
.pricing-card,
.testimonial-card,
.process-card,
.blog-card,
.faq-item,
.contact-panel,
.cta-banner,
.footer-cta,
.device-card,
.showcase-card,
.showcase-tile,
.pain-card,
.analysis-card,
.solution-card,
.proof-kpi,
.proof-note,
.product-highlight-card,
.product-video-card,
.product-story-card,
.blog-article-card,
.blog-article-aside-card,
.premium-featured-post,
.testimonial-slider,
.product-image-card {
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 34px rgba(18, 40, 88, 0.09);
}

.feature-card,
.info-card,
.process-card,
.blog-card,
.pricing-card,
.testimonial-card,
.pain-card,
.analysis-card,
.solution-card,
.proof-kpi,
.proof-note,
.showcase-card,
.showcase-tile,
.product-story-card,
.product-highlight-card,
.product-video-card,
.premium-featured-post,
.blog-article-card,
.blog-article-aside-card {
  border-color: rgba(204, 220, 246, 0.9);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover,
  .info-card:hover,
  .stat-card:hover,
  .pricing-card:hover,
  .testimonial-card:hover,
  .process-card:hover,
  .blog-card:hover,
  .device-card:hover,
  .gallery-card:hover,
  .showcase-tile:hover,
  .pain-card:hover,
  .analysis-card:hover,
  .solution-card:hover,
  .proof-kpi:hover,
  .proof-logo-cloud span:hover,
  .product-story-card:hover,
  .product-highlight-card:hover,
  .product-video-card:hover,
  .premium-featured-post:hover,
  .blog-article-aside-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(18, 40, 88, 0.13);
    border-color: #bdd2fb;
  }
}

@media (hover: none), (pointer: coarse) {
  .feature-card:hover,
  .info-card:hover,
  .stat-card:hover,
  .pricing-card:hover,
  .testimonial-card:hover,
  .process-card:hover,
  .blog-card:hover,
  .device-card:hover,
  .gallery-card:hover,
  .showcase-tile:hover,
  .pain-card:hover,
  .analysis-card:hover,
  .solution-card:hover,
  .proof-kpi:hover,
  .proof-logo-cloud span:hover,
  .product-story-card:hover,
  .product-highlight-card:hover,
  .product-video-card:hover,
  .premium-featured-post:hover,
  .blog-article-aside-card:hover {
    transform: none;
    box-shadow: 0 14px 34px rgba(18, 40, 88, 0.09);
  }
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.cxf__input {
  min-height: 44px;
}

.site-footer {
  padding-top: 1.6rem;
}

.footer-shell {
  box-shadow: 0 20px 46px rgba(19, 43, 95, 0.12);
}

@media (max-width: 719px) {
  .section {
    padding: 3.35rem 0;
  }

  .section-heading {
    margin-bottom: 1.2rem;
  }

  .section-heading h2,
  .faq-grid h2,
  .cta-banner h2,
  .footer-cta h2 {
    line-height: 1.24;
  }
}

/* ============================================================
   PRICING PAGE  (px-*)
   ============================================================ */

/* Hero trust badges */
.px-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: center;
  margin-top: 1.15rem;
}
.px-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(75,103,255,.15);
  background: rgba(75,103,255,.07);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
}

/* Pricing cards */
.px-cards-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}
@media (min-width: 760px) {
  .px-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .px-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.px-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.95)),
    radial-gradient(circle at 112% -8%, rgba(75,103,255,.16), transparent 58%);
  border: 1px solid #d7e5ff;
  border-radius: 24px;
  box-shadow:
    0 22px 44px rgba(25, 45, 94, .10),
    inset 0 1px 0 rgba(255,255,255,.75);
  overflow: hidden;
  isolation: isolate;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.px-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(136deg, rgba(75,103,255,.10), rgba(0,180,75,.06));
  opacity: 0;
  transition: opacity .26s ease;
  z-index: -1;
}
.px-card--featured {
  border-color: rgba(38,56,189,.42);
  background:
    linear-gradient(180deg, #ffffff, #f3f8ff),
    radial-gradient(circle at 108% -12%, rgba(75,103,255,.2), transparent 62%);
  box-shadow:
    0 30px 55px rgba(28, 45, 140, .18),
    inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-5px);
}
.px-card__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: .34rem .8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #4a63ff);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  margin-bottom: -.1rem;
  box-shadow: 0 10px 22px rgba(38,56,189,.28);
}
.px-card__head {
  display: grid;
  gap: .5rem;
}
.px-card__name {
  margin: 0;
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.px-card__tagline {
  margin: 0;
  color: #0f2448;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.px-card__price-row {
  display: flex;
  align-items: baseline;
  gap: .24rem;
  margin: .25rem 0 .1rem;
}
.px-card__dollar {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.px-card__amount {
  font-size: clamp(2.4rem, 3.6vw, 2.95rem);
  font-weight: 800;
  color: var(--primary);
  line-height: .96;
  letter-spacing: -0.03em;
}
.px-card__period  {
  color: #5a6f95;
  font-size: .92rem;
  font-weight: 700;
}

.px-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.px-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: .32rem .64rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  color: #284578;
  border: 1px solid rgba(72, 104, 172, .2);
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.px-card__desc {
  margin: .1rem 0 0;
  color: #5f7194;
  font-size: .92rem;
  line-height: 1.63;
}

.px-card__features {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .62rem;
  flex: 1;
  border-top: 1px solid rgba(204,220,246,.85);
  padding-top: .95rem;
}
.px-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .62rem;
  color: #1f3760;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.45;
}
.px-card__check {
  width: 19px; height: 19px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b44b, #22c47a);
  color: #fff;
  margin-top: .04rem;
  box-shadow: 0 6px 14px rgba(0,180,75,.28);
}

.px-card__note {
  margin: 0;
  color: #5e6d89;
  font-size: .79rem;
  line-height: 1.5;
  padding: .62rem .75rem;
  background: rgba(75,103,255,.06);
  border-radius: 12px;
  border: 1px solid rgba(75,103,255,.13);
}
.px-card__cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
}

.px-card .btn-secondary {
  background: #f8fbff;
  border-color: #c7dafc;
  color: #21437d;
}

.px-card--featured .btn-primary {
  box-shadow: 0 14px 26px rgba(38,56,189,.27);
}

@media (hover: hover) and (pointer: fine) {
  .px-card:hover {
    transform: translateY(-7px);
    border-color: #b8cdf6;
    box-shadow: 0 32px 54px rgba(18,40,88,.16);
  }
  .px-card:hover::before { opacity: 1; }
  .px-card--featured:hover { transform: translateY(-9px); }
}

@media (max-width: 759px) {
  .px-card {
    padding: 1.3rem;
    border-radius: 20px;
  }
  .px-card__tagline { font-size: 1.02rem; }
  .px-card__amount { font-size: 2.45rem; }
}

/* Every plan includes — support cards */
.px-support-grid {
  display: grid;
  gap: 1rem;
}

.px-support-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.05rem;
  border: 1px solid rgba(199, 216, 246, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
}

.px-support-card__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(75, 103, 255, 0.1);
}

.px-support-card__icon svg {
  width: 20px;
  height: 20px;
}

.px-support-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #173667;
}

.px-support-card p {
  margin: 0;
  color: #556d96;
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (min-width: 480px) { .px-support-grid { grid-template-columns: repeat(2, 1fr); } }
/* Stats strip */
.px-stats-section { background: linear-gradient(180deg, #f4f8ff, #eef4ff); }
.px-stats-grid { display: grid; gap: 1rem; }
.px-stat { text-align: center; padding: 1.25rem; }
.px-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: .25rem; }
.px-stat span    { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (min-width: 480px) { .px-stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .px-stats-grid { grid-template-columns: repeat(4,1fr); } }

/* Pricing FAQ */
.px-faq-section {
  background:
    radial-gradient(circle at 0% 10%, rgba(75,103,255,.08), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(0,180,75,.06), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.px-faq-shell {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

.px-faq-intro,
.px-faq-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,251,255,.94));
  border: 1px solid rgba(206,221,246,.95);
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(18,40,88,.10);
}

.px-faq-intro {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  overflow: hidden;
}

.px-faq-intro::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -82px;
  right: -72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,103,255,.16) 0%, rgba(75,103,255,0) 70%);
  pointer-events: none;
}

.px-faq-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  background: rgba(75,103,255,.08);
  border: 1px solid rgba(75,103,255,.14);
  color: var(--primary);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.px-faq-intro h2 {
  margin: 1rem 0 .75rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #0f2248;
}

.px-faq-intro > p {
  margin: 0;
  max-width: 52ch;
  color: #576c8d;
  font-size: .98rem;
  line-height: 1.72;
}

.px-faq-highlights {
  display: grid;
  gap: .85rem;
  margin-top: 1.4rem;
}

.px-faq-highlight {
  padding: .95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafdff, #f2f7ff);
  border: 1px solid rgba(206,221,246,.92);
}

.px-faq-highlight strong {
  display: block;
  margin-bottom: .28rem;
  color: #173261;
  font-size: .95rem;
}

.px-faq-highlight span {
  display: block;
  color: #5b708f;
  font-size: .88rem;
  line-height: 1.6;
}

.px-faq-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(206,221,246,.9);
}

.px-faq-contact__label {
  margin: 0 0 .24rem;
  color: #16305d;
  font-size: .94rem;
  font-weight: 800;
}

.px-faq-contact__copy {
  margin: 0;
  max-width: 36ch;
  color: #607390;
  font-size: .9rem;
  line-height: 1.6;
}

.px-faq-panel {
  padding: 1.15rem;
}

.px-faq-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1rem;
  padding: .4rem .35rem 1rem;
}

.px-faq-panel__head p {
  margin: 0;
  color: #536887;
  font-size: .92rem;
  line-height: 1.6;
}

.px-faq-panel__head span {
  display: inline-flex;
  align-items: center;
  padding: .34rem .7rem;
  border-radius: 999px;
  background: rgba(75,103,255,.08);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 800;
}

.px-faq-list {
  display: grid;
  gap: .9rem;
}

.px-faq-list .faq-item {
  margin: 0;
  border: 1px solid rgba(208,222,246,.95);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 32px rgba(18,40,88,.07);
  overflow: hidden;
}

.px-faq-list .faq-item + .faq-item {
  margin-top: 0;
}

.px-faq-list .faq-item summary {
  position: relative;
  padding: 1.2rem 4.4rem 1.2rem 1.2rem;
  color: #16305d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.px-faq-list .faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(75,103,255,.14), rgba(0,180,75,.10));
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.px-faq-list .faq-item[open] summary::after {
  content: "-";
  background: linear-gradient(135deg, var(--primary), #4a63ff);
  color: #fff;
}

.px-faq-list .faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: #607390;
  font-size: .94rem;
  line-height: 1.72;
}

@media (min-width: 980px) {
  .px-faq-shell {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 1.4rem;
  }

  .px-faq-intro {
    position: sticky;
    top: 110px;
  }
}

@media (max-width: 759px) {
  .px-faq-intro,
  .px-faq-panel {
    border-radius: 22px;
  }

  .px-faq-list .faq-item summary {
    padding-right: 4rem;
    font-size: .96rem;
  }
}

/* ============================================================
   PLAN SIGN-UP PAGES  (pf-*)
   ============================================================ */

.pf-section {
  padding: 4.5rem 0 5.4rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(69, 100, 243, 0.07), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(0, 180, 75, 0.07), transparent 30%),
    linear-gradient(180deg, #eef2f7 0%, #e9edf4 100%);
  min-height: calc(100vh - 74px);
}

.pf-shell {
  display: grid;
  gap: 2.7rem;
  align-items: start;
}
@media (min-width: 960px) {
  .pf-shell { grid-template-columns: 1fr 1.08fr; gap: 3.2rem; }
}

/* ── Left column ── */
.pf-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.pf-back:hover { text-decoration: underline; }

.pf-left__heading {
  margin: .3rem 0 .65rem;
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--text);
}
.pf-left__lead {
  margin: 0 0 1.75rem;
  color: #4a6080;
  font-size: .97rem;
  line-height: 1.7;
  max-width: 42ch;
}


/* Plan summary card */
.pf-plan-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95));
  border: 1px solid rgba(197, 217, 247, 0.92);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 18px 44px rgba(18, 40, 88, 0.11);
  margin-bottom: 1.5rem;
}
.pf-plan-card--featured {
  border-color: #b9caff;
  box-shadow: 0 20px 46px rgba(38,56,189,.13);
}
.pf-plan-card--premium {
  border-color: #c0d4ff;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}
.pf-plan-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #4a63ff);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}
.pf-plan-card__top {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
@media (min-width: 480px) {
  .pf-plan-card__top { grid-template-columns: 1fr auto; align-items: start; }
}
.pf-plan-card__name {
  margin: 0 0 .2rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pf-plan-card__note {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  max-width: 32ch;
}
.pf-plan-card__price { text-align: right; white-space: nowrap; }
.pf-plan-card__amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.pf-plan-card__period { color: var(--muted); font-size: .85rem; font-weight: 600; }

.pf-plan-card__features {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .55rem;
  border-top: 1px solid rgba(204,220,246,.7);
  padding-top: 1rem;
}
.pf-plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .58rem;
  color: #253f6f;
  font-size: .88rem;
  font-weight: 600;
}
.pf-plan-card__check {
  width: 17px; height: 17px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b44b, #22c47a);
  color: #fff;
  margin-top: .06rem;
}

/* Trust badges row */
.pf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin-top: 1.1rem;
}
.pf-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #607399;
  font-size: .78rem;
  font-weight: 700;
}

/* ── Right form card ── */
.pf-form-wrap {
  position: sticky;
  top: 1.5rem;
}
.pf-form-card {
  padding: 2.2rem 2rem 1.9rem;
  background: #f6f8fb;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 37, 76, 0.1);
}
.pf-form-card__head {
  margin-bottom: 1.55rem;
  text-align: center;
}
.pf-form-card__head h2 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 3vw, 2.35rem);
  letter-spacing: -.02em;
  color: #254a73;
}
.pf-form-card__head p  {
  margin: 0 auto;
  max-width: 38ch;
  color: #4f6484;
  font-size: 1.02rem;
  line-height: 1.45;
}

/* Plan form overrides */
.pf-section .cxf {
  gap: 1.05rem;
}

.pf-section .cxf__row {
  gap: .95rem;
}

.pf-section .cxf__label {
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #647b9d;
  margin-bottom: .38rem;
}

.pf-section .cxf__wrap {
  border-radius: 9px;
  border: 1px solid #c8d0dc;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.pf-section .cxf__wrap:focus-within {
  border-color: rgba(36, 74, 115, 0.62);
  box-shadow: 0 0 0 3px rgba(46, 86, 132, 0.12);
  transform: translateY(-1px);
}

.pf-section .cxf__icon {
  left: 0;
  width: 3.15rem;
  height: calc(100% - 2px);
  border-right: 1px solid #d2d9e4;
  border-radius: 8px 0 0 8px;
  background: #f2f5f9;
  color: #2d3f59;
}

.pf-section .cxf__icon svg {
  width: 1.08rem;
  height: 1.08rem;
}

.pf-section .cxf__icon--top {
  top: 1px;
  height: 3.15rem;
}

.pf-section .cxf__input {
  border: 0;
  padding: .93rem 1rem .93rem 3.95rem;
  min-height: 58px;
  box-shadow: none;
  font-size: 1.02rem;
  color: #334863;
  font-weight: 500;
  background: transparent;
}

.pf-section .cxf__input::placeholder {
  color: #3f587a;
  opacity: .96;
}

.pf-section .cxf__input:focus {
  box-shadow: none;
}

.pf-section .cxf__wrap--textarea .cxf__input {
  min-height: 106px;
  padding-top: 1rem;
}

.pf-section .cxf__field.is-valid .cxf__wrap {
  border-color: rgba(0, 180, 75, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 180, 75, 0.1);
}

.pf-section .cxf__field.is-invalid .cxf__wrap {
  border-color: rgba(214, 55, 55, 0.74);
  box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}

.cxf__submit    { width: 100%; margin-top: .5rem; justify-content: center; }
.cxf__optional  { color: var(--muted); font-weight: 400; font-size: .82em; }
.cxf__legal     { margin: .75rem 0 0; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.cxf__legal a   { color: var(--primary); }

.pf-payment-block {
  margin-top: .45rem;
  padding: .95rem;
  border: 1px solid #ccd6e4;
  border-radius: 10px;
  background: #fbfdff;
}

.pf-payment-copy {
  margin: 0 0 .5rem;
  color: #314968;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.pf-stripe-image {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #d3dbe7;
  background: #fff;
}

.cxf__submit.is-loading {
  opacity: .85;
  pointer-events: none;
}

.cxf__submit {
  position: relative;
  gap: .75rem;
}

.cxf__submit-label {
  transition: opacity .2s ease;
}

.cxf__submit-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: plan-spin .8s linear infinite;
  display: none;
  flex: 0 0 18px;
}

.cxf__submit.is-loading .cxf__submit-spinner {
  display: inline-block;
}

.plan-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 120;
}

.plan-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plan-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 38, 0.58);
  backdrop-filter: blur(12px);
}

.plan-loader__card {
  position: relative;
  width: min(100%, 420px);
  padding: 2rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(10, 22, 56, 0.96), rgba(9, 18, 42, 0.92));
  box-shadow: 0 28px 80px rgba(3, 9, 24, 0.42);
  text-align: center;
  color: #fff;
}

.plan-loader__spinner {
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-top-color: #4cc2ff;
  border-right-color: #27d17f;
  animation: plan-spin .9s linear infinite;
}

.plan-loader__eyebrow {
  margin: 1rem 0 .4rem;
  color: rgba(197, 223, 255, 0.76);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plan-loader__title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.plan-loader__message {
  margin: .7rem auto 0;
  max-width: 30ch;
  color: rgba(214, 229, 255, 0.82);
  line-height: 1.65;
}

.is-checkout-loading {
  overflow: hidden;
}

@keyframes plan-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 959px) {
  .pf-form-wrap {
    position: static;
  }

  .pf-form-card {
    padding: 1.4rem;
    border-radius: 10px;
  }

  .pf-form-card__head h2 {
    font-size: clamp(1.6rem, 7.4vw, 2rem);
  }

  .pf-form-card__head p {
    font-size: .95rem;
  }
}



/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-section {
  padding: 2.5rem 0 5rem;
}

.ty-shell {
  max-width: 1180px;
}

.ty-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(100, 132, 196, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(78, 124, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow: 0 28px 60px rgba(32, 62, 120, 0.12);
}

.ty-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(38, 197, 94, 0.12);
  color: #128347;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ty-badge::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18bf63, #0f9f51);
  box-shadow: 0 0 0 5px rgba(24, 191, 99, 0.14);
}

.ty-copy h1 {
  margin: 1rem 0 .9rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  color: #102447;
}

.ty-copy h1 span {
  background: linear-gradient(135deg, #1a45d0, #00b44b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ty-lead {
  margin: 0;
  max-width: 58ch;
  color: #49607f;
  font-size: 1.03rem;
  line-height: 1.75;
}

.ty-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}

.ty-detail {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(115, 143, 194, 0.22);
  background: rgba(255, 255, 255, 0.84);
}

.ty-detail__label {
  display: block;
  margin-bottom: .38rem;
  color: #6880a7;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ty-detail strong {
  color: #13284e;
  font-size: 1rem;
}

.ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1.3rem;
}

.ty-points {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #506786;
}

.ty-points li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .7rem;
}

.ty-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .48rem;
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a45d0, #00b44b);
}

.ty-visual {
  position: relative;
  min-height: 340px;
}

.ty-visual__glow {
  position: absolute;
  inset: 10% 8% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(66, 120, 255, 0.28), transparent 70%);
  filter: blur(10px);
}

.ty-visual__panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(95, 129, 190, 0.24);
  background: linear-gradient(180deg, #fdfefe, #eef4ff);
  box-shadow: 0 24px 40px rgba(26, 60, 122, 0.16);
}

.ty-visual__panel img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 959px) {
  .ty-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .ty-details {
    grid-template-columns: 1fr;
  }

  .ty-actions {
    flex-direction: column;
  }
}


/* ============================================================
   LEGAL PAGES  (terms.php / privacy.php)
   ============================================================ */
.legal-section {
    padding: 64px 0 96px;
    background: #f7f8fc;
}
.legal-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- TOC sidebar --- */
.legal-toc {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border, #E4E7F2);
    border-radius: 16px;
    padding: 28px 24px;
}
.legal-toc__title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted, #7B82A3);
    margin-bottom: 16px;
}
.legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.legal-toc__list li a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--mid, #3D4460);
    text-decoration: none;
    transition: background .15s, color .15s;
    line-height: 1.4;
}
.legal-toc__list li a:hover {
    background: var(--blue-xl, #EEF0FD);
    color: var(--primary, #1B2FBE);
}

/* --- Body article --- */
.legal-body {
    background: #fff;
    border: 1px solid var(--border, #E4E7F2);
    border-radius: 20px;
    padding: 48px 52px;
}

/* Meta row */
.legal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.legal-meta__badge {
    display: inline-block;
    background: var(--blue-xl, #EEF0FD);
    color: var(--primary, #1B2FBE);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 14px;
    border-radius: 100px;
}
.legal-meta__badge--green {
    background: var(--accent-light, #E8F8EC);
    color: var(--accent, #2DB34A);
}
.legal-meta__date {
    font-size: .82rem;
    color: var(--muted, #7B82A3);
}

/* Intro */
.legal-intro {
    background: #f7f8fc;
    border-left: 3px solid var(--primary, #1B2FBE);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 40px;
}
.legal-intro p {
    font-size: .93rem;
    color: var(--mid, #3D4460);
    line-height: 1.75;
    margin: 0;
}

/* Section blocks */
.legal-block {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border, #E4E7F2);
    scroll-margin-top: 100px;
}
.legal-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.legal-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink, #0B0E1A);
    margin-bottom: 14px;
    letter-spacing: -.015em;
}
.legal-block p {
    font-size: .9rem;
    color: var(--mid, #3D4460);
    line-height: 1.78;
    margin-bottom: 12px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a {
    color: var(--primary, #1B2FBE);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-block a:hover { opacity: .8; }

/* Bullet lists */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.legal-list li {
    font-size: .9rem;
    color: var(--mid, #3D4460);
    line-height: 1.65;
    padding-left: 22px;
    position: relative;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary, #1B2FBE);
    opacity: .5;
}

/* Contact card */
.legal-contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #f7f8fc;
    border: 1px solid var(--border, #E4E7F2);
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 18px;
}
.legal-contact-card__icon {
    width: 42px;
    height: 42px;
    background: var(--blue-xl, #EEF0FD);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary, #1B2FBE);
}
.legal-contact-card__icon svg {
    width: 20px;
    height: 20px;
}
.legal-contact-card__label {
    font-size: .78rem;
    color: var(--muted, #7B82A3);
    margin-bottom: 4px;
}
.legal-contact-card__link {
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary, #1B2FBE);
    text-decoration: none;
}
.legal-contact-card__link:hover { text-decoration: underline; }

/* Footer note */
.legal-footer-note {
    margin-top: 32px;
    padding: 18px 24px;
    background: #f0f4ff;
    border-radius: 12px;
    border: 1px solid rgba(27,47,190,.1);
}
.legal-footer-note p {
    font-size: .85rem;
    color: var(--mid, #3D4460);
    margin: 0;
    line-height: 1.6;
}
.legal-footer-note a {
    color: var(--primary, #1B2FBE);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .legal-wrap {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
    }
    .legal-body {
        padding: 32px 28px;
    }
}
@media (max-width: 600px) {
    .legal-body {
        padding: 24px 20px;
    }
    .legal-block h2 {
        font-size: 1.05rem;
    }
}

/* =========================================================
   PRODUCT PAGE (FRESH LAYOUT)
   ========================================================= */
.product-fresh-hero {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.product-fresh-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.6rem);
  align-items: center;
}

.product-fresh-hero__chips {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-fresh-hero__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 57, 169, 0.2);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e3092;
}

.product-fresh-mockup {
  border-radius: 24px;
  padding: clamp(0.6rem, 1.4vw, 1rem);
  background: linear-gradient(145deg, rgba(38, 56, 189, 0.17), rgba(0, 180, 75, 0.11));
  box-shadow: 0 28px 48px rgba(20, 42, 112, 0.14);
}

.product-fresh-mockup__window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 107, 0.14);
  background: #fff;
}

.product-fresh-mockup__bar {
  height: 38px;
  background: linear-gradient(90deg, #f5f8ff, #edf4ff);
  border-bottom: 1px solid rgba(19, 36, 107, 0.1);
}

.product-fresh-mockup__body {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  min-height: 270px;
}

.product-fresh-mockup__pane {
  position: relative;
}

.product-fresh-mockup__pane--left {
  border-right: 1px solid rgba(19, 36, 107, 0.1);
  background:
    linear-gradient(rgba(56, 86, 221, 0.08), rgba(56, 86, 221, 0.08)) 14px 24px / 74% 10px no-repeat,
    linear-gradient(rgba(56, 86, 221, 0.08), rgba(56, 86, 221, 0.08)) 14px 48px / 62% 10px no-repeat,
    linear-gradient(rgba(56, 86, 221, 0.08), rgba(56, 86, 221, 0.08)) 14px 72px / 68% 10px no-repeat,
    linear-gradient(rgba(56, 86, 221, 0.08), rgba(56, 86, 221, 0.08)) 14px 96px / 56% 10px no-repeat,
    #f8fbff;
}

.product-fresh-mockup__pane--right {
  background:
    linear-gradient(rgba(27, 47, 190, 0.11), rgba(27, 47, 190, 0.11)) 20px 28px / 86% 14px no-repeat,
    linear-gradient(rgba(27, 47, 190, 0.08), rgba(27, 47, 190, 0.08)) 20px 56px / 70% 10px no-repeat,
    linear-gradient(rgba(27, 47, 190, 0.08), rgba(27, 47, 190, 0.08)) 20px 82px / 76% 10px no-repeat,
    linear-gradient(90deg, rgba(0, 180, 75, 0.12), rgba(0, 180, 75, 0.12)) 20px 120px / 36% 90px no-repeat,
    linear-gradient(90deg, rgba(75, 103, 255, 0.14), rgba(75, 103, 255, 0.14)) 56% 120px / 32% 90px no-repeat,
    #ffffff;
}

.product-fresh-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-fresh-card {
  padding: 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(37, 58, 179, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(26, 49, 125, 0.08);
}

.product-fresh-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.product-fresh-card p {
  margin: 0.55rem 0 0.7rem;
  color: var(--muted);
}

.product-fresh-card ul {
  margin: 0;
  padding-left: 1rem;
}

.product-fresh-card li {
  margin: 0.3rem 0;
  color: #29406f;
}

.product-fresh-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-fresh-step {
  background: #fff;
  border: 1px solid rgba(41, 63, 184, 0.12);
  border-radius: 16px;
  padding: 1.1rem;
}

.product-fresh-step__num {
  display: inline-flex;
  min-width: 2.2rem;
  justify-content: center;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: rgba(38, 56, 189, 0.12);
  color: #2238ba;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-fresh-step h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1rem;
}

.product-fresh-step p {
  margin: 0;
  color: var(--muted);
}

.product-fresh-roles__inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1rem;
  align-items: start;
}

.product-fresh-roles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-fresh-role {
  border-radius: 14px;
  border: 1px solid rgba(18, 38, 77, 0.12);
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
}

.product-fresh-role h3 {
  margin: 0;
  font-size: 0.98rem;
}

.product-fresh-role p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .product-fresh-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-fresh-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-fresh-roles__inner,
  .product-fresh-hero__grid,
  .product-fresh-roles__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .product-fresh-pillars__grid,
  .product-fresh-timeline {
    grid-template-columns: 1fr;
  }

  .product-fresh-mockup__body {
    min-height: 220px;
  }
}

.product-premium-hero__shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 55, 153, 0.2);
  box-shadow: 0 28px 54px rgba(19, 37, 104, 0.22);
  transform: perspective(1100px) rotateY(-6deg) rotateX(1.6deg);
  transform-origin: center;
  background: #fff;
}

.product-premium-hero__shot img {
  width: 100%;
  height: auto;
}

.product-premium-showcase {
  padding-top: 1rem;
}

.product-showcase-stack {
  display: grid;
  gap: 1rem;
}

.product-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 1.1rem;
  align-items: center;
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
  border-radius: 20px;
  border: 1px solid rgba(37, 58, 179, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9));
}

.product-showcase-row--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.product-showcase-row--reverse .product-showcase-copy {
  order: 2;
}

.product-showcase-row--reverse .product-showcase-media {
  order: 1;
}

.product-showcase-copy h2 {
  margin-top: 0.32rem;
  margin-bottom: 0.52rem;
  font-size: clamp(1.2rem, 2.3vw, 1.95rem);
}

.product-showcase-list {
  margin: 0;
  padding-left: 1rem;
}

.product-showcase-list li {
  color: #2d436f;
  margin: 0.32rem 0;
}

.product-showcase-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27, 47, 190, 0.14);
  box-shadow: 0 12px 30px rgba(23, 42, 108, 0.14);
  background: #fff;
}

.product-showcase-media img {
  width: 100%;
  height: auto;
  display: block;
}

.product-premium-video {
  padding-top: 1.1rem;
}

.product-video-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(29, 51, 156, 0.18);
  box-shadow: 0 20px 40px rgba(20, 40, 107, 0.17);
  background: #fff;
}

.product-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 740px);
  background: #101b42;
}

.product-premium-gallery {
  padding-top: 0.8rem;
}

.product-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.product-screen-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(29, 51, 156, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 22px rgba(21, 39, 102, 0.1);
}

.product-screen-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.product-screen-item figcaption {
  padding: 0.56rem 0.7rem 0.62rem;
  font-size: 0.8rem;
  color: #2f456c;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .product-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-showcase-row,
  .product-showcase-row--reverse {
    grid-template-columns: 1fr;
  }

  .product-showcase-row--reverse .product-showcase-copy,
  .product-showcase-row--reverse .product-showcase-media {
    order: initial;
  }
}

@media (max-width: 900px) {
  .product-premium-hero__shot {
    transform: none;
  }
}

@media (max-width: 700px) {
  .product-screen-grid {
    grid-template-columns: 1fr;
  }

  .product-screen-item img {
    height: auto;
    object-fit: contain;
    background: #f6f9ff;
  }
}

/* =========================================================
   BLOGS PAGE (PREMIUM LISTING)
   ========================================================= */
.blogs-premium-hero {
  padding-top: clamp(3.5rem, 7.6vw, 5.25rem);
  padding-bottom: clamp(2.25rem, 5.3vw, 3.4rem);
}

.blogs-premium-hero__grid {
  display: grid;
  gap: 1.05rem;
  align-items: center;
}

.blogs-premium-hero__copy h1 {
  max-width: 18ch;
}

.blogs-premium-hero__copy .hero-lead {
  max-width: 62ch;
}

.blogs-premium-hero__chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.blogs-premium-hero__chips span {
  border-radius: 999px;
  border: 1px solid rgba(37, 59, 172, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: #20389f;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 0.36rem 0.72rem;
}

.blogs-premium-featured {
  display: grid;
  gap: 0.55rem;
}

.blogs-premium-featured h2 {
  margin: 0.15rem 0 0.25rem;
}

.blogs-premium-featured p {
  margin: 0;
  color: #556b8e;
}

.blogs-premium-featured .btn {
  margin-top: 0.6rem;
  width: fit-content;
}

.blogs-premium-featured__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(185, 204, 235, 0.85);
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 43, 110, 0.13);
}

.blogs-premium-featured__media img {
  width: 100%;
  height: auto;
  display: block;
}

.blogs-premium-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.blogs-premium-card {
  border: 1px solid rgba(187, 207, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
  box-shadow: 0 14px 30px rgba(14, 37, 95, 0.1);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.blogs-premium-card__media {
  margin: 0 0 0.8rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(190, 210, 241, 0.85);
  background: #fff;
}

.blogs-premium-card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blogs-premium-card h2 {
  margin: 0.58rem 0 0.34rem;
  font-size: clamp(1.04rem, 2.1vw, 1.28rem);
  flex-grow: 1;
}

.blogs-premium-card p {
  margin: 0;
  color: #586d8f;
}

.blogs-premium-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.blogs-premium-cta-wrap {
  padding-top: 1.35rem;
}

.blogs-premium-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .blogs-premium-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .blogs-premium-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .premium-blog-grid,
  .blogs-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-blog-card__media img,
  .blogs-premium-card__media img {
    height: 188px;
  }
}

@media (max-width: 640px) {
  .premium-blog-grid,
  .blogs-premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-blog-card__media img,
  .blogs-premium-card__media img {
    height: auto;
    object-fit: contain;
    background: #f2f7ff;
  }
}

/* =========================================================
   BLOGS PAGE (FRESH REDESIGN)
   ========================================================= */
.blogs-page {
  background: var(--bg);
}

.blogs-hero {
  padding-top: clamp(3.5rem, 7.6vw, 5.25rem);
  padding-bottom: clamp(2.25rem, 5.3vw, 3.4rem);
}

.blogs-hero__grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.blogs-hero__content {
  max-width: 580px;
}

.blogs-hero__content h1 {
  margin-top: 0.8rem;
  margin-bottom: 0.6rem;
}

.blogs-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.blogs-hero__chips span {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(38, 56, 189, 0.08);
  color: #2638bd;
  font-size: 0.9rem;
  font-weight: 500;
}

.blogs-featured-card {
  border: 1px solid rgba(187, 207, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
  box-shadow: 0 16px 40px rgba(14, 37, 95, 0.1);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.blogs-featured-card__media {
  margin: 0 0 1rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(190, 210, 241, 0.85);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.blogs-featured-card__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.blogs-featured-card__media:hover {
  transform: scale(1.01);
}

.blogs-featured-card h2 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.3;
}

.blogs-featured-card p {
  margin: 0 0 1rem;
  color: #586d8f;
  line-height: 1.65;
  flex-grow: 1;
}

.blogs-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 0.6rem;
}

.blog-card {
  border: 1px solid rgba(187, 207, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
  box-shadow: 0 12px 32px rgba(14, 37, 95, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 16px 48px rgba(14, 37, 95, 0.12);
  transform: translateY(-2px);
}

.blog-card__media {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 210, 241, 0.85);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__media:hover img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h2 {
  margin: 0.6rem 0 0.4rem;
  font-size: clamp(1.04rem, 2.5vw, 1.2rem);
  line-height: 1.3;
  color: #1a3a7a;
}

.blog-card p {
  margin: 0 0 1rem;
  color: #586d8f;
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.blogs-cta-section {
  padding-top: 1.2rem;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(38, 56, 189, 0.08), rgba(0, 180, 75, 0.05));
  border: 1px solid rgba(187, 207, 240, 0.6);
}

.cta-banner h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.cta-banner p {
  margin: 0;
  color: #586d8f;
  line-height: 1.65;
}

.cta-banner--premium {
  background: linear-gradient(160deg, rgba(44, 92, 209, 0.08), rgba(0, 180, 75, 0.06));
  border-color: rgba(195, 213, 244, 0.7);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .blogs-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .blogs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blogs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .blogs-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-card__media {
    height: 200px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .blogs-hero {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-card__media {
    height: 200px;
  }

  .blog-card__content {
    padding: 1.1rem;
  }

  .blogs-featured-card {
    padding: 1.1rem;
  }

  .cta-banner {
    padding: 1.8rem;
    gap: 1rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   LIGHTBOX / IMAGE MODAL
   ========================================================= */
.image-gallery-item {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(21, 39, 102, 0.15);
}

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  color: #fff;
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  max-width: 80vw;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #fff;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  font-weight: bold;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: #fff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .lightbox-caption {
    font-size: 0.9rem;
  }
}

/* =========================================================
   HOME PAGE ENHANCEMENT PASS (scoped)
   ========================================================= */
.page.home .hx,
.page.home .social-proof-section,
.page.home .section-problem,
.page.home .features-premium,
.page.home .section-showcase,
.page.home .pricing-preview,
.page.home .home-testimonials,
.page.home .home-faq {
  position: relative;
}

.page.home .section {
  padding-top: clamp(2.9rem, 6vw, 5rem);
  padding-bottom: clamp(2.7rem, 5.5vw, 4.7rem);
}

.page.home .hx {
  padding-top: clamp(3.4rem, 7vw, 5.2rem);
  padding-bottom: clamp(2.5rem, 5.2vw, 4rem);
}

.page.home .hx__copy,
.page.home .proof-premium-head,
.page.home .problem-grid--redesigned,
.page.home .preview-shell--premium,
.page.home .pricing-shell,
.page.home .home-testimonials .testimonial-slider,
.page.home .faq-grid {
  animation: homeLiftFade 0.75s ease both;
}

.page.home .proof-premium-head,
.page.home .proof-premium-body,
.page.home .problem-grid--redesigned,
.page.home .preview-shell--premium,
.page.home .pricing-shell,
.page.home .home-testimonials .testimonial-slider,
.page.home .faq-grid {
  border: 1px solid rgba(184, 207, 244, 0.72);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.9));
  box-shadow: 0 18px 44px rgba(17, 41, 93, 0.09);
}

.page.home .proof-premium-head,
.page.home .proof-premium-body,
.page.home .home-testimonials .testimonial-slider,
.page.home .faq-grid {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.page.home .problem-grid--redesigned,
.page.home .preview-shell--premium,
.page.home .pricing-shell {
  padding: clamp(1.1rem, 2.2vw, 1.65rem);
}

.page.home .proof-kpi,
.page.home .proof-note,
.page.home .pain-card,
.page.home .solution-card,
.page.home .feature-card,
.page.home .preview-point,
.page.home .pricing-card,
.page.home .pricing-side-card,
.page.home .testimonial-slide,
.page.home .faq-item {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.page.home .proof-kpi:hover,
.page.home .proof-note:hover,
.page.home .pain-card:hover,
.page.home .solution-card:hover,
.page.home .feature-card:hover,
.page.home .preview-point:hover,
.page.home .pricing-card:hover,
.page.home .pricing-side-card:hover,
.page.home .testimonial-slide:hover,
.page.home .faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(118, 156, 230, 0.55);
  box-shadow: 0 14px 34px rgba(21, 52, 110, 0.14);
}

.page.home .section-heading h2,
.page.home .proof-premium-copy h2,
.page.home .problem-copy h2,
.page.home .pricing-side h2,
.page.home .home-faq__intro h2 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.page.home .section-copy,
.page.home .proof-premium-copy .section-copy,
.page.home .problem-copy .section-copy,
.page.home .preview-sidebar__intro .section-copy,
.page.home .pricing-side .section-copy,
.page.home .home-faq__intro .section-copy {
  color: #4f6486;
}

.page.home .proof-kpi-row {
  gap: 0.72rem;
}

.page.home .proof-kpi,
.page.home .proof-note,
.page.home .pricing-side-card,
.page.home .preview-point,
.page.home .faq-item {
  border-radius: 14px;
}

.page.home .feature-grid,
.page.home .pricing-grid {
  gap: 1rem;
}

.page.home .feature-card,
.page.home .pricing-card {
  border-radius: 16px;
}

.page.home .stage-frame {
  border-radius: 16px;
  box-shadow: 0 20px 46px rgba(16, 41, 92, 0.16);
}

.page.home .stage-footer {
  border-top: 1px solid rgba(188, 210, 245, 0.72);
  padding-top: 0.88rem;
}

.page.home .pricing-meta-strip span,
.page.home .home-testimonials__stats span {
  border: 1px solid rgba(186, 208, 243, 0.82);
  background: rgba(255, 255, 255, 0.86);
}

.page.home .home-faq__help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.page.home .home-faq__help-link::after {
  content: "->";
  font-size: 0.85em;
  opacity: 0.75;
}

@keyframes homeLiftFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .page.home .section {
    padding-top: 2.5rem;
    padding-bottom: 2.25rem;
  }

  .page.home .proof-premium-head,
  .page.home .proof-premium-body,
  .page.home .problem-grid--redesigned,
  .page.home .preview-shell--premium,
  .page.home .pricing-shell,
  .page.home .home-testimonials .testimonial-slider,
  .page.home .faq-grid {
    border-radius: 16px;
    padding: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page.home .hx__copy,
  .page.home .proof-premium-head,
  .page.home .problem-grid--redesigned,
  .page.home .preview-shell--premium,
  .page.home .pricing-shell,
  .page.home .home-testimonials .testimonial-slider,
  .page.home .faq-grid {
    animation: none;
  }
}
