/* ==========================================================
   ARDIGITALSKILLS ACADEMY — shared design system
   Palette: navy/black base, blue + purple accents, gold highlights
   Type: Outfit (display) / Inter (body + data)
   ========================================================== */

:root{
  --navy-950:#050914;
  --navy-900:#0a1224;
  --navy-800:#0f1a30;
  --navy-700:#16233f;
  --line:rgba(255,255,255,0.09);
  --line-soft:rgba(255,255,255,0.05);
  --blue:#3b82f6;
  --blue-deep:#1d4ed8;
  --purple:#8b5cf6;
  --purple-deep:#6d28d9;
  --gold:#f0c14b;
  --gold-deep:#c99a2e;
  --white:#f4f6fc;
  --text-dim:#8d9ac2;
  --text-dimmer:#586089;
  --green:#34d399;
  --red:#f87171;
  --radius:16px;
  --radius-lg:22px;
  --maxw:1140px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--navy-950);
  color:var(--white);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,.display{font-family:'Outfit',sans-serif;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
button{font-family:inherit;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 22px;}
section{position:relative;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

/* background texture */
.bg-glow{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(650px 520px at 8% -8%, rgba(59,130,246,0.22), transparent 60%),
    radial-gradient(700px 550px at 108% 10%, rgba(139,92,246,0.18), transparent 55%),
    radial-gradient(800px 500px at 50% 105%, rgba(240,193,75,0.08), transparent 55%);
}
.grid-noise{
  position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.3;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(circle at 50% 0%, black, transparent 75%);
}

/* nav */
.nav{
  position:sticky; top:0; z-index:60;
  backdrop-filter:blur(14px);
  background:rgba(5,9,20,0.78);
  border-bottom:1px solid var(--line);
}
.nav .wrap{display:flex; align-items:center; justify-content:space-between; height:66px; gap:14px;}
.brand{display:flex; align-items:center; gap:9px; font-family:'Outfit',sans-serif; font-weight:700; font-size:16px; letter-spacing:0.01em;}
.brand .mark{
  width:30px; height:30px; border-radius:9px; flex:0 0 auto;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800;
  box-shadow:0 0 16px rgba(139,92,246,0.5);
}
.brand-logo-img{
  width:36px; height:36px; border-radius:50%; flex:0 0 auto;
  object-fit:cover; object-position:center;
  box-shadow:0 0 0 1.5px rgba(240,193,75,0.55), 0 0 14px rgba(139,92,246,0.35);
  background:#0a0a12;
}
.brand-logo-lg{
  width:84px; height:84px; border-radius:50%;
  object-fit:cover; object-position:center; display:block; margin:0 auto 14px;
  box-shadow:0 0 0 2px rgba(240,193,75,0.6), 0 0 26px rgba(139,92,246,0.4);
  background:#0a0a12;
}
.footer-logo-img{
  width:52px; height:52px; border-radius:50%;
  object-fit:cover; object-position:center; display:block; margin:0 auto 10px;
  box-shadow:0 0 0 2px rgba(240,193,75,0.55), 0 0 20px rgba(139,92,246,0.35);
  background:#0a0a12;
}

/* academy statistics strip (hero) */
.stats-strip{
  display:flex; flex-wrap:wrap; justify-content:center; gap:28px;
  margin-top:36px; padding-top:26px; border-top:1px solid var(--line);
}
.stat-item{ text-align:center; min-width:110px; }
.stat-num{
  font-family:'Outfit',sans-serif; font-weight:800; font-size:26px;
  background:linear-gradient(135deg, var(--gold), var(--purple));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-label{ font-size:12px; color:var(--text-dim); margin-top:2px; }

/* my courses (dashboard) */
.my-course-item{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:var(--navy-900); border:1px solid var(--line); border-radius:12px; padding:12px 14px;
}
.my-course-item .mc-name{ font-size:13.5px; font-weight:600; }
.my-course-item .mc-pkg{ font-size:11px; color:var(--text-dim); margin-top:2px; }
.nav-links{display:none; align-items:center; gap:26px; font-size:14px; font-weight:500; color:var(--text-dim);}
.nav-links a:hover{color:var(--white);}
@media(min-width:960px){ .nav-links{display:flex;} }
.nav-actions{display:flex; align-items:center; gap:10px;}
.nav-login{font-size:13.5px; font-weight:600; color:var(--text-dim); display:none;}
@media(min-width:640px){ .nav-login{display:inline-block;} }
.nav-cta{
  display:inline-flex; align-items:center; gap:6px;
  background:linear-gradient(120deg,var(--blue),var(--purple));
  color:#fff; font-weight:700; font-size:13px;
  padding:10px 16px; border-radius:100px;
  box-shadow:0 4px 18px rgba(59,130,246,0.35);
  white-space:nowrap;
}
.nav-burger{
  display:flex; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:6px;
}
@media(min-width:960px){ .nav-burger{display:none;} }
.nav-burger span{width:20px; height:2px; background:var(--white); border-radius:2px;}
.mnav{
  display:none; flex-direction:column; gap:2px;
  background:var(--navy-900); border-bottom:1px solid var(--line);
  padding:8px 22px 16px;
}
.mnav.open{display:flex;}
.mnav a{padding:11px 4px; font-size:14.5px; font-weight:500; color:var(--text-dim); border-bottom:1px solid var(--line-soft);}
.mnav a:last-child{border-bottom:none;}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; font-size:14.5px; font-family:'Inter',sans-serif;
  padding:15px 24px; border-radius:12px; border:none; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease; text-align:center;
}
.btn:active{transform:scale(.97);}
.btn-primary{
  background:linear-gradient(120deg,var(--blue),var(--purple) 65%,var(--purple-deep));
  color:#fff; box-shadow:0 10px 28px -6px rgba(59,130,246,0.5);
}
.btn-primary:hover{ box-shadow:0 14px 34px -6px rgba(139,92,246,0.6); transform:translateY(-2px); }
.btn-gold{
  background:linear-gradient(120deg,var(--gold),var(--gold-deep));
  color:#241a04; box-shadow:0 10px 26px -6px rgba(240,193,75,0.45);
}
.btn-gold:hover{ transform:translateY(-2px); }
.btn-whatsapp{
  background:rgba(37,211,102,0.12); border:1.5px solid rgba(37,211,102,0.5); color:#4ade80;
}
.btn-whatsapp:hover{ background:rgba(37,211,102,0.2); transform:translateY(-2px); }
.btn-outline{ background:transparent; border:1.5px solid var(--line); color:var(--white); }
.btn-outline:hover{ border-color:var(--blue); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 16px; font-size:13px; }

/* section shell */
.section{ padding:66px 0; }
.section-head{ max-width:640px; margin:0 auto 36px; text-align:center; }
.kicker{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--blue); margin-bottom:10px;
}
.section-head h2{ font-size:clamp(24px,5vw,34px); line-height:1.2; font-weight:700; }
.section-head p{ color:var(--text-dim); margin-top:12px; font-size:15px; line-height:1.65; }
.divider{
  height:1px; background:linear-gradient(90deg,transparent, var(--line) 30%, var(--line) 70%, transparent);
}

/* hero */
.hero{ padding:56px 0 40px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  color:var(--gold);
  background:rgba(240,193,75,0.1); border:1px solid rgba(240,193,75,0.35);
  padding:7px 14px; border-radius:100px;
}
.hero h1{
  font-size:clamp(30px,6.6vw,46px); line-height:1.14; font-weight:700; margin:18px 0 14px; letter-spacing:-0.01em;
}
.hero h1 .grad{
  background:linear-gradient(100deg,#93c5fd, var(--purple) 55%, var(--gold));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero .sub{ font-size:clamp(15px,3vw,17.5px); color:var(--text-dim); max-width:560px; line-height:1.6; margin-bottom:26px; }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:8px; }

/* signature: tier ladder */
.ladder{
  margin-top:48px; display:flex; align-items:flex-end; justify-content:center; gap:16px; height:230px;
}
.ladder a{
  display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:6px;
  width:110px; border-radius:14px 14px 0 0; border:1px solid var(--line); border-bottom:none;
  padding:16px 10px; text-align:center; position:relative; overflow:hidden;
  transition:transform .2s ease;
}
.ladder a:hover{ transform:translateY(-4px); }
.ladder a::before{ content:''; position:absolute; inset:0; opacity:.5; }
.step-basic{ height:130px; background:var(--navy-800); }
.step-basic::before{ background:linear-gradient(180deg, rgba(59,130,246,0.18), transparent 70%); }
.step-advance{ height:172px; background:var(--navy-800); border-color:rgba(139,92,246,0.4); }
.step-advance::before{ background:linear-gradient(180deg, rgba(139,92,246,0.24), transparent 70%); }
.step-extreme{ height:216px; background:var(--navy-800); border-color:rgba(240,193,75,0.45); box-shadow:0 0 30px -8px rgba(240,193,75,0.35); }
.step-extreme::before{ background:linear-gradient(180deg, rgba(240,193,75,0.28), transparent 70%); }
.ladder .tier-name{ position:relative; font-family:'Outfit',sans-serif; font-weight:700; font-size:13px; }
.ladder .tier-price{ position:relative; font-size:12px; color:var(--text-dim); font-weight:600; }

/* about / why grid */
.why-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
@media(min-width:640px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:960px){ .why-grid{ grid-template-columns:repeat(3,1fr); } }
.why-item{
  background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius); padding:22px;
}
.why-item .ic{
  width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:19px;
  background:linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2)); margin-bottom:14px;
}
.why-item h4{ font-size:15.5px; font-weight:700; margin-bottom:6px; }
.why-item p{ font-size:13.5px; color:var(--text-dim); line-height:1.6; }

