body {
  color: #e5e7eb;
  font-family: "DM Sans", sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  background: #0b1220;
  overflow-x: hidden;
}

/* Improve paragraph read */
p {
  color: rgba(229, 231, 235, 0.75);
  line-height: 1.7;
}

/* Headings */
h1, h2, h3 {
  color: #ffffff;
}

.section-subtitle,
.stat-card p,
.step-card p {
  color: rgba(229, 231, 235, 0.7);
}

/* Sidebar fixed */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 20px;
  font-size: 18px;
  font-weight: 700;

  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: white;
}


.sidebar {
  width: 260px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;

  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);

  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  justify-content: space-between;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar {
  transition: 0.3s ease;
}

/* COLLAPSED MODE */
.sidebar.collapsed {
  width: 80px;
}

/* Hide text when collapsed */
.sidebar.collapsed .brand-text,
.sidebar.collapsed .sidebar-nav span {
  display: none;
}

/* Center icons */
.sidebar.collapsed .sidebar-nav a {
  justify-content: center;
}

/* Adjust main content when collapsed */
.sidebar.collapsed ~ main.main-home {
  margin-left: 80px;
  width: calc(100% - 80px);
}

/* Navbar shift */
.sidebar.collapsed ~ .navbar {
  left: 80px;
}

.sidebar-nav li a {
  position: relative;
}

.sidebar.collapsed .sidebar-nav li a:hover::after {
  content: attr(data-title);
  position: absolute;
  left: 70px;
  background: #111827;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Navbar alignment (important fix) */
.navbar {
  position: fixed;
  top: 0;
  left: 260px;
  right: 0;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;

  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 70px;
}

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

.sidebar-nav ul li {
  margin: 6px 0;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 12px;

  text-decoration: none;

  color: rgba(255,255,255,0.7);

  transition: 0.3s ease;
}

.sidebar-nav ul li a:hover {
  background: rgba(124, 58, 237, 0.15);
  color: white;
  transform: translateX(4px);
}

/* ACTIVE PAGE */
.sidebar-nav ul li.active a {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(6,182,212,0.15));
  color: white;
  border-left: 3px solid #7c3aed;
}

.sidebar-footer {
  display: flex;
  justify-content: center;
  gap: 12px;

  padding: 20px;

  border-top: 1px solid rgba(255,255,255,0.08);
}



main.main-home {
  margin-left:  260px;
  padding: 100px 40px 40px;
  /* width: calc(100% - 260px); */
  min-height: 100vh;
  background: #0b1220;
   box-sizing: border-box;
}

.nav-btn,
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 40px;
  padding: 0 14px;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social a {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  color: white;

  transition: 0.3s ease;
}

.nav-social a:hover {
  background: rgba(124,58,237,0.2);
  transform: translateY(-3px);
}

.contribute-page{
  padding:42px;
}

.contribute-hero {
    display:flex;
    flex-direction:column;
    align-items:center;
}

.contribute-hero h1,
.contribute-hero p{
    max-width:700px;
    text-align:center;
}

.contribute-hero{
  position:relative;
  overflow:hidden;

  text-align:center;

  padding:7rem 2rem;

  border-radius:34px;

  background:
    radial-gradient(circle at top left,
    rgba(130,87,229,.25),
    transparent 40%),

    radial-gradient(circle at bottom right,
    rgba(0,212,255,.18),
    transparent 35%),

    linear-gradient(
      135deg,
      #111827,
      #0f172a
    );

  border:1px solid rgba(255,255,255,.08);

  margin-bottom:3rem;
}

.contribute-hero h1{
  font-size:clamp(3.8rem,8vw,6rem);

  font-family:"Syne",sans-serif;

  font-weight:800;

  line-height:.95;
  letter-spacing:-4px;

  color:white;

  margin-bottom:1.2rem;
}

.contribute-hero h1 span{
  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #06b6d4
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.contribute-hero p{
  max-width:760px;

  margin:auto;

  color: rgba(255, 255, 255, 0.78);

  font-size:1.08rem;
  line-height:1.9;
}


.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:.75rem 1.3rem;

  border-radius:999px;

  background:rgba(255,255,255,.08);

  border:1px solid rgba(255,255,255,.08);

  color:white;

  margin-bottom:2rem;

  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);

  font-size:14px;
  font-weight:700;
}


.hero-actions{
  margin-top:2.4rem;

  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}

.btn-primary,
.btn-ghost{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:1rem 1.6rem;

  border-radius:18px;

  text-decoration:none;

  font-size:14px;
  font-weight:700;

  transition:.3s ease;
}

