@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  /* Colors - P-Bit Identity */
  --pbit-blue: #50B1F9;
  --pbit-green: #62F304;
  --yellow-alert: #f59e0b;
  --blue-light: #67C9FA;
  --green-light: #92FC4D;
  
  /* Colors - Dark UI (Slate) */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  
  /* Colors - Branded Dark */
  --brand-dark: #003D5C;
  
  /* Colors - Neutrals (GLOBAL DARK THEME) */
  --white: #020617; /* Slate 950 - Absolute Base */
  --ice-white: #0f172a; /* Slate 900 */
  --gray-50: #1e293b; /* Slate 800 - Cards/Surfaces */
  --border-light: #334155; /* Slate 700 - Borders */
  
  --text-primary: #FFFFFF;
  --text-secondary: #e2e8f0;
  --text-muted: #94A3B8;
  
  /* Utility Colors */
  --danger: #ef4444;

  /* Typography */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Spacing (Base 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  
  /* Grid & Layout */
  --grid-gap: 24px;
  --container-width: 1200px;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(32px, 5vw, 64px); 
  font-weight: 800;
  margin-bottom: var(--sp-3);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.5px;
}

h3 {
  font-size: 24px;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

p {
  margin-bottom: var(--sp-2);
  color: var(--text-secondary);
}

.code-text {
  font-family: var(--font-code);
  font-size: 14px;
  font-weight: 400;
  color: var(--pbit-green);
  background: var(--ice-white);
  padding: 2px 6px;
  border-radius: 4px;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section {
  padding: var(--sp-8) 0;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

/* Background Utility Classes */
.bg-brand-dark { background-color: var(--brand-dark); color: #FFFFFF; }
.bg-brand-dark h1, .bg-brand-dark h2, .bg-brand-dark h3, .bg-brand-dark p, .bg-brand-dark .text-secondary { color: #FFFFFF; }
.bg-brand-dark p { color: rgba(255,255,255,0.8) !important; }

.bg-gray-50 { background-color: var(--ice-white); }
.bg-white { background-color: var(--white); }

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  gap: 8px;
}

.btn-primary {
  background-color: var(--pbit-blue);
  color: #020617;
}
.btn-primary:hover {
  background-color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-success {
  background-color: var(--pbit-green);
  color: #1A1A1A;
}
.btn-success:hover {
  background-color: var(--green-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--ice-white);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background-color: var(--border-light);
}

.btn-danger {
  background-color: var(--danger);
  color: #FFFFFF;
}

/* Cards */
.card {
  background-color: var(--gray-50); 
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {  
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
  border-color: rgba(80,177,249,0.3);
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}
.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.logo span.blue { color: var(--pbit-blue); } 
.logo span.green { color: var(--pbit-green); }

/* Mega Menu / Navbar Core Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
}
.nav-links {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-size: 16px;
}
.nav-links a:hover {
  color: var(--pbit-blue);
}

/* ── Active nav link ── */
.nav-links a.nav-active {
  color: var(--pbit-blue);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-btn.active {
  border-color: var(--pbit-blue);
  background: rgba(80,177,249,0.1);
  color: var(--pbit-blue);
  outline: none;
}

.lang-btn.disabled,
.lang-btn[aria-disabled="true"] {
  border-color: var(--border-light);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.lang-divider {
  color: var(--text-muted);
  font-size: 12px;
}

/* ── Nav dropdowns ──────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--pbit-blue);
}

.nav-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 250;
}

.nav-dropdown-menu.open {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.nav-active,
.nav-dropdown-menu a.lang-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.nav-item-muted {
  opacity: 0.55;
  pointer-events: none;
}

.nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(80, 177, 249, 0.15);
  color: var(--pbit-blue);
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.lang-dropdown .nav-dropdown-menu {
  min-width: 150px;
  left: auto;
  right: 0;
  transform: none;
}

.lang-option {
  font-size: 13px !important;
}

.lang-active {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

.nav-cta {
  padding: 8px 20px;
  margin-left: 12px;
}

/* ── Hamburger button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--pbit-blue);
  background: rgba(80,177,249,0.06);
  outline: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--pbit-blue);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--pbit-blue);
}

/* ── Mobile nav overlay ── */
@media (max-width: 900px) {
  header {
    z-index: 1000 !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px var(--sp-4) var(--sp-4);
    background: rgba(2,6,23,0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.open,
  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 17px;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  /* CTA button in mobile menu */
  .nav-links .btn {
    width: 100%;
    margin: var(--sp-3) 0 0;
    justify-content: center;
    padding: 14px 24px !important;
    margin-left: 0 !important;
    border-bottom: none !important;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 17px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    padding: 4px 0 10px 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 0;
    border-bottom: none;
    font-size: 15px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lang-dropdown .nav-dropdown-menu {
    right: auto;
  }
}

/* ── Nav backdrop (dimmed overlay behind panel) ── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  cursor: pointer;
}
.nav-backdrop.open {
  display: block;
}

/* ── Focus-visible global reset ── */
:focus-visible {
  outline: 2px solid var(--pbit-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Icon utilities */
.icon {
  width: 24px;
  height: 24px;
  stroke: var(--pbit-blue);
  stroke-width: 2;
  fill: none;
}

.icon-lg {
  width: 48px;
  height: 48px;
}

.icon-action {
  stroke: var(--pbit-green);
}

/* =========================================
   SCROLL REVEAL SYSTEM
   ========================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }

/* =========================================
   HERO BACKGROUNDS
   ========================================= */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* =========================================
   GRADIENT TEXT
   ========================================= */
.gradient-text {
  background: linear-gradient(135deg, var(--pbit-blue) 0%, var(--pbit-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-rev {
  background: linear-gradient(135deg, var(--pbit-green) 0%, var(--pbit-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   HERO BADGE
   ========================================= */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 100px; padding: 5px 18px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 24px; border-width: 1px; border-style: solid;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.5); }
}
.badge-green {
  color: var(--pbit-green);
  background: rgba(98,243,4,0.08);
  border-color: rgba(98,243,4,0.3);
}
.badge-green .hero-badge-dot { background: var(--pbit-green); }
.badge-blue {
  color: var(--pbit-blue);
  background: rgba(80,177,249,0.08);
  border-color: rgba(80,177,249,0.3);
}
.badge-blue .hero-badge-dot { background: var(--pbit-blue); }

/* =========================================
   LIVE DATA TICKER
   ========================================= */
.live-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 13px 0; overflow: hidden;
}
.live-ticker {
  display: flex; gap: 48px;
  animation: ticker-scroll 22s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-code); font-size: 13px;
  color: var(--text-muted); white-space: nowrap;
}
.tick-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.tick-val { font-weight: 700; }

/* =========================================
   PAGE HERO — Common shell
   ========================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 64px;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero-radial {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}

/* =========================================
   RESPONSIVE LAYOUT GUARDS
   ========================================= */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .grid-12 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .grid-12 > * {
    grid-column: 1 / -1 !important;
    min-width: 0;
  }

  .home-hero {
    min-height: auto !important;
    padding: 64px 0 56px !important;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
  }

  .hero-layout > * {
    min-width: 0;
  }

  .home-hero h1 {
    font-size: 1.85rem !important;
    letter-spacing: 0 !important;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-hero p {
    max-width: 100% !important;
    font-size: 16px !important;
    overflow-wrap: break-word;
  }

  .stats-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .stat-chip .num {
    font-size: 26px;
  }

  .stat-chip .lbl {
    letter-spacing: 0;
  }

  .product-gallery {
    height: min(420px, 95vw) !important;
    min-width: 0;
  }

  #gallery-thumbs-container {
    gap: 8px !important;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .gallery-thumb {
    flex: 0 0 58px;
    width: 58px !important;
    height: 58px !important;
  }
}

/* =========================================
   STAT COUNTER CHIPS
   ========================================= */
.stat-chip {
  text-align: center;
}
.stat-chip .num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 36px; line-height: 1;
  display: block; margin-bottom: 6px;
}
.stat-chip .lbl {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* =========================================
   GLOBAL REVEAL SCRIPT INJECTION
   (included via script tag in each page)
   ========================================= */

/* ── FAQ Global ── */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 0; cursor: pointer; font-size: 16px; font-weight: 600; 
    color: var(--text-primary); transition: color 0.2s; list-style: none;
}
.faq-question:hover { color: var(--pbit-blue); }
.faq-answer {
    font-size: 15px; color: var(--text-muted); line-height: 1.75; 
    padding-bottom: 20px; display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--pbit-blue); }
.faq-chevron { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── Form Validation ── */
.field-error .contact-input {
    border-color: var(--danger) !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.error-message {
    font-size: 13px;
    color: var(--danger);
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

@media (max-width: 768px) {
  .stat-chip .num {
    font-size: 26px !important;
  }

  .stat-chip .lbl {
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }
}

/* ── Back to Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--pbit-blue);
    color: #FFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--pbit-green);
    transform: translateY(-5px) scale(1.1);
}
/* ── Cookie Banner & Settings ── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 28px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-header { display: flex; align-items: center; gap: 14px; }
.cookie-icon {
    width: 40px; height: 40px;
    background: rgba(98, 243, 4, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--pbit-green);
}
.cookie-title { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.cookie-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cookie-desc a { color: var(--pbit-blue); text-decoration: none; font-weight: 600; }

.cookie-settings {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.cookie-settings.open { display: flex; }

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.cookie-info h4 { font-size: 14px; margin-bottom: 2px; }
.cookie-info p { font-size: 12px; color: var(--text-muted); margin: 0; }

/* Switch UI */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--slate-700);
    transition: .3s; border-radius: 24px;
}
.cookie-slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .3s; border-radius: 50%;
}
input:checked + .cookie-slider { background-color: var(--pbit-blue); }
input:checked + .cookie-slider:before { transform: translateX(20px); }
input:disabled + .cookie-slider { opacity: 0.5; cursor: not-allowed; }

.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: 14px; flex: 1; }

@media (max-width: 600px) {
    .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 20px; }
    .cookie-actions .btn { flex: 1 1 140px; }
}