/* courses grid */
.course-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media(min-width:640px){ .course-grid{ grid-template-columns:repeat(3,1fr); } }
.course-item{
  background:var(--navy-800); border:1px solid var(--line); border-radius:14px; padding:18px 14px; text-align:center;
  display:block; text-decoration:none; color:inherit; cursor:pointer; transition:border-color .15s, transform .15s;
}
.course-item:hover{ border-color:rgba(139,92,246,0.5); transform:translateY(-2px); }
.course-item .ic{ font-size:23px; margin-bottom:8px; }
.course-item span{ font-size:13px; font-weight:600; line-height:1.35; display:block; }
.course-item .skill-cta{
  display:block; margin-top:6px; font-size:10.5px; font-weight:600; color:var(--green);
}

/* package cards */
.pkg-grid{ display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:900px){ .pkg-grid{ grid-template-columns:repeat(3,1fr); align-items:stretch; } }
.pkg-card{
  background:linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 24px;
  display:flex; flex-direction:column; position:relative; overflow:hidden;
}
.pkg-card.featured{
  border-color:rgba(240,193,75,0.5);
  box-shadow:0 20px 55px -18px rgba(240,193,75,0.4);
  transform:none;
}
@media(min-width:900px){ .pkg-card.featured{ transform:translateY(-10px); } }
.pkg-badge{
  position:absolute; top:18px; right:18px; font-size:10.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  background:linear-gradient(120deg,var(--gold),var(--gold-deep)); color:#241a04; padding:5px 10px; border-radius:100px;
}
.pkg-tier{ font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); margin-bottom:10px; }
.pkg-card.featured .pkg-tier{ color:var(--gold); }
.pkg-name{ font-family:'Outfit',sans-serif; font-size:22px; font-weight:700; margin-bottom:6px; }
.pkg-price{ font-family:'Outfit',sans-serif; font-size:34px; font-weight:700; margin-bottom:2px; }
.pkg-best{ font-size:12.5px; color:var(--text-dim); margin-bottom:18px; }
.pkg-list{ display:flex; flex-direction:column; gap:9px; margin-bottom:24px; flex:1; }
.pkg-list li{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--text-dim); line-height:1.5; }
.pkg-list li .chk{ flex:0 0 auto; color:var(--blue); font-weight:800; margin-top:1px; }
.pkg-card.featured .pkg-list li .chk{ color:var(--gold); }
.pkg-note{ font-size:11.5px; color:var(--text-dimmer); margin-top:-12px; margin-bottom:16px; line-height:1.5; }