.btn-primary{
  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #06b6d4
    );

  color:white;

  box-shadow:
    0 12px 30px rgba(124,58,237,.35);
}

.btn-primary:hover{
  transform:translateY(-4px);
}

.btn-ghost{
  border:1px solid rgba(255,255,255,.14);

  background:rgba(255,255,255,.05);

  color:white;
}

.btn-ghost:hover{
  background:rgba(255,255,255,.08);
}


.hero-orb{
  position:absolute;

  border-radius:50%;

  filter:blur(70px);

  opacity:.35;
  max-width: 100%;
  overflow: hidden;
}

.orb-1{
  width:260px;
  height:260px;

  background:#7c3aed;

  top:-100px;
  left:-70px;
}

.orb-2{
  width:280px;
  height:280px;

  background:#06b6d4;

  bottom:-120px;
  right:-80px;
}

.contribute-stats{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

  gap:1.5rem;

  margin-bottom:5rem;
}

.stat-card{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.04),
      transparent
    );

  border:1px solid rgba(255,255,255,.08);

  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);

  border-radius:28px;

  padding:2.2rem;

  text-align:center;

  transition:.3s ease;
}

.stat-card:hover{
  transform:translateY(-8px);

  border-color:#7c3aed;
}

.stat-card h2{
  font-size:3rem;

  margin-bottom:.6rem;

  color:#8b5cf6;
}

.stat-card p{
  color:#94a3b8;
}

.section-header{
  text-align:center;

  margin-bottom:3rem;
}

.left{
  text-align:left;
}

.section-tag{
  display:inline-block;

  padding:.55rem 1rem;

  border-radius:999px;

  background:rgba(124,58,237,.12);

  color:#8b5cf6;

  margin-bottom:1rem;

  font-size:12px;
  font-weight:700;
}

.section-title{
  font-size:3rem;

  margin-bottom:.8rem;
}

.section-subtitle{
  color:#94a3b8;
}

.steps-grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap:2rem;
}

.step-card{
  position:relative;
  overflow:hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.04),
      transparent
    );

  border-radius:30px;

  padding:2.2rem;

  border:1px solid rgba(255,255,255,.06);

  transition:.35s ease;
}

.step-card:hover{
  transform:translateY(-10px);

  border-color:#7c3aed;
}

.step-card i{
  font-size:2rem;

  color:#8b5cf6;

  margin-bottom:1rem;
}

.step-card h3{
  margin-bottom:.9rem;

  font-size:1.4rem;
}

.step-card p{
  color:#94a3b8;

  line-height:1.8;
}

.step-number{
  position:absolute;

  top:1rem;
  right:1.4rem;

  font-size:3rem;

  opacity:.08;

  font-weight:800;
}

.guidelines-section{
  margin-top:6rem;
}

.guidelines-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;

  align-items:center;
}

.guideline-list{
  margin-top:2rem;
}

.guideline-item{
  display:flex;
  align-items:center;
  gap:1rem;

  margin-bottom:1.2rem;

  padding:1rem 1.2rem;

  border-radius:18px;

  background:rgba(255,255,255,.04);

  border:1px solid rgba(255,255,255,.05);
}

.guideline-item i{
  color:#22c55e;
}


.glass-card{
  background:rgba(255,255,255,.05);

  border:1px solid rgba(255,255,255,.08);

  border-radius:28px;

  overflow:hidden;

  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.code-header{
  display:flex;
  gap:.5rem;

  padding:1rem;

  background:rgba(255,255,255,.04);
}

.code-header span{
  width:12px;
  height:12px;

  border-radius:50%;

  background:#475569;
}

.glass-card pre{
  padding:2rem;

  overflow-x:auto;

  color:#e2e8f0;

  line-height:1.8;
}

.contribute-cta{
  position:relative;
  overflow:hidden;

  margin-top:6rem;

  padding:5rem 2rem;

  border-radius:34px;

  text-align:center;

  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #06b6d4
    );

  color:white;
}

.contribute-cta h2{
  font-size:3.5rem;

  margin-bottom:1rem;

  line-height:1;
}

.contribute-cta p{
  max-width:720px;

  margin:auto auto 2rem;

  line-height:1.9;

  opacity:.92;
}

.contribute-stats,
.steps-grid,
.guidelines-content {
  width: 100%;
  max-width: 100%;
}


.stat-card,
.step-card,
.guideline-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
.starter-kit-section{
  margin-top:6rem;
}

