:root{
  --ink:#0b1220;
  --muted:#5b6b82;
  --bg:#f6f8fb;
  --card:#ffffff;
  --border:rgba(15,23,42,.10);
  --brand:#0066cc;
  --brand2:#00b3ff;
  --gold:#ffc107;
  --shadow:0 12px 30px rgba(2,6,23,.10);
  --shadow2:0 18px 44px rgba(2,6,23,.14);
  --radius:18px;
}

html{scroll-behavior:smooth;}
*{box-sizing:border-box;}

body{
  font-family:'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  padding-top:0 !important;
  margin-top:0 !important;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(0,102,204,.10), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(0,179,255,.10), transparent 60%),
    linear-gradient(180deg,#f8fafc, var(--bg));
  color:var(--ink);
  overflow-x:hidden;
}

.glossy-nav{
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  transition: all 0.35s ease;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.glossy-nav.scrolled{
  background:#0b0b0b !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.navbar-brand{
  font-weight:950 !important;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  gap:10px;
}
.navbar-brand i{color:var(--brand2);}

@media (min-width: 992px){
  .navbar .navbar-nav{
    align-items:center;
    gap:2px;
  }
  .navbar .nav-item{margin:0 2px;}
}

.nav-link-pro{
  font-size:15px;
  font-weight:850;
  padding:10px 14px !important;
  color:rgba(255,255,255,.90) !important;
  border-radius:12px;
  position:relative;
  transition:all .2s ease;
  white-space:nowrap;
}
.nav-link-pro:hover{
  color:#fff !important;
  background:rgba(255,255,255,.06);
}
.nav-link-pro::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:6px;
  height:2px;
  background:linear-gradient(90deg, var(--brand2), var(--brand));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
  border-radius:99px;
}
.nav-link-pro:hover::after{transform:scaleX(1);}

.dropdown-dark{
  background: rgba(12,12,12,.98);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  overflow:hidden;
  padding:8px;
  min-width:270px;
  box-shadow:0 22px 50px rgba(0,0,0,.55);
}
.dropdown-item{
  color:rgba(255,255,255,.88) !important;
  padding:11px 12px !important;
  font-weight:850;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:10px;
  transition:.2s ease;
}
.dropdown-item i{
  width:20px;
  text-align:center;
  opacity:.95;
}
.dropdown-item:hover{
  background:rgba(0,179,255,.14) !important;
  color:#fff !important;
  transform:translateX(4px);
}

.nav-cta{
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  color:#fff !important;
  border-radius:999px;
  padding:10px 14px !important;
  font-weight:950;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 30px rgba(0,179,255,.18);
}
.nav-cta:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.navbar-toggler{
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:14px;
  padding:8px 10px;
}
.navbar-toggler:focus{
  box-shadow:0 0 0 .22rem rgba(0,179,255,.20);
}

/* SIMPLE INSTALL NOTICE */
.install-notice{
  margin-top:14px;
  margin-bottom:10px;
}
.install-card{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.install-left{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.install-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,102,204,.08);
  color:var(--brand);
  flex:0 0 42px;
  font-size:18px;
}
.install-title{
  font-weight:900;
  font-size:.98rem;
  margin-bottom:2px;
}
.install-text{
  color:var(--muted);
  font-size:.90rem;
  font-weight:700;
  margin:0;
}
.install-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.install-actions .btn{
  border-radius:999px;
  font-weight:900;
  padding:9px 14px;
}
.install-card.hidden{
  display:none !important;
}

