/* ================================================================
   APEX ASTUTE — Complete Redesign (stackdnow.com layout system)
   Built from scratch. Color palette: #6D4AFF accent.
   ================================================================ */

:root {
  /* Brand */
  --maincolor: #6D4AFF;
  --maincolor-hover: #5a39e0;
  --secondcolor: #ffffff;
  --accent-light: #9b7fff;

  /* Surfaces (stackdnow dark theme) */
  --bg-primary: #0a0e1a;
  --bg-card: #1a2236;
  --bg-elevated: #1f2a40;
  --bg-glass: rgba(26, 34, 54, 0.5);

  /* Borders */
  --border-color: #2a3550;
  --border-color-light: rgba(42, 53, 80, 0.5);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dark: #4b5563;

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(109, 74, 255, 0.15);

  /* Font */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border-color); }
*::after { --tw-content: ""; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: bolder; }
button, input { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p { margin: 0; }

/* ── Container ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── Section ──────────────────────────────────────────── */
.section-padding {
  padding: 6rem 0;
}
@media (min-width: 768px) {
  .section-padding { padding: 8rem 0; }
}

/* ── Typography ───────────────────────────────────────── */
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}
h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
}
h5 {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-primary);
}
h6 {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Buttons ──────────────────────────────────────────── */
body .sppb-btn,
.btn-apex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}
body .sppb-btn.sppb-btn-primary,
.btn-apex-primary {
  background: var(--maincolor);
  color: #fff;
}
body .sppb-btn.sppb-btn-primary:hover,
.btn-apex-primary:hover {
  background: var(--maincolor-hover);
  box-shadow: var(--shadow-md), 0 0 20px rgba(109, 74, 255, 0.25);
  transform: translateY(-1px);
}
body .sppb-btn > .text,
body .sppb-btn > .shape { all: unset; }
body .sppb-btn > .text { color: inherit; font: inherit; }
body .sppb-btn > .text::after { display: none; }
body .sppb-btn > .shape { display: none; }

.btn-apex-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}
.btn-apex-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(109, 74, 255, 0.3);
}
.btn-apex-white {
  background: #fff;
  color: var(--bg-primary);
  box-shadow: var(--shadow-md);
}
.btn-apex-white:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* ── Glass Card ───────────────────────────────────────── */
.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-glass);
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all 0.2s var(--ease);
}
.glass-card:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}