/* Extreme package gets the strongest visual highlight of the three */
.pkg-card.extreme-highlight{
  border:1.5px solid rgba(240,193,75,0.75);
  box-shadow:0 26px 70px -16px rgba(240,193,75,0.55), 0 0 0 1px rgba(240,193,75,0.15) inset;
}
@media(min-width:900px){ .pkg-card.extreme-highlight{ transform:translateY(-16px) scale(1.02); } }

/* how it works steps */
.steps{ display:flex; flex-direction:column; max-width:640px; margin:0 auto; }
.step{ display:flex; gap:18px; padding:20px 0; position:relative; }
.step:not(:last-child)::after{
  content:''; position:absolute; left:22px; top:52px; bottom:-4px; width:1.5px;
  background:linear-gradient(var(--blue), transparent);
}
.step-num{
  flex:0 0 44px; height:44px; border-radius:50%; background:var(--navy-800); border:1px solid rgba(59,130,246,0.4);
  display:flex; align-items:center; justify-content:center; font-family:'Outfit',sans-serif; font-weight:700; font-size:15px; color:var(--blue);
}
.step h4{ font-size:15.5px; font-weight:700; margin-bottom:3px; }
.step p{ font-size:13.5px; color:var(--text-dim); }

/* forms */
.form-card{
  max-width:560px; margin:0 auto; background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 24px;
}
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--text-dim); margin-bottom:7px; }
.field input, .field select{
  width:100%; background:var(--navy-900); border:1px solid var(--line); border-radius:10px; color:var(--white);
  padding:13px 14px; font-size:14.5px; font-family:'Inter',sans-serif;
}
.field input:focus, .field select:focus{ outline:none; border-color:var(--blue); }
.field-row{ display:grid; grid-template-columns:1fr; gap:16px; }
@media(min-width:560px){ .field-row.two{ grid-template-columns:1fr 1fr; } }
.form-note{ font-size:12px; color:var(--text-dimmer); margin-top:6px; line-height:1.55; }
.thankyou{
  display:none; text-align:center; padding:20px 6px;
}
.thankyou.show{ display:block; }
.thankyou .ic{ font-size:36px; margin-bottom:10px; }
.thankyou h3{ font-size:18px; font-weight:700; margin-bottom:8px; }
.thankyou p{ font-size:14px; color:var(--text-dim); margin-bottom:20px; }

