/* =========================================================
   RADIO BUTTON COMPONENTS — radiobutton.css
   Premium UI with responsive layouts, smooth animations,
   glassmorphism, gradients, and dark/light compatibility.
========================================================= */

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #0b0f1a;
  color: #e2e8f0;
}

/* =========================================================
   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;
  transition: .3s;
  font-size: 14px;
}

.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 SECTION
========================================================= */
.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;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), 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 — Animated Radio Dots */
.hero-preview {
  flex-shrink: 0;
}

.hero-radio-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  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-radio {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.hero-radio.checked {
  border-color: #6366f1;
  box-shadow: 0 0 12px rgba(99,102,241,0.4);
}

.hero-radio-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s;
}

.hero-radio.checked .hero-radio-dot {
  background: #6366f1;
  animation: radioPulse 2s infinite ease-in-out;
}

@keyframes radioPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(99,102,241,0); }
  50% { transform: scale(1.15); box-shadow: 0 0 8px rgba(99,102,241,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: #6366f1;
  color: white;
  border-color: #6366f1;
}

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

/* =========================================================
   COMPONENT CARD (Wrapper)
========================================================= */
.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(99,102,241,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 30px rgba(99,102,241,0.05);
}

.card-preview {
  height: 240px;
  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(99,102,241,0.12);
  color: #818cf8;
  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 */
.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: #6366f1;
  color: white;
  border-color: #6366f1;
}

/* Code Block */
.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;
}

/* =========================================================
   COMPONENT 1: MINIMAL RADIO BUTTON
========================================================= */
.minimal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.minimal-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.minimal-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.minimal-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #475569;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.minimal-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6366f1;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.minimal-radio input:checked ~ .minimal-indicator {
  border-color: #6366f1;
}

.minimal-radio input:checked ~ .minimal-indicator::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.minimal-label {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.3s;
}

.minimal-radio input:checked ~ .minimal-label {
  color: #fff;
}

/* =========================================================
   COMPONENT 2: GRADIENT RADIO SELECTOR
========================================================= */
.gradient-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gradient-radio {
  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-radio:hover {
  background: rgba(255,255,255,0.06);
}

.gradient-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gradient-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #475569;
  position: relative;
  transition: all 0.4s;
  flex-shrink: 0;
}

.gradient-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gradient-radio input:checked ~ .gradient-indicator {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(124,58,237,0.3);
}

.gradient-radio input:checked ~ .gradient-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

.gradient-label {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s;
}

.gradient-radio input:checked ~ .gradient-label {
  color: #fff;
}

.gradient-radio input:checked ~ .gradient-indicator + .gradient-label {
  color: #fff;
}


/* =========================
   ACCESSIBILITY
========================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  margin: -1px;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 20px;
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 9999;
  transition: .3s;
}

.skip-link:focus {
  top: 20px;
}

/* =========================
   SMOOTH SCROLLING
========================= */

html {
  scroll-behavior: smooth;
}

/* =========================
   HERO SECTION UPGRADE
========================= */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  border-radius: 24px;
  margin-bottom: 2rem;

  background:
    linear-gradient(
      135deg,
      rgba(99,102,241,.12),
      rgba(14,165,233,.08)
    );

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

  backdrop-filter: blur(12px);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}

.hero p {
  max-width: 650px;
  color: #94a3b8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.25rem;
}

.hero-tags span {
  display: flex;
  align-items: center;
  gap: .5rem;

  padding: .7rem 1rem;

  border-radius: 999px;

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

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

/* =========================
   FILTER BAR
========================= */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.filters button {
  border: none;
  cursor: pointer;

  padding: .75rem 1.2rem;

  border-radius: 999px;

  background: #f1f5f9;

  transition: .3s ease;
}

.filters button:hover {
  transform: translateY(-2px);
}

.filters button.active {
  background: #6366f1;
  color: white;
}

/* =========================
   COMPONENT GRID
========================= */

.radio-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fill,
    minmax(350px,1fr));

  gap: 1.5rem;
}

/* =========================
   COMPONENT CARD
========================= */

