:root {
  --n-primary: #155eef;
  --n-primary-dark: #0f47bb;
  --n-secondary: #7c3aed;
  --n-navy: #0b1b33;
  --n-slate: #5a6b85;
  --n-bg: #f7f9fc;
  --n-bg-alt: #eef3ff;
  --n-border: #e4e9f2;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--n-navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.text-navy { color: var(--n-navy) !important; }
.text-slate { color: var(--n-slate) !important; }
.text-primary-custom { color: var(--n-primary) !important; }
.bg-soft { background: var(--n-bg); }

/* Buttons */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary {
  --bs-btn-bg: var(--n-primary);
  --bs-btn-border-color: var(--n-primary);
  --bs-btn-hover-bg: var(--n-primary-dark);
  --bs-btn-hover-border-color: var(--n-primary-dark);
  --bs-btn-active-bg: var(--n-primary-dark);
  --bs-btn-active-border-color: var(--n-primary-dark);
  box-shadow: 0 8px 20px -8px rgba(21, 94, 239, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-sm-custom { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-lg-custom { padding: 0.85rem 1.6rem; font-size: 0.95rem; }
.btn-light-custom {
  background: #fff;
  border: 1px solid var(--n-border);
  color: var(--n-navy);
}
.btn-light-custom:hover { background: var(--n-bg-alt); border-color: #cdd8ea; }

/* Navbar */
.navbar-nexora {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.navbar-nexora.scrolled {
  border-bottom-color: var(--n-border);
  box-shadow: 0 6px 24px -18px rgba(11, 27, 51, 0.5);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.navbar-brand-custom {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--n-navy) !important;
  text-decoration: none;
}
.navbar-brand-custom span { color: var(--n-primary); }
.nav-link.nav2 {
  color: var(--n-slate) !important;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.8rem !important;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link.nav2:hover, .nav-link.nav2.active {
  color: var(--n-primary) !important;
  background: var(--n-bg-alt);
}
.navbar-toggler-custom {
  border: 1px solid var(--n-border);
  border-radius: 9px;
  padding: 0.45rem 0.55rem;
}
.navbar-toggler-custom .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--n-navy);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 9.5rem 0 5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.10), transparent 45%),
    radial-gradient(circle at 10% 25%, rgba(21, 94, 239, 0.10), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--n-bg) 100%);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  border: 1px solid #dbe6ff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--n-navy);
}
.hero p { color: var(--n-slate); }

/* Hero visual */
.hero-mock-card {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 30px 60px -30px rgba(11, 27, 51, 0.35);
}
.badge-soft {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a7f4b;
  background: #e7f8ef;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.mock-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--n-bg-alt);
  margin-bottom: 0.55rem;
}
.hero-float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  box-shadow: 0 18px 36px -22px rgba(11, 27, 51, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--n-navy);
  line-height: 1.15;
}
.hero-float-badge.badge-1 { top: 8%; right: -18px; }
.hero-float-badge.badge-2 { bottom: 10%; left: -18px; }

/* Icon boxes */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.icon-box-primary { background: var(--n-bg-alt); color: var(--n-primary); }
.icon-box-secondary { background: #f4f0ff; color: var(--n-secondary); }
.icon-box-success { background: #e7f8ef; color: #0a7f4b; }

/* Logo cloud */
.logo-cloud-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93a1b8;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: "Sora", sans-serif;
  opacity: 0.85;
}

/* Sections */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 2.75rem; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--n-navy);
  margin-bottom: 0.6rem;
}
.section-subtitle { color: var(--n-slate); font-size: 1.02rem; max-width: 620px; }
.card-link-arrow {
  color: var(--n-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.card-link-arrow i { transition: transform 0.15s ease; }
.card-link-arrow:hover i { transform: translateX(4px); }

/* Premium cards */
.card-premium {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(11, 27, 51, 0.35);
  border-color: #cfdcf5;
}
.card-title { font-size: 1.08rem; font-weight: 700; color: var(--n-navy); margin-bottom: 0.5rem; }
.card-premium p { color: var(--n-slate); font-size: 0.92rem; }

/* Check list */
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: var(--n-slate);
}
.list-check li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--n-bg-alt);
  color: var(--n-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.rounded-img { border-radius: 18px; box-shadow: 0 30px 60px -34px rgba(11, 27, 51, 0.4); }

/* Stats */
.stats-strip { border-top: 1px solid var(--n-border); border-bottom: 1px solid var(--n-border); }
.stat-number { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 800; color: var(--n-primary); }
.stat-label { color: var(--n-slate); font-size: 0.9rem; }

/* Process */
.process-step {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
}
.process-number {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--n-primary);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}
.process-step p { color: var(--n-slate); font-size: 0.92rem; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--n-primary) 0%, var(--n-secondary) 100%);
  border-radius: 22px;
  padding: 3rem;
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(21, 94, 239, 0.55);
}
.cta-section p { color: rgba(255, 255, 255, 0.85); }
.cta-section .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--n-primary);
  box-shadow: none;
}
.cta-section .btn-primary:hover { background: #eef3ff; border-color: #eef3ff; }

/* Footer */
.footer-nexora {
  background: var(--n-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}
.footer-nexora h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-nexora a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.15s ease;
}
.footer-nexora a:hover { color: #fff; }
.footer-nexora .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.footer-nexora .social-icon:hover { background: var(--n-primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
}
.footer-bottom a { display: inline; margin: 0; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--n-primary);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(21, 94, 239, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 575.98px) {
  .hero { padding-top: 8rem; }
  .cta-section { padding: 2rem; }
  .hero-float-badge { display: none !important; }
}