/* faq */
.faq{ max-width:680px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; color:var(--white);
  font-family:'Inter',sans-serif; font-size:15px; font-weight:600;
  padding:18px 4px; display:flex; justify-content:space-between; align-items:center; gap:14px; cursor:pointer;
}
.faq-q .plus{ font-size:20px; color:var(--blue); transition:transform .25s ease; flex:0 0 auto; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; font-size:14px; color:var(--text-dim); line-height:1.6; }
.faq-a p{ padding:0 4px 18px; }

/* note / disclaimer boxes */
.note-box{
  max-width:640px; margin:22px auto 0; text-align:center;
  background:rgba(59,130,246,0.08); border:1px solid rgba(59,130,246,0.28); border-radius:14px;
  padding:16px 20px; font-size:13px; color:var(--text-dim); line-height:1.65;
}
.note-box.gold{ background:rgba(240,193,75,0.07); border-color:rgba(240,193,75,0.3); }
.note-box strong{ color:var(--white); }

/* footer */
footer{
  padding:34px 22px 90px; border-top:1px solid var(--line); text-align:center;
  color:var(--text-dimmer); font-size:12.5px; line-height:1.8;
}
footer a{ color:var(--text-dim); }
footer a:hover{ color:var(--white); }
.footer-links{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin-top:10px; font-size:12px; }

/* sticky mobile bar */
.sticky-bar{
  position:fixed; bottom:0; left:0; right:0; z-index:70;
  display:flex; gap:10px; padding:10px 14px;
  background:rgba(5,9,20,0.92); backdrop-filter:blur(14px); border-top:1px solid var(--line);
}
.sticky-bar .btn{ flex:1; padding:13px 10px; font-size:13.5px; }
@media(min-width:900px){ .sticky-bar{ display:none; } }
body{ padding-bottom:74px; }
@media(min-width:900px){ body{ padding-bottom:0; } }

/* ============ auth pages (login) ============ */
.auth-shell{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:40px 20px; }
.auth-card{ width:100%; max-width:420px; background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px 26px; }
.auth-brand{ display:flex; align-items:center; gap:10px; justify-content:center; margin-bottom:22px; }
.auth-title{ text-align:center; font-size:20px; font-weight:700; margin-bottom:6px; }
.auth-sub{ text-align:center; font-size:13.5px; color:var(--text-dim); margin-bottom:26px; }
.auth-demo-tag{
  display:block; text-align:center; font-size:11.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  color:var(--gold); background:rgba(240,193,75,0.1); border:1px solid rgba(240,193,75,0.3);
  padding:7px; border-radius:10px; margin-bottom:22px;
}
.auth-foot{ text-align:center; font-size:13px; color:var(--text-dim); margin-top:18px; }