.starter-kit-shell{
  display:grid;
  grid-template-columns:minmax(300px,360px) 1fr;
  gap:1.5rem;
  align-items:start;
}

.starter-kit-form,
.starter-kit-output{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:30px;
  padding:1.6rem;
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.starter-kit-form{
  display:grid;
  gap:1rem;
}

.starter-kit-field{
  display:grid;
  gap:.55rem;
}

.starter-kit-field label{
  font-size:.92rem;
  font-weight:700;
  color:#f8fafc;
}

.starter-kit-field label span{
  color:#94a3b8;
  font-weight:600;
}

.starter-kit-field input{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(15,23,42,.6);
  color:#f8fafc;
  padding:.95rem 1rem;
  font:inherit;
  outline:none;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.starter-kit-field input::placeholder{
  color:#94a3b8;
}

.starter-kit-field input:focus{
  border-color:#06b6d4;
  box-shadow:0 0 0 4px rgba(6,182,212,.16);
}

.starter-kit-generate{
  justify-content:center;
  width:100%;
}

.starter-kit-hint{
  margin:0;
  color:#94a3b8;
  font-size:.94rem;
  line-height:1.7;
}

.starter-kit-output{
  display:grid;
  gap:1.1rem;
}

.starter-kit-output-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.starter-kit-kicker{
  display:inline-block;
  margin-bottom:.4rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.72rem;
  font-weight:800;
  color:#06b6d4;
}

.starter-kit-output h3{
  font-family:"Syne",sans-serif;
  font-size:1.7rem;
  color:#f8fafc;
}

.starter-kit-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

.starter-kit-meta-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.55rem .85rem;
  border-radius:999px;
  background:rgba(124,58,237,.14);
  color:#e2e8f0;
  border:1px solid rgba(124,58,237,.28);
  font-size:.82rem;
  font-weight:700;
}

.starter-kit-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.starter-kit-card{
  padding:1rem 1rem 1.1rem;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}

.starter-kit-card-wide{
  grid-column:1 / -1;
}

.starter-kit-card-label{
  display:block;
  margin-bottom:.75rem;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#94a3b8;
}

.starter-kit-card pre{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  color:#e2e8f0;
  line-height:1.7;
  font-size:.96rem;
}

.starter-kit-list,
.starter-kit-checklist{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:.7rem;
}

.starter-kit-list li,
.starter-kit-checklist li{
  position:relative;
  padding-left:1.45rem;
  color:#e2e8f0;
  line-height:1.6;
}

.starter-kit-list li::before,
.starter-kit-checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55rem;
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:#06b6d4;
  box-shadow:0 0 0 4px rgba(6,182,212,.14);
}

.starter-kit-checklist li::before{
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
}

.starter-kit-status{
  min-height:1.2rem;
  color:#a7f3d0;
  font-size:.9rem;
  font-weight:700;
}

@media(max-width:900px){

  .starter-kit-shell{
    grid-template-columns:1fr;
  }

  .starter-kit-grid{
    grid-template-columns:1fr;
  }

  .starter-kit-output-head{
    flex-direction:column;
  }

}

@media(max-width:600px){

  .starter-kit-form,
  .starter-kit-output{
    padding:1.2rem;
    border-radius:24px;
  }

}


@media(max-width:900px){

  .guidelines-content{
    grid-template-columns:1fr;
  }

  .contribute-hero{
    padding:5rem 1.5rem;
  }

  .section-title{
    font-size:2.2rem;
  }

  .contribute-cta h2{
    font-size:2.5rem;
  }

}


@media(max-width:768px){

  .contribute-page{
    padding:24px;
  }

}

@media(max-width:600px){

  .hero-actions{
    flex-direction:column;
    align-items:center;
  }

  .btn-primary,
  .btn-ghost{
    width:100%;
    max-width:320px;
    justify-content:center;
  }

  .contribute-hero h1{
    font-size:4rem;
  }

}

/* =========================
   ROOT VARIABLES
========================= */

:root{
  --bg:#f5f7ff;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --primary:#4f46e5;
  --primary-light:#6366f1;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:24px;
}

body.dark-mode{
  --bg:#0f172a;
  --card:#111827;
  --text:#f9fafb;
  --muted:#94a3b8;
  --primary:#818cf8;
  --primary-light:#6366f1;
  --border:rgba(255,255,255,.08);
  --shadow:0 10px 30px rgba(0,0,0,.4);
}

