/* ========================================
   WEBHUK ERP - CONSOLIDATED STYLES
   Bootstrap 5.3.3 Compatible
   Extracted from all -old.html files
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  /* Colors */
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --text: #0f172a;
  --muted: #475569;
  --muted2: #64748b;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow2: 0 8px 22px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 45px rgba(2, 6, 23, 0.12);
  --primary: #045394;
  --primary-dark: #033d6d;
  --primary2: #045394;
  --secondary: #0b1220;
  --accent-red: #ea2d1c;
  --ring: rgba(4, 83, 148, 0.25);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px; /* Base font size - consistent across all pages */
  background:
    radial-gradient(1200px 520px at 10% 0%, rgba(4, 83, 148, 0.08), transparent 60%),
    radial-gradient(1000px 480px at 92% 10%, rgba(234, 45, 28, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
/* Container uses Bootstrap default max-width, just override padding */
.container {
  padding: 0 10px;
}

/* Responsive padding for mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: 92px 0;
}

.section-sm {
  padding: 70px 0;
}

.section-pad {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.center {
  text-align: center;
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */
.text-muted-2 {
  color: var(--muted2) !important;
}

.kicker {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h2 {
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b1220;
  margin-top: 10px;
}

.sub {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-link {
  color: rgba(15, 23, 42, 0.72) !important;
  font-weight: 700;
}

.nav-link:hover {
  color: rgba(15, 23, 42, 0.95) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #111827;
  font-weight: 600;
  opacity: 0.9;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.04);
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================================
   BRAND / LOGO
   ======================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #0668b8, var(--primary));
  box-shadow: 0 10px 22px rgba(4, 83, 148, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.brand span {
  font-size: 1.1rem;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0668b8);
  color: #fff;
  box-shadow: 0 10px 18px rgba(4, 83, 148, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(4, 83, 148, 0.28);
}

.btn-primary-webhuk {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border: 0;
  box-shadow: 0 10px 22px rgba(4, 83, 148, 0.22);
  font-weight: 900;
  color: #fff !important;
}

.btn-primary-webhuk:hover {
  filter: brightness(1.03);
  color: #fff !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: rgba(4, 83, 148, 0.35);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(4, 83, 148, 0.06);
  transform: translateY(-1px);
}

.btn-outline-webhuk {
  border: 1px solid var(--border);
  background: #fff;
  color: rgba(15, 23, 42, 0.85);
  font-weight: 900;
}

.btn-outline-webhuk:hover {
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.95);
}

/* ========================================
   DROPDOWN MEGA MENU (SOLUTIONS)
   ======================================== */

/* Default hidden - JS adds/removes .show */
.dropdown-menu {
  display: none;
  margin-top: 0 !important;
}

.dropdown-menu.show {
  display: block !important;
}

/* Mobile overrides */
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
  }
}

.dropdown-menu-solutions {
  min-width: 600px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.dropdown-item-mega {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(15, 23, 42, 0.85);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  margin-bottom: 4px;
}

.dropdown-item-mega:hover {
  background: rgba(4, 83, 148, 0.08);
  color: var(--primary);
}

.dropdown-item-mega.active {
  background: rgba(4, 83, 148, 0.12);
  color: var(--primary);
}

.mega-arrow {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.1rem;
}

.border-start-md {
  border-left: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  /* Mobile menu scrolling */
  .navbar-collapse {
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem !important;
  }
  
  .navbar-nav {
    width: 100%;
    min-height: auto !important;
  }

  /* Mobile mega menu layout */
  .dropdown-menu-solutions {
    min-width: unset !important;
    width: 100% !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    border: none !important;
    box-shadow: none !important;
    background: rgba(248, 250, 252, 0.5) !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    position: static !important;
  }
  
  .dropdown-menu-solutions .row {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .dropdown-menu-solutions .col-md-6 {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .dropdown-item-mega {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    margin-bottom: 0.15rem !important;
  }
  
  .border-start-md {
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
  
  .mega-arrow {
    font-size: 0.9rem !important;
    margin-right: 0.25rem !important;
  }
  
  /* Ensure buttons are visible on mobile */
  .navbar-nav .btn {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0 !important;
    justify-content: center;
  }
  
  .navbar-nav .ms-lg-2 {
    margin-left: 0 !important;
  }
  
  /* Language dropdown on mobile */
  .dropdown-menu-end {
    max-height: 200px !important;
    overflow-y: auto !important;
  }
  
  /* Reduce nav item spacing on mobile */
  .nav-item {
    margin-bottom: 0.25rem;
  }
  
  .nav-link {
    padding: 0.65rem 1rem !important;
  }
}

@media (max-width: 767px) {
  .dropdown-menu-solutions {
    min-width: 100%;
  }
}


/* ========================================
   PILL / BADGE COMPONENTS
   ======================================== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.05);
  font-weight: 650; /* Standardized from dashboard */
  color: #0f172a;
  width: fit-content;
  white-space: nowrap;
  font-size: 0.92rem; /* Standardized from dashboard */
  line-height: 1.2;
}

.pill i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(4, 83, 148, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(4, 83, 148, 0.10);
  border: 1px solid rgba(4, 83, 148, 0.18);
  color: var(--primary2);
  flex: 0 0 auto;
}

.icon-badge-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(4, 83, 148, 0.08);
  border: 1px solid rgba(4, 83, 148, 0.15);
  color: var(--primary2);
  font-size: 1.75rem;
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(4, 83, 148, 0.1);
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-weight: 800;
  font-size: 0.9rem;
  color: #0f172a;
}

.badge i {
  color: var(--primary);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  font-weight: 800;
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.70);
}

/* ========================================
   CARD STYLES
   ======================================== */
.card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4, 83, 148, 0.3);
}

.card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.card .link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 900;
}