/* ============ dashboard shell ============ */
.dash-shell{ min-height:100vh; }
.dash-top{
  position:sticky; top:0; z-index:50; background:rgba(5,9,20,0.85); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.dash-top .wrap{ display:flex; align-items:center; justify-content:space-between; height:64px; }
.dash-user{ display:flex; align-items:center; gap:10px; }
.dash-avatar{
  width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--purple));
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px;
}
.dash-welcome h2{ font-size:15px; font-weight:700; }
.dash-welcome span{ font-size:11.5px; color:var(--text-dim); }
.dash-main{ padding:30px 0 60px; }
.dash-grid{ display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:30px; }
@media(min-width:640px){ .dash-grid.cols-2{ grid-template-columns:1fr 1fr; } }
@media(min-width:900px){ .dash-grid.cols-3{ grid-template-columns:repeat(3,1fr); } .dash-grid.cols-4{ grid-template-columns:repeat(4,1fr); } }
.dash-card{
  background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius); padding:20px;
}
.dash-card .lbl{ font-size:12px; font-weight:600; color:var(--text-dim); text-transform:uppercase; letter-spacing:.04em; margin-bottom:8px; }
.dash-card .val{ font-family:'Outfit',sans-serif; font-size:22px; font-weight:700; }
.dash-card .sub{ font-size:12px; color:var(--text-dimmer); margin-top:4px; }
.dash-card.accent{ border-color:rgba(59,130,246,0.35); }
.dash-card.accent-gold{ border-color:rgba(240,193,75,0.4); }
.dash-section-title{ font-family:'Outfit',sans-serif; font-size:17px; font-weight:700; margin:34px 0 14px; }
.tbl-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
table{ width:100%; border-collapse:collapse; font-size:13px; min-width:520px; }
th{ text-align:left; padding:12px 16px; background:var(--navy-900); color:var(--text-dim); font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }
td{ padding:12px 16px; border-top:1px solid var(--line); color:var(--white); white-space:nowrap; }
.status-pill{ display:inline-block; padding:4px 10px; border-radius:100px; font-size:11.5px; font-weight:700; }
.status-pending{ background:rgba(240,193,75,0.14); color:var(--gold); }
.status-verified{ background:rgba(52,211,153,0.14); color:var(--green); }
.status-rejected{ background:rgba(248,113,113,0.14); color:var(--red); }
.copy-row{ display:flex; gap:8px; }
.copy-row input{ flex:1; }
.empty-state{ text-align:center; padding:34px 20px; color:var(--text-dim); font-size:13.5px; }
.empty-state .ic{ font-size:26px; margin-bottom:10px; }

/* ==========================================================
   STUDENT DASHBOARD v2 — earning/affiliate dashboard redesign
   Scoped to dashboard.html only. Does not alter any rules above.
   ========================================================== */

/* header: profile row + package badge + hamburger */
.dtop-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dtop-profile{ display:flex; align-items:center; gap:10px; min-width:0; }
.dash-avatar.lg{ width:44px; height:44px; font-size:16px; border:2px solid rgba(139,92,246,0.5); flex:0 0 auto; }
.dtop-name{ font-size:14px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; }
.pkg-badge-sm{
  display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:700; letter-spacing:.03em;
  padding:3px 9px; border-radius:100px; margin-top:2px;
  background:linear-gradient(120deg, rgba(59,130,246,0.18), rgba(139,92,246,0.18));
  border:1px solid rgba(139,92,246,0.35); color:var(--white); text-transform:uppercase;
}
.dash-burger{ display:flex; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:8px; flex:0 0 auto; }
.dash-burger span{ width:20px; height:2px; background:var(--white); border-radius:2px; }
.dash-mnav{
  display:none; flex-direction:column; gap:2px;
  background:var(--navy-900); border-bottom:1px solid var(--line);
  padding:8px 22px 14px;
}
.dash-mnav.open{ display:flex; }
.dash-mnav a, .dash-mnav button{
  padding:11px 4px; font-size:14px; font-weight:500; color:var(--text-dim); border-bottom:1px solid var(--line-soft);
  text-align:left; background:none; border-left:none; border-right:none; border-top:none; cursor:pointer; font-family:'Inter',sans-serif;
}
.dash-mnav a:last-child, .dash-mnav button:last-child{ border-bottom:none; }