/* =========================
   GLOBAL
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:"DM Sans",sans-serif;
  transition:.3s ease;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:"Syne",sans-serif;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
  position:fixed;
  top:0;
  left:0;
  width:260px;
  height:100vh;
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(18px);
  border-right:1px solid var(--border);
  padding:28px 20px;
  z-index:1000;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.dark-mode .sidebar{
  background:rgba(17,24,39,.85);
}

.sidebar-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.5rem;
  font-weight:800;
}

.brand-icon{
  color:var(--primary);
}

.sidebar-nav ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sidebar-nav a{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:16px;
  color:var(--muted);
  transition:.25s;
  font-weight:500;
}

.sidebar-nav a:hover,
.sidebar-nav .active a{
  background:var(--primary);
  color:#fff;
  transform:translateX(4px);
}

.sidebar-footer{
  display:flex;
  gap:14px;
}

.sidebar-footer a{
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--card);
  display:grid;
  place-items:center;
  box-shadow:var(--shadow);
  transition:.25s;
}

.sidebar-footer a:hover{
  transform:translateY(-4px);
  background:var(--primary);
  color:#fff;
}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:fixed;
  top:0;
  left:260px;
  right:0;
  height:82px;
  padding:0 40px;
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:900;
}

.dark-mode .navbar{
  background:rgba(15,23,42,.85);
}

.logo{
  font-size:1.4rem;
  font-weight:800;
  font-family:"Syne",sans-serif;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.menu-toggle{
  display:none;
}

.nav-btn,
.theme-toggle{
  border:none;
  cursor:pointer;
  transition:.25s;
}

.nav-btn{
  padding:12px 18px;
  border-radius:14px;
  font-weight:600;
}

.primary-nav-btn{
  background:var(--primary);
  color:#fff;
}

.primary-nav-btn:hover{
  background:var(--primary-light);
}

.outline-nav-btn{
  background:transparent;
  border:1px solid var(--border);
}

.theme-toggle{
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--card);
  box-shadow:var(--shadow);
  color:var(--text);
}

/* =========================
   MAIN
========================= */

.main-home{
  margin-left:260px;
  padding-top:100px;
}

/* =========================
   HERO
========================= */

.contribute-hero{
  position:relative;
  overflow:hidden;
  padding:120px 30px;
  text-align:center;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(99,102,241,.12);
  color:var(--primary);
  padding:12px 20px;
  border-radius:999px;
  font-weight:700;
  margin-bottom:28px;
}

.contribute-hero h1{
  font-size:clamp(3rem,7vw,5.8rem);
  line-height:1;
  margin-bottom:24px;
}

.contribute-hero h1 span{
  color:var(--primary);
}

.contribute-hero p{
  max-width:760px;
  margin:auto;
  color:var(--muted);
  font-size:1.1rem;
  line-height:1.8;
}

.hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:42px;
}

.btn-primary,
.btn-ghost{
  padding:16px 28px;
  border-radius:18px;
  font-weight:700;
  transition:.3s;
  display:inline-flex;
  align-items:center;
  gap:12px;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-primary:hover{
  transform:translateY(-4px);
}

.btn-ghost{
  border:1px solid var(--border);
  background:var(--card);
}

.btn-ghost:hover{
  background:var(--primary);
  color:#fff;
}

/* =========================
   ORBS
========================= */

.hero-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  z-index:-1;
}

.orb-1{
  width:300px;
  height:300px;
  background:#6366f1;
  top:-80px;
  left:-100px;
  opacity:.35;
}

.orb-2{
  width:260px;
  height:260px;
  background:#8b5cf6;
  right:-80px;
  bottom:-100px;
  opacity:.25;
}

/* =========================
   STATS
========================= */

.contribute-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
  padding:0 40px 80px;
}

.stat-card{
  background:var(--card);
  border:1px solid var(--border);
  padding:40px;
  border-radius:var(--radius);
  text-align:center;
  box-shadow:var(--shadow);
  transition:.3s;
}

.stat-card:hover{
  transform:translateY(-8px);
}

.stat-card h2{
  font-size:3rem;
  color:var(--primary);
}

.stat-card p{
  margin-top:10px;
  color:var(--muted);
}

/* =========================
   SECTIONS
========================= */

.steps-section,
.guidelines-section,
.contribute-cta{
  padding:100px 40px;
}

.section-header{
  text-align:center;
  margin-bottom:70px;
}

.section-header.left{
  text-align:left;
}

.section-tag{
  display:inline-block;
  margin-bottom:16px;
  color:var(--primary);
  font-weight:700;
  letter-spacing:2px;
}

.section-title{
  font-size:3rem;
  margin-bottom:18px;
}