.card .link:hover {
  text-decoration: underline;
}

.card-soft {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.card-hover {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ========================================
   KPI CARDS (for Tradeboard/Dashboard pages)
   ======================================== */
.kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.kpi .icon-badge {
  flex: 0 0 auto;
}

.kpi .n {
  font-weight: 900;
  font-size: 0.95rem;
  color: #0b1220;
  margin-bottom: 2px;
}

.kpi .t {
  font-size: 0.85rem;
  color: var(--muted2);
  font-weight: 600;
  line-height: 1.4;
}

/* ========================================
   FRAME & PLACEHOLDER (for screenshots/demos)
   ======================================== */
.frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.placeholder {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  color: rgba(15, 23, 42, 0.55);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.01));
  font-weight: 900;
  font-size: 1rem;
}

/* ========================================
   SECURITY PAGE COMPONENTS
   ======================================== */
.sec-box {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 24px;
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 900;
  font-size: 1.1rem;
  color: #0b1220;
}

.sitem {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.sitem:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sitem .icon-badge {
  flex: 0 0 auto;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(4, 83, 148, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  border: 1px solid rgba(4, 83, 148, 0.15);
}

.kbd {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: #0b1220;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  font-family: monospace;
}

/* ========================================
   HR & PAYROLL PAGE COMPONENTS
   ======================================== */
.payroll-box {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 24px;
}

.payroll-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 900;
  font-size: 1.1rem;
  color: #0b1220;
}

.pitem {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.pitem:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pitem .icon-badge {
  flex: 0 0 auto;
}

/* ========================================
   TAX/MULTI-JURISDICTION PAGE COMPONENTS
   ======================================== */
.rule-box {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 24px;
}

.rule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 900;
  font-size: 1.1rem;
  color: #0b1220;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.rule-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rule-item .icon-badge {
  flex: 0 0 auto;
}

/* ========================================
   MULTI-CURRENCY FX TABLE
   ======================================== */
.fx-table {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.fx-table .r {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.fx-table .r:last-child {
  border-bottom: none;
}

.fx-table .r.row-head {
  background: rgba(4, 83, 148, 0.05);
  border-bottom: 2px solid var(--border);
}

.fx-table .r.row-head .c {
  font-weight: 900;
  color: #0b1220;
  font-size: 0.9rem;
}

.fx-table .c {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted2);
  border-right: 1px solid rgba(226, 232, 240, 0.4);
}

.fx-table .c:last-child {
  border-right: none;
}

.fx-table .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.fx-table .tag.ok {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.fx-table .tag.warn {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Responsive FX Table */
@media (max-width: 768px) {
  .fx-table .r {
    grid-template-columns: 1fr;
  }
  
  .fx-table .c {
    border-right: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
  }
  
  .fx-table .c:last-child {
    border-bottom: none;
  }
  
  .fx-table .r {
    border-bottom: 2px solid var(--border);
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 28px 0 34px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 12% 18%, rgba(4, 83, 148, 0.16), transparent 60%),
    radial-gradient(700px 380px at 88% 22%, rgba(234, 45, 28, 0.12), transparent 60%),
    linear-gradient(to bottom, #f8fbff, #ffffff);
}

.hero h1 {
  margin-top: 14px;
  font-size: 2.8rem; /* Standardized across all pages */
  line-height: 1.15;
  letter-spacing: -0.6px; /* Consistent with dashboard */
  color: #1e293b;
  font-weight: 800;
}

.hero p {
  margin-top: 16px;
  font-size: 1.1rem; /* Standardized to match dashboard hero-lead */
  line-height: 1.65;
  color: #475569;
  max-width: 640px;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.1rem; /* Standardized from dashboard */
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding-top: 18px;
}

.hero-row {
  align-items: stretch !important;
}

.hero-left,
.hero-right {
  height: 100%;
}

.hero-right .card-soft {
  height: 100%;
}

.hero-ctas {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Reduce button size in hero for better alignment */
.hero-ctas .btn {
  padding: 12px 24px; /* Reduced from Bootstrap default */
  font-size: 0.95rem;
}

.hero-ctas .btn-lg {
  padding: 12px 28px; /* Reduced from default btn-lg */
  font-size: 1rem;
}

/* Reduce font size for feature list items to keep them inline */
.d-flex.flex-wrap.gap-3.text-muted-2.small {
  font-size: 0.75rem !important; /* Smaller than default small */
}

.d-flex.flex-wrap.gap-3.text-muted-2.small span {
  white-space: nowrap;
}

/* Decrease font sizes for better inline flow */
.d-flex.flex-wrap.gap-3.text-muted-2.small {
  font-size: 0.7rem !important; /* Smaller font size */
}

.d-flex.flex-wrap.gap-2 .btn-lg {
  padding: 9px 18px !important; /* Slightly smaller buttons */
  font-size: 0.85rem !important;
  white-space: nowrap;
}

.d-flex.flex-wrap.gap-2 .btn {
  padding: 7px 14px !important; /* Slightly smaller buttons */
  font-size: 0.8rem !important;
  white-space: nowrap;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-meta i {
  color: var(--primary);
}

.hero-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  min-width: 0;
}

.hero-card .top {
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ========================================
   DASHBOARD CAROUSEL STYLES
   ======================================== */
#dashboardCarousel {
  position: relative;
  overflow: hidden;
}

#dashboardCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

#dashboardCarousel .carousel-item img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

#dashboardCarousel .carousel-item a:hover img {
  transform: scale(1.02);
}

#dashboardCarousel .carousel-indicators {
  margin-bottom: 12px;
}

#dashboardCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(4, 83, 148, 0.4);
  border: none;
  transition: all 0.3s ease;
}

#dashboardCarousel .carousel-indicators button.active {
  width: 24px;
  border-radius: 5px;
  background-color: #045394;
}

#dashboardCarousel .carousel-control-prev,
#dashboardCarousel .carousel-control-next {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#dashboardCarousel .carousel-control-prev:hover,
#dashboardCarousel .carousel-control-next:hover {
  opacity: 1;
}

#dashboardCarousel .carousel-caption {
  text-shadow: none;
}

