:root {
  --brand: #6f42c1;
  --brand-dark: #4b2882;
  --sidebar-bg: #1c1f2e;
  --sidebar-hover: #262b3f;
  --sidebar-active: #6f42c1;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f5f6fa;
  color: #1f2230;
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #1b1035 0%, #2a1c56 55%, #4b2882 100%);
  color: #fff;
  padding: 90px 0;
}
.hero-title { font-size: 3rem; font-weight: 800; line-height: 1.1; }
.hero-subtitle { font-size: 1.15rem; color: #d7d2e8; max-width: 560px; margin-top: 16px; }
.hero-illustration { font-size: 12rem; text-align: center; color: #a689ff; opacity: .8; }
.section-title { font-weight: 700; letter-spacing: -.5px; }

/* Feature Cards */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(31,34,48,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,34,48,.1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(111,66,193,.12); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}

/* Plan Cards */
.plan-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 22px rgba(31,34,48,.06);
  border: 1px solid #ececff;
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(111,66,193,.16); }
.plan-header h5 { font-weight: 700; margin: 0 0 6px; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--brand); }
.plan-price small { font-size: .95rem; font-weight: 500; color: #8890a6; }
.plan-specs { list-style: none; padding: 0; margin: 18px 0 0; }
.plan-specs li { padding: 6px 0; font-size: .95rem; color: #454b60; }
.plan-specs i { color: var(--brand); width: 20px; }
.plan-features { list-style: none; padding: 0; margin: 12px 0 0; }
.plan-features li { padding: 4px 0; font-size: .9rem; color: #5c6376; }
.plan-features i { margin-right: 6px; }

/* Step Cards */
.step-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 16px rgba(31,34,48,.06); height: 100%;
}
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; margin-bottom: 12px;
}

/* Dashboard layout */
.dash-wrapper { display: flex; min-height: calc(100vh - 56px); }
.dash-sidebar {
  width: 250px; background: var(--sidebar-bg); color: #c7cbe0;
  flex-shrink: 0; padding: 20px 0;
}
.dash-sidebar .sidebar-brand {
  padding: 10px 20px 20px; font-weight: 700; color: #fff;
  font-size: 1.05rem; border-bottom: 1px solid #2c3145; margin-bottom: 12px;
}
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li a {
  display: flex; gap: 12px; padding: 11px 20px; color: #c7cbe0;
  text-decoration: none; font-size: .94rem; border-left: 3px solid transparent;
  transition: background .12s ease, color .12s ease;
}
.sidebar-nav li a:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-nav li.active a {
  background: var(--sidebar-hover); color: #fff;
  border-left-color: var(--sidebar-active);
}
.sidebar-nav i { width: 20px; text-align: center; }
.dash-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-topbar {
  background: #1b1e2b; color: #fff; padding: 12px 22px;
  display: flex; align-items: center; gap: 12px;
}
.dash-content { padding: 22px; }

/* Stat Cards */
.stat-card {
  background: #fff; padding: 18px; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(31,34,48,.05);
  display: flex; align-items: center; gap: 14px;
  height: 100%;
}
.stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.stat-label { font-size: .78rem; text-transform: uppercase; color: #8890a6; letter-spacing: .04em; }
.stat-value { font-size: 1.35rem; font-weight: 700; color: #1f2230; }

/* Responsive */
@media (max-width: 991px) {
  .dash-sidebar { position: fixed; top: 56px; left: 0; bottom: 0; z-index: 1040; transform: translateX(-100%); transition: transform .2s ease; }
  .dash-sidebar.open { transform: translateX(0); }
  .hero-title { font-size: 2.1rem; }
}

/* Tables */
.table > :not(caption) > * > * { padding: .65rem .75rem; }
.table thead th { font-size: .78rem; text-transform: uppercase; color: #8890a6; letter-spacing: .04em; }