.component-card {
  overflow: hidden;

  border-radius: 22px;

  background: #fff;

  border: 1px solid #e5e7eb;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

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

  border-color: rgba(99,102,241,.35);

  box-shadow:
    0 20px 40px rgba(0,0,0,.08);
}

.card-preview {
  padding: 2rem;
  border-bottom: 1px solid #f1f5f9;
}

.card-content {
  padding: 1.5rem;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.card-top span {
  padding: .4rem .8rem;
  border-radius: 999px;

  font-size: .75rem;
  font-weight: 600;

  background: rgba(99,102,241,.1);
  color: #6366f1;
}

.card-content p {
  margin-top: .75rem;
  color: #64748b;
  line-height: 1.6;
}

/* =========================
   ACTION BUTTONS
========================= */

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.card-actions button {
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: .5rem;

  padding: .75rem 1rem;

  border-radius: 12px;

  background: #f8fafc;

  transition: .3s ease;
}

.card-actions button:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-2px);
}

.card-actions button:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 3px;
}

/* =========================
   CODE BLOCK
========================= */

.code-block {
  margin: 0;
  padding: 1rem;

  overflow-x: auto;

  background: #0f172a;
  color: #e2e8f0;

  font-size: .9rem;
  line-height: 1.6;
}

/* =========================
   RADIO HOVER EFFECT
========================= */

label[class*="radio"] {
  transition: .3s ease;
}

label[class*="radio"]:hover {
  transform: translateY(-2px);
}

/* =========================
   SEARCH BAR
========================= */

.search-box {
  display: flex;
  align-items: center;
  gap: .75rem;

  padding: .85rem 1rem;

  border-radius: 14px;

  background: #fff;

  border: 1px solid #e5e7eb;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  background: transparent;
}

/* =========================
   TOPBAR BUTTONS
========================= */

.add-btn,
.collection-btn,
.theme-btn {
  border: none;
  cursor: pointer;

  padding: .85rem 1.1rem;

  border-radius: 12px;

  transition: .3s ease;
}

.add-btn {
  background: #6366f1;
  color: white;
}

.add-btn:hover {
  background: #4f46e5;
}

.collection-btn:hover,
.theme-btn:hover {
  background: #f1f5f9;
}

/* =========================
   TOAST
========================= */

.toast {
  position: fixed;

  bottom: 30px;
  right: 30px;

  background: #111827;
  color: white;

  padding: 14px 20px;

  border-radius: 12px;

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: .35s ease;

  z-index: 9999;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.footer {
  margin-top: 5rem;
  padding: 4rem 2rem;

  border-top: 1px solid #e5e7eb;
}

.footer-container {
  display: grid;

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

  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: .6rem;
}

.footer-col a {
  text-decoration: none;
  color: #64748b;
}

.footer-col a:hover {
  color: #6366f1;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #64748b;
}

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

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .radio-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    gap: 1rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .card-actions {
    flex-direction: column;
  }

  .card-actions button {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   COMPONENT 3: GLASSMORPHISM RADIO BUTTON
========================================================= */
.glass-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

.glass-radio {
  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-radio:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.glass-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.glass-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.glass-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #818cf8;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-radio input:checked ~ .glass-indicator {
  border-color: #6366f1;
  background: rgba(99,102,241,0.15);
  box-shadow: 0 0 12px rgba(99,102,241,0.3);
}

.glass-radio input:checked ~ .glass-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

.glass-label {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.glass-label i {
  font-size: 12px;
  color: #6366f1;
}

.glass-radio input:checked ~ .glass-label {
  color: #e2e8f0;
}

/* =========================================================
   COMPONENT 4: ANIMATED TOGGLE RADIO GROUP
========================================================= */
.toggle-radio-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  width: 280px;
}

.toggle-radio-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-radio-group label {
  padding: 14px 0;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  transition: color 0.3s;
  z-index: 2;
  position: relative;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(33.333% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

#toggle-monthly:checked ~ .toggle-slider {
  transform: translateX(0);
}

#toggle-yearly:checked ~ .toggle-slider {
  transform: translateX(calc(100% + 2px));
}

#toggle-lifetime:checked ~ .toggle-slider {
  transform: translateX(calc(200% + 4px));
}

#toggle-monthly:checked ~ label[for="toggle-monthly"],
#toggle-yearly:checked ~ label[for="toggle-yearly"],
#toggle-lifetime:checked ~ label[for="toggle-lifetime"] {
  color: #fff;
}