/* ========================================
   MOCK / DEMO ELEMENTS
   ======================================== */
.mini-actions {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.dot.green {
  background: #34d399;
}

.dot.yellow {
  background: #fbbf24;
}

.dot.red {
  background: #fb7185;
}

.mock {
  padding: 16px;
}

.mock-inner {
  height: 360px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02)),
    radial-gradient(900px 420px at 20% 10%, rgba(4, 83, 148, 0.16), transparent 45%),
    radial-gradient(700px 420px at 90% 40%, rgba(234, 45, 28, 0.12), transparent 52%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #0f172a;
  text-align: center;
  padding: 22px;
}

.mock-inner strong {
  font-size: 1.05rem;
}

.mock-inner small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.mock-badges {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px; /* Reduced from 10px */
  flex-wrap: wrap;
  justify-content: center;
}

/* Reduce badge size for single-row display */
.mock-badges .badge {
  font-size: 0.8rem; /* Reduced for better fit */
  padding: 6px 10px; /* Reduced from default */
  white-space: nowrap;
}

.mock-badges a.badge {
  text-decoration: none;
  transition: all 0.2s ease;
}

.mock-badges a.badge:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(4, 83, 148, 0.15);
}

.alt-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* ========================================
   LOGOS STRIP
   ======================================== */
