/*
 * ManageSports – Modern UI layer
 * Layered on top of style.css; no SCSS compilation required.
 */

/* ============================================================
   CSS custom properties
   ============================================================ */
:root {
  --ms-primary:        #2854d8;
  --ms-primary-dark:   #12317d;
  --ms-ink:            #141a2f;
  --ms-muted:          #65728a;
  --ms-soft:           #f6f8fc;
  --ms-line:           #dfe6f2;
  --ms-teal:           #14b8a6;
  --ms-gold:           #f2b84b;
  --ms-gradient:       linear-gradient(135deg, #2854d8 0%, #14317e 100%);
  --ms-gradient-card:  linear-gradient(135deg, rgba(20,184,166,.12), rgba(40,84,216,.08));
  --ms-shadow-sm:      0 10px 28px rgba(20, 30, 55, .07);
  --ms-shadow-md:      0 18px 44px rgba(20, 30, 55, .10);
  --ms-shadow-lg:      0 26px 70px rgba(20, 30, 55, .15);
  --ms-radius:         8px;
  --ms-border:         rgba(20, 30, 55, .10);
  --ms-text-main:      #141a2f;
  --ms-text-muted:     #65728a;
  --ms-ease:           cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Base Resets & Normalization
   ============================================================ */
section { padding: 100px 0; position: relative; }
@media (max-width: 767px) { section { padding: 60px 0; } }

.container { max-width: 1140px; }

/* ============================================================
   Global type upgrades
   ============================================================ */
body {
    -webkit-font-smoothing: antialiased;
    color: var(--ms-text-main);
    font-family: 'Nunito', sans-serif;
}

.heading {
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em;
}
.section-title .title {
  font-size: clamp(24px, 3.5vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}

/* Section label pill */
.section-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(47,85,212,.08);
  color: var(--ms-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(47,85,212,.12);
}

.title-modern {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 800 !important;
    color: #1a1f36 !important;
    letter-spacing: -0.01em;
    line-height: 1.25 !important;
}

.subtitle-modern {
    font-size: 18px;
    color: var(--ms-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================================
   Hero
   ============================================================ */
#start {
  background: linear-gradient(140deg, #0d1f6e 0%, #1e3fa8 45%, #2f55d4 100%) !important;
  position: relative;
  overflow: hidden;
}
#start::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Animated live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 18px;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #2eca8b;
  border-radius: 50%;
  flex-shrink: 0;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.6; transform:scale(1.4); }
}

/* Hero inline stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat {
  flex: 0 0 auto;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.hero-stat:last-child { border-right: none; margin-right: 0; }
.hero-stat .hs-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .hs-lbl {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 5px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .hero-stats { border-top: none; padding-top: 16px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; flex: 1 1 45%; margin-bottom: 12px; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip {
  position: relative;
  z-index: 5;
  padding: 0 0 80px;
}
.stats-strip-inner {
  background: #fff;
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-md);
  padding: 40px 0;
  margin-top: -60px;
}
.stat-block {
  text-align: center;
  padding: 10px 30px;
  border-right: 1px solid rgba(47,85,212,.08);
}
.stat-block:last-child { border-right: none; }
.stat-block .sb-icon {
  display: block;
  font-size: 36px;
  color: var(--ms-primary);
  margin-bottom: 15px;
  opacity: .7;
}
.stat-block .sb-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #1a1f36;
  line-height: 1;
}
.stat-block .sb-txt {
  display: block;
  font-size: 14px;
  color: #5a6d90;
  margin-top: 8px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .stats-strip { padding-bottom: 40px; }
  .stats-strip-inner { margin-top: 0; border-radius: 0; padding: 20px 0; }
  .stat-block { border-right: none; border-bottom: 1px solid #f1f4fb; padding: 20px; }
  .stat-block:last-child { border-bottom: none; }
  .stat-block .sb-num { font-size: 36px; }
}

/* ============================================================
   Feature / Solution cards
   ============================================================ */
.features.fea-primary {
  border-radius: var(--ms-radius) !important;
  border: 1px solid rgba(47,85,212,.08) !important;
  box-shadow: var(--ms-shadow-sm) !important;
  transition: all .35s var(--ms-ease) !important;
  position: relative;
  overflow: hidden;
  background-color: #fff !important;
  padding: 45px 30px !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
/* gradient top-bar on hover */
.features.fea-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ms-gradient);
  opacity: 0;
  transition: opacity .35s var(--ms-ease);
}
.features.fea-primary:hover::before { opacity: 1; }
.features.fea-primary::after { display: none !important; }
.features.fea-primary:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--ms-shadow-lg) !important;
  border-color: var(--ms-primary) !important;
  background-color: var(--ms-primary) !important; /* Ms Primary blue on hover */
}

