/**
 * m-id — зөвхөн нийтийн вэб (нүүр хуудас) — шинэ загвар
 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

body.m-id-web.m-id-landing {
  --web-bg: #e8ece9;
  --web-surface: #f7f9f8;
  --web-ink: #0c1210;
  --web-muted: #5c6d68;
  --web-teal: #0d9488;
  --web-teal-dark: #0f766e;
  --web-teal-light: #5eead4;
  --web-amber: #f59e0b;
  --web-card-border: rgba(12, 18, 16, 0.08);
  --web-radius: 1.25rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(13, 148, 136, 0.09), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(245, 158, 11, 0.06), transparent 50%),
    linear-gradient(180deg, var(--web-bg) 0%, #dfe6e3 100%);
  color: var(--web-ink);
}

body.m-id-web.m-id-landing .navbar-toggler {
  border-color: rgba(12, 18, 16, 0.12);
}

body.m-id-web.m-id-landing .navbar-toggler-icon {
  filter: invert(0.25);
}

/* Навигаци */
body.m-id-web .m-id-nav-landing {
  background: rgba(247, 249, 248, 0.82) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--web-card-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

body.m-id-web .m-id-nav-landing .nav-link {
  color: var(--web-muted) !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.5rem;
  transition: color 0.15s ease, background 0.15s ease;
}

body.m-id-web .m-id-nav-landing .nav-link:hover {
  color: var(--web-teal-dark) !important;
  background: rgba(13, 148, 136, 0.08);
}

body.m-id-web .m-id-logo {
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.5rem;
}

body.m-id-web .m-id-logo span {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero — хар ногоон гүн */
body.m-id-web .m-id-hero-wrap {
  background:
    radial-gradient(ellipse 100% 80% at 90% 10%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(245, 158, 11, 0.1), transparent 50%),
    linear-gradient(165deg, #042f2e 0%, #0d4d4a 38%, #115e59 72%, #134e4a 100%);
  color: #ecfdf5;
}

body.m-id-web .m-id-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

body.m-id-web .m-id-hero-wrap .container {
  position: relative;
  z-index: 1;
}

body.m-id-web .m-id-hero-blob {
  z-index: 0;
  background: radial-gradient(circle at 40% 40%, rgba(94, 234, 212, 0.25), rgba(13, 148, 136, 0.08) 50%, transparent 72%);
  filter: blur(3px);
  opacity: 0.9;
}

body.m-id-web .m-id-eyebrow {
  color: var(--web-teal-light);
  letter-spacing: 0.14em;
}

body.m-id-web .m-id-hero-title {
  color: #f0fdfa;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

body.m-id-web .m-id-hero-lead {
  color: rgba(236, 253, 245, 0.88);
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

body.m-id-web .m-id-hero-wrap .btn-primary.m-id-btn-primary {
  --bs-btn-bg: #f59e0b;
  --bs-btn-border-color: #f59e0b;
  --bs-btn-hover-bg: #d97706;
  --bs-btn-hover-border-color: #d97706;
  color: #0c1210 !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.55);
}

body.m-id-web .m-id-hero-wrap .btn-outline-dark {
  color: #ecfdf5 !important;
  border-color: rgba(236, 253, 245, 0.45) !important;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

body.m-id-web .m-id-hero-wrap .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(236, 253, 245, 0.65) !important;
  color: #fff !important;
}

/* QR баннер — цайвар карта */
body.m-id-web .m-id-qr-jump-banner {
  background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 45%, #99f6e4 100%);
  color: #042f2e;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px -12px rgba(4, 47, 46, 0.35);
  animation: m-id-web-float 3s ease-in-out infinite;
}

body.m-id-web .m-id-qr-jump-banner:hover {
  color: #042f2e;
  box-shadow: 0 24px 56px -10px rgba(4, 47, 46, 0.4);
}

body.m-id-web .m-id-qr-jump-banner__icon {
  background: rgba(13, 148, 136, 0.2);
  color: #0f766e;
}

body.m-id-web .m-id-qr-jump-banner__cta {
  background: #042f2e;
  color: #f0fdfa;
}

body.m-id-web .m-id-qr-jump-banner__cta i {
  color: #5eead4;
}

@keyframes m-id-web-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.m-id-web .m-id-qr-jump-banner {
    animation: none;
  }
}

/* Онцлогууд */
body.m-id-web .m-id-section-title {
  color: var(--web-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.m-id-web #features .text-muted {
  color: var(--web-muted) !important;
}

body.m-id-web .m-id-card {
  background: var(--web-surface);
  border: 1px solid var(--web-card-border);
  border-radius: var(--web-radius);
  box-shadow: 0 4px 24px rgba(12, 18, 16, 0.06);
}

body.m-id-web .m-id-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.2);
}

body.m-id-web .m-id-feature-icon {
  border-radius: 1rem;
}

body.m-id-web .m-id-feature-icon.bg-primary {
  background: rgba(13, 148, 136, 0.12) !important;
  color: var(--web-teal-dark) !important;
}

body.m-id-web .m-id-feature-icon.text-primary {
  color: var(--web-teal-dark) !important;
}

body.m-id-web .m-id-feature-icon.bg-success {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #b45309 !important;
}

body.m-id-web .m-id-feature-icon.text-success {
  color: #b45309 !important;
}

body.m-id-web .m-id-feature-icon.bg-info {
  background: rgba(13, 148, 136, 0.1) !important;
  color: #0e7490 !important;
}

body.m-id-web .m-id-feature-icon.text-info {
  color: #0e7490 !important;
}

/* Мэдээ / зөөлөн хэсэг */
body.m-id-web .m-id-section-muted {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, rgba(232, 236, 233, 0.5) 100%);
}

body.m-id-web .m-id-section-muted .m-id-card {
  border-radius: var(--web-radius);
}

/* Үнэ */
body.m-id-web #pricing .text-muted {
  color: var(--web-muted) !important;
}

body.m-id-web .m-id-pricing-card {
  background: var(--web-surface);
  border-radius: var(--web-radius);
  border: 1px solid var(--web-card-border);
  box-shadow: 0 4px 20px rgba(12, 18, 16, 0.05);
}

body.m-id-web .m-id-pricing-card:hover {
  box-shadow: 0 16px 40px -8px rgba(13, 148, 136, 0.15);
}

body.m-id-web .m-id-pricing-featured {
  border: 2px solid rgba(13, 148, 136, 0.45);
  background: linear-gradient(165deg, #f7f9f8 0%, rgba(204, 251, 241, 0.5) 100%);
  box-shadow: 0 20px 50px -15px rgba(13, 148, 136, 0.25);
}

body.m-id-web .m-id-pricing-featured .text-primary {
  color: var(--web-teal-dark) !important;
}

body.m-id-web .m-id-badge-soft {
  background: rgba(13, 148, 136, 0.15) !important;
  color: var(--web-teal-dark) !important;
}

body.m-id-web .m-id-pricing-list .bi-check2.text-primary {
  color: var(--web-teal-dark) !important;
}

/* Холбоо барих */
body.m-id-web #contact .text-muted {
  color: var(--web-muted) !important;
}

body.m-id-web #contact .m-id-btn-primary {
  --bs-btn-bg: var(--web-teal-dark);
  --bs-btn-border-color: var(--web-teal-dark);
  --bs-btn-hover-bg: #115e59;
  --bs-btn-hover-border-color: #115e59;
  color: #fff !important;
}