.logos {
  padding: 8px 0 56px;
}

.logos .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 22px rgba(2, 6, 23, 0.05);
}

.logos .hint {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  flex: 1;
}

.logos .items {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  color: #94a3b8;
  font-weight: 900;
  flex: 2;
}

.logo-box {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(248, 250, 252, 0.7);
  min-width: 108px;
  text-align: center;
}

.logo-box:hover {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.logo-box img.client-logo {
  max-height: 45px;
  width: auto;
  max-width: 100%;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo-box:hover img.client-logo {
  opacity: 0.95;
  filter: grayscale(0%);
}

/* ========================================
   GRID SYSTEM
   ======================================== */
.grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  min-width: 0;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-12 {
  grid-column: span 12;
}

/* ========================================
   STATS / OUTCOMES
   ======================================== */
.stats {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 18px;
  box-shadow: 0 12px 22px rgba(2, 6, 23, 0.05);
  min-width: 0;
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: #0b1220;
}

.stat small {
  color: var(--muted);
  font-weight: 700;
}

/* ========================================
   STEPS / HOW IT WORKS (Grid variant for homepage)
   ======================================== */
.how-it-works {
  background: linear-gradient(to bottom, #f8fbff, #ffffff);
}

.steps-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 0;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(4, 83, 148, 0.12);
  border-color: rgba(4, 83, 148, 0.3);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(4, 83, 148, 0.08);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(4, 83, 148, 0.15);
}

.step-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0b1220;
  margin-top: 0;
  margin-bottom: 12px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.975rem;
}

/* List variant (for support pages with .head and .item) */
.steps {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow2);
}

.step {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.04);
  padding: 24px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 83, 148, 0.12);
  border-color: rgba(4, 83, 148, 0.3);
}

.step:hover .num {
  background: rgba(4, 83, 148, 0.12);
  color: var(--primary);
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 83, 148, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-bottom: 0;
  line-height: 1;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.step p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========================================
   STEPS LIST VARIANT (for support/guide pages)
   ======================================== */
.steps .head {
  padding: 14px 16px;
  background: rgba(4, 83, 148, 0.06);
  border-bottom: 1px solid var(--border);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.steps .item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.steps .item:first-child {
  border-top: 0;
}

.steps .num {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(4, 83, 148, 0.10);
  border: 1px solid rgba(4, 83, 148, 0.18);
  color: var(--primary-dark);
  font-weight: 900;
  flex: 0 0 auto;
}

/* ========================================
   PRICE TAG (for quote cards)
   ======================================== */
.price-tag {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-tag .big {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.price-tag .small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ========================================
   MINI INFO BOXES
   ======================================== */
.mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

/* ========================================
   TIMELINE / DAY STEPS (for 7-day challenge)
   ======================================== */
.timeline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow2);
}

.timeline .head {
  padding: 16px 20px;
  background: rgba(4, 83, 148, 0.06);
  border-bottom: 1px solid var(--border);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline .day {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.timeline .day:first-of-type {
  border-top: none;
}

.timeline .day .num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 83, 148, 0.10);
  border: 2px solid rgba(4, 83, 148, 0.18);
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(4, 83, 148, 0.08);
  border: 1px solid rgba(4, 83, 148, 0.15);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-soft i {
  font-size: 0.9rem;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison {
  background: var(--bg-soft);
}

.table-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  text-align: left;
}

th {
  background: rgba(248, 250, 252, 0.9);
  color: #0b1220;
  font-weight: 900;
}

tr:last-child td {
  border-bottom: none;
}

.hilite {
  background: rgba(4, 83, 148, 0.06);
  border-left: 3px solid rgba(4, 83, 148, 0.6);
  border-right: 3px solid rgba(4, 83, 148, 0.6);
  font-weight: 900;
}

.ok {
  color: #10b981;
}

.no {
  color: #ea2d1c;
}

.warn {
  color: #f59e0b;
}

/* ========================================
   PRICING
   ======================================== */
section.pricing {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 80px 0;
}

.pricing-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 0;
}

.pricing-grid-4 {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-width: 0;
}

.price-card {
  border-radius: var(--radius);
  background: #fff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06) !important;
  padding: 28px !important;
  position: relative;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.12) !important;
}

.price-card.popular {
  border-color: rgba(4, 83, 148, 0.35) !important;
  box-shadow: 0 18px 45px rgba(4, 83, 148, 0.18) !important;
  transform: scale(1.02);
  padding-top: 50px !important;
}

.price-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 22px 50px rgba(4, 83, 148, 0.25) !important;
}