/* High-specificity overrides to fix visibility on hover */
.features.fea-primary:hover .image i {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}
.features.fea-primary:hover .content h5 {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}
.features.fea-primary:hover .content p,
.features.fea-primary:hover .content .feature-list li {
    color: rgba(255, 255, 255, 0.9) !important;
}
.features.fea-primary:hover .feature-list li::before {
    color: #ffffff !important;
    opacity: 1 !important;
}
.features.fea-primary .image i {
  font-size: 3rem !important;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ms-gradient-card);
  border-radius: 20px;
  color: var(--ms-primary);
}
.features.fea-primary h5,
.features.fea-primary p,
.features.fea-primary .feature-list li,
.features.fea-primary .image i {
  transition: all .35s var(--ms-ease) !important;
}
.features.fea-primary h5 {
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    color: #1a1f36;
    margin-bottom: 20px !important;
    text-transform: uppercase;
}
.features.fea-primary .content {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* dot bullet for feature lists */
.feature-list li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.8;
}
.feature-list li::before {
  content: '\F012C'; /* mdi-check-circle-outline */
  font-family: "Material Design Icons";
  position: absolute;
  left: 0; top: 0;
  color: var(--ms-primary);
  opacity: .6;
  transition: opacity .35s var(--ms-ease);
}

/* ============================================================
   CTA gradient banner
   ============================================================ */
.cta-gradient-card {
  background: var(--ms-gradient) !important;
  border-radius: var(--ms-radius) !important;
  border: none !important;
  padding: 48px 40px !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ms-shadow-lg) !important;
}
.cta-gradient-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-gradient-card::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-gradient-card h5 {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  position: relative; z-index: 1;
  margin-bottom: 6px;
}
.cta-gradient-card .cta-sub {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  position: relative; z-index: 1;
  margin-bottom: 0;
}
.cta-gradient-card .cta-btn-wrap { position: relative; z-index: 1; }
.cta-gradient-card .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff !important;
  color: var(--ms-primary) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 11px 30px !important;
  font-weight: 700 !important;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15) !important;
  transition: transform .25s var(--ms-ease), box-shadow .25s var(--ms-ease) !important;
  text-decoration: none !important;
}
.cta-gradient-card .btn-white:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
  color: var(--ms-primary) !important;
}
@media (max-width: 767px) {
  .cta-gradient-card { padding: 32px 24px !important; }
  .cta-gradient-card .cta-btn-wrap { margin-top: 20px !important; }
}

/* ============================================================
   Case study section
   ============================================================ */
#case-basketball-slovenia {
  background: linear-gradient(135deg, #f4f7ff 0%, #eaeffd 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-left: 15px;
  margin-right: 15px;
  padding: 60px 0;
}
.case-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,85,212,.12);
  color: var(--ms-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ============================================================
   Testimonials
   ============================================================ */
.customer-testi .media-body {
  border-radius: var(--ms-radius) !important;
  border: 1px solid rgba(47,85,212,.08) !important;
  box-shadow: var(--ms-shadow-sm) !important;
  padding: 28px !important;
  transition: box-shadow .3s var(--ms-ease), transform .3s var(--ms-ease) !important;
}
.customer-testi .media-body:hover {
  box-shadow: var(--ms-shadow-md) !important;
  transform: translateY(-4px);
}
.customer-testi .media-body::after {
  content: '\201C';
  position: absolute;
  top: 12px; right: 20px;
  font-size: 80px;
  line-height: 1;
  color: rgba(47,85,212,.07);
  font-family: Georgia, serif;
  pointer-events: none;
}
.customer-testi .text-muted { font-size: 14.5px; line-height: 1.75; font-style: italic; }
.customer-testi h6.text-primary { font-size: 13px; font-weight: 700; }

/* ============================================================
   Our Story list
   ============================================================ */
.story-list li {
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--ms-primary) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
  transition: transform .25s var(--ms-ease), box-shadow .25s var(--ms-ease);
}
.story-list li:hover { transform: translateX(6px); box-shadow: var(--ms-shadow-sm); }