/* welcome banner */
.dash-welcome-hero{ margin-bottom:26px; }
.dash-welcome-hero h1{ font-family:'Outfit',sans-serif; font-size:clamp(20px,4.5vw,26px); font-weight:700; }
.dash-welcome-hero p{ color:var(--text-dim); font-size:13.5px; margin-top:4px; }

/* sample-data toggle banner */
.demo-toggle-box{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:26px;
}
.demo-toggle-box .txt{ flex:1; min-width:200px; }

/* earning cards */
.earn-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:30px; }
@media(min-width:900px){ .earn-grid{ grid-template-columns:repeat(4,1fr); } }
.earn-card{
  position:relative; overflow:hidden;
  background:linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line); border-radius:var(--radius); padding:18px;
}
.earn-card::before{
  content:''; position:absolute; top:-40%; right:-20%; width:120px; height:120px; border-radius:50%;
  background:radial-gradient(circle, var(--eg, rgba(59,130,246,0.25)), transparent 70%); pointer-events:none;
}
.earn-card .eic{
  width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:15px;
  background:rgba(255,255,255,0.06); margin-bottom:12px; position:relative;
}
.earn-card .val{ font-family:'Outfit',sans-serif; font-size:clamp(18px,4.4vw,24px); font-weight:700; position:relative; }
.earn-card .lbl{ font-size:11.5px; color:var(--text-dim); margin-top:3px; position:relative; }
.earn-card .chg{ display:inline-flex; align-items:center; gap:3px; font-size:11px; font-weight:700; margin-top:8px; position:relative; }
.earn-card .chg.up{ color:var(--green); }
.earn-card .chg.down{ color:var(--red); }
.earn-card .chg.flat{ color:var(--text-dimmer); }
.earn-card.c-today{ --eg:rgba(59,130,246,0.28); }
.earn-card.c-7d{ --eg:rgba(139,92,246,0.28); }
.earn-card.c-30d{ --eg:rgba(240,193,75,0.24); }
.earn-card.c-total{ --eg:rgba(52,211,153,0.24); }