.section-subtitle{
  color:var(--muted);
  max-width:650px;
  margin:auto;
}

/* =========================
   STEP GRID
========================= */

.steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}

.step-card{
  position:relative;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:40px;
  overflow:hidden;
  transition:.3s;
  box-shadow:var(--shadow);
}

.step-card:hover{
  transform:translateY(-10px);
}

.step-number{
  position:absolute;
  top:18px;
  right:20px;
  font-size:3rem;
  opacity:.06;
  font-weight:900;
}

.step-card i{
  font-size:2rem;
  color:var(--primary);
  margin-bottom:24px;
}

.step-card h3{
  margin-bottom:14px;
}

.step-card p{
  color:var(--muted);
  line-height:1.7;
}

/* =========================
   GUIDELINES
========================= */

.guidelines-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.guideline-list{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:30px;
}

.guideline-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.guideline-item i{
  color:#10b981;
}

/* =========================
   CODE CARD
========================= */

.glass-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(20px);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.code-header{
  display:flex;
  gap:10px;
  padding:20px;
}

.code-header span{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#ef4444;
}

.code-header span:nth-child(2){
  background:#f59e0b;
}

.code-header span:nth-child(3){
  background:#10b981;
}

pre{
  overflow:auto;
  padding:30px;
}

code{
  font-size:.95rem;
  line-height:2;
  color:#e2e8f0;
}

/* =========================
   CTA
========================= */

.contribute-cta{
  text-align:center;
  position:relative;
  overflow:hidden;
}

.contribute-cta h2{
  font-size:3rem;
  margin-bottom:20px;
}

.contribute-cta p{
  max-width:700px;
  margin:auto;
  color:var(--muted);
  line-height:1.8;
}

/* =========================
   FOOTER
========================= */

.footer{
  border-top:1px solid var(--border);
  padding:70px 40px;
}

.footer-container{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px;
}

.footer-logo{
  margin-bottom:16px;
}

.footer-col h3{
  margin-bottom:18px;
}

.footer-col ul{
  list-style:none;
}

.footer-col li{
  margin-bottom:12px;
}

.footer-col a{
  color:var(--muted);
  transition:.25s;
}

.footer-col a:hover{
  color:var(--primary);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

  .guidelines-content{
    grid-template-columns:1fr;
  }

}

@media(max-width:900px){

  .sidebar{
    transform:translateX(-100%);
    transition:.3s;
  }

  .sidebar.active{
    transform:translateX(0);
  }

  .navbar{
    left:0;
    padding:0 20px;
  }

  .main-home{
    margin-left:0;
  }

  .menu-toggle{
    display:block;
    background:none;
    border:none;
    font-size:1.4rem;
    cursor:pointer;
    color:var(--text);
  }

  .section-title{
    font-size:2.4rem;
  }

}

@media(max-width:600px){

  .contribute-hero{
    padding:100px 20px;
  }

  .steps-section,
  .guidelines-section,
  .contribute-cta{
    padding:80px 20px;
  }

  .contribute-stats{
    padding:0 20px 60px;
  }

  .footer{
    padding:60px 20px;
  }

  .footer-container{
    grid-template-columns:1fr;
  }

  .section-title{
    font-size:2rem;
  }

  .contribute-cta h2{
    font-size:2.2rem;
  }

}
/* ============================================================
   THEME STYLING OVERRIDES
   Navbar, Sidebar, and Footer theme colors:
   - Light Mode: White background, dark text/icons
   - Dark Mode: Black background, light/white text/icons
   ============================================================ */

/* ==========================================
   1. LIGHT MODE SPECIFIC (body:not(.dark-mode))
   ========================================== */
body:not(.dark-mode) .navbar,
body:not(.dark-mode) header.navbar,
body:not(.dark-mode) nav.navbar,
body:not(.dark-mode) .sidebar,
body:not(.dark-mode) aside.sidebar,
body:not(.dark-mode) .footer,
body:not(.dark-mode) footer.footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* Ensure text, icons, links inside these components are dark */
body:not(.dark-mode) .navbar *,
body:not(.dark-mode) header.navbar *,
body:not(.dark-mode) nav.navbar *,
body:not(.dark-mode) .sidebar *,
body:not(.dark-mode) aside.sidebar *,
body:not(.dark-mode) .footer *,
body:not(.dark-mode) footer.footer * {
  color: #334155 !important;
}