/* ============================================================
   Bottom optimise CTA
   ============================================================ */
section.section.bg-light {
  background: linear-gradient(135deg, #f0f4ff 0%, #e4ecff 100%) !important;
}

/* ============================================================
   Nav & Branding
   ============================================================ */
#topnav {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.8) !important;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
#topnav.nav-sticky {
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
#topnav .navigation-menu > li > a {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1a1f36 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    letter-spacing: 0.4px !important;
}
#topnav .navigation-menu > li {
    margin: 0 2px !important;
}
#topnav .navigation-menu > li > a i {
    font-size: 16px;
    vertical-align: middle;
}
#topnav .buy-button .btn {
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
}

/* ============================================================
   Buttons & Interactivity
   ============================================================ */
.btn.btn-primary:not(.login-btn-primary):not(.back-to-top) {
  background: var(--ms-gradient) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 32px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(47,85,212,.3) !important;
  transition: all .35s var(--ms-ease) !important;
}
.btn.btn-primary:not(.login-btn-primary):not(.back-to-top):hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(47,85,212,.4) !important;
}
.btn.btn-outline-primary {
  border-radius: 50px !important;
  padding: 10px 26px !important;
  font-weight: 700 !important;
  border-width: 2px !important;
}
.btn.btn-outline-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(47,85,212,.25) !important;
}
.btn-cta { border-radius: 50px !important; }

/* ============================================================
   Footer
   ============================================================ */
footer.footer:first-of-type {
  background: linear-gradient(140deg, #0d1530 0%, #161c2d 100%) !important;
}

/* ============================================================
   Back-to-top
   ============================================================ */
.back-to-top {
  border-radius: 50% !important;
  background: var(--ms-gradient) !important;
  border: none !important;
  box-shadow: var(--ms-shadow-md) !important;
}

/* ============================================================
   Hero trusted-by strip  (replaces hero-stats)
   ============================================================ */
.hero-stats { display: none !important; } /* replaced by hero-trusted */

.hero-trusted {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-trusted .trusted-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  display: block;
  margin-bottom: 12px;
}
.trusted-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tchip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 5px 14px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .2s;
}
.tchip:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   Hero image: modern frame + floating accent card
   ============================================================ */
.hero-img-wrap {
  position: relative;
  padding: 12px;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  pointer-events: none;
}
.hero-img-wrap img {
  border-radius: 12px;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
/* floating accent cards */
.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 2;
}
.hero-float-card .hfc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ms-gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ms-primary);
  flex-shrink: 0;
}
.hero-float-card .hfc-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1a1f36;
  line-height: 1;
}
.hero-float-card .hfc-text span {
  font-size: 11px;
  color: #8492a6;
}
.hfc-top-left  { top: -16px; left: -20px; }
.hfc-bot-right { bottom: -16px; right: 10px; }

@media (max-width: 767px) {
  .hfc-top-left, .hfc-bot-right { display: none; }
  .hero-trusted { margin-top: 20px; padding-top: 16px; }
  .tchip { font-size: 11px; padding: 4px 11px; }
}

/* ============================================================
   Partners showcase section
   ============================================================ */
