/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --brand: #059669;
  --brand-dark: #047857;
  --brand-xdark: #064e3b;
  --brand-light: #ecfdf5;
  --brand-mid: #a7f3d0;   
  --accent: #0f7a5b;
  --navy: #0d1b2a;
  --navy2: #1a2f42;
  --navy3: #243b50;
  --sidebar-w: 272px;
  --topbar-h: 72px;
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #f1f5f9;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --text: #1e293b;
  --text2: #475569;
  --text3: #94a3b8;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --r: 8px;
  --r2: 12px;
  --mono: 'Cascadia Code', 'Fira Mono', 'Courier New', monospace;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html {
  font-size: 15px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: #f8fafc;
  line-height: 1.7;
  overflow-x: hidden;
}
/* ── TOPBAR (Website Header Matching) ── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.05);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.topbar-brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #059669, #0284c7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.topbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.topbar-brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.topbar-brand-sub {
  font-size: 0.55rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar-nav-item {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.topbar-nav-item:hover {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.06);
}

.topbar-nav-item.active {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.topbar-btn {
  background: #10b981;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
  white-space: nowrap;
}

.topbar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.4);
}

.menu-toggle {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: #e2e8f0;
}

.theme-btn {
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.theme-btn:hover {
  background: #e2e8f0;
}

/* ── SHELL ── */
.shell {
  display: flex;
  padding-top: 72px;
  min-height: 100vh;
  background: #f8fafc;
}
/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: 72px;
  left: 0;
  bottom: 0;
  width: 300px;
  padding: 24px 20px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  overflow: auto;
  z-index: 50;
}
.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 4px;
}
.sb-group {
  margin-bottom: 4px;
}
.sb-section {
  font-size: .67rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding: 18px 16px 7px;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  font-size: .855rem;
  color: var(--text2);
  cursor: pointer;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .13s;
  user-select: none;
}
.sb-item i{
    width:20px;
    text-align:center;
    font-size:16px;
}
.sb-item.active{
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color:#ffffff !important;
    font-weight:700;
    padding:10px 16px;
    margin:4px 0;
    border-radius:10px;
    box-shadow:0 6px 16px rgba(5, 150, 105, 0.25);
}
.sb-item:not(.active):hover{
    background: #f1f5f9;
    color:#0f172a;
}
.sb-item.active:hover{
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color:#fff;
}
.sb-item .si {
  font-size: .9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.sb-sub{
    padding-left:8px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .4s cubic-bezier(.4,0,.2,1),
               opacity .3s ease;
}
.sb-sub.open{
    opacity:1;
}
.sb-sub .sb-item {
  font-size: .81rem;
  padding: 5px 16px 5px 34px;
  color: var(--text3);
  border-left: none;
  position: relative;
}
.sb-sub .sb-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border2);
  transform: translateY(-50%);
  transition: background .13s;
}
.sb-sub .sb-item:hover::before {
  background: var(--brand);
}
.sb-sub .sb-item.active{
background:#0abf75;
box-shadow:0 8px 20px rgba(10,191,117,.18);
color:#ffffff !important;
font-weight:700;
border:none;
}
.sb-sub .sb-item.active::before {
  background:#ffffff;
}
.sb-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
/* ── CONTENT ── */
.content {
  flex: 1;
  min-width: 0;
  margin-left: 300px;
}
.content-wrap {
  max-width: 900px;
  padding: 56px 64px 100px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.02);
  border-left: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}
