:root {
  --brand: #1a56db;
  --brand-dark: #123fac;
  --brand-light: #eaf0fe;
  --navy: #0d1b2e;
  --navy-soft: #16283f;
  --teal: #0ea5b7;
  --amber: #f59e0b;
  --green: #16a34a;
  --ink: #101828;
  --ink-soft: #475467;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
}

/* Navbar (тъмна навигация) */
.navbar-dark-navy {
  background-color: var(--navy);
}

.navbar-dark-navy .brand-icon {
  color: #ffffff;
}

.navbar-dark-navy .navbar-brand span {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}

.navbar-dark-navy .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.navbar-dark-navy .nav-link.active,
.navbar-dark-navy .nav-link:hover {
  color: #ffffff;
}

/* Бутони - пили форма, с малко живот при hover */
.btn {
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(26, 86, 219, 0.45);
}

.btn-outline-secondary {
  color: var(--ink);
  border-color: #d0d5dd;
}

.btn-outline-secondary:hover {
  background-color: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.25);
}

/* Square-ish бутон вариант за navbar login (по-различна форма от pill-а) */
.btn-navlogin {
  border-radius: 8px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-navlogin:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

a.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

a.footer-link:hover {
  color: #ffffff;
}

.bg-soft {
  background-color: #f6f8fc;
}

.section-title {
  font-weight: 600;
  font-size: 1.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
}

.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
}

.hero .blob-1 {
  width: 420px;
  height: 420px;
  background: var(--brand);
  top: -160px;
  right: -120px;
}

.hero .blob-2 {
  width: 320px;
  height: 320px;
  background: var(--teal);
  bottom: -140px;
  left: -100px;
  opacity: 0.25;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.badge-soft {
  display: inline-block;
  background-color: rgba(26, 86, 219, 0.18);
  color: #a9c2f7;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

/* Hero mock dashboard preview */
.hero-mock {
  max-width: 420px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hero-mock-header {
  background: #f2f4f7;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #e4e7ec;
}

.hero-mock-header .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot-red { background: #f97066; }
.dot-amber { background: #fdb022; }
.dot-green { background: #32d583; }

.hero-mock-body {
  padding: 1.25rem;
  color: var(--ink);
}

.mock-chip {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.mock-kpi {
  background: #f6f8fc;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}

.mock-kpi-label {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.mock-kpi-value {
  font-size: 1rem;
  font-weight: 600;
}

.mock-chart {
  width: 100%;
  height: 90px;
}

/* ---------- Quick check form (overlaps hero bottom edge) ---------- */
.quickcheck-wrap {
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
}

.quickcheck-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px -18px rgba(13, 27, 46, 0.25);
  padding: 1.5rem 1.75rem;
}

.quickcheck-card .form-control {
  border-radius: 10px;
  border-color: #d0d5dd;
  padding: 0.65rem 0.9rem;
}

.quickcheck-card .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(26, 86, 219, 0.15);
}

/* ---------- Stats strip ---------- */
.stat-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Цветови варианти за икони (иконки, статистики, стъпки) */
.icon-blue   { background: var(--brand-light); color: var(--brand); }
.icon-teal   { background: #e3f6f8; color: var(--teal); }
.icon-amber  { background: #fef3e2; color: var(--amber); }
.icon-green  { background: #e8f7ec; color: var(--green); }

/* ---------- Feature cards ---------- */
.feature-card {
  background: #ffffff;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(16, 24, 40, 0.18);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ---------- Steps (zigzag numbers) ---------- */
.step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid #eaecf0;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-number.n1 { background: var(--brand); }
.step-number.n2 { background: var(--teal); }
.step-number.n3 { background: var(--amber); }

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  padding: 2.5rem 2rem 2.25rem;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
}

.pricing-ribbon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
}

.pricing-currency {
  font-size: 1.5rem;
  vertical-align: top;
  position: relative;
  top: 0.5rem;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-features li {
  padding: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pricing-features i {
  color: var(--green);
  margin-right: 0.5rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, var(--navy) 100%);
  overflow: hidden;
}

.cta-band .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  background: var(--teal);
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -80px;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Auth pages (login / register) ---------- */
.auth-section {
  position: relative;
  padding: 4rem 0;
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  background: #eef1f8;
  overflow: hidden;
}

.auth-section .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.auth-section .blob-1 {
  width: 460px;
  height: 460px;
  background: var(--brand);
  opacity: 0.16;
  top: -180px;
  left: -140px;
}

.auth-section .blob-2 {
  width: 380px;
  height: 380px;
  background: var(--teal);
  opacity: 0.14;
  bottom: -160px;
  right: -120px;
}

.auth-section .container {
  position: relative;
  z-index: 1;
}

.auth-card {
  max-width: 920px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(13, 27, 46, 0.25);
}

.auth-side {
  background: linear-gradient(160deg, var(--navy) 0%, var(--brand-dark) 100%);
  padding: 3rem 2.5rem;
  position: relative;
}

.auth-side::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.18;
  filter: blur(50px);
  bottom: -80px;
  left: -60px;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.badge-soft-light {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.auth-benefits {
  position: relative;
  z-index: 1;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.auth-benefits i {
  color: var(--teal);
}

.auth-form-wrap {
  padding: 3rem 2.5rem;
}

@media (max-width: 991.98px) {
  .hero-title { font-size: 2.1rem; }
  .hero { padding: 3.5rem 0 6rem; text-align: center; }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .quickcheck-wrap { margin-top: -3rem; }
  .auth-form-wrap { padding: 2.25rem 1.5rem; }
}