.partners-showcase {
  padding: 60px 0 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: #fff;
  border: 1px solid rgba(47,85,212,.08);
  border-radius: var(--ms-radius);
  padding: 32px 28px;
  box-shadow: var(--ms-shadow-sm);
  transition: transform .35s var(--ms-ease), box-shadow .35s var(--ms-ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--ms-gradient);
  opacity: 0;
  transition: opacity .35s var(--ms-ease);
}
.partner-card:hover { transform: translateY(-8px); box-shadow: var(--ms-shadow-md); }
.partner-card:hover::before { opacity: 1; }

.partner-card .pc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ms-gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--ms-primary);
  margin-bottom: 20px;
}
.partner-card h6 {
  font-size: 16px;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 12px;
  line-height: 1.4;
}
.partner-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: auto;
}
.partner-card ul li {
  font-size: 13px;
  color: #5a6d90;
  padding: 4px 0 4px 18px;
  position: relative;
}
.partner-card ul li::before {
  content: '\F012C'; /* mdi-check-circle-outline */
  font-family: "Material Design Icons";
  position: absolute;
  left: 0; top: 4px;
  color: #2eca8b;
  font-size: 13px;
  opacity: .8;
}
.partner-card .pc-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ms-primary);
  background: rgba(47,85,212,.08);
  border-radius: 50px;
  padding: 3px 10px;
}

/* ============================================================
   "Technology" mid-section visual upgrade
   ============================================================ */
.tech-section-img {
  position: relative;
}
.tech-section-img::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: var(--ms-gradient-card);
  border-radius: 24px;
  z-index: -1;
}

/* ============================================================
   Process / Flow Section
   ============================================================ */
.process-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.process-step {
    --process-accent: #2854d8;
    --process-accent-soft: rgba(40,84,216,.10);
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
}
.process-step:nth-child(2) {
    --process-accent: #0f766e;
    --process-accent-soft: rgba(15,118,110,.10);
}
.process-step:nth-child(3) {
    --process-accent: #7c3aed;
    --process-accent-soft: rgba(124,58,237,.10);
}
.process-step:nth-child(4) {
    --process-accent: #0f5f82;
    --process-accent-soft: rgba(15,95,130,.10);
}
.process-step:nth-child(3) .process-stage {
    border-color: rgba(124,58,237,.24);
    box-shadow: 0 24px 68px rgba(40,84,216,.11);
}
.process-step:nth-child(3) .process-stage::before {
    height: 5px;
    width: auto;
}
.process-stage {
    width: 100%;
    min-height: 380px;
    padding: 24px;
    background:
        linear-gradient(180deg, #ffffff, #fbfdff),
        radial-gradient(circle at 100% 0, var(--process-accent-soft), transparent 46%);
    border: 1px solid #d7e2f1;
    border-left: 6px solid var(--process-accent);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(20,30,55,.10);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .28s var(--ms-ease), box-shadow .28s var(--ms-ease), border-color .28s var(--ms-ease);
}
.process-stage::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    width: auto;
    background: linear-gradient(90deg, var(--process-accent), transparent 70%);
    z-index: 1;
}
.process-stage::after {
    content: attr(data-step);
    position: absolute;
    right: 14px;
    bottom: -4px;
    font-size: 88px;
    font-weight: 900;
    color: rgba(20,30,55,.05);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
    transition: transform .28s var(--ms-ease), color .28s var(--ms-ease);
}
.process-stage:hover {
    transform: translateY(-6px);
    border-color: rgba(40,84,216,.24);
    box-shadow: 0 28px 64px rgba(20,30,55,.16);
}
.process-stage:hover::after {
    color: var(--process-accent-soft);
    transform: translateY(-4px) scale(1.05);
}
.process-head {
    min-height: 76px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 2;
}
.process-marker {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--process-accent);
    border: 1px solid rgba(255,255,255,.42);
    box-shadow: 0 14px 30px var(--process-accent-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: transform .28s var(--ms-ease), box-shadow .28s var(--ms-ease);
}
.process-stage:hover .process-marker {
    transform: translateY(-2px) rotate(-2deg);
    box-shadow: 0 18px 36px var(--process-accent-soft);
}
.process-marker span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .78;
    line-height: 1;
}
.process-marker i {
    margin-top: 5px;
    font-size: 24px;
    line-height: 1;
}
.process-info {
    min-width: 0;
    padding-top: 2px;
    position: relative;
    z-index: 2;
}
.process-info h5 {
    margin: 7px 0 0;
    font-size: 27px;
    line-height: 1.16;
    font-weight: 800;
    color: #1a1f36;
}
.process-eyebrow {
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--process-accent);
    letter-spacing: .09em;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--process-accent-soft);
}
.process-copy {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: var(--ms-text-muted);
    line-height: 1.6;
    margin: 0 0 18px;
    min-height: 80px;
}
.process-facts {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}
.process-facts span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5edf7;
    box-shadow: 0 8px 20px rgba(20,30,55,.035);
    font-size: 12.5px;
    font-weight: 700;
    color: #344054;
    line-height: 1.35;
}
.process-facts i {
    flex: 0 0 auto;
    color: var(--process-accent);
    font-size: 16px;
    line-height: 1;
}
.process-facts .is-free {
    color: #0f766e;
    background: #ecfdf5;
    border-color: #bbf7d0;
}
.process-result {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 16px 16px 15px;
    background: #f4f8ff;
    border-radius: 8px;
    border: 1px solid #e5edf7;
    border-left: 4px solid var(--process-accent);
}
.process-result span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--process-accent);
    letter-spacing: .08em;
    margin-bottom: 5px;
}
.process-result strong {
    font-size: 14px;
    color: #1a1f36;
    line-height: 1.42;
}