/* ── SECTION VISIBILITY ── */
.doc-page{
display:none;
opacity:0;
transform:translateY(20px);
}
.doc-page.active{
display:block;
opacity:1;
animation:fadePage .45s ease forwards;
}
@keyframes fadePage{
from{
opacity:0;
transform:translateY(30px);
}
100%{
opacity:1;
transform:translateY(0);
}
}
.doc-page{
display:none;
opacity:0;
transform:translateY(20px);
}
/* ── PAGE HEADER ── */
.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
}
.pg-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
h1 {
  font-family: Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #1a1535;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.pg-lead {
  font-size: 1.02rem;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 680px;
}
h2 {
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1535;
  margin: 44px 0 14px;
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 8px;
}
h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 20px 0 8px;
}
p {
  margin-bottom: 14px;
  color: var(--text2);
  font-size: .92rem;
}
/* ── BREADCRUMB ── */
.bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .77rem;
  color: var(--text3);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.bc span {
  cursor: pointer;
  color: var(--brand-dark);
}
.bc span:hover {
  text-decoration: underline;
}
.bc .sep {
  color: var(--border2);
}
/* ── CARDS GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0 32px;
}
.card{
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:20px;
    padding:32px;
    text-decoration:none;
    cursor:pointer;

    box-shadow:0 10px 35px rgba(0,0,0,.06);

    transition:
        background .3s,
        border .3s,
        transform .3s,
        box-shadow .3s;
}
.card:hover{
transform:translateY(-6px);
box-shadow:0 20px 50px rgba(10,191,117,.12);
border:1px solid rgba(10,191,117,.12);
}
.card .c-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.card .c-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.card .c-desc {
  font-size: .8rem;
  color: var(--text3);
  line-height: 1.5;
}
.card.highlight {
  border-color: var(--brand-mid);
  background: var(--brand-light);
}
.card.highlight .c-title {
  color: var(--brand-xdark);
}
/* ── STEPS ── */
.steps {
  margin: 16px 0 32px;
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 22px;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step:last-child::before {
  display: none;
}
.step-n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  font-size: .77rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--brand-light);
}
.step-b {
  flex: 1;
  padding-top: 4px;
}
.step-t {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.step-d {
  font-size: .83rem;
  color: var(--text2);
  line-height: 1.55;
}
/* ── TABLE ── */
.tbl-wrap {
  overflow-x: auto;
  margin: 14px 0 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .855rem;
}
thead tr {
  background: var(--bg3);
}
th {
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: rgba(10, 191, 117, .025);
}
td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
code {
  font-family: var(--mono);
  font-size: .8em;
  background: var(--bg3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #0d9488;
  border: 1px solid var(--border);
}
/* ── CALLOUTS ── */
.note{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:16px 18px;
    margin:24px 0;
    border-left:4px solid;
    border-radius:10px;
    line-height:1.6;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.note.info{
    background:#eff6ff;
    border-color:var(--blue);
    color:#1e40af;
}

.note.warn{
    background:#fffbeb;
    border-color:var(--yellow);
    color:#92400e;
}

.note.tip{
    background:var(--brand-light);
    border-color:var(--brand);
    color:#065f46;
}

.note.danger{
    background:#fef2f2;
    border-color:var(--red);
    color:#991b1b;
}

.note-icon{
    flex-shrink:0;
    width:22px;
    font-size:20px;
    margin-top:2px;
    text-align:center;
}

.note-body{
    flex:1;
    line-height:1.7;
}

.note-body strong{
    font-weight:700;
}

.note-body p{
    margin:6px 0 0;
}
/* ── PILLS ── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .79rem;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand-xdark);
  border: 1px solid var(--brand-mid);
}
.pill.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.pill.purple {
  background: #faf5ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}
.pill.orange {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.pill.gray {
  background: var(--bg3);
  color: var(--text2);
  border-color: var(--border);
}
.pill.red {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.badge.green {
  background: var(--brand-light);
  color: var(--brand-xdark);
}
.badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
}
.badge.gray {
  background: var(--bg3);
  color: var(--text3);
  border: 1px solid var(--border);
}
.badge.red {
  background: #fef2f2;
  color: #b91c1c;
}
/* ── DIVIDER ── */
hr.sec {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
/* ── TEMPLATE TYPE CARDS ── */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 30px;
}
.tpl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px;
  transition: all .2s;
}
.tpl-card:hover {
  border-color: var(--brand-mid);
  box-shadow: 0 4px 16px rgba(10, 191, 117, .09);
}
.tpl-card .tc-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.tpl-card .tc-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.tpl-card ul {
  padding-left: 14px;
}
.tpl-card li {
  font-size: .8rem;
  color: var(--text2);
  margin-bottom: 3px;
}
/* ── NAV FOOTER ── */
.pg-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.pg-nav-btn {
  flex: 1;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pg-nav-btn:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}
.pg-nav-btn .nl {
  font-size: .68rem;
  color: var(--text3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
}
.pg-nav-btn .nt {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.pg-nav-btn.right {
  text-align: right;
}
.pg-nav-btn.left .nl::before {
  content: '← ';
}
.pg-nav-btn.right .nl::after {
  content: ' →';
}
body::before{
content:"";
position:fixed;
top:-80px;
right:-80px;
width:220px;
height:220px;
background:#0abf75;
border-radius:50%;
filter:blur(90px);
opacity:.08;
z-index:-1;
}
/* ── HERO WELCOME ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0d3d2a 100%);
  border-radius: var(--r2);
  padding: 40px 40px 36px;
  margin-bottom: 36px;
  padding:70px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  text-align:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#0f172a 0%,#111827 60%,#0b3d2e 100%);
  color:white;
  box-shadow:0 25px 80px rgba(15,23,42,.25);
}
.hero::before{
content:"";
position:absolute;
width:250px;
filter:blur(90px);
height:250px;
background:radial-gradient(#0abf75,transparent
);
top:-150px;
right:-100px;
opacity:.08;
filter:blur(70px);
animation:move 8s infinite alternate;
}
@keyframes move{
from{
transform:translateY(0);
}
to{
transform:
translateY(60px)
translateX(-50px);
}
}
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.5px;
  font-size:52px;
  line-height:1.1;
  font-weight:900;                              
  line-height:1.05;
}
.hero p {                                         
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 560px;
}
.hero h1 span{
color:#0abf75;
}
.hero p{
font-size:20px;
color:#cbd5e1;
margin-top:20px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  padding: 9px 18px;
  border-radius: var(--r);
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid transparent;
}
.btn.primary:hover {
  background: var(--brand-dark);
}
.btn.ghost {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .15);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, .14);
}
/* ── CHANNEL ROW ── */
.ch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
}
.ch-row:hover {
  border-color: var(--brand-mid);
  background: var(--brand-light);
}
.ch-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ch-info .ch-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.ch-info .ch-desc {
  font-size: .79rem;
  color: var(--text3);
}
.ch-row .ch-arrow {
  margin-left: auto;
  color: var(--text3);
  font-size: .9rem;
}
/* ── STATUS ROW ── */
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.s-dot.green {
  background: #22c55e;
}
.s-dot.yellow {
  background: #f59e0b;
}
.s-dot.red {
  background: #ef4444;
}
.s-dot.gray {
  background: #94a3b8;
}
.s-label {
  font-size: .83rem;
  color: var(--text2);
}
/* ── CODE BLOCK ── */
.code-block {
  background: #0f1c2e;
  border-radius: var(--r);
  padding: 18px 20px;
  margin: 14px 0 24px;
  overflow-x: auto;
}
.code-block pre {
  font-family: var(--mono);
  font-size: .8rem;
  color: #a5f3d0;
  line-height: 1.7;
}
.code-block .cb-lang {
  font-size: .67rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
}
/* ── CONFIG PANEL ── */
.config-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 22px 24px;
  margin: 14px 0 28px;
}
.config-panel h4 {
  margin: 0 0 14px;
}
/* ── SCROLL ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 6px;
}
.page-image{
    margin:25px 0;
    text-align:center;
}
.page-image img{
    width:100%;
    height:auto;
    max-width:900px;
    object-fit:contain;
    border-radius:14px;
    border:1px solid  #e5e7eb;
}
.small-img img{
    width:14%;
    max-width:50px;
}
.stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
margin-top:40px;
}
.stat{
height:180px;
background:var(--bg2);
border:1px solid var(--border);
border-radius:20px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:25px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.3s;
}
.stat:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(10,191,117,.25);
}
.stat h2{
font-size:42px;
font-weight:800;
color:#0abf75;
margin-bottom:10px;
}
.stat p{
font-size:18px;
color:var(--text2);
margin:0;
}
.hero-buttons{
display:flex;
gap:20px;
margin-top:35px;
justify-content:center;
}
.hero-btn{
padding:14px 28px;
border:none;
border-radius:15px;
font-size:16px;
font-weight:700;
cursor:pointer;
transition:.3s;
}
.hero-btn.primary{
background:linear-gradient(135deg,#0abf75,#059669
);
box-shadow:0 12px 30px rgba(10,191,117,.25);
}
.hero-btn.primary:hover{
transform:translateY(-4px);
box-shadow:0 20px 40px rgba(10,191,117,.3);
}
.hero-btn.secondary{
background:transparent;
border:1px solid rgba(255,255,255,.25);
color:white;
}
.theme-btn{
margin-left:auto;
background:#0abf75;
color:white;
border:none;
padding:10px 14px;
border-radius:12px;
cursor:pointer;
font-size:16px;
transition:.4s;
}
.theme-btn:hover{ transform:scale(1.1); transform:rotate(180deg); }
.dark h1,
.dark h2,
.dark h3{
color:white;
}
.dark p{
color:#cbd5e1;
}
.dark table{
background:#1e293b;
}
.dark th{
background:#334155;
color:white;
}
.dark td{
color:#e2e8f0;
}
.page-image img{
width:100%;
border-radius:20px;
transition:.4s;
cursor:pointer;
}
.page-image img:hover{
transform:scale(1.03);
box-shadow:0 20px 50px rgba(0,0,0,.25);
}
body.dark{
--bg:#07140f;
--bg2:#0b1d17;
--bg3:#11261f;
--text:#f5f7fa;
--text2:#c7d2d9;
--text3:#8fa39a;
--border:rgba(255,255,255,.06);
background:radial-gradient(circle at top right,rgba(11,191,117,.14),transparent 20%),
radial-gradient(circle at bottom left,rgba(35,170,110,.10),transparent 30%),
linear-gradient(180deg,#07140f,#0a1713,#0d1c17);
}
body.dark::after{
content:"";
position:fixed;
top:-150px;
right:-150px;
width:350px;
height:350px;
background:#0abf75;
border-radius:50%;
filter:blur(120px);
opacity:.25;
animation:glowMove 8s infinite alternate;
z-index:-1;
}
body.dark::before{
content:"";
position:fixed;
top:-150px;
right:-150px;
width:350px;
height:350px;
border-radius:50%;
background:radial-gradient(rgba(10,191,117,.45),transparent 70%);
filter:blur(80px);
animation:aurora 12s ease-in-out infinite alternate;
z-index:-1;
}
@keyframes aurora{
from{
transform:
translate(0,0)scale(1);
}
to{
transform:translate(-120px,80px)scale(1.2);
}
}
@keyframes glowMove{
from{
transform:translate(0,0);
}
to{
transform:translate(-120px,100px);
}
}
body.dark .card{
    background:#12251f;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);

    backdrop-filter:none;
}
/* ---------- CHANNEL ROW DARK MODE ---------- */

body.dark .ch-row{
    background:rgba(8,22,18,.85);
    border:1px solid rgba(255,255,255,.08);
}

body.dark .ch-row:hover{
    background:rgba(12,35,28,.95);
    border-color:#0abf75;
}

body.dark .ch-icon{
    background:#11261f;
}

body.dark .ch-info .ch-name{
    color:#ffffff;
}

body.dark .ch-info .ch-desc{
    color:#cbd5e1;
}

body.dark .ch-row .ch-arrow{
    color:#94a3b8;
}
/* ===== CARD TEXT FIX ===== */

body.dark .card .c-title{
    color:#ffffff !important;
}

body.dark .card .c-desc{
    color:#cbd5e1 !important;
}
body.dark .card:hover{
    transform:translateY(-8px);
    background:#173128;
    border-color:#0abf75;
    box-shadow:
        0 25px 50px rgba(0,0,0,.45),
        0 0 25px rgba(10,191,117,.15);
}
body.dark h1,
body.dark h2,
body.dark h3{
color:white;
}
body.dark table{
background:var(--bg2);
}
body.dark th{
background:#1e293b;
color:#cbd5e1;
}
body.dark td{
color:#e2e8f0;
border-color:#334155;
}
body.dark .topbar{
background:#020617;
border-bottom:1px solid rgba(255,255,255,.08);
}
body.dark .hero{
background:linear-gradient(135deg,rgba(17,32,26,.95),rgba(10,28,21,.9));
border:1px solid rgba(255,255,255,.05);
box-shadow:0 30px 80px rgba(0,0,0,.35);
}
body.dark .sidebar{
background:linear-gradient(180deg,rgba(10,25,20,.90),rgba(15,35,28,.78));
backdrop-filter:blur(28px);
border:1px solid rgba(255,255,255,.06);
box-shadow:0 30px 80px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.04);
position:fixed;
overflow-y:auto;
}
body.dark .sidebar::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:1px;
background:linear-gradient(90deg,transparent,rgba(126,240,188,.6),transparent);
}
body.dark .sb-item.active{
    background:linear-gradient(90deg,#7FE7AE 0%,#41B966 45%,#238B47 100%);
    color:#fff !important;
    border:none;
    transform:none;
}
body.dark .help-btn,
body.dark .back-top{
background:linear-gradient(135deg,#0abf75,#22c55e);
box-shadow:0 10px 30pxrgba(10,191,117,.28);
}
body.dark::after{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background-image:radial-gradient(white 1px, transparent 1px);
background-size:50px 50px;
opacity:.08;
z-index:-2;
}
body,
.sidebar,
.card,
.topbar,
table,
th,
td,
.hero{
transition:background .35s ease,color .35s ease,border .35s ease,box-shadow .35s ease;
}
body.dark .stat{
border:1px solid #334155;
background:linear-gradient(145deg,#0f172a,#1e293b);
}
.back-top{
position:fixed;
right:18px;
bottom:18px;
width:42px;
height:42px;
border-radius:50%;
background:#0abf75;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
line-height:1;
cursor:pointer;
z-index:999;
box-shadow:0 15px 40px rgba(10,191,117,.35);
opacity:0;
visibility:hidden;
transition:.3s;
}
.back-top.show{
opacity:1;
visibility:visible;
transform:translateY(0);
}
.back-top:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(10,191,117,.35);
}
.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.85);
display:none;
justify-content:center;
align-items:center;
z-index:99999;
}
.lightbox img{
max-width:90%;
max-height:90%;
border-radius:20px;
box-shadow:0 25px 60px rgba(0,0,0,.5);
}
.lightbox.show{
display:flex;
}
.close-lightbox{
position:absolute;
top:25px;
right:35px;
font-size:40px;
color:white;
cursor:pointer;
}
.help-container{
position:fixed;
right:18px;
bottom:72px;
z-index:9999;
}
.help-btn{
width:42px;
height:42px;
border-radius:50%;
background:#0abf75;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
line-height:1;
cursor:pointer;
box-shadow:0 15px 40px rgba(10,191,117,.35);
transition:.3s;
}
.help-btn:hover{
transform:translateY(-5px);
}
.help-popup{
position:absolute;
bottom:80px;
right: 10px;
width:240px;
background:white;
border-radius:18px;
padding:20px;
display:none;
box-shadow:0 20px 50px rgba(0,0,0,.12);
opacity:0;
transform:translateY(10px);
transition:.3s ease;
pointer-events:none;
}
.help-popup.show{
display:block;
transform:translateY(0);
opacity:1;
pointer-events:auto;
}
.help-popup h4{
margin-bottom:15px;
font-size:18px;
}
.help-popup a{
display:flex;
align-items:center;
gap:10px;
padding:12px;
text-decoration:none;
color:#334155;
border-radius:12px;
transition:.2s;
}
.help-popup a:hover{
background:#f1f5f9;
color:#0abf75;
}
/* Hamburger button - hidden on desktop */
.menu-toggle{
  display:none;
  background:transparent;
  border:none;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  padding:6px 10px;
  margin-right:6px;
}

