/* =========================================================
   Orbis ERP — custom styles (Tailwind handles utility classes)
   ========================================================= */

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body { font-feature-settings: "cv11", "ss01"; }

::selection { background: #7539ff; color: #fff; }

:focus-visible {
  outline: 2px solid #7539ff;
  outline-offset: 3px;
  border-radius: 4px;
}


.text-primary{
  color:#7539ff!important;
}

/* ---------- Navbar ---------- */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.06);
}
.nav-link { position: relative; transition: color .2s ease; }
.nav-link:hover { color: #7539ff; }
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: #7539ff;
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

.orbis-mark {
  background: linear-gradient(135deg, #7539ff, #14B8A6);
  border-radius: 10px;
  box-shadow: 0 6px 16px -4px rgba(37,99,235,0.45);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #7539ff; color: #fff; font-weight: 600; font-size: .9375rem;
  padding: .7rem 1.4rem; border-radius: .8rem;
  box-shadow: 0 8px 20px -6px rgba(37,99,235,0.55);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary:hover { background: #9264fd; transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(37,99,235,0.6); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #fff; color: #0F172A; font-weight: 600; font-size: .9375rem;
  padding: .7rem 1.4rem; border-radius: .8rem; border: 1px solid rgba(15,23,42,0.12);
  transition: transform .2s ease, border-color .2s ease;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(37,99,235,0.4); }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #fff; color: #7539ff; font-weight: 600; font-size: .9375rem;
  padding: .7rem 1.4rem; border-radius: .8rem;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35);
}
.btn-white:hover { transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: transparent; color: #fff; font-weight: 600; font-size: .9375rem;
  padding: .7rem 1.4rem; border-radius: .8rem; border: 1px solid rgba(255,255,255,0.35);
  transition: background .2s ease, transform .2s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero-gradient {
  background:
    radial-gradient(60% 50% at 85% 5%, rgba(37,99,235,0.10) 0%, rgba(37,99,235,0) 60%),
    radial-gradient(50% 40% at 10% 15%, rgba(20,184,166,0.10) 0%, rgba(20,184,166,0) 60%),
    #F8FAFC;
}

.blob {
  position: absolute; border-radius: 999px; filter: blur(70px);
  opacity: .55; pointer-events: none; z-index: 0;
  animation: blobFloat 16s ease-in-out infinite;
}
.blob-1 { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, #7539ff, transparent 70%); }
.blob-2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, #14B8A6, transparent 70%); animation-delay: -8s; }
.blob-cta { width: 520px; height: 520px; top: -180px; right: -160px; background: radial-gradient(circle, rgba(37,99,235,0.55), transparent 70%); animation-duration: 20s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 25px) scale(1.06); }
}

.text-gradient {
  background: linear-gradient(100deg, #7539ff, #a27df7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Orbit signature ---------- */
.orbit-wrap {
  position: relative;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  display: grid; place-items: center;
}
.orbit-rings { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinSlow 90s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute;
  width: 0; height: 0;
  animation: orbitSpin var(--d) linear infinite;
  animation-delay: var(--delay);
  top: 50%; left: 50%;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}
.node-chip {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px; padding: 8px 14px 8px 10px;
  font-size: 12.5px; font-weight: 600; color: #0F172A;
  box-shadow: 0 8px 20px -8px rgba(15,23,42,0.18);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  width: fit-content;
}

.orbit-center { position: relative; z-index: 10; }

.dash-mock {
  width: 260px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 30px 70px -20px rgba(15,23,42,0.28);
  overflow: hidden;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.dash-topbar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(15,23,42,0.06); }
.dash-topbar .dot { width: 8px; height: 8px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dash-body { padding: 16px; }
.dash-stat { background: #F8FAFC; border-radius: 10px; padding: 10px 12px; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: #0F172A;
  box-shadow: 0 16px 34px -12px rgba(15,23,42,0.25);
  border: 1px solid rgba(15,23,42,0.06);
  animation: floatY 5s ease-in-out infinite;
}
.float-card-a { top: -14px; right: -30px; animation-delay: -1s; }
.float-card-b { bottom: -10px; left: -46px; animation-delay: -3s; }

@media (max-width: 640px) {
  .float-card-a { right: -6px; top: -10px; }
  .float-card-b { left: -6px; }
}

/* ---------- Section helpers ---------- */
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #7539ff;
}
.section-title {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; 
}

/* ---------- Logos ---------- */
.logo-mark { display: flex; align-items: center; justify-content: center; color: #64748B; font-size: 1.05rem; transition: color .2s ease, opacity .2s ease; }
.logo-mark:hover { color: #7539ff; }

/* ---------- Feature cards ---------- */
.feature-card {
  background: #fff; border: 1px solid rgba(15,23,42,0.06);
  border-radius: 1.25rem; padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px -18px rgba(15,23,42,0.18); border-color: rgba(37,99,235,0.18); }
.feature-icon {
  width: 48px; height: 48px; border-radius: .9rem; display: grid; place-items: center;
  background: linear-gradient(135deg, #EFF6FF, #F0FDFA); margin-bottom: 1.1rem;
}

/* ---------- Module cards ---------- */
.module-card {
  background: #fff; border: 1px solid rgba(15,23,42,0.06); border-radius: 1.5rem;
  padding: 1.25rem; transition: transform .25s ease, box-shadow .25s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.2); }
.module-illustration {
  width: 100%; aspect-ratio: 6 / 6; border-radius: 1rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.module-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1rem; font-weight: 600; font-size: .875rem; color: #7539ff;
}
.module-link span { transition: transform .2s ease; }
.module-link:hover span { transform: translateX(3px); }

/* ---------- Benefits ---------- */
.benefit-glow {
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 15% 0%, rgba(37,99,235,0.25), transparent 70%),
              radial-gradient(40% 50% at 100% 100%, rgba(20,184,166,0.2), transparent 70%);
  pointer-events: none;
}
.benefit-item { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .9375rem; color: rgba(255,255,255,0.9); }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 1.5rem;
  padding: 2rem; transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 26px 55px -22px rgba(15,23,42,0.22); }
.price-card-featured {
  background: linear-gradient(160deg, #7539ff, #7539ff 60%, #4a17c2);
  color: #fff; border: none; position: relative;
  box-shadow: 0 30px 60px -18px rgba(37,99,235,0.5);
  transform: scale(1.03);
}
.badge-recommended {
  position: absolute; top: -14px; right: 2rem;
  background: #986bff; color: #fff; font-size: .75rem; font-weight: 700;
  padding: .35rem .85rem; border-radius: 999px; letter-spacing: .02em;
}
.price-item { display: flex; align-items: center; gap: 10px; }
.price-item::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px;
  background: #a27df7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
}
.price-item-dark::before { background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Process ---------- */
.process-step { background: #fff; border: 1px solid rgba(15,23,42,0.06); border-radius: 1.25rem; padding: 1.75rem; position: relative; z-index: 1; }
.process-number {
  width: 42px; height: 42px; border-radius: .9rem; display: grid; place-items: center;
  background: linear-gradient(135deg, #7539ff, #a27df7); color: #fff;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem;
}
.process-connector {
  position: absolute; top: 42px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(37,99,235,0.3) 0 10px, transparent 10px 18px);
  z-index: 0;
}

/* ---------- Dashboard preview ---------- */
.dash-preview {
  background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 1.5rem;
  box-shadow: 0 40px 80px -30px rgba(15,23,42,0.25); overflow: hidden;
}
.dash-preview-topbar {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid rgba(15,23,42,0.06); background: #F8FAFC;
}
.dash-preview-tab {
  font-family: "JetBrains Mono", monospace; font-size: .75rem; color: #64748B;
  background: #fff; border: 1px solid rgba(15,23,42,0.06); border-radius: .5rem; padding: .3rem .7rem;
}
.dash-panel { background: #F8FAFC; border: 1px solid rgba(15,23,42,0.05); border-radius: 1rem; padding: 1.25rem; }
.bar-track { width: 100%; height: 8px; border-radius: 999px; background: rgba(15,23,42,0.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: #7539ff; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border: 1px solid rgba(15,23,42,0.06); border-radius: 1.25rem; padding: 1.75rem; }
.stars { color: #FBBF24; letter-spacing: 2px; }
.avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, #7539ff, #a27df7); color: #fff;
  display: grid; place-items: center; font-size: .8125rem; font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-item { background: #F8FAFC; border: 1px solid rgba(15,23,42,0.06); border-radius: 1rem; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  text-align: left; padding: 1.1rem 1.4rem; font-weight: 600; font-size: .9375rem; color: #0F172A;
}
.faq-icon { font-size: 1.25rem; color: #7539ff; transition: transform .25s ease; font-weight: 400; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 1.4rem; }
.faq-answer p { color: #64748B; font-size: .9375rem; line-height: 1.6; padding-bottom: 1.1rem; }
.faq-item.open .faq-answer { max-height: 220px; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #4516b3, #a27df7 120%);
  border-radius: 2rem; padding: 3.5rem 2.5rem;
  color: #fff;
}
@media (min-width: 1024px) { .cta-panel { padding: 5rem; } }

/* ---------- Footer ---------- */
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #a27df7; }
.social-icon {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center; transition: background .2s ease, border-color .2s ease;
}
.social-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.newsletter-input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  border-radius: .8rem; padding: .7rem 1rem; font-size: .875rem; color: #fff; flex: 1;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.logo-dark{
  display: none;
}

/* ---------- Dark mode ---------- */
.dark body { background: #0B1220; color: #E2E8F0; }
.dark .bg-white { background-color: #111A2E !important; }
.dark .bg-canvas { background-color: #0B1220 !important; }
.dark .text-secondary { color: #E2E8F0 !important; }
.dark .border-secondary\/5, .dark .border-secondary\/6, .dark .border-secondary\/10 { border-color: rgba(255,255,255,0.08) !important; }
.dark #navbar.scrolled { background: rgba(11,18,32,0.82); }
.dark .feature-card, .dark .module-card, .dark .price-card, .dark .testimonial-card, .dark .process-step, .dark .dash-preview, .dark .faq-item { background: #111A2E; border-color: rgba(255,255,255,0.08); }
.dark .dash-panel { background: #0B1220; border-color: rgba(255,255,255,0.06); }
.dark .faq-question { color: #E2E8F0; }
.dark .faq-answer p { color: #94A3B8; }
.dark .price-card-featured { background: linear-gradient(160deg, #a27df7, #7539ff 60%, #5322c4); }
.dark .hero-gradient { background: radial-gradient(60% 50% at 85% 5%, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0) 60%), radial-gradient(50% 40% at 10% 15%, rgba(20,184,166,0.15) 0%, rgba(20,184,166,0) 60%), #0B1220; }
.dark .dash-mock, .dark .node-chip, .dark .float-card { background: #111A2E; color: #E2E8F0; border-color: rgba(255,255,255,0.08); }
.dark .logo-mark { color: #64748B; }


.dark .logo-light {
    display: none;
}

.dark .logo-dark {
    display: block;
}





/* =========================================================
   Module sub-pages
   ========================================================= */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: #64748B; }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: #7539ff; }

.module-hero-illustration {
  border-radius: 1.75rem; overflow: hidden; aspect-ratio: 6/5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 70px -25px rgba(15,23,42,0.25);
}

.spec-item {
  background: #fff; border: 1px solid rgba(15,23,42,0.06); border-radius: 1.1rem;
  padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease;
}
.spec-item:hover { transform: translateY(-4px); box-shadow: 0 20px 45px -18px rgba(15,23,42,0.18); }
.spec-check {
  width: 34px; height: 34px; border-radius: .7rem; flex-shrink: 0;
  background: linear-gradient(135deg, #EFF6FF, #F0FDFA); display: grid; place-items: center;
}

.related-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid rgba(15,23,42,0.08); border-radius: 999px; padding: .6rem 1.1rem;
  font-size: .875rem; font-weight: 600; color: #0F172A; transition: border-color .2s ease, transform .2s ease;
}
.related-chip:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-2px); }

.dark .spec-item { background: #111A2E; border-color: rgba(255,255,255,0.08); }
.dark .related-chip { background: #111A2E; border-color: rgba(255,255,255,0.08); color: #E2E8F0; }

/* =========================================================
   Auth pages (Login / Register)
   ========================================================= */
.auth-shell {
  min-height: 100vh; display: grid; grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .auth-shell { grid-template-columns: 1fr 1fr; }
}

.auth-visual {
  position: relative; overflow: hidden; display: none;
  background: linear-gradient(160deg, #2a1261, #7539ff 130%);
  padding: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .auth-visual { display: flex; } }

.auth-form-side {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 1.5rem;
  min-height: 100vh;
}
@media (min-width: 640px) { .auth-form-side { padding: 3rem 4rem; } }
@media (min-width: 1024px) { .auth-form-side { padding: 4rem 6rem; } }

.auth-card { width: 100%; max-width: 26rem; margin: 0 auto; }

.form-label { display: block; font-size: .8125rem; font-weight: 600; color: #0F172A; margin-bottom: .4rem; }
.form-input {
  width: 100%; background: #fff; border: 1px solid rgba(15,23,42,0.12); border-radius: .8rem;
  padding: .75rem 1rem; font-size: .9375rem; color: #0F172A; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus { border-color: #7539ff; box-shadow: 0 0 0 4px rgba(37,99,235,0.12); outline: none; }
.form-input::placeholder { color: #94A3B8; }

.form-check { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: #64748B; }
.form-check input { width: 16px; height: 16px; accent-color: #7539ff; }

.divider { display: flex; align-items: center; gap: 12px; color: #94A3B8; font-size: .8125rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(15,23,42,0.1); }

.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid rgba(15,23,42,0.12); border-radius: .8rem;
  padding: .7rem 1rem; font-size: .875rem; font-weight: 600; color: #0F172A;
  transition: border-color .2s ease, transform .2s ease;
}
.btn-social:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-1px); }

.auth-metric {
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.auth-metric-num { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.5rem; }

.dark .form-input { background: #111A2E; border-color: rgba(255,255,255,0.1); color: #E2E8F0; }
.dark .btn-social { background: #111A2E; border-color: rgba(255,255,255,0.1); color: #E2E8F0; }
.dark .form-label { color: #E2E8F0; }


.bg-secondary{
  background-color: rgb(6 15 36)!important;
}


.module_img_bg{
  background: #fff;
    padding: 20px;
    border-radius: 20px;
}