body.m-id-web #contact .form-control {
  border-color: rgba(12, 18, 16, 0.12);
  background: #fff;
}

body.m-id-web #contact .form-control:focus {
  border-color: var(--web-teal);
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
}

/* Доод CTA */
body.m-id-web .m-id-cta-gradient {
  background: linear-gradient(135deg, #042f2e 0%, #0d9488 48%, #0f766e 100%);
  border-radius: var(--web-radius);
  box-shadow: 0 24px 56px -16px rgba(4, 47, 46, 0.45);
}

body.m-id-web .m-id-cta-gradient::before {
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(94, 234, 212, 0.2), transparent 55%);
}

body.m-id-web .m-id-cta-gradient .btn-light {
  color: #042f2e !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.m-id-web .m-id-cta-gradient .btn-light:hover {
  background: #f0fdfa !important;
}

/* Footer */
body.m-id-web .m-id-footer-landing {
  background: linear-gradient(180deg, #0c1917 0%, #042f2e 100%);
  border-top: 1px solid rgba(94, 234, 212, 0.12);
  color: rgba(236, 253, 245, 0.85);
}

body.m-id-web .m-id-footer-landing .m-id-logo span {
  background: linear-gradient(135deg, #5eead4, #ccfbf1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.m-id-web .m-id-footer-landing .text-muted {
  color: rgba(167, 243, 208, 0.75) !important;
}

body.m-id-web .m-id-footer-landing a {
  color: rgba(204, 251, 241, 0.9) !important;
}

body.m-id-web .m-id-footer-landing a:hover {
  color: #fff !important;
}

body.m-id-web .m-id-footer-landing .link-secondary {
  color: rgba(167, 243, 208, 0.85) !important;
}

body.m-id-web .m-id-footer-landing--minimal .m-id-footer-copy {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(204, 251, 241, 0.95);
  margin-bottom: 0;
}

body.m-id-web .m-id-footer-landing--minimal .m-id-footer-copy--sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(167, 243, 208, 0.82);
}

/* Нав дээрх үндсэн товч */
body.m-id-web .m-id-nav-landing .m-id-btn-primary {
  --bs-btn-bg: var(--web-teal-dark);
  --bs-btn-border-color: var(--web-teal-dark);
  --bs-btn-hover-bg: #115e59;
  --bs-btn-hover-border-color: #115e59;
  color: #fff !important;
  border-radius: 0.65rem;
  font-weight: 700;
}

/* Alert-ууд */
body.m-id-web .alert-success {
  background: rgba(13, 148, 136, 0.12) !important;
  border: 1px solid rgba(13, 148, 136, 0.25) !important;
  color: #115e59 !important;
}

body.m-id-web .alert-warning {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #92400e !important;
}