/* Overlay behind the drawer */
.sidebar-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:150;
}
.sidebar-overlay.show{ display:block; }

/* Tablet */
@media (max-width:1024px){
  .sidebar{ width:240px; }
  .content{ margin-left:280px; }
  .content-wrap{ padding:36px 28px 80px; }
  .card-grid{ grid-template-columns:1fr 1fr; }
  .stats{ grid-template-columns:repeat(2,1fr); }
}

/* Mobile */
@media (max-width:768px){

  .menu-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .searchbar{ display:none; }

  .sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:82%;
    max-width:300px;
    height:100vh;
    margin:0;
    border-radius:0;
    z-index:200;
    transform:translateX(-105%);
    transition:transform .3s ease;
    padding-top:calc(var(--topbar-h) + 20px);
  }
  .sidebar.open{
    transform:translateX(0);
  }

  .content{ margin-left:0; }
  .content-wrap{ padding:24px 16px 80px; }
  .card-grid{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr 1fr; gap:14px; }
  .stat{ height:130px; padding:16px; }
  .stat h2{ font-size:28px; }
  .stat p{ font-size:14px; }

  .hero{ padding:36px 20px; }
  .hero h1{ font-size:28px; }
  .hero p{ font-size:16px; }
  .hero-buttons{ flex-direction:column; gap:12px; }
  .hero-btn{ width:100%; }

  h1{ font-size:1.6rem; }
  h2{ font-size:1.05rem; }

  .pg-nav{ flex-direction:column; }
  .pg-nav-btn{ max-width:100%; }

  .tl-name{ font-size:.9rem; }
  .tl-icon{ width:32px; height:32px; }

  .tbl-wrap table{ font-size:.78rem; }
  .steps .step-d{ font-size:.8rem; }
}