/* Titles and major headings */
body:not(.dark-mode) .navbar .logo,
body:not(.dark-mode) .sidebar .sidebar-brand,
body:not(.dark-mode) .sidebar h2,
body:not(.dark-mode) .sidebar .brand-text,
body:not(.dark-mode) .footer h2,
body:not(.dark-mode) .footer h3,
body:not(.dark-mode) .footer-logo {
  color: #0f172a !important;
}

/* Sidebar navigation links */
body:not(.dark-mode) .sidebar-nav li a,
body:not(.dark-mode) .sidebar ul li a,
body:not(.dark-mode) .sidebar a {
  background: transparent !important;
  color: #475569 !important;
}

/* Sidebar active link and hover states */
body:not(.dark-mode) .sidebar-nav li.active a,
body:not(.dark-mode) .sidebar-nav li a:hover,
body:not(.dark-mode) .sidebar ul li.active a,
body:not(.dark-mode) .sidebar ul li a:hover,
body:not(.dark-mode) .sidebar a:hover,
body:not(.dark-mode) .sidebar .active a {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body:not(.dark-mode) .sidebar-nav li.active a *,
body:not(.dark-mode) .sidebar-nav li a:hover *,
body:not(.dark-mode) .sidebar ul li.active a *,
body:not(.dark-mode) .sidebar ul li a:hover *,
body:not(.dark-mode) .sidebar a:hover *,
body:not(.dark-mode) .sidebar .active a * {
  color: #0f172a !important;
}

/* Footer links hover */
body:not(.dark-mode) .footer a:hover,
body:not(.dark-mode) footer.footer a:hover {
  color: #4f46e5 !important; /* Premium brand indigo */
}

/* Search bar inside navbar */
body:not(.dark-mode) .search-bar input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .search-bar input::placeholder {
  color: #64748b !important;
}

/* Outline and secondary buttons inside light navbar/sidebar */
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn,
body:not(.dark-mode) .navbar .outline-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn:hover,
body:not(.dark-mode) .navbar .outline-btn:hover {
  background-color: #f1f5f9 !important;
}


/* ==========================================
   2. DARK MODE SPECIFIC (body.dark-mode)
   ========================================== */
body.dark-mode .navbar,
body.dark-mode header.navbar,
body.dark-mode nav.navbar,
body.dark-mode .sidebar,
body.dark-mode aside.sidebar,
body.dark-mode .footer,
body.dark-mode footer.footer {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
  box-shadow: none !important;
}

/* Ensure text, icons, links inside these components are light */
body.dark-mode .navbar *,
body.dark-mode header.navbar *,
body.dark-mode nav.navbar *,
body.dark-mode .sidebar *,
body.dark-mode aside.sidebar *,
body.dark-mode .footer *,
body.dark-mode footer.footer * {
  color: #cbd5e1 !important; /* slate-300 */
}

/* Titles and major headings */
body.dark-mode .navbar .logo,
body.dark-mode .sidebar .sidebar-brand,
body.dark-mode .sidebar h2,
body.dark-mode .sidebar .brand-text,
body.dark-mode .footer h2,
body.dark-mode .footer h3,
body.dark-mode .footer-logo {
  color: #ffffff !important;
}

/* Sidebar navigation links */
body.dark-mode .sidebar-nav li a,
body.dark-mode .sidebar ul li a,
body.dark-mode .sidebar a {
  background: transparent !important;
  color: #94a3b8 !important;
}

/* Sidebar active link and hover states */
body.dark-mode .sidebar-nav li.active a,
body.dark-mode .sidebar-nav li a:hover,
body.dark-mode .sidebar ul li.active a,
body.dark-mode .sidebar ul li a:hover,
body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar .active a {
  background-color: #1e293b !important; /* slate-800 */
  color: #ffffff !important;
}

body.dark-mode .sidebar-nav li.active a *,
body.dark-mode .sidebar-nav li a:hover *,
body.dark-mode .sidebar ul li.active a *,
body.dark-mode .sidebar ul li a:hover *,
body.dark-mode .sidebar a:hover *,
body.dark-mode .sidebar .active a * {
  color: #ffffff !important;
}

/* Footer links hover */
body.dark-mode .footer a:hover,
body.dark-mode footer.footer a:hover {
  color: #818cf8 !important; /* Indigo-400 */
}

/* Search bar inside navbar */
body.dark-mode .search-bar input {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
}
body.dark-mode .search-bar input::placeholder {
  color: #475569 !important;
}

/* Secondary/outline buttons in dark navbar */
body.dark-mode .navbar .nav-btn.outline-nav-btn,
body.dark-mode .navbar .outline-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}
body.dark-mode .navbar .nav-btn.outline-nav-btn:hover,
body.dark-mode .navbar .outline-btn:hover {
  background-color: #0f172a !important;
}