.ribbon {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 83, 148, 0.1);
  color: var(--primary);
  border: 1px solid rgba(4, 83, 148, 0.25);
  padding: 6px 12px;
  font-weight: 900;
  border-radius: 999px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  z-index: 10;
}

.price-card h3 {
  font-size: 1.3rem !important;
  font-weight: 900 !important;
  color: #0b1220 !important;
  margin-bottom: 0 !important;
}

.price {
  margin-top: 12px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0b1220;
  line-height: 1.2;
}

.price small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 800;
}

.price-card ul {
  margin-top: 20px;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.5;
}

.price-card li i {
  margin-top: 3px;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.price-card .btn {
  margin-top: 24px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background:
    radial-gradient(800px 400px at 15% 15%, rgba(4, 83, 148, 0.12), transparent 60%),
    radial-gradient(700px 400px at 85% 50%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(135deg, #1e2433, #0f1419);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.04), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04), transparent 45%);
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials h2 {
  color: #fff;
}

.quote-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-width: 0;
}

.quote {
  border-radius: var(--radius);
  background: rgba(45, 55, 72, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 24px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quote p {
  color: #e2e8f0;
  font-weight: 650;
}

.quote .who {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 800;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.25);
  flex: 0 0 auto;
}

/* Use existing customer images for avatars - target by quote position */
.quote-grid .quote:nth-child(1) .avatar {
  background-image: url('../images/customer-one.webp');
}

.quote-grid .quote:nth-child(2) .avatar {
  background-image: url('../images/customer-two.webp');
}

.quote-grid .quote:nth-child(3) .avatar {
  background-image: url('../images/customer-three.webp');
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq {
  background: #fff;
}

.faq-wrap {
  margin-top: 26px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  overflow: hidden;
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 900;
  color: #0b1220;
  font-size: 1.02rem;
}

.faq-q span {
  opacity: 0.95;
}

.faq-a {
  padding: 0 18px 16px;
  color: var(--muted);
  font-weight: 650;
  display: none;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .chev {
  transform: rotate(180deg);
}

.chev {
  transition: transform 0.18s ease;
  color: var(--primary);
}

/* ========================================
   BOOTSTRAP ACCORDION CUSTOM STYLING
   Match Homepage FAQ Style
   ======================================== */
.accordion {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  background: #fff;
  color: #0b1220;
  font-weight: 900;
  font-size: 1.02rem;
  padding: 18px 18px;
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--primary);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.accordion-button::after {
  background-image: none;
  content: '\F282';
  font-family: 'bootstrap-icons';
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.18s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-button:hover {
  background: rgba(4, 83, 148, 0.02);
}

.accordion-body {
  padding: 0 18px 18px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.accordion-collapse {
  border: none;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  background:
    radial-gradient(800px 400px at 15% 15%, rgba(4, 83, 148, 0.12), transparent 60%),
    radial-gradient(700px 400px at 85% 50%, rgba(234, 45, 28, 0.08), transparent 60%),
    linear-gradient(135deg, #1e2433, #0f1419);
  color: #e2e8f0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(4, 83, 148, 0.04), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(234, 45, 28, 0.04), transparent 45%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-box {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
}

.cta-box h3 {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.cta-box p {
  margin-top: 6px;
  color: #cbd5e1;
  font-weight: 650;
  max-width: 640px;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================
   FORM CONTROLS
   ======================================== */
.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0.75rem 0.85rem; /* Reduced from 0.85rem for better alignment */
  font-size: 0.95rem; /* Slightly smaller for consistency */
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(4, 83, 148, 0.25);
  outline: 0;
}

/* ========================================
   BLOG / POST CARDS
   ======================================== */
.post-card .thumb {
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 220px at 20% 20%, rgba(4, 83, 148, 0.18), transparent 60%),
    radial-gradient(500px 220px at 80% 10%, rgba(234, 45, 28, 0.12), transparent 55%),
    #fff;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.post-meta {
  font-size: 0.88rem;
  color: var(--muted2);
}

.post-title {
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.post-title:hover {
  text-decoration: underline;
}

/* ========================================
   STICKY CTA
   ======================================== */
.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-cta a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.0rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: rgba(15, 23, 42, 0.90);
  box-shadow: var(--shadow2);
  font-weight: 900;
}

.sticky-cta a.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px rgba(4, 83, 148, 0.22);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #070c16;
  color: #94a3b8;
  padding: 64px 0 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  min-width: 0;
}

.foot-grid h4 {
  color: #fff;
  margin-bottom: 14px;
}

.foot-grid a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 0;
}

.link-soft {
  color: rgba(15, 23, 42, 0.65);
  text-decoration: none;
  font-weight: 800;
}

.link-soft:hover {
  color: rgba(15, 23, 42, 0.95);
  text-decoration: underline;
}

/* ========================================
   HONEYPOT FIELD (SPAM PROTECTION)
   ======================================== */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 2.7rem;
  }
  table {
    min-width: 720px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 92px;
  }
  .hero-row {
    align-items: initial !important;
  }
}

@media (max-width: 980px) {
  .hero {
    padding: 56px 0 26px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mock-inner {
    height: 320px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .price-card.popular {
    transform: scale(1);
  }
  .price-card.popular:hover {
    transform: translateY(-4px);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .span-4 {
    grid-column: span 6;
  }
  .span-6 {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn-outline {
    display: none;
  }
  .nav-cta .btn-primary {
    padding: 10px 14px;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
  .section-sm {
    padding: 56px 0;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  /* Carousel responsive adjustments */
  #dashboardCarousel .carousel-caption {
    display: none !important;
  }
  #dashboardCarousel .carousel-control-prev,
  #dashboardCarousel .carousel-control-next {
    width: 40px;
  }
  .mock-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
  .mock-badges .badge {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  .logos .row {
    justify-content: center;
    text-align: center;
    gap: 12px;
    flex-direction: column;
  }
  .logos .hint {
    text-align: center;
    width: 100%;
  }
  .logos .items {
    justify-content: center;
    width: 100%;
  }
  .logo-box {
    min-width: 100px;
    flex: 1;
  }
  .logo-box img.client-logo {
    max-height: 35px;
  }
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  th,
  td {
    padding: 14px 14px;
  }
  table {
    min-width: 680px;
  }
}

@media (max-width: 575px) {
  .sticky-cta {
    right: 12px;
    bottom: 12px;
  }
  .post-card .thumb {
    height: 160px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .mock-inner {
    height: 280px;
    padding: 18px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .brand span {
    font-size: 1.05rem;
  }
  .brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .cta-box {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
  .pill {
    font-size: 0.9rem;
  }
  .hero-meta span {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ========================================
   BLOG DETAIL PAGE STYLES
   ======================================== */

/* Article Cover (placeholder when no featured image) */
.article-cover {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(4, 83, 148, 0.1) 0%, rgba(234, 45, 28, 0.1) 100%);
  border-radius: 22px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.cover-tags .tag {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Article Wrap */
.article-wrap {
  line-height: 1.8;
  color: var(--text);
}

.article-wrap h2,
.article-wrap h3,
.article-wrap h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text);
}

.article-wrap h2 {
  font-size: 1.75rem;
}

.article-wrap h3 {
  font-size: 1.5rem;
}

.article-wrap h4 {
  font-size: 1.25rem;
}

.article-wrap p {
  margin-bottom: 1.25rem;
}

.article-wrap ul,
.article-wrap ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-wrap li {
  margin-bottom: 0.5rem;
}

.article-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.article-wrap a {
  color: var(--primary);
  text-decoration: underline;
}

.article-wrap a:hover {
  color: var(--primary-dark);
}

.article-wrap blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
}

.article-wrap code {
  background: var(--bg-soft);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-red);
}

.article-wrap pre {
  background: var(--bg-soft);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-wrap pre code {
  background: none;
  padding: 0;
  color: var(--text);
}

/* Table of Contents */
.toc {
  background: var(--bg-soft);
}

.toc a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--primary);
}

.toc a i {
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