@media (max-width:420px){
  .stats{ grid-template-columns:1fr; }
  .content-wrap{ padding:18px 12px 70px; }
}

body.dark .help-popup{
background:#1e293b;
border:1px solid #334155;
box-shadow:0 20px 50px rgba(0,0,0,.45);
}
body.dark .help-popup h4{
color:white;
}
body.dark .help-popup a{
color:#e2e8f0;
}
body.dark .help-popup a:hover{
background:#334155;
color:#0abf75;
}

/* ===========================
   LOADER
=========================== */

#loader{

    position:fixed;

    inset:0;

    background:#081c15;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:opacity .6s ease, visibility .6s ease;

}

#loader.hide{

    opacity:0;

    visibility:hidden;

}

.loader-content{

    text-align:center;

}

.loader-logo{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #7FE7AE,
        #238B47
    );

    color:#fff;

    font-size:30px;

    font-weight:800;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:
        0 0 35px rgba(35,139,71,.5);

    animation:pulse 1.5s infinite;

}

.loader-content h1{

    margin-top:20px;

    color:#fff;

    font-size:32px;

    font-weight:700;

}

.loader-content p{

    margin:10px 0 25px;

    color:#b8d8c5;

}

.loader-bar{

    width:260px;

    height:8px;

    background:rgba(255,255,255,.15);

    border-radius:20px;

    overflow:hidden;

    margin:auto;

}