/* =========================================================
   COMPONENT 5: PAYMENT METHOD RADIO CARD
========================================================= */
.payment-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}

.payment-radio {
  cursor: pointer;
  position: relative;
  display: block;
}

.payment-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.payment-radio:hover .payment-card-inner {
  background: rgba(255,255,255,0.06);
}

.payment-radio input:checked ~ .payment-card-inner {
  border-color: #6366f1;
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 16px rgba(99,102,241,0.15);
}

.payment-icon {
  font-size: 24px;
  color: #94a3b8;
  width: 36px;
  text-align: center;
  transition: color 0.3s;
}

.payment-radio input:checked ~ .payment-card-inner .payment-icon {
  color: #818cf8;
}

.payment-info {
  flex: 1;
}

.payment-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1px;
}

.payment-info span {
  font-size: 11px;
  color: #64748b;
}

.payment-check {
  font-size: 18px;
  color: transparent;
  transition: all 0.3s;
}

.payment-radio input:checked ~ .payment-card-inner .payment-check {
  color: #6366f1;
}

.cyber-radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 250px;
}
.cyber-radio {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 15px 20px;
  border: 2px solid transparent;
  background: #09090e;
  position: relative;
  overflow: hidden;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s;
}
.cyber-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cyber-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid #0ff;
  position: relative;
  transform: rotate(45deg);
  transition: all 0.3s;
  box-shadow: 0 0 5px #0ff, inset 0 0 5px #0ff;
}
.cyber-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  background: #f0f;
  box-shadow: 0 0 10px #f0f;
  transition: all 0.3s;
}
.cyber-radio input:checked ~ .cyber-indicator {
  border-color: #f0f;
  box-shadow: 0 0 10px #f0f, inset 0 0 10px #f0f;
  transform: rotate(90deg);
}
.cyber-radio input:checked ~ .cyber-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}
.cyber-label {
  font-size: 14px;
  font-weight: 700;
  color: #0ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 5px #0ff;
  transition: all 0.3s;
}
.cyber-radio input:checked ~ .cyber-label {
  color: #f0f;
  text-shadow: 0 0 8px #f0f;
}

.neu-radio-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.neu-radio {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 12px;
}
.neu-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.neu-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #141833;
  box-shadow: 4px 4px 8px #080a14, -4px -4px 8px #202652;
  position: relative;
  transition: all 0.3s;
}
.neu-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 10px #f97316;
  transition: all 0.3s;
}
.neu-radio input:checked ~ .neu-indicator {
  box-shadow: inset 4px 4px 8px #080a14, inset -4px -4px 8px #202652;
}
.neu-radio input:checked ~ .neu-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}
.neu-label {
  font-size: 15px;
  font-weight: 600;
  color: #8a9bc0;
  transition: color 0.3s;
}
.neu-radio input:checked ~ .neu-label {
  color: #fff;
}

.emoji-radio-group {
  display: flex;
  gap: 15px;
  background: rgba(255,255,255,0.03);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}
.emoji-radio {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.emoji-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.emoji-icon {
  font-size: 28px;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.8);
}
.emoji-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s;
}
.emoji-radio input:checked ~ .emoji-icon {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.2) translateY(-5px);
}
.emoji-radio input:checked ~ .emoji-label {
  opacity: 1;
  transform: translateY(0);
  color: #fff;
}
.emoji-radio:hover .emoji-icon {
  filter: grayscale(50%) opacity(0.8);
  transform: scale(1);
}

.accordion-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}
.accordion-radio {
  cursor: pointer;
  position: relative;
  display: block;
}
.accordion-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.3s;
}
.accordion-title {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.3s;
}
.accordion-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #475569;
  position: relative;
  transition: all 0.3s;
}
.accordion-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 0 0 12px 12px;
  transition: all 0.4s ease;
  opacity: 0;
}
.accordion-radio input:checked ~ .accordion-header {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px 12px 0 0;
}
.accordion-radio input:checked ~ .accordion-header .accordion-title {
  color: #10b981;
}
.accordion-radio input:checked ~ .accordion-header .accordion-indicator {
  border-color: #10b981;
}
.accordion-radio input:checked ~ .accordion-header .accordion-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}
.accordion-radio input:checked ~ .accordion-body {
  max-height: 100px;
  padding: 12px 18px;
  opacity: 1;
  border: 1px solid #10b981;
  border-top: none;
}