@media (max-width: 991px) {
    .process-flow {
        gap: 18px;
    }
    .process-stage {
        padding: 20px;
    }
    .process-head {
        min-height: auto;
        margin-bottom: 14px;
    }
    .process-copy {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .process-flow {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }
    .process-stage {
        min-height: 0;
    }
}

.flow-cta {
    background: #fff;
    border: none;
    border-radius: var(--ms-radius);
    padding: 50px 40px;
    margin-top: 60px;
    text-align: center;
    box-shadow: var(--ms-shadow-md);
    position: relative;
    overflow: hidden;
}
.flow-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--ms-gradient);
}
.flow-cta h4 {
    font-weight: 800;
    color: #1a1f36;
}

/* ============================================================
   2026 visual polish pass
   Keep this layer last so it can tame the legacy template.
   ============================================================ */

html,
body {
  overflow-x: hidden;
}

body {
  background: #fff;
  color: var(--ms-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading,
.title-modern {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

p,
.text-muted,
.subtitle-modern {
  color: var(--ms-muted) !important;
}

a,
.btn {
  transition: color .2s var(--ms-ease), background-color .2s var(--ms-ease), border-color .2s var(--ms-ease), transform .2s var(--ms-ease), box-shadow .2s var(--ms-ease) !important;
}

section {
  padding: 72px 0;
}

.mt-100 {
  margin-top: 72px !important;
}

.heading,
.title-modern,
.section-title .title {
  color: var(--ms-ink) !important;
  letter-spacing: 0 !important;
}

.heading {
  max-width: 620px;
  font-size: clamp(38px, 4.7vw, 64px) !important;
  line-height: 1.06 !important;
}

.title-modern {
  font-size: clamp(28px, 3.1vw, 40px) !important;
  line-height: 1.16 !important;
}

.subtitle-modern {
  max-width: 680px;
}

.section-tag,
.case-label {
  border-radius: 6px;
  background: #eef4ff;
  border-color: #d8e4ff;
  color: var(--ms-primary);
  letter-spacing: .08em;
  padding: 7px 12px;
}

#topnav {
  min-height: 74px;
  background: rgba(239,244,252,.98) !important;
  border-bottom: 1px solid rgba(20, 30, 55, .14);
  box-shadow: 0 8px 24px rgba(20,30,55,.08);
}

#topnav.nav-sticky {
  background: rgba(255,255,255,.99) !important;
  box-shadow: 0 10px 30px rgba(20,30,55,.08);
}

#topnav .logo .l-dark {
  display: inline-block !important;
}