.loader-progress{

    height:100%;

    width:0%;

    background:linear-gradient(
        90deg,
        #7FE7AE,
        #238B47
    );

    border-radius:20px;

    animation:loading 2s linear forwards;

}

@keyframes loading{

    from{

        width:0%;

    }

    to{

        width:100%;

    }

}

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.08);

    }

    100%{

        transform:scale(1);

    }

}

/* ===========================
   PAGE NAVIGATION DARK MODE
=========================== */

body.dark .pg-nav-btn{
    background:#0b1713;
    border:1px solid rgba(255,255,255,.08);
}

body.dark .pg-nav-btn:hover{
    background:#10231c;
    border-color:#0abf75;
}

body.dark .pg-nav-btn .nt{
    color:#ffffff !important;
}

body.dark .pg-nav-btn .nl{
    color:#94a3b8 !important;
}
.note.warning{
    background: #fff8e6;
    border-color: #f59e0b;
    color: #92400e;
}
.tip {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 30px 0;
    padding: 18px 20px;
    background: #f8fff4;
    border-left: 5px solid #22c55e;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tip i {
    font-size: 22px;
    color: #22c55e;
    margin-top: 2px;
}

.tip div {
    color: #374151;
    line-height: 1.7;
}

.tip strong {
    color: #166534;
}

.note-box{
    margin-top:40px;
    padding:20px 24px;
    border-left:5px solid #22c55e;
    background:#f8fffb;
    border-radius:10px;
}

.note-title{
    font-size:18px;
    font-weight:600;
    color:#16a34a;
    margin-bottom:10px;
}

.note-box p,
.note-box li{
    color:#555;
    line-height:1.7;
}

.note-box ul{
    margin:0;
    padding-left:20px;
}
.note.success {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin: 20px 0;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
    border-radius: 10px;
    color: #166534;
}

.note.success .note-icon {
    color: #16a34a;
    font-size: 22px;
    flex-shrink: 0;
}

.note.success .note-body {
    flex: 1;
    line-height: 1.7;
    color: #166534;
}

.note.success strong {
    color: #14532d;
}
.s-img{
    display: flex;
    justify-content: right;   /* Centers horizontally */
    align-items: center;
    margin: 20px 0;
}

.s-img img{
    width: 250px;      /* Adjust to 200px-300px */
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: block;
}