.pricing-radio-group {
  display: flex;
  gap: 15px;
  width: 100%;
}
.pricing-radio {
  flex: 1;
  cursor: pointer;
  position: relative;
}
.pricing-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pricing-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 2px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-amount {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.pricing-amount span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.pricing-radio input:checked ~ .pricing-card {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59,130,246,0.2);
}
.pricing-radio input:checked ~ .pricing-card .pricing-tier {
  color: #60a5fa;
}

/* =========================================================
   COMPONENT 11+: ADDITIONAL RADIO VARIANTS
========================================================= */

/* Badge Radio - small badge indicator with count */
.badge-radio-group {
  display:flex;
  gap:12px;
  align-items:center;
}
.badge-radio { position:relative; cursor:pointer; display:flex; align-items:center; gap:12px; padding:8px 12px; border-radius:12px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }
.badge-radio input{ position:absolute; opacity:0; pointer-events:none; }
.badge-indicator{ width:14px; height:14px; border-radius:50%; background:#94a3b8; flex-shrink:0; transition:all .25s; }
.badge-count{ font-size:12px; color:#94a3b8; font-weight:700; }
.badge-radio input:checked ~ .badge-indicator{ background:#10b981; box-shadow:0 0 10px rgba(16,185,129,0.12); }
.badge-radio input:checked ~ .badge-count{ color:#e2e8f0; }

/* Icon Radio - icon centered cards */
.icon-radio-group{ display:flex; gap:14px; }
.icon-radio{ cursor:pointer; width:86px; height:86px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); transition:all .25s; position:relative; }
.icon-radio input{ position:absolute; opacity:0; pointer-events:none; }
.icon-radio i{ font-size:24px; color:#94a3b8; transition:all .25s; }
.icon-radio input:checked ~ i{ color:#7c3aed; transform:scale(1.08); }
.icon-radio input:checked ~ .icon-radio{ box-shadow:0 12px 30px rgba(124,58,237,0.08); }

/* Ring Radio - animated outer ring on select */
.ring-radio-group{ display:flex; gap:12px; align-items:center; }
.ring-radio{ position:relative; cursor:pointer; padding:10px 14px; border-radius:999px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }
.ring-radio input{ position:absolute; opacity:0; pointer-events:none; }
.ring-dot{ width:18px; height:18px; border-radius:50%; background:#475569; position:relative; }
.ring-dot::after{ content:''; position:absolute; inset:-8px; border-radius:50%; border:2px solid transparent; transition:all .45s ease; opacity:0; }
.ring-radio input:checked ~ .ring-dot{ background:#6366f1; }
.ring-radio input:checked ~ .ring-dot::after{ border-color:rgba(99,102,241,0.18); transform:scale(1); opacity:1; }

/* Stepper Radio - numbered steps */
.stepper-radio-group{ display:flex; flex-direction:column; gap:12px; width:100%; max-width:320px; }
.stepper-radio{ cursor:pointer; display:flex; gap:14px; align-items:flex-start; }
.stepper-radio input{ position:absolute; opacity:0; pointer-events:none; }
.step-number{ width:36px; height:36px; border-radius:8px; background:#0d1221; color:#94a3b8; display:flex; align-items:center; justify-content:center; font-weight:800; border:1px solid rgba(255,255,255,0.04); }
.stepper-radio input:checked ~ .step-number{ background:#10b981; color:#071126; box-shadow:0 6px 18px rgba(16,185,129,0.12); }
.stepper-body{ color:#94a3b8; font-size:13px; }

/* Compact Inline Radio - small inline options */
.inline-radio-group{ display:flex; gap:10px; align-items:center; }
.inline-radio{ cursor:pointer; display:flex; align-items:center; gap:8px; padding:6px 8px; border-radius:8px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); }
.inline-radio input{ position:absolute; opacity:0; pointer-events:none; }
.inline-dot{ width:12px; height:12px; border-radius:50%; border:2px solid #475569; background:transparent; transition:all .2s; }
.inline-radio input:checked ~ .inline-dot{ background:#eb6835; border-color:transparent; }

/* small responsive tweak */
@media(max-width:720px){
  .icon-radio{ width:72px; height:72px; }
  .card-preview{ height:220px; }
}

/* =========================================================
   COLOR SWATCH RADIO
========================================================= */
.swatch-radio-group {
  display: flex;
  gap: 14px;
  align-items: center;
}
.swatch-radio {
  position: relative;
  cursor: pointer;
}
.swatch-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.swatch-dot {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s;
}
.swatch-radio input:checked ~ .swatch-dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px var(--swatch-color, #6366f1);
  outline: none;
}
/* Set --swatch-color per swatch via JS or leave as-is — the border adopts the bg colour */
.swatch-radio:nth-child(1) input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px #6366f1; }
.swatch-radio:nth-child(2) input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px #10b981; }
.swatch-radio:nth-child(3) input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px #f97316; }
.swatch-radio:nth-child(4) input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px #ec4899; }
.swatch-radio:nth-child(5) input:checked ~ .swatch-dot { box-shadow: 0 0 0 3px #0b0f1a, 0 0 0 5px #eab308; }

/* =========================================================
   ADDRESS / HORIZONTAL CARD RADIO
========================================================= */
.hcard-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}
.hcard-radio {
  position: relative;
  cursor: pointer;
  display: block;
}
.hcard-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hcard-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}
.hcard-radio:hover .hcard-inner {
  background: rgba(255,255,255,0.06);
}
.hcard-radio input:checked ~ .hcard-inner {
  border-color: #6366f1;
  background: rgba(99,102,241,0.08);
}
.hcard-inner > i {
  font-size: 18px;
  color: #64748b;
  width: 22px;
  text-align: center;
  transition: color 0.3s;
  flex-shrink: 0;
}
.hcard-radio input:checked ~ .hcard-inner > i {
  color: #818cf8;
}
.hcard-text {
  flex: 1;
}
.hcard-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}
.hcard-text span {
  font-size: 11px;
  color: #64748b;
}
.hcard-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #475569;
  transition: all 0.3s;
  flex-shrink: 0;
}
.hcard-radio input:checked ~ .hcard-inner .hcard-pip {
  background: #6366f1;
  border-color: #6366f1;
  box-shadow: 0 0 8px rgba(99,102,241,0.5);
}

/* =========================================================
   STAR RATING RADIO
========================================================= */
.star-radio-group {
  display: flex;
  flex-direction: row;
  gap: 6px;
}
.star-radio {
  position: relative;
  cursor: pointer;
}
.star-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.star-radio i {
  font-size: 32px;
  color: #334155;
  transition: color 0.2s, transform 0.2s;
  display: block;
}

/* Hover: fill hovered star and all before it */
.star-radio-group:hover .star-radio i {
  color: #334155;
}
.star-radio:hover i,
.star-radio:hover ~ .star-radio i {
  color: #334155;
}
.star-radio-group .star-radio:hover i,
.star-radio-group .star-radio:hover ~ .star-radio i {
  color: #334155 !important;
}

/* Fill stars up to and including hovered one */
.star-radio-group:has(.star-radio:nth-child(1):hover) .star-radio:nth-child(1) i { color: #eab308 !important; }

.star-radio-group:has(.star-radio:nth-child(2):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(2):hover) .star-radio:nth-child(2) i { color: #eab308 !important; }

.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(3) i { color: #eab308 !important; }

.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(3) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(4) i { color: #eab308 !important; }

.star-radio-group:has(.star-radio:nth-child(5):hover) .star-radio i { color: #eab308 !important; }

/* Checked: fill stars up to and including selected one */
.star-radio-group:has(.star-radio:nth-child(1) input:checked) .star-radio:nth-child(1) i { color: #eab308; }

.star-radio-group:has(.star-radio:nth-child(2) input:checked) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(2) input:checked) .star-radio:nth-child(2) i { color: #eab308; }

.star-radio-group:has(.star-radio:nth-child(3) input:checked) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(3) input:checked) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(3) input:checked) .star-radio:nth-child(3) i { color: #eab308; }

.star-radio-group:has(.star-radio:nth-child(4) input:checked) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(4) input:checked) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(4) input:checked) .star-radio:nth-child(3) i,
.star-radio-group:has(.star-radio:nth-child(4) input:checked) .star-radio:nth-child(4) i { color: #eab308; }

.star-radio-group:has(.star-radio:nth-child(5) input:checked) .star-radio i { color: #eab308; }

/* Hover overrides checked state visually */
.star-radio-group:hover .star-radio i {
  color: #334155;
}
.star-radio-group:has(.star-radio:nth-child(1):hover) .star-radio:nth-child(1) i { color: #eab308 !important; }
.star-radio-group:has(.star-radio:nth-child(2):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(2):hover) .star-radio:nth-child(2) i { color: #eab308 !important; }
.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(3):hover) .star-radio:nth-child(3) i { color: #eab308 !important; }
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(1) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(2) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(3) i,
.star-radio-group:has(.star-radio:nth-child(4):hover) .star-radio:nth-child(4) i { color: #eab308 !important; }
.star-radio-group:has(.star-radio:nth-child(5):hover) .star-radio i { color: #eab308 !important; }
/* =========================================================
   PILL CHIP RADIO
========================================================= */
.chip-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip-radio {
  position: relative;
  cursor: pointer;
}
.chip-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-radio span {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chip-radio:hover span {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}
.chip-radio input:checked ~ span {
  background: #6366f1;
  color: #fff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
  transform: translateY(-2px);
}

/* =========================================================
   THEME MODE RADIO
========================================================= */
.theme-radio-group {
  display: flex;
  gap: 12px;
}
.theme-radio {
  position: relative;
  cursor: pointer;
  flex: 1;
}
.theme-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
  position: relative;
}
.theme-light-card {
  background: rgba(255,255,255,0.08);
}
.theme-dark-card {
  background: rgba(10,10,20,0.5);
}
.theme-auto-card {
  background: rgba(99,102,241,0.07);
}
.theme-card-inner i {
  font-size: 22px;
  color: #94a3b8;
  transition: color 0.3s;
}
.theme-card-inner span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.theme-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.theme-check i {
  font-size: 9px !important;
  color: white !important;
}
.theme-radio:hover .theme-card-inner {
  border-color: rgba(255,255,255,0.15);
}
.theme-radio input:checked ~ .theme-card-inner {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
}
.theme-radio input:checked ~ .theme-card-inner i {
  color: #818cf8;
}
.theme-radio input:checked ~ .theme-card-inner span {
  color: #c7d2fe;
}
.theme-radio input:checked ~ .theme-card-inner .theme-check {
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   SIDEBAR (mirrored from project standard)
========================================================= */
.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;
}
/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-left: 250px;
  background: #111;
  color: #fff;
  padding: 40px 20px;
  margin-top: 60px;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

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

.footer-col h3 {
  font-family: var(--font-heading);
  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: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col ul li a:focus {
  color: #00e0ff;
}

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

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--accent);
  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: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
/* =========================================================
   RESPONSIVE
========================================================= */
@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;
  }
  .radio-grid {
    padding: 0 20px 40px;
  }
}
/* RESPONSIVE FIXES */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;

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

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

:root{

  --bg:#0b1020;
  --card:#111827;
  --card-2:#151d31;

  --text:#f8fafc;
  --muted:#94a3b8;

  --primary:#6366f1;
  --primary-2:#8b5cf6;
  --cyan:#06b6d4;
  --pink:#ec4899;

  --border:rgba(255,255,255,.08);

  --radius:24px;
  --shadow:
    0 10px 30px rgba(0,0,0,.35);

  --transition:.35s cubic-bezier(.4,0,.2,1);
}

body{
  background:
    radial-gradient(circle at top left,#1e1b4b 0%,transparent 30%),
    radial-gradient(circle at bottom right,#0f172a 0%,transparent 30%),
    var(--bg);

  color:var(--text);

  font-family:"DM Sans",sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}

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

.main-content{
  padding:32px;
  margin-left:290px;
}

/* ===============================
   TOPBAR

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:40px;
}

.search-box{
  flex:1;
  display:flex;
  align-items:center;
  gap:12px;

  background:rgba(255,255,255,.05);
  border:1px solid var(--border);

  padding:16px 18px;
  border-radius:18px;

  backdrop-filter:blur(12px);
}

.search-box input{
  background:transparent;
  border:none;
  outline:none;
  color:white;
  width:100%;
  font-size:15px;
}

.search-box i{
  color:var(--muted);
}

.topbar-actions{
  display:flex;
  gap:14px;
}

.topbar-actions button{
  border:none;
  cursor:pointer;
  transition:var(--transition);
  font-weight:600;
}

.add-btn{
  background:linear-gradient(135deg,var(--primary),var(--cyan));
  color:white;
  padding:14px 22px;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(99,102,241,.35);
}

.collection-btn,
.theme-btn{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border) !important;
  color:white;
  padding:14px 18px;
  border-radius:16px;
}

.topbar-actions button:hover{
  transform:translateY(-3px);
}

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

.hero{
  position:relative;

  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;

  padding:50px;
  margin-bottom:40px;

  border-radius:32px;

  background:
    linear-gradient(
      135deg,
      rgba(99,102,241,.18),
      rgba(6,182,212,.08)
    );

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

  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.03),
      transparent
    );

  transform:translateX(-100%);
  animation:shine 8s linear infinite;
}

@keyframes shine{
  to{
    transform:translateX(100%);
  }
}

.hero h1{
  font-family:"Syne",sans-serif;
  font-size:4rem;
  line-height:1;
  margin:18px 0;
}

.hero p{
  color:var(--muted);
  max-width:700px;
  line-height:1.8;
  font-size:1.05rem;
}

.hero-tags{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.hero-tags span{
  padding:12px 18px;
  border-radius:999px;

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

  display:flex;
  align-items:center;
  gap:8px;

  font-size:.92rem;
}

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

.hero-preview{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-radio-demo{
  display:flex;
  gap:24px;
}

.hero-radio{
  width:82px;
  height:82px;
  border-radius:50%;

  border:2px solid rgba(255,255,255,.12);

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

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

  transition:var(--transition);
}

.hero-radio-dot{
  width:24px;
  height:24px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--cyan));
  transform:scale(0);
  transition:var(--transition);
}

.hero-radio.checked{
  border-color:var(--primary);
  box-shadow:
    0 0 30px rgba(99,102,241,.5);
}

.hero-radio.checked .hero-radio-dot{
  transform:scale(1);
}

/* ===============================
   FILTER BUTTONS

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:32px;
}

.filters button{
  border:none;
  cursor:pointer;

  padding:12px 20px;

  border-radius:999px;

  background:rgba(255,255,255,.05);
  color:#dbe4ff;

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

  transition:var(--transition);
}

.filters button.active,
.filters button:hover{
  background:linear-gradient(
    135deg,
    var(--primary),
    var(--primary-2)
  );

  color:white;

  transform:translateY(-2px);
}

/* ===============================
   COMPONENT GRID

.radio-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(340px,1fr));

  gap:28px;
}

/* ===============================
   COMPONENT CARD

.component-card{
  position:relative;

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

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

  border-radius:30px;

  overflow:hidden;

  transition:var(--transition);

  backdrop-filter:blur(14px);
}

.component-card::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      135deg,
      rgba(99,102,241,.08),
      transparent,
      rgba(6,182,212,.06)
    );

  opacity:0;
  transition:var(--transition);
}

.component-card:hover{
  transform:
    translateY(-10px)
    scale(1.01);

  border-color:rgba(99,102,241,.4);

  box-shadow:
    0 30px 50px rgba(0,0,0,.35);
}

.component-card:hover::before{
  opacity:1;
}

.card-preview{
  padding:36px;
  min-height:230px;

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

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

.dark-preview{
  background:
    radial-gradient(circle at top,#1e293b,#0f172a);
}

.card-content{
  padding:28px;
}

.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.card-top h3{
  font-size:1.3rem;
  font-weight:700;
}

.card-top span{
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--cyan)
    );

  color:white;

  padding:8px 14px;
  border-radius:999px;

  font-size:.75rem;
  font-weight:700;
}

.card-content p{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:22px;
}

/* ===============================
   ACTION BUTTONS

.card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.card-actions button{
  flex:1;

  min-width:120px;

  border:none;
  cursor:pointer;

  padding:13px 16px;
  border-radius:14px;

  background:rgba(255,255,255,.06);
  color:white;

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

  transition:var(--transition);
}

.card-actions button:hover{
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--cyan)
    );

  transform:translateY(-3px);
}

/* ===============================
   CODE BLOCK

.code-block{
  margin:0 24px 24px;
  padding:20px;

  border-radius:18px;

  background:#020617;

  overflow:auto;

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

.code-block code{
  color:#cbd5e1;
  font-size:.9rem;
  line-height:1.8;
}

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

@media(max-width:1200px){

  .hero{
    grid-template-columns:1fr;
  }

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

@media(max-width:768px){

  .main-content{
    padding:20px;
  }

  .hero{
    padding:32px;
  }

  .hero h1{
    font-size:2.8rem;
  }

  .topbar{
    flex-direction:column;
    align-items:stretch;
  }

  .topbar-actions{
    width:100%;
  }

  .topbar-actions button{
    flex:1;
  }

  .radio-grid{
    grid-template-columns:1fr;
  }
}
.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-group label {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary, #fff);
  padding: 0.6rem 1rem;
  border: 1px solid #444;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.radio-group input {
  display: none;
}

.radio-group input:checked + i,
.radio-group input:checked + .card,
.radio-group input:checked + .slider,
.radio-group input:checked + .step {
  color: #00e0ff;
  border-color: #00e0ff;
  transform: scale(1.05);
}

.icon-radio label i {
  margin-right: 6px;
  color: #aaa;
}

.image-radio .card {
  border: 1px solid #444;
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.toggle .slider {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  background: #333;
  color: #fff;
}

.stepper-radio .step {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  background: #444;
  color: #fff;
}

.grouped-radio fieldset {
  border: 1px solid #444;
  border-radius: 8px;
  padding: 1rem;
}
.grouped-radio legend {
  font-weight: 700;
  color: #00e0ff;
}

/* Icon Radio */
.icon-radio-group {
  display: flex;
  gap: 1rem;
}
.icon-radio {
  padding: 0.8rem 1rem;
  border: 1px solid #444;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #e0e0e0;
}
.icon-radio input {
  display: none;
}
.icon-radio input:checked + i,
.icon-radio input:checked {
  color: #00e0ff;
  font-weight: 700;
}

/* Image Radio */
.image-radio label {
  cursor: pointer;
}
.image-radio .card {
  border: 1px solid #444;
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.image-radio input {
  display: none;
}
.image-radio input:checked + .card {
  border-color: #00e0ff;
  transform: scale(1.05);
}

/* Toggle Radio */
.toggle-radio {
  display: flex;
  gap: 1rem;
}
.toggle {
  position: relative;
}
.toggle input {
  display: none;
}
.toggle .slider {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  background: #333;
  color: #fff;
  transition: background 0.3s ease;
}
.toggle input:checked + .slider {
  background: #00e0ff;
  color: #000;
}

/* Stepper Radio */
.stepper-radio {
  display: flex;
  gap: 1rem;
}
.stepper-radio input {
  display: none;
}
.stepper-radio .step {
  padding: 0.6rem 1rem;
  border-radius: 50px;
  background: #444;
  color: #fff;
  transition: background 0.3s ease;
}
.stepper-radio input:checked + .step {
  background: #00e0ff;
  color: #000;
}

/* Grouped Radio */
.grouped-radio fieldset {
  border: 1px solid #444;
  border-radius: 8px;
  padding: 1rem;
}
.grouped-radio legend {
  font-weight: 700;
  color: #00e0ff;
}
.grouped-radio label {
  display: block;
  margin: 0.5rem 0;
  cursor: pointer;
}
.grouped-radio input {
  margin-right: 0.5rem;
}