#topnav .logo .l-light {
  display: none !important;
}

#topnav .navigation-menu > li > a {
  color: var(--ms-ink) !important;
  font-size: 12px !important;
  letter-spacing: .04em !important;
}

#topnav .navigation-menu.nav-light > li > a {
  color: #1a1f36 !important;
}

#topnav .navigation-menu.nav-light .has-submenu .menu-arrow {
  border-color: #1a1f36 !important;
}

#topnav .navigation-menu.nav-light > li:hover > a,
#topnav .navigation-menu.nav-light > li.active > a {
  color: var(--ms-primary) !important;
}

#topnav .navigation-menu.nav-light > li:hover > .menu-arrow,
#topnav .navigation-menu.nav-light > li.active > .menu-arrow {
  border-color: var(--ms-primary) !important;
}

#topnav .buy-button .btn {
  border-radius: 999px !important;
  padding: 8px 22px !important;
  box-shadow: 0 8px 20px rgba(20,30,55,.08) !important;
}

#topnav .buy-button .login-btn-primary {
  display: inline-block !important;
}

#topnav .buy-button .login-btn-light {
  display: none !important;
}

#start {
  padding: 158px 0 138px !important;
  min-height: auto;
  background:
    linear-gradient(120deg, rgba(10, 21, 48, .96), rgba(29, 54, 120, .93) 54%, rgba(15, 83, 105, .88)),
    url('../images/software/bg.png') center/cover no-repeat !important;
}

#start::after {
  display: none;
}

#start .bg-overlay {
  display: none;
}

#start .row {
  margin-top: 0 !important;
}

#start .heading {
  color: #fff !important;
}

#start .para-desc {
  max-width: 590px;
  color: rgba(255,255,255,.72) !important;
  font-size: 17px;
  line-height: 1.75;
}

.hero-badge {
  max-width: 100%;
  border-radius: 8px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  white-space: normal;
  line-height: 1.35;
}

.hero-badge .badge-dot {
  background: var(--ms-teal);
  animation: none;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn.btn-primary:not(.login-btn-primary):not(.back-to-top),
.btn.btn-outline-primary,
.btn-cta,
.cta-gradient-card .btn-white {
  border-radius: 8px !important;
}

.btn.btn-primary:not(.login-btn-primary):not(.back-to-top) {
  background: var(--ms-primary) !important;
  box-shadow: 0 14px 28px rgba(40,84,216,.22) !important;
}

.btn.btn-primary:not(.login-btn-primary):not(.back-to-top):hover {
  background: #1e43b4 !important;
  box-shadow: 0 18px 34px rgba(40,84,216,.30) !important;
}

.btn-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px !important;
}

.btn-cta--secondary {
  background: #fff;
  color: var(--ms-ink) !important;
  border: 1px solid rgba(255,255,255,.85);
}

.btn-cta--secondary:hover {
  color: var(--ms-primary) !important;
}

.btn-cta--ghost {
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
}

.hero-trusted {
  max-width: 620px;
  margin-top: 30px;
  padding-top: 22px;
}

.trusted-chips {
  gap: 7px;
}

.tchip {
  border-radius: 6px;
  white-space: normal;
  background: rgba(255,255,255,.09);
}

.hero-img-wrap {
  max-width: 580px;
  margin-left: auto;
  padding: 10px;
}

.hero-img-wrap::before {
  border-radius: 8px;
}

.hero-img-wrap img {
  width: 100%;
  border-radius: 6px;
}

.hero-float-card {
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(8, 13, 28, .20);
}

.hero-float-card .hfc-icon {
  border-radius: 6px;
}

.shape svg {
  height: 92px;
}

.stats-strip {
  background: #fff;
  padding-bottom: 64px;
}

.stats-strip .section-title {
  margin-bottom: 34px !important;
}