/* HERO SIMPLE */
.hero{
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,102,204,.12), rgba(0,179,255,.10)),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px 14px 10px;
}
.hero h1{
  font-size: 1.25rem;
  font-weight: 850;
  margin-bottom: 6px;
}
.hero p{
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 650;
}
.cta-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom:2px;
}
.cta-row::-webkit-scrollbar{height:0;}
.cta-button{
  flex:0 0 auto;
  font-size:.90rem;
  font-weight:850;
  padding:8px 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  transition:.22s ease;
  white-space:nowrap;
  border:1px solid rgba(2,6,23,.08);
}
.cta-button:hover{transform:translateY(-1px);filter:brightness(1.02);}
.cta-yt{background:#ff0000;color:#fff;border-color:rgba(255,0,0,.18);box-shadow:0 10px 22px rgba(255,0,0,.14);}
.cta-sys{background:var(--gold);color:#111;border-color:rgba(255,193,7,.18);box-shadow:0 10px 22px rgba(255,193,7,.16);}

.quick-access{
  margin-top:16px;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(10px);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:14px 14px 12px;
}
.quick-access .label{
  font-weight:950;
  font-size:.95rem;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.quick-access .mini{
  font-weight:900;
  font-size:.82rem;
  color:var(--muted);
  background:rgba(0,179,255,.10);
  border:1px solid rgba(0,179,255,.18);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.quick-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(0,102,204,.14);
  background:rgba(255,255,255,.70);
  color:var(--ink);
  text-decoration:none;
  padding:10px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:.90rem;
  transition:.22s ease;
  margin:6px 8px 0 0;
  box-shadow:0 10px 20px rgba(2,6,23,.06);
}
.quick-chip:hover{
  transform:translateY(-2px);
  border-color:rgba(0,179,255,.25);
  box-shadow:var(--shadow);
}
.quick-chip i{color:var(--brand);}

.system-toolbar{
  margin-top:10px;
  background: rgba(255,255,255,.80);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.system-toolbar input{
  border-radius: 12px;
  font-weight:800;
}
.system-toolbar .btn{
  border-radius:12px;
  font-weight:900;
}

.system-links{padding:14px 0 18px;}

.promo-card{
  border-radius:22px;
  width:100%;
  min-height:210px;
  padding:18px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  text-decoration:none;
  color:#fff;
  transition:transform .22s ease, box-shadow .22s ease;
  position:relative;
  overflow:hidden;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.promo-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(260px 180px at 20% 10%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(260px 180px at 80% 90%, rgba(0,0,0,.14), transparent 55%);
  pointer-events:none;
}
.promo-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow2);
}
.promo-card i{
  font-size:2.7rem;
  margin-bottom:12px;
}
.promo-card h5{
  font-weight:950;
  margin-bottom:8px;
  font-size:1.05rem;
  line-height:1.2;
}
.promo-card p{
  font-size:.93rem;
  color:rgba(255,255,255,0.92);
  margin:0 10px 10px;
  line-height:1.35;
}
.promo-card span.btn{
  margin-top:6px;
  border-radius:999px !important;
  font-weight:900;
  padding-left:14px;
  padding-right:14px;
}

.bg-sales {background: linear-gradient(135deg,#ff7e5f,#feb47b);}
.bg-results {background: linear-gradient(135deg,#6a11cb,#2575fc);}
.bg-accounts {background: linear-gradient(135deg,#11998e,#38ef7d);}
.bg-vikoba {background: linear-gradient(135deg,#fc5c7d,#6a82fb);}
.bg-loans {background: linear-gradient(135deg,#f7971e,#ffd200); color:#111;}
.bg-timetable {background: linear-gradient(135deg,#00c6ff,#0072ff);}
.bg-exam {background: linear-gradient(135deg,#ff4e50,#f9d423); color:#111;}
.bg-blog {background: linear-gradient(135deg,#fc4a1a,#f7b733); color:#111;}
.bg-budget {background: linear-gradient(135deg,#6a11cb,#2575fc);}
.bg-offer {background: linear-gradient(135deg,#ff9966,#ff5e62);}
.bg-lesson{background-color:#1e88e5;color:white;}

.section-title{font-weight:950;letter-spacing:.2px;}
.test-card{
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.progress-top{
  position: fixed;
  top:0; left:0;
  height:3px;
  width:0%;
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  z-index: 2000;
}

.no-results{
  display:none;
  border:1px dashed rgba(0,179,255,.35);
  background:rgba(0,179,255,.08);
  border-radius:16px;
  padding:16px;
  font-weight:900;
}

.faulink-footer{
  position:relative;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.10);
}
.faulink-footer::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(520px 260px at 10% 0%, rgba(0,179,255,.18), transparent 60%),
    radial-gradient(520px 260px at 90% 30%, rgba(0,102,204,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  pointer-events:none;
}
.footer-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  padding:16px 16px 14px;
  backdrop-filter:blur(10px);
  box-shadow:0 18px 40px rgba(0,0,0,.20);
  position:relative;
}
.footer-title{font-weight:950;letter-spacing:.2px;}
.footer-links a{
  display:block;
  padding:8px 0;
  color:rgba(255,255,255,.86) !important;
  text-decoration:none;
  font-weight:800;
  transition:.22s ease;
}
.footer-links a:hover{
  color:#fff !important;
  transform:translateX(6px);
}
.footer-divider{
  height:1px;
  background:rgba(255,255,255,.12);
  margin:14px 0 10px;
}
.trust-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.trust-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
  font-size:.86rem;
  color:rgba(255,255,255,.92);
}
.trust-badge i{color:#00e5ff;}

.social-icons a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:44px;height:44px;
  border-radius:14px;
  margin-right:10px;
  font-size:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  transition:.22s ease;
  color:#fff;
  text-decoration:none;
}
.social-icons a:hover{
  transform:translateY(-4px);
  box-shadow:0 0 18px rgba(0,179,255,0.35);
  border-color:rgba(0,179,255,.30);
}
.social.whatsapp:hover { background:#25D366; }
.social.facebook:hover { background:#1877f2; }
.social.youtube:hover  { background:#ff0000; }
.social.globe:hover    { background:#00b3ff; }

.newsletter-form input{
  border-radius:12px;
  font-weight:900;
}
.newsletter-form button{
  border-radius:12px;
  background:linear-gradient(90deg, var(--brand2), var(--brand));
  border:none;
  font-weight:950;
}
.newsletter-form button:hover{filter:brightness(1.05);}

.footer-cta{
  border-radius:20px;
  background:linear-gradient(135deg, rgba(0,179,255,.18), rgba(0,102,204,.18));
  border:1px solid rgba(255,255,255,.12);
  padding:14px 14px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.footer-cta .btn{
  border-radius:999px;
  font-weight:950;
}
.footer-cta small{
  color:rgba(255,255,255,.82);
  font-weight:800;
}

.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25d366;
  width:60px;height:60px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:30px;
  z-index:1000;
  box-shadow:0 14px 30px rgba(2,6,23,.20);
}

.to-top{
  position:fixed;
  bottom:20px;
  left:20px;
  width:52px;height:52px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 30px rgba(2,6,23,.20);
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:.2s ease;
  z-index:1000;
}
.to-top.show{opacity:1;pointer-events:auto;transform:translateY(0);}

.toast-container{
  position: fixed;
  top: 120px;
  right: 16px;
  z-index: 3000;
}

@media (max-width: 576px){
  body{
    padding-top:0 !important;
    margin-top:0 !important;
  }
  .hero h1{font-size:1.12rem;}
  .hero p{font-size:.90rem;}
  #systemsGrid .col-md-6{flex:0 0 100%; max-width:100%;}
  .promo-card{min-height:200px; border-radius:20px;}
  .promo-card i{font-size:2.35rem; margin-bottom:10px;}
  .promo-card h5{font-size:1rem;}
  .promo-card p{font-size:.89rem;}
  .install-card{
    align-items:flex-start;
  }
}

/* ===== MEGA NAV MENU ONLY ===== */

.mega-menu{
  width: 860px;
  max-width: 95vw;
  background: rgba(12,12,12,.98);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
  margin-top: 10px;
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}

.mega-menu .row{
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.mega-title{
  color: #9fdcff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  padding: 0 8px;
}

.mega-menu .dropdown-item{
  color: rgba(255,255,255,.88) !important;
  padding: 11px 12px !important;
  font-weight: 850;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: .2s ease;
  white-space: normal;
  background: transparent !important;
}

.mega-menu .dropdown-item i{
  width: 20px;
  text-align: center;
  color: #7fd6ff;
  opacity: 1;
  flex: 0 0 20px;
}

.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus{
  background: rgba(0,179,255,.14) !important;
  color: #fff !important;
  transform: translateX(4px);
}

.mega-menu .dropdown-divider{
  border-top-color: rgba(255,255,255,.12);
  margin: 8px 0;
}

/* desktop position */
@media (min-width: 992px){
  .navbar .dropdown-menu.mega-menu{
    left: 0;
    right: auto;
  }
}

/* mobile */
@media (max-width: 991.98px){
  .mega-menu{
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 12px;
    box-shadow: none;
  }

  .mega-title{
    margin-top: 4px;
    margin-bottom: 8px;
  }
}

/* ===== FIX FOR YOUR CURRENT NAV HTML ===== */

.main-nav{
  background:#0b0b0b !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 0;
  transition: all 0.30s ease;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 1100;
}

.main-nav .navbar-brand{
  color:#fff !important;
}

.main-nav .nav-link{
  font-size:15px;
  font-weight:850;
  padding:10px 14px !important;
  color:rgba(255,255,255,.92) !important;
  border-radius:12px;
  position:relative;
  transition:all .2s ease;
  white-space:nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-item.show > .nav-link{
  color:#fff !important;
  background:rgba(255,255,255,.06);
}

.main-nav .dropdown-toggle::after{
  margin-left:6px;
  vertical-align:middle;
  border-top-color:rgba(255,255,255,.92);
}

.main-nav .navbar-toggler{
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:14px;
  padding:8px 10px;
}

.main-nav .navbar-toggler:focus{
  box-shadow:0 0 0 .22rem rgba(0,179,255,.20);
}

.main-nav .navbar-toggler-icon{
  filter:brightness(100);
}

.main-nav .navbar-collapse{
  opacity:1 !important;
}

/* mega menu */
.main-nav .mega-menu{
  width:860px;
  max-width:95vw;
  background:rgba(12,12,12,.98) !important;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:18px;
  margin-top:10px;
  box-shadow:0 22px 50px rgba(0,0,0,.55);
}

.main-nav .mega-title{
  color:#9fdcff;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:10px;
  padding:0 8px;
}

.main-nav .mega-menu .dropdown-item{
  color:rgba(255,255,255,.88) !important;
  padding:11px 12px !important;
  font-weight:850;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:10px;
  transition:.2s ease;
  white-space:normal;
  background:transparent !important;
}

.main-nav .mega-menu .dropdown-item i{
  width:20px;
  text-align:center;
  color:#7fd6ff;
  opacity:1;
  flex:0 0 20px;
}

.main-nav .mega-menu .dropdown-item:hover,
.main-nav .mega-menu .dropdown-item:focus{
  background:rgba(0,179,255,.14) !important;
  color:#fff !important;
  transform:translateX(4px);
}

@media (max-width: 991.98px){
  body{
    padding-top:0 !important;
    margin-top:0 !important;
  }

  .main-nav{
    padding:10px 0;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    box-shadow:0 6px 16px rgba(0,0,0,.20);
  }

  .main-nav .navbar-collapse{
    background:#111 !important;
    margin-top:8px;
    border-radius:12px;
    padding:10px;
    border:1px solid rgba(255,255,255,.06);
    box-shadow:none;
    max-height:80vh;
    overflow-y:auto;
  }

  .main-nav .nav-link{
    white-space:normal;
    font-size:14px;
    padding:9px 10px !important;
  }

  .main-nav .mega-menu{
    width:100%;
    max-width:100%;
    padding:10px;
    margin-top:6px;
    border-radius:12px;
    box-shadow:none;
    border:1px solid rgba(255,255,255,.06);
  }

  .main-nav .mega-menu .dropdown-item{
    font-size:14px;
    padding:9px 10px !important;
  }

  .install-notice{
    margin-top:10px;
  }

  .toast-container{
    top: 90px;
    right: 12px;
  }
}

/* ===== DISABLE LINK ===== */
.disabled-link{
  opacity: .55;
  cursor: not-allowed !important;
  pointer-events: auto;
}

.disabled-link:hover,
.disabled-link:focus{
  transform: none !important;
  background: rgba(255,255,255,.04) !important;
  color: rgba(255,255,255,.75) !important;
}