/* ── Header / Nav (stackdnow layout) ──────────────────── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(42, 53, 80, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; } }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-logo-accent {
  color: var(--maincolor);
}

/* Desktop links — simple stackdnow style */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-link-btn {
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af !important;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  font-family: var(--font-body);
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link-btn:hover { color: var(--maincolor) !important; }

/* Desktop dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-dropdown-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-link {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-dropdown-link:hover {
  color: var(--maincolor);
  background: rgba(255, 255, 255, 0.05);
}

/* Burger — SVG icon */
.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s ease;
}
.nav-burger:hover { color: #fff; }
@media (min-width: 768px) {
  .nav-burger { display: none; }
}

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  border: none;
  cursor: pointer;
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 999;
  padding: 4rem 1.5rem 1.5rem;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile-open { right: 0; }
@media (min-width: 768px) {
  .nav-mobile, .nav-mobile-overlay { display: none !important; }
}
.nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
}
.nav-mobile-item {
  border-bottom: 1px solid var(--border-color);
}
.nav-mobile-row {
  display: flex;
  align-items: center;
}
.nav-mobile-link {
  flex: 1;
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
.nav-mobile-link:hover { color: #fff; }
.nav-mobile-expand {
  background: none;
  border: none;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
  color: #9ca3af;
}
.nav-mobile-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.nav-mobile-chevron-open { transform: rotate(180deg); }
.nav-mobile-sub {
  padding: 0 0 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile-sublink {
  font-size: 0.8125rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-mobile-sublink:hover { color: #fff; }

/* ── Legacy SP Header (Joomla fallback) ────────────────── */
#sp-header {
  position: relative;
  z-index: 999;
}
}
@media (max-width: 992px) {
  .offcanvas-menu {
    background-color: var(--bg-primary);
    color: var(--text-primary);
  }
  .offcanvas-menu .offcanvas-inner a { color: var(--text-primary); }
  .offcanvas-menu .offcanvas-inner a:hover,
  .offcanvas-menu .offcanvas-inner a:focus { color: var(--maincolor); }
  .offcanvas-menu .p-3 { padding: 0 !important; }
  .offcanvas-menu .offcanvas-inner { padding: 50px 25px; }
  .offcanvas-menu .logo { display: none; }
}
.close-offcanvas { z-index: 99; }

/* ── Page Title ───────────────────────────────────────── */
.sp-page-title {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg-primary) !important;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sp-page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.sp-page-title-heading {
  font-size: clamp(2rem, 6vw, 3.75rem) !important;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.sp-page-title .breadcrumb {
  background: transparent;
  padding: 0;
  justify-content: center;
  display: inline-flex;
}
.sp-page-title .breadcrumb-item a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}
.sp-page-title .breadcrumb-item.active span {
  color: var(--maincolor) !important;
}
.sp-page-title .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* ── Service / Feature Cards ──────────────────────────── */
.services-items-wrapper {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  transition: all 0.2s var(--ease) !important;
}
.services-items-wrapper:hover {
  border-color: rgba(109, 74, 255, 0.3) !important;
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}
.features-item {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  transition: all 0.2s var(--ease) !important;
}
.features-item:hover {
  border-color: rgba(109, 74, 255, 0.3) !important;
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}

/* ── Footer ───────────────────────────────────────────── */
#sp-footer {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border-color);
}
#sp-footer h5 {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
#sp-footer p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--text-muted);
}
#sp-footer a {
  color: var(--text-muted) !important;
  transition: color 0.15s var(--ease);
  font-size: 0.875rem;
}
#sp-footer a:hover {
  color: var(--text-primary) !important;
}

/* ── Newsletter ───────────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  max-width: 400px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  font-family: var(--font-body);
  min-width: 0;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
  background: var(--maincolor);
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--maincolor-hover); }

/* ── Quick Links ──────────────────────────────────────── */
.quicklinks a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  transition: all 0.15s var(--ease);
}
.quicklinks a:hover {
  color: var(--text-primary) !important;
  padding-left: 6px;
}
.quicklinks a::before {
  content: '\203A';
  color: var(--maincolor);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s var(--ease);
}
.quicklinks a:hover::before { transform: translateX(3px); }

/* ── Forms ────────────────────────────────────────────── */
.form-control-apex {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-control-apex:focus {
  border-color: var(--maincolor);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}
.form-control-apex::placeholder { color: var(--text-muted); }

/* ── Blog Cards ───────────────────────────────────────── */
.article {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  transition: all 0.2s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.article:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}
.article .article-intro-image img { transition: transform 0.4s ease; }
.article:hover .article-intro-image img { transform: scale(1.05); }
.article .article-intro-image { overflow: hidden; }
.article-header h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.article-header h2 a { color: var(--text-primary); }
.article-header h2 a:hover { color: var(--maincolor); }
.article-introtext p { font-size: 0.875rem; color: var(--text-secondary); }
.article-info { font-size: 0.75rem; color: var(--text-muted); }
.article-info i { color: var(--maincolor) !important; }
.readmore a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--maincolor);
  letter-spacing: 0.02em;
}
.readmore a:hover { color: var(--text-primary); }

/* ── Pagination ───────────────────────────────────────── */
.pagination .page-item .page-link {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 4px;
  transition: all 0.15s var(--ease);
  font-size: 0.875rem;
}
.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
  background: var(--maincolor);
  border-color: var(--maincolor);
  color: #fff;
}