.stats-strip-inner {
  margin-top: -36px;
  border: 1px solid var(--ms-line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(20,30,55,.09);
}

.stat-block {
  border-color: var(--ms-line);
}

.stat-block .sb-icon,
.stat-block .sb-num {
  color: var(--ms-primary);
}

.partners-showcase {
  padding: 68px 0 12px;
  background: var(--ms-soft);
}

.partners-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-card,
.customer-testi .media-body,
.story-list li {
  border-radius: 8px !important;
  box-shadow: var(--ms-shadow-sm) !important;
}

.partner-card {
  border: 1px solid var(--ms-line) !important;
}

.partner-card {
  padding: 22px 18px;
}

.partner-card .pc-icon {
  border-radius: 8px;
}

.partner-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--ms-shadow-md) !important;
}

.feature-list li,
.partner-card ul li,
.pc-bullets li {
  line-height: 1.55;
}

.alert.alert-pills {
  border-radius: 8px !important;
  border: 1px solid var(--ms-line);
  box-shadow: var(--ms-shadow-sm) !important;
}

.cta-gradient-card {
  border-radius: 8px !important;
  background: linear-gradient(120deg, #14317e 0%, #2854d8 58%, #0f766e 100%) !important;
  box-shadow: var(--ms-shadow-md) !important;
}

.cta-gradient-card::before,
.cta-gradient-card::after {
  display: none;
}

.tech-section-img::before {
  border-radius: 8px;
  background: #eef4ff;
}

.pc-meta,
.flow-cta,
#case-basketball-slovenia {
  border-radius: 8px;
}

.flow-cta {
  border: 1px solid var(--ms-line);
  box-shadow: var(--ms-shadow-sm);
}

#case-basketball-slovenia {
  margin-left: 0;
  margin-right: 0;
  background: #f6f8fc;
}

#case-basketball-slovenia img {
  border-radius: 8px !important;
}

.customer-testi .media-body {
  border: 1px solid var(--ms-line) !important;
}

.story-list li {
  border-left-color: var(--ms-teal) !important;
}

section.section.bg-light {
  background: #f6f8fc !important;
}

footer.footer:first-of-type {
  background: #10182b !important;
}

.cookie-banner {
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  max-width: 420px !important;
  border-radius: 8px !important;
  border: 1px solid var(--ms-line);
  box-shadow: 0 24px 70px rgba(20,30,55,.16) !important;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner .btn {
  border-radius: 8px !important;
}

.pricing-teaser-section {
  padding-top: 0;
}

.pricing-teaser-card {
  background: #fff;
  border: 1px solid #dbe5f3;
  border-left: 6px solid var(--ms-primary);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(20,30,55,.08);
  padding: 26px 30px;
}

.pricing-teaser-card h3 {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 12px;
  color: #1a1f36;
  font-weight: 800;
}

.pricing-teaser-card p {
  color: var(--ms-muted);
}

.pricing-page .pricing-hero-section {
  padding-bottom: 18px;
}

.pricing-page .pricing-page-title {
  font-size: 48px !important;
  line-height: 1.1 !important;
}

.pricing-hero-note {
  color: #1a1f36;
  font-weight: 700;
}

.pricing-hero-note-muted {
  color: var(--ms-muted);
  font-weight: 500;
}

.pricing-hero-cta {
  gap: 12px;
}

.pricing-tier-card {
  background: #fff;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 14px 36px rgba(20,30,55,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-tier-card-featured {
  border: 2px solid var(--ms-primary);
  box-shadow: 0 20px 44px rgba(47,85,212,.16);
}

.pricing-tier-card-featured .pricing-tier-head {
  padding-right: 112px;
  margin-top: 6px;
}

.pricing-tier-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(47,85,212,.1);
  color: var(--ms-primary);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-tier-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #1a1f36;
}

.pricing-tier-head p {
  margin-bottom: 16px;
  color: var(--ms-muted);
  line-height: 1.55;
  min-height: 46px;
}

.pricing-tier-metrics {
  display: grid;
  gap: 10px;
}

.pricing-tier-metric {
  border: 1px solid #e4ecf7;
  border-radius: 8px;
  background: #f7faff;
  padding: 10px 12px;
}

.pricing-tier-metric span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #5a6d90;
  margin-bottom: 4px;
}