/* ==========================================
   3. THEME TOGGLE BUTTON STYLING (GLOBAL)
   ========================================== */
.theme-toggle,
#darkModeToggle,
#theme-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1.15rem !important;
  padding: 8px 12px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

body:not(.dark-mode) .theme-toggle,
body:not(.dark-mode) #darkModeToggle,
body:not(.dark-mode) #theme-toggle {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .theme-toggle:hover,
body:not(.dark-mode) #darkModeToggle:hover,
body:not(.dark-mode) #theme-toggle:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
  transform: scale(1.05);
}

body.dark-mode .theme-toggle,
body.dark-mode #darkModeToggle,
body.dark-mode #theme-toggle {
  color: #e2e8f0 !important;
  background-color: #1e293b !important;
}
body.dark-mode .theme-toggle:hover,
body.dark-mode #darkModeToggle:hover,
body.dark-mode #theme-toggle:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
  transform: scale(1.05);
}

/* Floating theme toggle button (for pages without navbar/sidebar) */
.theme-toggle-floating {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.dark-mode .theme-toggle-floating {
  box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* Sidebar list item toggle button */
.sidebar .theme-toggle-sidebar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  width: calc(100% - 32px) !important;
  margin: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border: none !important;
  background-color: transparent !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar {
  color: #cbd5e1 !important;
  background-color: #1e293b !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
}
/* ============================================================
   THEME STYLING OVERRIDES
   Navbar, Sidebar, and Footer theme colors:
   - Light Mode: White background, dark text/icons
   - Dark Mode: Black background, light/white text/icons
   ============================================================ */

/* ==========================================
   1. LIGHT MODE SPECIFIC (body:not(.dark-mode))
   ========================================== */
body:not(.dark-mode) .navbar,
body:not(.dark-mode) header.navbar,
body:not(.dark-mode) nav.navbar,
body:not(.dark-mode) .sidebar,
body:not(.dark-mode) aside.sidebar,
body:not(.dark-mode) .footer,
body:not(.dark-mode) footer.footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* Ensure text, icons, links inside these components are dark */
body:not(.dark-mode) .navbar *,
body:not(.dark-mode) header.navbar *,
body:not(.dark-mode) nav.navbar *,
body:not(.dark-mode) .sidebar *,
body:not(.dark-mode) aside.sidebar *,
body:not(.dark-mode) .footer *,
body:not(.dark-mode) footer.footer * {
  color: #334155 !important;
}

/* Titles and major headings */
body:not(.dark-mode) .navbar .logo,
body:not(.dark-mode) .sidebar .sidebar-brand,
body:not(.dark-mode) .sidebar h2,
body:not(.dark-mode) .sidebar .brand-text,
body:not(.dark-mode) .footer h2,
body:not(.dark-mode) .footer h3,
body:not(.dark-mode) .footer-logo {
  color: #0f172a !important;
}

/* Sidebar navigation links */
body:not(.dark-mode) .sidebar-nav li a,
body:not(.dark-mode) .sidebar ul li a,
body:not(.dark-mode) .sidebar a {
  background: transparent !important;
  color: #475569 !important;
}

/* Sidebar active link and hover states */
body:not(.dark-mode) .sidebar-nav li.active a,
body:not(.dark-mode) .sidebar-nav li a:hover,
body:not(.dark-mode) .sidebar ul li.active a,
body:not(.dark-mode) .sidebar ul li a:hover,
body:not(.dark-mode) .sidebar a:hover,
body:not(.dark-mode) .sidebar .active a {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body:not(.dark-mode) .sidebar-nav li.active a *,
body:not(.dark-mode) .sidebar-nav li a:hover *,
body:not(.dark-mode) .sidebar ul li.active a *,
body:not(.dark-mode) .sidebar ul li a:hover *,
body:not(.dark-mode) .sidebar a:hover *,
body:not(.dark-mode) .sidebar .active a * {
  color: #0f172a !important;
}

/* Footer links hover */
body:not(.dark-mode) .footer a:hover,
body:not(.dark-mode) footer.footer a:hover {
  color: #4f46e5 !important; /* Premium brand indigo */
}

/* Search bar inside navbar */
body:not(.dark-mode) .search-bar input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .search-bar input::placeholder {
  color: #64748b !important;
}

/* Outline and secondary buttons inside light navbar/sidebar */
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn,
body:not(.dark-mode) .navbar .outline-btn {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body:not(.dark-mode) .navbar .nav-btn.outline-nav-btn:hover,
body:not(.dark-mode) .navbar .outline-btn:hover {
  background-color: #f1f5f9 !important;
}


/* ==========================================
   2. DARK MODE SPECIFIC (body.dark-mode)
   ========================================== */
body.dark-mode .navbar,
body.dark-mode header.navbar,
body.dark-mode nav.navbar,
body.dark-mode .sidebar,
body.dark-mode aside.sidebar,
body.dark-mode .footer,
body.dark-mode footer.footer {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
  box-shadow: none !important;
}

/* Ensure text, icons, links inside these components are light */
body.dark-mode .navbar *,
body.dark-mode header.navbar *,
body.dark-mode nav.navbar *,
body.dark-mode .sidebar *,
body.dark-mode aside.sidebar *,
body.dark-mode .footer *,
body.dark-mode footer.footer * {
  color: #cbd5e1 !important; /* slate-300 */
}

/* Titles and major headings */
body.dark-mode .navbar .logo,
body.dark-mode .sidebar .sidebar-brand,
body.dark-mode .sidebar h2,
body.dark-mode .sidebar .brand-text,
body.dark-mode .footer h2,
body.dark-mode .footer h3,
body.dark-mode .footer-logo {
  color: #ffffff !important;
}

/* Sidebar navigation links */
body.dark-mode .sidebar-nav li a,
body.dark-mode .sidebar ul li a,
body.dark-mode .sidebar a {
  background: transparent !important;
  color: #94a3b8 !important;
}

/* Sidebar active link and hover states */
body.dark-mode .sidebar-nav li.active a,
body.dark-mode .sidebar-nav li a:hover,
body.dark-mode .sidebar ul li.active a,
body.dark-mode .sidebar ul li a:hover,
body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar .active a {
  background-color: #1e293b !important; /* slate-800 */
  color: #ffffff !important;
}

body.dark-mode .sidebar-nav li.active a *,
body.dark-mode .sidebar-nav li a:hover *,
body.dark-mode .sidebar ul li.active a *,
body.dark-mode .sidebar ul li a:hover *,
body.dark-mode .sidebar a:hover *,
body.dark-mode .sidebar .active a * {
  color: #ffffff !important;
}

/* Footer links hover */
body.dark-mode .footer a:hover,
body.dark-mode footer.footer a:hover {
  color: #818cf8 !important; /* Indigo-400 */
}

/* Search bar inside navbar */
body.dark-mode .search-bar input {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
}
body.dark-mode .search-bar input::placeholder {
  color: #475569 !important;
}

/* Secondary/outline buttons in dark navbar */
body.dark-mode .navbar .nav-btn.outline-nav-btn,
body.dark-mode .navbar .outline-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}
body.dark-mode .navbar .nav-btn.outline-nav-btn:hover,
body.dark-mode .navbar .outline-btn:hover {
  background-color: #0f172a !important;
}


/* ==========================================
   3. THEME TOGGLE BUTTON STYLING (GLOBAL)
   ========================================== */
.theme-toggle,
#darkModeToggle,
#theme-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1.15rem !important;
  padding: 8px 12px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

body:not(.dark-mode) .theme-toggle,
body:not(.dark-mode) #darkModeToggle,
body:not(.dark-mode) #theme-toggle {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .theme-toggle:hover,
body:not(.dark-mode) #darkModeToggle:hover,
body:not(.dark-mode) #theme-toggle:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
  transform: scale(1.05);
}

body.dark-mode .theme-toggle,
body.dark-mode #darkModeToggle,
body.dark-mode #theme-toggle {
  color: #e2e8f0 !important;
  background-color: #1e293b !important;
}
body.dark-mode .theme-toggle:hover,
body.dark-mode #darkModeToggle:hover,
body.dark-mode #theme-toggle:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
  transform: scale(1.05);
}

/* Floating theme toggle button (for pages without navbar/sidebar) */
.theme-toggle-floating {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
body.dark-mode .theme-toggle-floating {
  box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* Sidebar list item toggle button */
.sidebar .theme-toggle-sidebar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  width: calc(100% - 32px) !important;
  margin: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border: none !important;
  background-color: transparent !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}
body:not(.dark-mode) .sidebar .theme-toggle-sidebar:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar {
  color: #cbd5e1 !important;
  background-color: #1e293b !important;
}
body.dark-mode .sidebar .theme-toggle-sidebar:hover {
  color: #ffffff !important;
  background-color: #334155 !important;
}