/* ── Scroll to Top ────────────────────────────────────── */
.sp-scroll-up {
  border-radius: var(--radius) !important;
  background: var(--maincolor) !important;
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.3);
}
.sp-scroll-up:hover {
  background: var(--maincolor-hover) !important;
  transform: translateY(-3px);
}

/* ── Article Body ─────────────────────────────────────── */
.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.article-body h2, .article-body h3, .article-body h4 {
  color: var(--text-primary);
  margin-top: 2em;
  margin-bottom: 0.8em;
}
.article-body p { margin-bottom: 1.4em; }
.article-body img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.article-body blockquote {
  border-left: 3px solid var(--maincolor);
  padding: 1rem 1.5rem;
  margin: 1.5em 0;
  background: rgba(109, 74, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-primary);
}
.article-body a { color: var(--maincolor); text-decoration: underline; }

/* ── Marquee ──────────────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.marquee-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 3.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Particles ────────────────────────────────────────── */
#particles-js { position: absolute; inset: 0; z-index: 0; }

/* ── Alerts ───────────────────────────────────────────── */
.alert-success-apex {
  background: rgba(109, 74, 255, 0.08);
  border: 1px solid var(--maincolor);
  color: var(--maincolor);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.alert-error-apex {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ── Stars ────────────────────────────────────────────── */
.fa-star, .fa-star-half-alt { color: #fff !important; }

/* ── Pricing Cards ────────────────────────────────────── */
.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pricing-card:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}
.pricing-card.featured {
  border-color: var(--maincolor);
  background: linear-gradient(180deg, rgba(109, 74, 255, 0.12) 0%, var(--bg-glass) 100%);
}
.pricing-card .price {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--maincolor);
}

/* ── Protected Pricing ────────────────────────────────── */
.protected-pricing-shell {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  backdrop-filter: blur(24px);
}
.protected-pricing-shell.unlocked { text-align: left; }
.protected-pricing-shell p { max-width: none; line-height: 1.625; color: var(--text-secondary); }
.protected-pricing-lock,
.protected-pricing-header {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: flex-start;
}
.protected-pricing-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(109, 74, 255, 0.15);
  color: var(--maincolor);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.pricing-access-form { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.pricing-access-form input {
  min-width: min(100%, 300px);
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
}
.pricing-access-form button,
.protected-pricing-relock { min-height: 44px; }
.pricing-access-form button {
  border: 1px solid var(--maincolor);
  background: var(--maincolor);
  color: #fff;
  border-radius: var(--radius);
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
}
.pricing-access-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.protected-pricing-error { color: #ff8f8f; margin: 0.75rem 0 0; font-size: 0.8125rem; }
.protected-pricing-header { justify-content: space-between; margin-bottom: 0.625rem; }
.protected-pricing-updated { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 1.25rem; }
.protected-pricing-section {
  border-top: 1px solid var(--border-color);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
.protected-pricing-section h4 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin-bottom: 0.75rem; }
.protected-pricing-section > p { margin-bottom: 1rem; }
.protected-pricing-section h5 { color: var(--text-primary); font-size: 1.0625rem; line-height: 1.35; margin-bottom: 0.875rem; }
.protected-pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.protected-pricing-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  padding: 1.25rem;
  text-align: left;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.protected-pricing-mini-card:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}
.protected-pricing-value {
  color: var(--maincolor);
  font-family: var(--font-body);
  font-size: 1.875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.875rem;
  white-space: nowrap;
}
.protected-pricing-meta { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.5; margin-bottom: 1rem; }
.protected-pricing-mini-card ul,
.protected-pricing-notes { list-style-position: outside; padding-left: 1.25rem; margin-bottom: 0; }
.protected-pricing-mini-card li,
.protected-pricing-notes li { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.5; margin-bottom: 0.5rem; }
.protected-pricing-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius); margin-top: 1rem; }
.protected-pricing-table { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; }
.protected-pricing-table th,
.protected-pricing-table td { padding: 0.875rem; border-bottom: 1px solid var(--border-color); vertical-align: top; font-size: 0.8125rem; line-height: 1.5; text-align: left; }
.protected-pricing-table th { color: #fff; background: rgba(109, 74, 255, 0.12); font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.protected-pricing-table-4 th:nth-child(1), .protected-pricing-table-4 td:nth-child(1) { width: 11%; }
.protected-pricing-table-4 th:nth-child(2), .protected-pricing-table-4 td:nth-child(2) { width: 14%; }
.protected-pricing-table-4 th:nth-child(3), .protected-pricing-table-4 td:nth-child(3) { width: 39%; }
.protected-pricing-table-4 th:nth-child(4), .protected-pricing-table-4 td:nth-child(4) { width: 36%; }
.protected-pricing-table-5 th:nth-child(1), .protected-pricing-table-5 td:nth-child(1) { width: 12%; }
.protected-pricing-table-5 th:nth-child(2), .protected-pricing-table-5 td:nth-child(2) { width: 18%; }
.protected-pricing-table-5 th:nth-child(3), .protected-pricing-table-5 td:nth-child(3) { width: 20%; }
.protected-pricing-table-5 th:nth-child(4), .protected-pricing-table-5 td:nth-child(4) { width: 22%; }
.protected-pricing-table-5 th:nth-child(5), .protected-pricing-table-5 td:nth-child(5) { width: 28%; }
.protected-pricing-table-6 th:nth-child(1), .protected-pricing-table-6 td:nth-child(1) { width: 13%; }
.protected-pricing-table-6 th:nth-child(2), .protected-pricing-table-6 td:nth-child(2) { width: 17%; }
.protected-pricing-table-6 th:nth-child(3), .protected-pricing-table-6 td:nth-child(3) { width: 15%; }
.protected-pricing-table-6 th:nth-child(4), .protected-pricing-table-6 td:nth-child(4) { width: 20%; }
.protected-pricing-table-6 th:nth-child(5), .protected-pricing-table-6 td:nth-child(5) { width: 18%; }
.protected-pricing-table-6 th:nth-child(6), .protected-pricing-table-6 td:nth-child(6) { width: 17%; }
.protected-pricing-table tr:last-child td { border-bottom: none; }
.protected-pricing-notes { margin-top: 1rem; }

/* ── Unit Economics ───────────────────────────────────── */
.unit-economics-calculator {
  background: rgba(109, 74, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.unit-economics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.unit-economics-controls,
.unit-economics-output { display: grid; gap: 0.875rem; }
.unit-control-block,
.unit-radio-group,
.unit-output-card {
  background: rgba(10, 14, 26, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.125rem;
}
.unit-control-header {
  align-items: flex-start;
  display: flex;
  gap: 0.875rem;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.unit-control-header h5 { margin-bottom: 0; }
.unit-control-header span {
  color: var(--maincolor);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.unit-control-block input[type='range'] { accent-color: var(--maincolor); width: 100%; }
.unit-slider-labels { color: var(--text-muted); display: flex; font-size: 0.75rem; justify-content: space-between; margin-top: 0.5rem; }
.unit-helper-text { color: var(--text-muted); font-size: 0.75rem; line-height: 1.5; margin: 0.625rem 0 0; }
.unit-radio-group { border-color: var(--border-color); margin: 0; }
.unit-radio-group legend { color: var(--text-primary); float: none; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.75rem; padding: 0; width: auto; }
.unit-radio-group label {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(109, 74, 255, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  padding: 0.75rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.unit-radio-group label:last-child { margin-bottom: 0; }
.unit-radio-group label.selected { background: rgba(109, 74, 255, 0.1); border-color: rgba(109, 74, 255, 0.5); }
.unit-radio-group input { accent-color: var(--maincolor); flex-shrink: 0; margin-top: 4px; }
.unit-radio-group strong { color: var(--text-primary); display: block; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25; margin-bottom: 0.25rem; }
.unit-radio-group small { color: var(--text-secondary); display: block; font-size: 0.75rem; line-height: 1.4; }
.unit-output-card { min-height: 120px; }
.unit-output-card.primary { background: linear-gradient(180deg, rgba(109, 74, 255, 0.14), rgba(10, 14, 26, 0.5)); border-color: rgba(109, 74, 255, 0.4); }
.unit-output-card span { color: var(--text-secondary); display: block; font-size: 0.75rem; line-height: 1.5; margin-bottom: 0.625rem; }
.unit-output-card strong { color: var(--maincolor); display: block; font-family: var(--font-body); font-size: clamp(1.5rem, 3vw, 2rem); font-variant-numeric: tabular-nums; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 0.625rem; }
.unit-output-card small { color: var(--text-muted); display: block; font-size: 0.75rem; line-height: 1.4; }
.unit-comparison-table .protected-pricing-table { min-width: 900px; }
.unit-comparison-table .protected-pricing-table-4 th:nth-child(1), .unit-comparison-table .protected-pricing-table-4 td:nth-child(1) { width: 23%; }
.unit-comparison-table .protected-pricing-table-4 th:nth-child(2), .unit-comparison-table .protected-pricing-table-4 td:nth-child(2) { width: 20%; }
.unit-comparison-table .protected-pricing-table-4 th:nth-child(3), .unit-comparison-table .protected-pricing-table-4 td:nth-child(3) { width: 28%; }
.unit-comparison-table .protected-pricing-table-4 th:nth-child(4), .unit-comparison-table .protected-pricing-table-4 td:nth-child(4) { width: 29%; }

/* ── Tabs ─────────────────────────────────────────────── */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--maincolor);
  color: #fff;
  border-color: var(--maincolor);
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}
.faq-item.open, .faq-item[open] { border-color: var(--maincolor); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.875rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--text-primary);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.15s var(--ease);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-question:hover { color: var(--maincolor); }
.faq-answer {
  padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(0.875rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  line-height: 1.625;
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  transition: all 0.2s var(--ease);
  height: 100%;
  backdrop-filter: blur(24px);
}
.testimonial-card:hover {
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 18px 60px -28px rgba(19, 35, 54, 0.35);
}

/* ── Section Intro ────────────────────────────────────── */
.section-intro {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-intro > * { margin-left: auto; margin-right: auto; }
.section-intro .section-subtitle { text-align: center; margin-bottom: 0.875rem; }
.section-intro .section-heading { max-width: 820px; text-align: center; }
.section-intro .section-desc { max-width: 720px; margin-bottom: 0; text-align: center; }
.section-intro .section-desc:only-of-type,
.section-intro > .btn-apex,
.section-intro > .sppb-btn { margin-top: clamp(1.25rem, 3vw, 1.75rem); }

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--maincolor);
  margin-bottom: 0.875rem;
}
.section-heading {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  line-height: 1.25;
  max-width: 860px;
  margin-bottom: clamp(0.875rem, 2.4vw, 1.375rem);
  text-wrap: balance;
}
.section-desc {
  font-size: clamp(0.875rem, 1.35vw, 1.125rem);
  line-height: 1.625;
  color: var(--text-secondary);
  max-width: 672px;
  margin: 0 auto clamp(2rem, 5vw, 3.75rem);
}

/* ── Utility ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--maincolor), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-heading {
  font-size: clamp(1.6875rem, 2.25vw, 1.875rem) !important;
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 1.375rem;
  max-width: none;
  white-space: nowrap;
}
.hero-proof-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem clamp(0.875rem, 2vw, 1.5rem);
  margin-bottom: 0.25rem;
}
.hero-proof-point {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.25vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.section-heading-wide { max-width: none; }
.section-desc-wide { max-width: 720px; }

/* ── Partners ─────────────────────────────────────────── */
.potential-partners-section { padding-top: clamp(1.5rem, 4vw, 2.875rem); padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.economics-section { padding-top: clamp(2.25rem, 5vw, 4.375rem); }
.potential-partners-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.625rem);
  padding: clamp(1.375rem, 3vw, 2.125rem);
  border: 1px solid rgba(109, 74, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.08), rgba(109, 74, 255, 0.03));
}
.potential-partners-strip .section-subtitle { margin-bottom: 0.5rem; }
.potential-partners-heading {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.5rem, 2.35vw, 2.125rem);
  line-height: 1.16;
}
.potential-partners-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem; }
.potential-partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 13vw, 190px);
  min-height: 86px;
  padding: 1.125rem 1.5rem;
  border: 1px solid rgba(109, 74, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
}
.potential-partner-logo { display: block; width: auto; max-width: 100%; max-height: 48px; object-fit: contain; }
@media (min-width: 992px) { .potential-partners-logos { flex-wrap: nowrap; } }
@media (max-width: 991.98px) {
  .potential-partners-strip { align-items: flex-start; flex-direction: column; }
  .potential-partners-logos { justify-content: flex-start; width: 100%; }
}
@media (max-width: 575.98px) { .potential-partner-logo-card { width: 100%; } }

/* ── Team ─────────────────────────────────────────────── */
.team-credibility-header { max-width: 860px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.team-credibility-heading { max-width: 740px; margin-left: auto; margin-right: auto; font-size: clamp(1.875rem, 2.65vw, 2.625rem); text-wrap: balance; }
.team-credibility-header p:not(.section-subtitle) { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center !important; }
.team-credibility-proof { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.625rem; }
.team-credibility-proof-item { border-left: 3px solid var(--maincolor); padding-left: 0.875rem; text-align: left; }
.team-credibility-proof-item p { font-size: 0.8125rem; margin-bottom: 0; }
.team-credibility-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: clamp(1.25rem, 2.2vw, 1.875rem); }
.team-leader-card { flex: 0 1 250px; max-width: 280px; min-width: 0; padding: clamp(1.125rem, 2vw, 1.5rem); text-align: center; display: flex; flex-direction: column; }
.team-leader-photo { width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.125rem; }
.team-leader-name { font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); line-height: 1.2; margin-bottom: 0.375rem; }
.team-leader-role { font-size: 0.8125rem; line-height: 1.55; margin-bottom: 0; color: var(--maincolor); font-weight: 600; }
@media (max-width: 575.98px) { .team-leader-card { flex-basis: 78%; max-width: 320px; } }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
  .sp-page-title { padding: 140px 0 60px; }
  .hero-heading { font-size: clamp(1.875rem, 7vw, 2.625rem) !important; white-space: normal; text-wrap: balance; }
  .hero-proof-points { gap: 0.625rem 1rem; }
  .section-padding { padding: 4rem 0; }
  .row > [class*="col-"] { padding-left: 0.75rem; padding-right: 0.75rem; }
}
@media (max-width: 767.98px) {
  .sp-page-title { padding: 120px 0 50px; }
  .pricing-card { margin-bottom: 1.5rem; }
  .tab-btn { padding: 0.625rem 1rem; font-size: 0.8125rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; padding: 0.875rem; }
}
@media (max-width: 575.98px) {
  .sp-page-title { padding: 100px 0 40px; }
  .sp-page-title-heading { font-size: clamp(1.5rem, 8vw, 2rem) !important; }
  .services-items-wrapper { padding: 1.5rem 1rem !important; }
  .features-item { padding: 1.875rem 1.25rem !important; }
  .article { margin-bottom: 1.25rem; }
  .sppb-btn, .btn-apex { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
}
@media (min-width: 992px) {
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span,
  .sp-megamenu-parent > li:last-child > a { padding: 0 1rem; }
}
@media (max-width: 1400px) {
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span,
  .sp-megamenu-parent > li:last-child > a { padding: 0 0.75rem; }
}
@media (max-width: 1200px) {
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span,
  .sp-megamenu-parent > li:last-child > a { padding: 0 0.5rem; }
}