.pricing-tier-metric strong {
  font-size: 16px;
  color: #1a1f36;
  line-height: 1.4;
}

.pricing-tier-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 7px;
}

.pricing-tier-features li {
  position: relative;
  padding-left: 20px;
  color: #344054;
  line-height: 1.45;
  font-size: 14px;
}

.pricing-tier-features li::before {
  content: "\F012C";
  font-family: "Material Design Icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--ms-primary);
  font-size: 14px;
}

.pricing-section-block {
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20,30,55,.07);
  padding: 26px;
}

.pricing-discount-table th {
  border-top: 0;
  border-bottom: 1px solid #dbe5f3 !important;
  font-size: 12px;
  color: #3c4f72;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pricing-discount-table td {
  border-color: #e8eef8 !important;
  color: #1a1f36;
  font-weight: 600;
  vertical-align: middle;
}

.pricing-support-note {
  margin-top: 14px;
  color: #536483;
  font-size: 14px;
  line-height: 1.55;
}

.pricing-notes-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pricing-notes-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
  color: #1f2a44;
}

.pricing-notes-list li::before {
  content: "\F012C";
  font-family: "Material Design Icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--ms-primary);
  font-size: 14px;
}

.pricing-final-cta {
  margin-top: 0;
}

@media (max-width: 991px) {
  .pricing-teaser-card {
    padding: 22px;
  }

  .pricing-page .pricing-page-title {
    font-size: 40px !important;
  }
}

@media (max-width: 767px) {
  .pricing-teaser-card h3 {
    font-size: 24px;
  }

  .pricing-page .pricing-page-title {
    font-size: 32px !important;
  }

  .pricing-tier-card {
    padding: 20px 16px;
  }

  .pricing-tier-head h3 {
    font-size: 24px;
  }

  .pricing-tier-head p {
    min-height: 0;
  }

  .pricing-tier-card-featured .pricing-tier-head {
    padding-right: 0;
    margin-top: 22px;
  }

  .pricing-section-block {
    padding: 20px 16px;
  }
}

@media (max-width: 1199px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  #topnav .buy-button {
    display: none !important;
  }

  #topnav .logo img {
    height: 30px;
  }

  #start {
    padding: 132px 0 88px !important;
  }

  .title-heading {
    text-align: left !important;
  }

  .hero-img-wrap {
    margin: 42px auto 0;
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  section {
    padding: 52px 0;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .row {
    margin-left: -16px;
    margin-right: -16px;
  }

  [class*="col-"] {
    min-width: 0;
  }

  .mt-100,
  .mt-60 {
    margin-top: 46px !important;
  }

  #topnav {
    min-height: 66px;
  }

  #topnav .container {
    width: 100%;
  }

  #navigation {
    top: 66px;
  }

  #start {
    padding: 112px 0 66px !important;
    width: 100%;
  }

  #start .heading {
    font-size: 37px !important;
    line-height: 1.13 !important;
  }

  #start .para-desc {
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-badge {
    display: flex;
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .cta-group {
    align-items: stretch;
  }

  .btn-cta {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-trusted {
    margin-top: 22px;
  }

  .trusted-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .tchip {
    text-align: center;
    padding: 7px 8px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-img-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 34px;
  }

  .hero-img-wrap img {
    max-width: 100%;
  }

  .shape svg {
    height: 46px;
  }

  .stats-strip {
    padding-bottom: 42px;
  }

  .stats-strip-inner {
    margin-top: 0;
    border-radius: 8px;
    padding: 12px;
  }

  .stat-block {
    border-bottom: 1px solid var(--ms-line);
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .cta-gradient-card,
  .flow-cta {
    padding: 28px 22px !important;
  }

  #case-basketball-slovenia {
    padding: 48px 0;
  }

  .cookie-banner {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    max-width: none !important;
    padding: 16px !important;
  }

  .cookie-banner p {
    font-size: 13px;
    line-height: 1.45;
  }

  .cookie-banner .mt-3 {
    margin-top: 12px !important;
  }
}