/* referral card */
.referral-card{
  background:linear-gradient(155deg, var(--navy-800), var(--navy-900));
  border:1px solid rgba(139,92,246,0.35); border-radius:var(--radius-lg); padding:24px;
  margin-bottom:30px; box-shadow:0 20px 50px -24px rgba(139,92,246,0.4);
}
.referral-card .rc-head{ display:flex; align-items:center; gap:8px; font-family:'Outfit',sans-serif; font-weight:700; font-size:15.5px; margin-bottom:14px; }
.rc-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.rc-actions .btn{ flex:1; min-width:150px; }
.rc-stats{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
.rc-stats .stat{ text-align:center; background:var(--navy-900); border:1px solid var(--line); border-radius:12px; padding:14px 10px; }
.rc-stats .stat .val{ font-family:'Outfit',sans-serif; font-size:20px; font-weight:700; }
.rc-stats .stat .lbl{ font-size:11px; color:var(--text-dim); margin-top:3px; }

/* quick actions */
.qa-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:30px; }
@media(min-width:640px){ .qa-grid{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:900px){ .qa-grid{ grid-template-columns:repeat(5,1fr); } }
.qa-btn{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px;
  background:var(--navy-800); border:1px solid var(--line); border-radius:14px; padding:16px 8px;
  font-size:12px; font-weight:600; color:var(--white); text-align:center; cursor:pointer;
  transition:border-color .2s, transform .2s;
}
.qa-btn:hover{ border-color:rgba(59,130,246,0.5); transform:translateY(-2px); }
.qa-btn .qic{ font-size:19px; }

/* extra status pills */
.status-approved{ background:rgba(59,130,246,0.14); color:var(--blue); }
.status-paid{ background:rgba(52,211,153,0.14); color:var(--green); }

/* bottom mobile nav (dashboard only) */
.dash-bottomnav{
  position:fixed; bottom:0; left:0; right:0; z-index:70;
  display:flex; background:rgba(6,10,20,0.95); backdrop-filter:blur(14px);
  border-top:1px solid var(--line); padding:7px 4px calc(7px + env(safe-area-inset-bottom));
}
@media(min-width:900px){ .dash-bottomnav{ display:none; } }
.dash-bottomnav a, .dash-bottomnav button{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:2px;
  font-size:10px; font-weight:600; color:var(--text-dim); padding:6px 2px; border-radius:10px;
  background:none; border:none; font-family:'Inter',sans-serif; cursor:pointer;
}
.dash-bottomnav a.active{ color:var(--white); background:rgba(59,130,246,0.14); }
.dash-bottomnav .bn-ic{ font-size:18px; }

/* ==========================================================
   NEW: course detail cards / testimonials / MSME / verify
   ========================================================== */

/* course detail cards (full course info + MSME + enroll/whatsapp) */
.course-detail-grid{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:36px; }
@media(min-width:900px){ .course-detail-grid{ grid-template-columns:repeat(3,1fr); align-items:stretch; } }
.course-detail-card{
  background:linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px 22px;
  display:flex; flex-direction:column;
}
.cd-name{ font-family:'Outfit',sans-serif; font-size:19px; font-weight:700; margin-bottom:6px; }
.cd-tagline{ font-size:12.5px; color:var(--blue); font-weight:600; margin-bottom:12px; }
.cd-desc{ font-size:13.5px; color:var(--text-dim); line-height:1.6; margin-bottom:16px; }
.cd-meta{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.cd-meta .chip{
  font-size:11.5px; font-weight:700; color:var(--white); background:var(--navy-900);
  border:1px solid var(--line); border-radius:100px; padding:6px 12px; display:inline-flex; align-items:center; gap:5px;
}
.cd-meta .chip.fee{ color:var(--gold); border-color:rgba(240,193,75,0.35); }
.cd-meta .chip.msme{ color:var(--green); border-color:rgba(52,211,153,0.35); }
.cd-list{ display:flex; flex-direction:column; gap:7px; margin-bottom:20px; flex:1; }
.cd-list li{ display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--text-dim); line-height:1.5; }
.cd-list li .chk{ flex:0 0 auto; color:var(--blue); font-weight:800; margin-top:1px; }
.cd-actions{ display:flex; flex-direction:column; gap:8px; }

/* testimonials */
.testi-grid{ display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:720px){ .testi-grid{ grid-template-columns:repeat(3,1fr); } }
.testi-card{
  background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden;
}
.testi-card img{ width:100%; display:block; }
.testi-fallback{
  padding:22px; text-align:center; color:var(--text-dim); font-size:13px;
}

/* MSME certificate section */
.msme-card{
  display:grid; grid-template-columns:1fr; gap:24px; align-items:center;
  background:linear-gradient(165deg, var(--navy-800), var(--navy-900));
  border:1px solid rgba(52,211,153,0.3); border-radius:var(--radius-lg); padding:28px 24px;
}
@media(min-width:800px){ .msme-card{ grid-template-columns:220px 1fr; } }
.msme-card img{ border-radius:12px; border:1px solid var(--line); }
.msme-info h3{ font-family:'Outfit',sans-serif; font-size:19px; font-weight:700; margin-bottom:10px; }
.msme-info dl{ display:grid; grid-template-columns:auto 1fr; gap:6px 14px; font-size:13.5px; margin-bottom:12px; }
.msme-info dt{ color:var(--text-dim); }
.msme-info dd{ color:var(--white); font-weight:600; }
.msme-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700;
  color:var(--green); background:rgba(52,211,153,0.12); border:1px solid rgba(52,211,153,0.35);
  padding:6px 12px; border-radius:100px; margin-bottom:14px;
}

/* certificate verify box (public, on certificates areas) */
.verify-box{
  max-width:480px; margin:0 auto; background:var(--navy-800); border:1px solid var(--line);
  border-radius:var(--radius); padding:20px;
}
.verify-result{ margin-top:14px; font-size:13.5px; line-height:1.6; }
.verify-result.ok{ color:var(--green); }
.verify-result.fail{ color:var(--red); }

/* auth error / info banners reused on login pages */
.auth-msg{ font-size:12.5px; border-radius:10px; padding:10px 12px; margin-bottom:14px; display:none; }
.auth-msg.show{ display:block; }
.auth-msg.err{ background:rgba(248,113,113,0.1); border:1px solid rgba(248,113,113,0.35); color:var(--red); }
.auth-msg.ok{ background:rgba(52,211,153,0.1); border:1px solid rgba(52,211,153,0.35); color:var(--green); }

