/* =========================================================
   CloudBill - Core Stylesheet
   ========================================================= */

:root {
  --cb-sidebar-width: 260px;
  --cb-sidebar-bg: #101828;
  --cb-primary: #2563eb;
  --cb-primary-dark: #1d4ed8;
  --cb-primary-soft: #eff6ff;
  --cb-accent: #06b6d4;
  --cb-text-muted: #667085;
  --cb-body-bg: #f4f6fb;
  --cb-card-border: #e7eaf3;
  --cb-radius: 14px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--cb-body-bg);
  color: #1e2530;
}

a { text-decoration: none; }

/* ---------- Layout shell ---------- */
.cb-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--cb-sidebar-width);
  background: linear-gradient(180deg, var(--cb-sidebar-bg) 0%, #0b1220 100%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.cb-sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 22px; color: #fff; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cb-sidebar-brand .cb-logo-dot {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; color: #fff;
}

.cb-sidebar-nav { flex: 1; overflow-y: auto; padding: 16px 12px; }

.cb-nav-label {
  color: #5b667a; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; padding: 14px 12px 6px;
}

.cb-sidebar-nav .nav-link {
  display: flex; align-items: center; gap: 12px;
  color: #a7b0c2; padding: 10px 14px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; margin-bottom: 2px;
  transition: all 0.15s ease;
}
.cb-sidebar-nav .nav-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.cb-sidebar-nav .nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.cb-sidebar-nav .nav-link.active {
  background: var(--cb-primary); color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.cb-sidebar-footer {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  color: #5b667a; font-size: 0.75rem;
}

/* ---------- Topbar ---------- */
.cb-topbar {
  position: sticky; top: 0; z-index: 1020;
  background: #fff; border-bottom: 1px solid var(--cb-card-border);
  padding: 14px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.cb-topbar .cb-page-title { font-size: 1.15rem; font-weight: 700; margin: 0; }

#cbSidebarToggle {
  border: none; background: transparent; font-size: 1.3rem;
  color: #344054; display: none;
}

.cb-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cb-primary-soft); color: var(--cb-primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* ---------- Main content ---------- */
.cb-main { margin-left: var(--cb-sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.cb-content { padding: 26px; flex: 1; }

@media (max-width: 991.98px) {
  .cb-sidebar { transform: translateX(-100%); }
  .cb-sidebar.cb-sidebar-open { transform: translateX(0); }
  .cb-main { margin-left: 0; }
  #cbSidebarToggle { display: inline-flex; align-items: center; }
}

.cb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.45); z-index: 1025;
}
.cb-overlay.cb-overlay-show { display: block; }

/* ---------- Cards / stats ---------- */
.cb-card {
  background: #fff; border: 1px solid var(--cb-card-border);
  border-radius: var(--cb-radius); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.cb-card-body { padding: 22px; }
.cb-stat-card { padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.cb-stat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0;
}
.cb-stat-icon.bg-blue   { background: #eff6ff; color: #2563eb; }
.cb-stat-icon.bg-green  { background: #ecfdf3; color: #16a34a; }
.cb-stat-icon.bg-amber  { background: #fffaeb; color: #d97706; }
.cb-stat-icon.bg-purple { background: #f4f3ff; color: #7c3aed; }
.cb-stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.cb-stat-label { color: var(--cb-text-muted); font-size: 0.85rem; }
.cb-section-title { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.cb-section-sub { color: var(--cb-text-muted); font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn-primary { background-color: var(--cb-primary); border-color: var(--cb-primary); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--cb-primary-dark); border-color: var(--cb-primary-dark); }
.btn-cb-outline { border: 1px solid var(--cb-card-border); color: #344054; background: #fff; }
.btn-cb-outline:hover { background: #f9fafb; color: #101828; }

/* ---------- Tables ---------- */
.table.cb-table thead th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--cb-text-muted); border-bottom-width: 1px; font-weight: 600;
}
.table.cb-table td, .table.cb-table th { vertical-align: middle; padding: 14px 16px; }
.badge.cb-badge-active   { background: #ecfdf3; color: #16a34a; font-weight: 600; }
.badge.cb-badge-pending  { background: #fffaeb; color: #d97706; font-weight: 600; }
.badge.cb-badge-inactive { background: #fef2f2; color: #dc2626; font-weight: 600; }

/* ---------- Auth pages ---------- */
.cb-auth-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at top left, #16233f 0%, #0b1220 55%, #0b1220 100%);
  padding: 30px 16px;
}
.cb-auth-card {
  width: 100%; max-width: 430px; background: #fff; border-radius: 18px;
  padding: 40px 36px; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.cb-auth-card.cb-auth-wide { max-width: 620px; }
.cb-auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.cb-auth-brand .cb-logo-dot {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-accent));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem;
}
.cb-auth-title { font-weight: 700; font-size: 1.4rem; margin-bottom: 4px; }
.cb-auth-sub { color: var(--cb-text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.cb-auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--cb-text-muted); font-size: 0.8rem; font-weight: 600;
}
.cb-auth-divider::before, .cb-auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #e4e7ec;
}
.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid #d0d5dd; background: #fff; color: #344054; border-radius: 10px;
}
.btn-google:hover, .btn-google:focus {
  background: #f9fafb; color: #101828; border-color: #98a2b3;
}

.form-label { font-weight: 600; font-size: 0.86rem; color: #344054; }
.form-control, .form-select { padding: 10px 14px; border-radius: 10px; border: 1px solid #d0d5dd; }
.form-control:focus, .form-select:focus {
  border-color: var(--cb-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cb-landing-navbar { background: #0b1220; }
.cb-landing-navbar .cb-logo-dot {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-accent));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}

/* ---------- Shared public bits ---------- */
.cb-home-kicker {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cb-primary); margin-bottom: 0.65rem;
}
.cb-home-title {
  font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em;
  color: #0b1220; margin: 0 0 0.65rem; line-height: 1.2;
}
.cb-home-footer {
  background: #070b14; color: rgba(226,232,240,0.75); padding: 2rem 0 1.5rem;
}
.cb-home-footer a { color: rgba(226,232,240,0.85); text-decoration: none; }
.cb-home-footer a:hover { color: #fff; }
.cb-home-footer-bottom {
  font-size: 0.85rem; color: rgba(148,163,184,0.85);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between;
}
.cb-public-page { min-height: 100vh; display: flex; flex-direction: column; background: #f4f6fb; }
.cb-public-page > .container { flex: 1; }

/* Blog cards */
.cb-blog-card {
  background: #fff; border: 1px solid #e7eaf3; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cb-blog-card:hover { box-shadow: 0 14px 36px rgba(15,23,42,0.08); transform: translateY(-2px); }
.cb-blog-card-media {
  display: block; aspect-ratio: 16/10; background: #eef2ff; overflow: hidden;
}
.cb-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-blog-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #93c5fd; font-size: 2rem;
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
}
.cb-blog-card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cb-blog-card-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cb-primary); margin-bottom: 0.45rem;
}
.cb-blog-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.45rem; line-height: 1.35; }
.cb-blog-card-title a { color: #0b1220; }
.cb-blog-card-title a:hover { color: var(--cb-primary); }
.cb-blog-card-excerpt {
  color: #64748b; font-size: 0.92rem; line-height: 1.5; margin: 0 0 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cb-blog-card-meta {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; font-size: 0.82rem; color: #94a3b8;
}
.cb-blog-card-meta a { color: var(--cb-primary); font-weight: 600; }
.cb-blog-body { font-size: 1.02rem; line-height: 1.7; color: #334155; }

/* Marketplace cards (public) */
.cb-mp-card {
  background: #fff; border: 1px solid #e7eaf3; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cb-mp-card:hover { box-shadow: 0 14px 36px rgba(15,23,42,0.08); transform: translateY(-2px); }
.cb-mp-card-media {
  display: block; aspect-ratio: 16/10; background: #eef2ff; overflow: hidden;
}
.cb-mp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-mp-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #93c5fd; font-size: 2rem;
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
}
.cb-mp-card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cb-mp-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.45rem; line-height: 1.35; }
.cb-mp-card-title a { color: #0b1220; }
.cb-mp-card-title a:hover { color: var(--cb-primary); }
.cb-mp-card-excerpt {
  color: #64748b; font-size: 0.92rem; line-height: 1.5; margin: 0 0 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cb-mp-card-meta {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
}
.cb-hp-cat-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin: -0.5rem auto 1.75rem; max-width: 900px;
}

/* ---------- Homepage shell (left nav) ---------- */
.cb-hp {
  --hp-sidebar: 240px;
  --hp-ink: #0b1220;
  --hp-muted: #64748b;
  --hp-line: #e7eaf3;
  --hp-soft: #f4f6fb;
  background: #fff;
  color: var(--hp-ink);
  min-height: 100vh;
}
.cb-hp-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--hp-sidebar);
  background: linear-gradient(180deg, #101828 0%, #0b1220 100%);
  color: #fff; z-index: 1040;
  display: flex; flex-direction: column; padding: 1.35rem 1rem 1.15rem;
  transition: transform 0.25s ease;
}
.cb-hp-brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em;
  padding: 0 0.4rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
}
.cb-hp-brand .cb-logo-dot,
.cb-hp-footer-brand .cb-logo-dot {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-accent));
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem;
}
.cb-hp-nav { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; overflow-y: auto; }
.cb-hp-nav a {
  display: flex; align-items: center; gap: 0.7rem;
  color: rgba(255,255,255,0.72); padding: 0.65rem 0.85rem; border-radius: 10px;
  font-weight: 500; font-size: 0.92rem;
}
.cb-hp-nav a i { font-size: 1.05rem; opacity: 0.9; width: 1.2rem; text-align: center; }
.cb-hp-nav a:hover, .cb-hp-nav a.active {
  background: rgba(37,99,235,0.18); color: #fff;
}
.cb-hp-sidebar-foot {
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.cb-hp-main { margin-left: var(--hp-sidebar); min-height: 100vh; }

/* Top navigation layout */
.cb-hp--top .cb-hp-main { margin-left: 0; }
.cb-hp-topnav {
  position: sticky; top: 0; z-index: 1040;
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.55rem 0;
}
.cb-hp-topnav .navbar-brand { letter-spacing: -0.02em; }
.cb-hp-topnav .cb-logo-dot {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-accent));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.cb-hp-topnav .nav-link {
  color: rgba(255,255,255,0.72) !important;
  font-weight: 500; font-size: 0.92rem;
  padding: 0.4rem 0.85rem !important;
}
.cb-hp-topnav .nav-link:hover { color: #fff !important; }

.cb-hp-topbar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--hp-line);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 30;
}
.cb-hp-menu-btn {
  display: none; border: 0; background: #eff6ff; color: var(--cb-primary);
  width: 2.35rem; height: 2.35rem; border-radius: 10px; font-size: 1.25rem;
}
.cb-hp-topbar-brand { font-weight: 800; color: var(--hp-ink); text-decoration: none; }
.cb-hp-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 1035;
}
.cb-hp-hero {
  display: grid; gap: 2rem; align-items: center;
  padding: 3rem 1.5rem 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(37,99,235,0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(6,182,212,0.08), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
@media (min-width: 992px) {
  .cb-hp-hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 4rem 3rem 4.5rem;
    min-height: min(72vh, 560px);
  }
}
.cb-hp-hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 1rem;
  animation: cbHpFade 0.65s ease both;
}
.cb-hp-hero-copy p {
  color: var(--hp-muted); font-size: 1.08rem; line-height: 1.6;
  max-width: 34rem; margin: 0 0 1.5rem;
  animation: cbHpFade 0.65s ease 0.1s both;
}
.cb-hp-hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  animation: cbHpFade 0.65s ease 0.18s both;
}
.cb-hp-hero-actions .btn { font-weight: 600; min-width: 9.5rem; }
.cb-hp-hero-visual { position: relative; min-height: 260px; animation: cbHpFade 0.8s ease 0.15s both; }
.cb-hp-hero-panel {
  background: #0b1220; color: #fff; border-radius: 18px; padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 24px 50px rgba(15,23,42,0.22); max-width: 380px; margin-left: auto;
}
.cb-hp-hero-panel-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.cb-hp-hero-panel-bar span {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2);
}
.cb-hp-hero-panel-bar span:first-child { background: #f87171; }
.cb-hp-hero-panel-bar span:nth-child(2) { background: #fbbf24; }
.cb-hp-hero-panel-bar span:nth-child(3) { background: #34d399; }
.cb-hp-hero-stat {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.9rem; color: rgba(226,232,240,0.9);
  padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cb-hp-hero-stat i { color: #60a5fa; }
.cb-hp-hero-chart {
  display: flex; align-items: flex-end; gap: 0.45rem; height: 90px; margin-top: 1rem;
}
.cb-hp-hero-chart span {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #60a5fa, #2563eb); opacity: 0.9;
}
.cb-hp-float {
  position: absolute; background: #fff; border: 1px solid var(--hp-line);
  border-radius: 12px; padding: 0.55rem 0.8rem; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 10px 28px rgba(15,23,42,0.1); display: flex; align-items: center; gap: 0.4rem;
}
.cb-hp-float i { color: var(--cb-primary); }
.cb-hp-float-1 { top: 8%; left: 0; animation: cbHpFloat 3.5s ease-in-out infinite; }
.cb-hp-float-2 { bottom: 12%; left: 8%; animation: cbHpFloat 4s ease-in-out 0.6s infinite; }
@keyframes cbHpFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cbHpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.cb-hp-section { padding: 3.5rem 1.5rem; }
@media (min-width: 992px) { .cb-hp-section { padding: 4rem 3rem; } }
.cb-hp-section-soft { background: var(--hp-soft); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.cb-hp-section-head { text-align: center; margin-bottom: 2.25rem; }
.cb-hp-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.5rem;
}
.cb-hp-section-head p { color: var(--hp-muted); margin: 0 auto; max-width: 34rem; }
.cb-hp-plans {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1100px; margin: 0 auto; align-items: stretch;
}
.cb-hp-plan {
  position: relative; background: #fff; border: 1px solid var(--hp-line);
  border-radius: 18px; padding: 1.5rem 1.35rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cb-hp-plan:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,23,42,0.08); }
.cb-hp-plan.is-popular {
  background: linear-gradient(165deg, #0b1220, #13203a); color: #fff; border-color: transparent;
  box-shadow: 0 18px 44px rgba(15,23,42,0.2);
}
.cb-hp-plan.is-popular .cb-hp-plan-cat,
.cb-hp-plan.is-popular .cb-hp-plan-desc,
.cb-hp-plan.is-popular ul { color: rgba(226,232,240,0.78); }
.cb-hp-plan.is-popular h3,
.cb-hp-plan.is-popular .cb-hp-plan-price { color: #fff; }
.cb-hp-plan.is-popular ul li i { color: #93c5fd; }
.cb-hp-plan-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--cb-primary); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.cb-hp-plan-cat { font-size: 0.78rem; font-weight: 700; color: var(--cb-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.cb-hp-plan h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.cb-hp-plan-price { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.cb-hp-plan-price small { font-size: 0.82rem; font-weight: 500; color: #94a3b8; }
.cb-hp-plan.is-popular .cb-hp-plan-price small { color: rgba(226,232,240,0.65); }
.cb-hp-plan-desc { font-size: 0.9rem; color: var(--hp-muted); margin: 0; line-height: 1.45; }
.cb-hp-plan ul { list-style: none; padding: 0; margin: 0 0 0.5rem; flex: 1; }
.cb-hp-plan ul li {
  display: flex; gap: 0.45rem; align-items: flex-start;
  font-size: 0.9rem; color: #475569; margin-bottom: 0.4rem;
}
.cb-hp-plan ul li i { color: #16a34a; margin-top: 0.15rem; }
.cb-hp-features {
  display: grid; gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.cb-hp-feature {
  background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; padding: 1.25rem 1.2rem;
}
.cb-hp-feature-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.65rem;
  background: rgba(37,99,235,0.1); color: var(--cb-primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 0.75rem;
}
.cb-hp-feature h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.35rem; }
.cb-hp-feature p { margin: 0; color: var(--hp-muted); font-size: 0.92rem; line-height: 1.5; }
.cb-hp-blog {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px; margin: 0 auto;
}
.cb-hp-faq { max-width: 760px; margin: 0 auto; }
.cb-hp-faq .accordion-item {
  border: 1px solid var(--hp-line); border-radius: 12px !important; overflow: hidden; margin-bottom: 0.65rem;
  background: #fff;
}
.cb-hp-faq .accordion-button {
  font-weight: 700; font-size: 0.98rem; box-shadow: none !important; background: #fff;
}
.cb-hp-faq .accordion-button:not(.collapsed) { color: var(--cb-primary); background: #f8fafc; }
.cb-hp-faq .accordion-body { color: var(--hp-muted); font-size: 0.95rem; line-height: 1.55; }
.cb-hp-cta {
  margin: 0 1.5rem 2.5rem; padding: 2.25rem 1.75rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 100% at 15% 50%, rgba(37,99,235,0.4), transparent 55%),
    linear-gradient(135deg, #0b1220, #13203a);
  color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}
@media (min-width: 992px) { .cb-hp-cta { margin: 0 3rem 3rem; padding: 2.5rem 2.5rem; } }
.cb-hp-cta h2 { font-size: 1.55rem; font-weight: 800; margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.cb-hp-cta p { margin: 0; color: rgba(226,232,240,0.8); }
.cb-hp-footer {
  background: #070b14; color: rgba(226,232,240,0.75); padding: 3rem 1.5rem 1.5rem;
}
@media (min-width: 992px) { .cb-hp-footer { padding: 3rem 3rem 1.5rem; } }
.cb-hp-footer a { color: rgba(226,232,240,0.85); text-decoration: none; }
.cb-hp-footer a:hover { color: #fff; }
.cb-hp-footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .cb-hp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 992px) {
  .cb-hp-footer-grid.cb-hp-footer-grid-4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.cb-hp-footer-brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem;
}
.cb-hp-footer p { font-size: 0.92rem; max-width: 22rem; margin: 0; line-height: 1.55; }
.cb-hp-footer h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin: 0 0 0.85rem;
}
.cb-hp-footer ul { list-style: none; padding: 0; margin: 0; }
.cb-hp-footer li { margin-bottom: 0.45rem; }
.cb-hp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.15rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(148,163,184,0.85);
}
@media (max-width: 991px) {
  .cb-hp--left .cb-hp-sidebar { transform: translateX(-105%); }
  .cb-hp--left .cb-hp-sidebar.is-open { transform: translateX(0); }
  .cb-hp--left .cb-hp-main { margin-left: 0; }
  .cb-hp--left .cb-hp-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-hp-hero-copy h1, .cb-hp-hero-copy p, .cb-hp-hero-actions, .cb-hp-hero-visual,
  .cb-hp-float-1, .cb-hp-float-2 { animation: none; }
  .cb-hp-plan, .cb-blog-card { transition: none; }
  .cb-hp-plan:hover, .cb-blog-card:hover { transform: none; }
}
