:root {
  --primary: #1d4ed8;
  --primary-dark: #163fae;
  --primary-soft: #eaf2ff;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #0ea5e9;
  --dark: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
}

main {
  flex: 1 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.navbar {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -.02em;
}

.nav-link {
  font-weight: 600;
  color: #334155 !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  padding: 110px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 18px 0;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, .8);
}

.stat-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  height: 100%;
}

.stat-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.feature-icon,
.service-icon,
.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.card-primary,
.card-success,
.card-warning,
.card-danger {
  position: relative;
  background: #fff;
}

.card-primary::before,
.card-success::before,
.card-warning::before,
.card-danger::before {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
}

.card-primary::before {
  background: var(--primary);
}

.card-success::before {
  background: var(--success);
}

.card-warning::before {
  background: var(--warning);
}

.card-danger::before {
  background: var(--danger);
}

.btn {
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
  border-width: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  box-shadow: 0 10px 18px rgba(29, 78, 216, .18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #22c55e);
  box-shadow: 0 10px 18px rgba(22, 163, 74, .18);
}

.btn-outline-primary {
  border: 1px solid rgba(29, 78, 216, .2);
  color: var(--primary);
  background: #fff;
}

.btn-outline-primary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #334155;
}

.page-header {
  padding: 120px 0 50px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
}

.page-header p {
  color: var(--muted);
  max-width: 760px;
}

.pricing-card {
  height: 100%;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(29, 78, 216, .15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primary);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
}

.price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
}

.price small {
  font-size: 1rem;
  color: var(--muted);
}

.table-pricing {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table-pricing th {
  background: #eff6ff;
  color: var(--dark);
  font-weight: 800;
}

.logo-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  filter: grayscale(100%);
  transition: .3s ease;
  font-weight: 800;
  color: #94a3b8;
  overflow: hidden;
  padding: 12px 18px;
  text-align: center;
}

.logo-box:hover {
  filter: grayscale(0%);
  transform: translateY(-4px);
  color: var(--primary);
}

.client-logo {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1.3;
  width: 100%;
  height: 100%;
  padding: 6px;
  font-size: 1rem;
  word-break: break-word;
}

.contact-box,
.about-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.footer {
  margin-top: auto;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0;
  color: rgba(255, 255, 255, .72);
}

.footer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: .85rem 1rem;
  border: 1px solid #dbe3ef;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(29, 78, 216, .35);
  box-shadow: 0 0 0 .2rem rgba(29, 78, 216, .10);
}

.soft-bg {
  background: #f8fbff;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  border-radius: 28px;
  padding: 3rem;
}

.cta-section p {
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .logo-box {
    height: 100px;
    padding: 10px 14px;
  }

  .client-logo {
    max-height: 36px;
  }

  .logo-fallback {
    font-size: .95rem;
  }
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -.02em;
  text-decoration: none;
}

.navbar-logo {
  max-height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-logo-fallback {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}
.license-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(8px);
  z-index: 2000;
}

.license-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.license-modal-card {
  width: 100%;
  max-width: 860px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .22);
  animation: licenseModalIn .25s ease;
}

@keyframes licenseModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.license-modal-top {
  padding: 30px 32px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border-bottom: 1px solid var(--border);
}

.license-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.license-badge-expired {
  background: rgba(220, 38, 38, .10);
  color: #dc2626;
}

.license-badge-trial {
  background: rgba(245, 158, 11, .14);
  color: #b45309;
}

.license-badge-info {
  background: rgba(29, 78, 216, .10);
  color: #1d4ed8;
}

.license-modal-title {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
}

.license-modal-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 720px;
}

.license-modal-body {
  padding: 28px 32px 32px;
}

.license-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.license-info-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.license-info-label {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .03em;
}

.license-info-value {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  word-break: break-word;
}

.license-modal-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 24px;
}

.license-modal-panel h5 {
  font-weight: 800;
  margin-bottom: 10px;
}

.license-modal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.license-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.license-modal-actions .btn {
  padding: 14px 22px;
}

@media (max-width: 768px) {
  .license-modal-top,
  .license-modal-body {
    padding: 22px 18px;
  }

  .license-modal-title {
    font-size: 1.55rem;
  }

  .license-info-grid {
    grid-template-columns: 1fr;
  }

  .license-modal-actions {
    flex-direction: column;
  }

  .license-modal-actions .btn {
    width: 100%;
  }
}
.license-modal-backdrop,
.license-modal-wrap {
  transition: opacity .2s ease, visibility .2s ease;
}

.license-modal-backdrop.is-hidden,
.license-modal-wrap.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.license-modal-wrap.is-hidden {
  display: none !important;
}

.license-modal-backdrop.is-hidden {
  display: none !important;
}


.support-user-card{
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px 18px;
    border-radius:20px;
    background:linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border:1px solid rgba(13,110,253,.12);
    box-shadow:0 10px 30px rgba(13,110,253,.08);
}

.support-user-avatar{
    flex:0 0 72px;
    width:72px;
    height:72px;
}

.support-user-avatar img,
.support-user-avatar-placeholder{
    width:72px;
    height:72px;
    border-radius:18px;
    object-fit:cover;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0d6efd;
    color:#fff;
    font-size:28px;
    font-weight:700;
    box-shadow:0 8px 20px rgba(13,110,253,.18);
}

.support-user-content{
    flex:1 1 auto;
    min-width:0;
}

.support-user-label{
    font-size:.8rem;
    font-weight:600;
    color:#6c757d;
    margin-bottom:4px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.support-user-name{
    font-size:1.1rem;
    font-weight:700;
    color:#1f2d3d;
    margin:0;
}

.support-user-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.support-user-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(13,110,253,.12);
    text-decoration:none;
    color:#2c3e50;
    font-size:.92rem;
    transition:all .2s ease;
}

.support-user-link:hover{
    border-color:rgba(13,110,253,.35);
    box-shadow:0 6px 16px rgba(13,110,253,.08);
    transform:translateY(-1px);
    color:#0d6efd;
}

@media (max-width: 576px){
    .support-user-card{
        flex-direction:column;
        align-items:flex-start;
    }

    .support-user-avatar{
        width:64px;
        height:64px;
        flex-basis:64px;
    }

    .support-user-avatar img,
    .support-user-avatar-placeholder{
        width:64px;
        height:64px;
        border-radius:16px;
    }

    .support-user-meta{
        flex-direction:column;
        width:100%;
    }

    .support-user-link{
        width:100%;
        justify-content:flex-start;
    }
}