/* =========================================================
   CHECKBOX COMPONENTS — checkbox.css
   Premium dark-theme UI with glassmorphism, gradients,
   smooth animations, and responsive layouts.
========================================================= */

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

body {
  font-family: 'DM Sans', sans-serif;
  background: white;
  color: black;
}

/* ---- LAYOUT ---- */
.main-content {
  margin-left: 250px;
  min-height: 100vh;
  width: calc(100% - 250px);
}

/* ---- TOPBAR ---- */
.topbar {
  padding: 20px 40px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.search-box {
  width: 420px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
}
.search-box input {
  width: 100%; border: none; outline: none;
  background: none; font-size: 15px; color: #e2e8f0;
}
.search-box input::placeholder { color: #64748b; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.add-btn, .collection-btn, .theme-btn {
  border: none; padding: 12px 18px; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: 14px; transition: .3s;
}
.add-btn {
  background: rgba(255,255,255,0.06); color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.1);
}
.add-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.collection-btn {
  background: linear-gradient(135deg, #f97316, #ea580c); color: white;
}
.collection-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.theme-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.08);
}
.theme-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---- HERO ---- */
.hero {
  margin: 40px; padding: 60px; border-radius: 36px;
  background: linear-gradient(135deg, #18142b, #0f172a, #221b55);
  color: white;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 50px; overflow: hidden;
  position: relative;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.12), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-left { min-width: 0; }
.breadcrumb { color: #f97316; margin-bottom: 20px; font-weight: 600; font-size: 14px; }
.hero h1 {
  font-size: 64px; line-height: 1.05; margin-bottom: 24px;
  font-family: 'Syne', sans-serif;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { color: #cbd5e1; font-size: 18px; line-height: 1.7; max-width: 700px; }
.hero-tags { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-tags span {
  padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cbd5e1;
}

/* Hero Preview — Checkbox Dots */
.hero-preview { flex-shrink: 0; }
.hero-checkbox-demo {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; backdrop-filter: blur(8px);
}
.hero-cb {
  width: 28px; height: 28px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; color: transparent; font-size: 13px;
}
.hero-cb.checked {
  background: #10b981; border-color: #10b981; color: white;
  box-shadow: 0 0 12px rgba(16,185,129,0.4);
  animation: cbPulse 2s infinite ease-in-out;
}
@keyframes cbPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 14px rgba(16,185,129,0.5); }
}

/* ---- FILTERS ---- */
.filters {
  display: flex; gap: 14px; padding: 0 40px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.filters button {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.04); color: #94a3b8;
  cursor: pointer; font-weight: 600; font-size: 14px; transition: .3s;
}
.filters button:hover { background: rgba(255,255,255,0.1); color: #e2e8f0; }
.filters .active { background: #10b981; color: white; border-color: #10b981; }

/* ---- GRID ---- */
.checkbox-grid {
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* ---- COMPONENT CARD ---- */
.component-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 26px; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
.component-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,185,129,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 30px rgba(16,185,129,0.05);
}
.card-preview {
  height: 260px; background: #0d1321;
  display: flex; justify-content: center; align-items: center; padding: 24px;
}
.card-preview.dark-preview { background: linear-gradient(135deg, #0c0f1a, #141833); }
.card-content { padding: 24px; }
.card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.card-top h3 { font-size: 22px; font-weight: 700; color: #f1f5f9; }
.card-top span {
  padding: 5px 12px; border-radius: 999px;
  background: rgba(16,185,129,0.12); color: #34d399;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
}
.card-content p { color: #64748b; line-height: 1.7; margin-bottom: 24px; font-size: 14px; }
.card-actions {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.card-actions button {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px; border-radius: 10px;
  background: rgba(255,255,255,0.04); color: #94a3b8;
  font-weight: 600; font-size: 12px; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.card-actions button:hover {
  background: #10b981; color: white; border-color: #10b981;
}
.code-block {
  margin: 0; padding: 16px 24px; background: #080c15;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto; font-size: 12px; line-height: 1.6; color: #94a3b8;
}
.code-block code { font-family: 'Fira Code','Courier New',monospace; white-space: pre; }

/* =========================================================
   1. MINIMAL CHECKBOX
========================================================= */
.minimal-cb-group { display: flex; flex-direction: column; gap: 14px; }
.minimal-cb {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; position: relative;
}
.minimal-cb input { position: absolute; opacity: 0; pointer-events: none; }
.minimal-box {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid #475569; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
}
.minimal-box i {
  font-size: 11px; color: white;
  transform: scale(0); opacity: 0;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.minimal-cb input:checked ~ .minimal-box {
  background: #6366f1; border-color: #6366f1;
}
.minimal-cb input:checked ~ .minimal-box i {
  transform: scale(1); opacity: 1;
}
.minimal-text { font-size: 14px; font-weight: 500; color: #cbd5e1; transition: color 0.3s; }
.minimal-cb input:checked ~ .minimal-text { color: #fff; }

/* =========================================================
   2. GRADIENT CHECKBOX
========================================================= */
.gradient-cb-group { display: flex; flex-direction: column; gap: 12px; }
.gradient-cb {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; padding: 12px 18px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03); transition: all 0.3s;
  position: relative;
}
.gradient-cb:hover { background: rgba(255,255,255,0.06); }
.gradient-cb input { position: absolute; opacity: 0; pointer-events: none; }
.gradient-box {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid #475569;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s; flex-shrink: 0;
}
.gradient-box i {
  font-size: 11px; color: white;
  transform: scale(0); transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}
.gradient-cb input:checked ~ .gradient-box {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(124,58,237,0.35);
}
.gradient-cb input:checked ~ .gradient-box i { transform: scale(1); }
.gradient-text { font-size: 14px; font-weight: 600; color: #94a3b8; transition: color 0.3s; }
.gradient-cb input:checked ~ .gradient-text { color: #fff; }

/* =========================================================
   3. GLASSMORPHISM CHECKBOX
========================================================= */
.glass-cb-group {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; max-width: 280px;
}
.glass-cb {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; padding: 14px 18px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px); transition: all 0.3s;
  position: relative;
}
.glass-cb:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.glass-cb input { position: absolute; opacity: 0; pointer-events: none; }
.glass-box {
  width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
}
.glass-box i {
  font-size: 10px; color: white;
  transform: scale(0); opacity: 0;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.glass-cb input:checked ~ .glass-box {
  background: rgba(99,102,241,0.35);
  border-color: rgba(99,102,241,0.6);
  box-shadow: 0 0 14px rgba(99,102,241,0.3);
}
.glass-cb input:checked ~ .glass-box i {
  transform: scale(1); opacity: 1;
}
.glass-text {
  font-size: 13px; font-weight: 500; color: #94a3b8;
  display: flex; align-items: center; gap: 8px; transition: color 0.3s;
}
.glass-text i { font-size: 12px; color: #6366f1; }
.glass-cb input:checked ~ .glass-text { color: #e2e8f0; }

/* =========================================================
   4. ANIMATED CHECKBOX TOGGLE
========================================================= */
.anim-toggle-group { display: flex; flex-direction: column; gap: 16px; }
.anim-toggle {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; position: relative;
}
.anim-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.anim-track {
  width: 46px; height: 26px; border-radius: 999px;
  background: #334155; position: relative;
  transition: background 0.3s; flex-shrink: 0;
}
.anim-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: white; transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.anim-toggle input:checked ~ .anim-track {
  background: #6366f1;
}
.anim-toggle input:checked ~ .anim-track .anim-thumb {
  transform: translateX(20px);
}
.anim-label { font-size: 14px; font-weight: 500; color: #cbd5e1; transition: color 0.3s; }
.anim-toggle input:checked ~ .anim-label { color: #fff; }

/* =========================================================
   5. TASK LIST CHECKBOX CARD
========================================================= */
.task-card {
  width: 100%; max-width: 280px;
  padding: 20px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.task-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.task-header h4 { font-size: 15px; font-weight: 700; color: #f1f5f9; }
.task-count {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(16,185,129,0.12); color: #34d399;
  font-size: 11px; font-weight: 700;
}
.task-item {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 8px 0; position: relative;
}
.task-item input { position: absolute; opacity: 0; pointer-events: none; }
.task-box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid #475569;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
}
.task-box i {
  font-size: 9px; color: white;
  transform: scale(0); opacity: 0;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.task-item input:checked ~ .task-box {
  background: #10b981; border-color: #10b981;
}
.task-item input:checked ~ .task-box i {
  transform: scale(1); opacity: 1;
}
.task-text {
  font-size: 13px; font-weight: 500; color: #cbd5e1;
  transition: all 0.3s;
}
.task-text.done,
.task-item input:checked ~ .task-text {
  text-decoration: line-through;
  color: #475569;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar {
  width: 250px; height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex; flex-direction: column; padding: 0;
  position: fixed; top: 0; left: 0; z-index: 1050;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-icon { font-size: 24px; color: #f97316; }
.brand-text {
  font-family: 'Syne',sans-serif; font-weight: 800;
  font-size: 20px; color: #fff; letter-spacing: -0.5px;
}
.sidebar-nav { flex: 1; overflow-y: auto; padding: 16px 12px; }
.sidebar-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; color: #8a9bc0; text-decoration: none;
  border-radius: 10px; font-size: 14px; font-weight: 500; transition: all 0.25s;
}
.sidebar-nav li a i { width: 18px; text-align: center; font-size: 15px; }
.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07); color: #fff; transform: translateX(3px);
}
.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235,104,53,0.2) 0%, rgba(235,104,53,0.05) 100%);
  color: #f97316; border-left: 3px solid #f97316;
}
.sidebar-footer {
  padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 16px;
}
.sidebar-footer a { color: #6a7a94; font-size: 16px; transition: color 0.25s; text-decoration: none; }
.sidebar-footer a:hover { color: #f97316; }
.cyber-cb {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; position: relative; font-family: 'Courier New', Courier, monospace;
}
.cyber-cb input { position: absolute; opacity: 0; pointer-events: none; }
.cyber-box {
  width: 26px; height: 26px; border: 2px solid #f0f;
  background: #000; box-shadow: 2px 2px 0 #0ff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.cyber-box::after {
  content: ''; position: absolute; width: 100%; height: 2px;
  background: rgba(255,255,255,0.5); top: -10px;
  transition: all 0.2s;
}
.cyber-box i {
  font-size: 16px; color: #0ff; transform: scale(0); opacity: 0;
  transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275);
}
.cyber-cb input:checked ~ .cyber-box {
  background: #f0f; border-color: #0ff; box-shadow: -2px -2px 0 #f0f;
}
.cyber-cb input:checked ~ .cyber-box::after { top: 50%; }
.cyber-cb input:checked ~ .cyber-box i { transform: scale(1); opacity: 1; color: #000; }
.cyber-text { font-size: 16px; font-weight: bold; color: #0ff; text-transform: uppercase; letter-spacing: 2px; transition: 0.2s; }
.cyber-cb input:checked ~ .cyber-text { color: #f0f; text-shadow: 2px 2px 0 #0ff; }
.neumorphic-cb {
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; position: relative;
}
.neumorphic-cb input { position: absolute; opacity: 0; pointer-events: none; }
.neu-box {
  width: 44px; height: 44px; border-radius: 12px;
  background: #e0e5ec;
  box-shadow: 6px 6px 12px #a3b1c6, -6px -6px 12px #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.neu-box i {
  font-size: 18px; color: #a3b1c6;
  transition: all 0.3s;
}
.neumorphic-cb input:checked ~ .neu-box {
  box-shadow: inset 6px 6px 12px #a3b1c6, inset -6px -6px 12px #ffffff;
}
.neumorphic-cb input:checked ~ .neu-box i {
  color: #10b981; filter: drop-shadow(0 0 4px rgba(16,185,129,0.6));
}
.neu-text {
  font-size: 16px; font-weight: 600; color: #7a8b9e; transition: all 0.3s;
}
.neumorphic-cb input:checked ~ .neu-text { color: #10b981; }
.heart-cb {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; width: 40px; height: 40px;
}
.heart-cb input { position: absolute; opacity: 0; pointer-events: none; }
.heart-icon {
  font-size: 28px; color: #cbd5e1;
  transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), color 0.3s;
}
.heart-cb input:checked ~ .heart-icon {
  color: #ef4444; transform: scale(1.15);
  animation: heartBump 0.4s ease-out;
}
@keyframes heartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1.15); }
}
.plan-cb {
  display: block; cursor: pointer; width: 100%; max-width: 260px;
  position: relative;
}
.plan-cb input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card {
  padding: 24px; border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.plan-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.plan-title { font-size: 16px; font-weight: 700; color: #f1f5f9; }
.plan-box {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #475569; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.plan-box i { font-size: 10px; color: white; transform: scale(0); transition: 0.3s; }
.plan-price {
  font-size: 32px; font-weight: 800; color: #f97316; margin-bottom: 12px;
}
.plan-price span { font-size: 14px; color: #64748b; font-weight: 500; }
.plan-card p { font-size: 13px; color: #94a3b8; line-height: 1.5; margin: 0; }
.plan-cb input:checked ~ .plan-card {
  background: rgba(249,115,22,0.05); border-color: #f97316;
}
.plan-cb input:checked ~ .plan-card .plan-box {
  background: #f97316; border-color: #f97316;
}
.plan-cb input:checked ~ .plan-card .plan-box i { transform: scale(1); }
.terms-cb {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; position: relative; max-width: 320px;
}
.terms-cb input { position: absolute; opacity: 0; pointer-events: none; }
.terms-box {
  width: 20px; height: 20px; border-radius: 4px;
  border: 2px solid #64748b; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0; margin-top: 2px;
}
.terms-box i { font-size: 11px; color: white; transform: scale(0); transition: 0.2s; }
.terms-cb input:checked ~ .terms-box {
  background: #3b82f6; border-color: #3b82f6;
}
.terms-cb input:checked ~ .terms-box i { transform: scale(1); }
.terms-text { font-size: 13px; color: #cbd5e1; line-height: 1.6; }
.terms-text a { color: #3b82f6; text-decoration: none; font-weight: 600; }
.terms-text a:hover { text-decoration: underline; }

/* ============ 11: JELLY BLOB CHECKBOX ============ */
.jelly-cb {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}
.jelly-cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.jelly-box {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  background: transparent;
}
.jelly-box i {
  font-size: 12px;
  color: white;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.jelly-cb input:checked ~ .jelly-box {
  background: #10b981;
  border-color: #10b981;
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.jelly-cb input:checked ~ .jelly-box i {
  transform: scale(1);
}
.jelly-text {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s;
}
.jelly-cb input:checked ~ .jelly-text {
  color: #10b981;
}

/* ============ 12: NEON PULSING CHECKBOX ============ */
.neon-cb {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}
.neon-cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.neon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #00f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background: rgba(0, 243, 255, 0.05);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.1);
}
.neon-box i {
  font-size: 11px;
  color: #0b0f19;
  transform: scale(0);
  transition: all 0.2s ease;
}
.neon-cb input:checked ~ .neon-box {
  background: #00f3ff;
  border-color: #00f3ff;
  box-shadow: 0 0 15px #00f3ff, 0 0 25px rgba(0, 243, 255, 0.4);
  animation: neon-pulse-ring 1s ease-out;
}
.neon-cb input:checked ~ .neon-box i {
  transform: scale(1);
}
.neon-text {
  font-size: 14px;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.neon-cb input:checked ~ .neon-text {
  color: #00f3ff;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

@keyframes neon-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

/* ============ 13: RETRO ARCADE CHECKBOX ============ */
.arcade-cb {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  font-family: 'Courier New', Courier, monospace;
}
.arcade-cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.arcade-box {
  width: 24px;
  height: 24px;
  border: 3px solid #ff0055;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s steps(2);
  background: #020205;
}
.arcade-box::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #ff0055;
  transform: scale(0);
  transition: all 0.1s steps(2);
}
.arcade-cb input:checked ~ .arcade-box {
  border-color: #00ff66;
  box-shadow: 0 0 8px #00ff66;
}
.arcade-cb input:checked ~ .arcade-box::after {
  background: #00ff66;
  transform: scale(1);
}
.arcade-text {
  font-size: 14px;
  color: #ff0055;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 0.1s steps(2);
}
.arcade-cb input:checked ~ .arcade-text {
  color: #00ff66;
  text-shadow: 0 0 4px #00ff66;
}
/* Light Theme */
[data-theme="light"] {
  --card-bg: #ffffff;   /* white background */
  --text-main: #111827; /* dark text */
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
}

/* Dark Theme */
[data-theme="dark"] {
  --card-bg: #1f2937;   /* dark background */
  --text-main: #f9fafb; /* light text */
  --primary-color: #818cf8;
  --primary-hover: #6366f1;
}

/* ===== Rainbow Checkbox ===== */
.rainbow-cb {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color: #00f3ff;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  grid-auto-flow: dense;
}
.rainbow-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  background-color:white;
}
.rainbow-cb input {
  display: none;
}
.rainbow-cb input:checked ~ .rainbow-box {
  background: linear-gradient(135deg, red, orange, yellow, green, blue, indigo, violet);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}
.rainbow-text {
  font-size: 0.95rem;
}

/* ===== Music Note Checkbox ===== */
.music-cb {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color: palevioletred;
}
.music-box {
  width: 25px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s;
}
.music-cb input {
  display: none;
}
.music-cb input:checked ~ .music-box {
  background: #4f46e5;
  color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(79,70,229,0.4);
}
.music-text {
  font-size: 0.95rem;
}
/* Rainbow */
.rainbow-box i {
  font-size: 14px;
  color: white;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}
.rainbow-cb input:checked ~ .rainbow-box i {
  transform: scale(1);
  opacity: 1;
}

/* Music */
.music-box i {
  font-size: 14px;
  color: #4f46e5;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}
.music-cb input:checked ~ .music-box i {
  transform: scale(1.2);
  opacity: 1;
  color: #fff;
  animation: pulse 0.8s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1.2); }
  50% { transform: scale(1.4); }
}

/* Earth */
.earth-box i {
  font-size: 14px;
  color: #10b981;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}
.earth-cb input:checked ~ .earth-box i {
  transform: scale(1);
  opacity: 1;
  color: #fff;
}

/* Lightning */
.lightning-box i {
  font-size: 14px;
  color: #facc15;
  transform: scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}
.lightning-cb input:checked ~ .lightning-box i {
  transform: scale(1.2);
  opacity: 1;
  color: #000;
  animation: flash 0.4s ease-out;
}
@keyframes flash {
  0% { text-shadow: 0 0 4px #facc15; }
  50% { text-shadow: 0 0 12px #facc15; }
  100% { text-shadow: 0 0 4px #facc15; }
}




/* ===== Earth Checkbox ===== */
.earth-cb {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: linear-gradient(rgb(119, 176, 224), green);
}
.earth-box {
  width: 25px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.earth-cb input {
  display: none;
}
.earth-cb input:checked ~ .earth-box {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 12px rgba(16,185,129,0.5);
}
.earth-text {
  font-size: 0.95rem;
}

/* ===== Lightning Checkbox ===== */
.lightning-cb {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color:white;
  
}
.lightning-box {
  width: 25px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}
.lightning-cb input {
  display: none;
}
.lightning-cb input:checked ~ .lightning-box {
  background: #facc15;
  color: #000;
  box-shadow: 0 0 15px rgba(250,204,21,0.6);
}
.lightning-text {
  font-size: 0.95rem;
}



/* ============ 14: SLIDE LOCK CHECKBOX ============ */
.slidelock-cb {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}
.slidelock-cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slidelock-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}
.slidelock-handle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}
.slidelock-handle i {
  font-size: 14px;
  transition: transform 0.3s;
}
.slidelock-cb input:checked ~ .slidelock-handle {
  transform: translateX(228px);
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.slidelock-cb input:checked ~ .slidelock-handle i {
  transform: rotate(360deg);
}
.slidelock-cb input:checked ~ .slidelock-track {
  opacity: 0.3;
}

/* ============ 15: 3D DEPTH FLIP CHECKBOX ============ */
.depth-cb {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  perspective: 600px;
}
.depth-cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.depth-box {
  width: 26px;
  height: 26px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, background 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.05);
}
.depth-box::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: white;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(4px) scale(0);
  transition: transform 0.3s;
}
.depth-cb:hover .depth-box {
  transform: rotateX(15deg) rotateY(-15deg);
}
.depth-cb input:checked ~ .depth-box {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  border-color: #f43f5e;
  transform: rotateX(0) rotateY(0) translateZ(2px);
  box-shadow: 0 6px 15px rgba(244, 63, 94, 0.4);
}
.depth-cb input:checked ~ .depth-box::after {
  transform: translateZ(4px) scale(1);
}
.depth-text {
  font-size: 14px;
  color: #cbd5e1;
  transition: color 0.3s;
}
.depth-cb input:checked ~ .depth-text {
  color: #fb7185;
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-preview { display: flex; justify-content: center; }
}
@media (max-width: 768px) {
  .main-content { margin-left: 0; width: 100%; }
  .topbar { flex-direction: column; align-items: stretch; }
  .search-box { width: 100%; }
  .hero { margin: 20px; padding: 36px; }
  .hero h1 { font-size: 38px; }
  .checkbox-grid { padding: 0 20px 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-left: 250px;
  background: #0b0f1a;
  color: #94a3b8;
  padding: 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #f97316;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.socials a:hover {
  background: #f97316;
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: #f97316;
}

.newsletter-form button {
  padding: 10px 18px;
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #ea580c;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
}

/* ============ 16: BOOKMARK CHECKBOX ============ */
.bookmark-cb { display: inline-block; cursor: pointer; position: relative; }
.bookmark-cb input { position: absolute; opacity: 0; cursor: pointer; }
.bookmark-box i { font-size: 28px; color: #94a3b8; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.bookmark-cb input:checked ~ .bookmark-box i { font-weight: 900; color: #eab308; transform: scale(1.15); text-shadow: 0 4px 12px rgba(234, 179, 8, 0.4); }

/* ============ 17: BELL CHECKBOX ============ */
.bell-cb { display: inline-block; cursor: pointer; position: relative; }
.bell-cb input { position: absolute; opacity: 0; cursor: pointer; }
.bell-box i { font-size: 28px; color: #94a3b8; transition: all 0.3s; }
.bell-cb input:checked ~ .bell-box i { font-weight: 900; color: #3b82f6; animation: bell-ring 0.6s ease; text-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
@keyframes bell-ring { 
  0% {transform: rotate(0);} 
  20% {transform: rotate(15deg);} 
  40% {transform: rotate(-15deg);} 
  60% {transform: rotate(10deg);} 
  80% {transform: rotate(-10deg);} 
  100% {transform: rotate(0);} 
}

/* ============ 18: STAR CHECKBOX ============ */
.star-cb { display: inline-block; cursor: pointer; position: relative; }
.star-cb input { position: absolute; opacity: 0; cursor: pointer; }
.star-box i { font-size: 28px; color: #94a3b8; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.star-cb input:checked ~ .star-box i { font-weight: 900; color: #f59e0b; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); transform: scale(1.2) rotate(72deg); }

/* ============ 19: POWER CHECKBOX ============ */
.power-cb { display: inline-block; cursor: pointer; position: relative; }
.power-cb input { position: absolute; opacity: 0; cursor: pointer; }
.power-box { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #64748b; display: flex; align-items: center; justify-content: center; transition: all 0.3s; background: rgba(0,0,0,0.05); }
.power-box i { font-size: 20px; color: #64748b; transition: all 0.3s; }
.power-cb input:checked ~ .power-box { border-color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2); }
.power-cb input:checked ~ .power-box i { color: #10b981; text-shadow: 0 0 8px rgba(16, 185, 129, 0.8); }

/* ============ 20: CHECK CIRCLE ============ */
.check-circle-cb { display: inline-block; cursor: pointer; position: relative; }
.check-circle-cb input { position: absolute; opacity: 0; cursor: pointer; }
.check-circle-box { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center; transition: all 0.4s; background: transparent; }
.check-circle-box i { font-size: 16px; color: white; transform: scale(0); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.check-circle-cb input:checked ~ .check-circle-box { background: #8b5cf6; border-color: #8b5cf6; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); }
.check-circle-cb input:checked ~ .check-circle-box i { transform: scale(1); }

@media (max-width: 768px) {
  .footer { margin-left: 0; }
  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 28px;
  }
  .footer-bottom { padding: 16px 24px; }
}
