/* Happy Hardware Official Stylesheet */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --bg-dark: #0d1e3d;
  --card-bg: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #e2e8f0;
  --border-color: rgba(255, 255, 255, 0.18);
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: #0d1e3d;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.55) 0%, rgba(29, 78, 216, 0.35) 45%, rgba(13, 30, 61, 0.9) 85%),
    linear-gradient(rgba(147, 197, 253, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.22) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  background-position: 0 0, -0.75px -0.75px, -0.75px -0.75px;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
}

.orb-one {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: -100px;
  left: -100px;
}

.orb-two {
  width: 550px;
  height: 550px;
  background: #6366f1;
  bottom: -150px;
  right: -100px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 2rem;
  margin: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(23, 56, 112, 0.82) 0%, rgba(13, 30, 61, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 30px rgba(7, 16, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0284c7 20%, #38bdf8 50%, #f97316 80%, transparent 100%);
  opacity: 0.9;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 44px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #f1f5f9;
  font-size: 1.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border-color: #38bdf8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Nav Pills & Dropdowns */
.nav-pill,
button.nav-pill {
  color: #e2e8f0;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.885rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  margin: 0;
  white-space: nowrap;
}

.nav-pill:hover,
button.nav-pill:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}

.nav-pill.is-current,
button.nav-pill.is-current {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: #38bdf8;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.nav-pill-cta {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(37, 99, 235, 0.35));
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-weight: 700;
}

.nav-pill-cta:hover {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border-color: #38bdf8;
}

.nav-pill-subtle {
  opacity: 0.85;
  font-size: 0.84rem;
}

.nav-pill-muted {
  opacity: 0.75;
  font-size: 0.84rem;
}

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

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  margin-left: 0.15rem;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.98) 0%, rgba(8, 18, 38, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(56, 189, 248, 0.15);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 1000;
  animation: dropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.dropdown-menu-right {
  left: auto;
  right: 0;
}

/* Invisible protective bridge area so moving cursor between button and menu never drops hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #e2e8f0;
  transition: all 0.18s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.dropdown-item:hover,
.dropdown-item.is-active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  transform: translateX(3px);
}

.dropdown-item .item-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dropdown-item .item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dropdown-item .item-text strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.dropdown-item .item-text small {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

@media (max-width: 860px) {
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-toggle:hover,
  .dropdown-toggle:focus {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
  }

  .nav-dropdown:hover .dropdown-menu {
    display: none; /* Disable hover on touch/mobile to prevent ghost opens */
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
    background: rgba(8, 20, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
    padding: 0.5rem;
    gap: 0.35rem;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-item {
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
  }

  .dropdown-item:active {
    background: rgba(56, 189, 248, 0.2);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #e2e8f0;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .menu-toggle:hover,
  .menu-toggle:active {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
  }

  .site-header {
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(14, 30, 58, 0.98) 0%, rgba(8, 18, 38, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(56, 189, 248, 0.4);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }

  .site-header.open .main-nav,
  .main-nav.open {
    display: flex !important;
    animation: mobileNavFade 0.22s ease-out;
  }

  @keyframes mobileNavFade {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-pill {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    width: 100%;
  }

  .nav-pill:active {
    background: rgba(56, 189, 248, 0.15);
  }

  .nav-pill-cta {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.4), rgba(37, 99, 235, 0.5));
    border-color: rgba(56, 189, 248, 0.6);
    justify-content: flex-start;
    text-align: left;
    font-size: 0.95rem;
    margin-top: 0;
    padding: 0.75rem 1rem;
  }
}

/* Main Layout & Sections */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

main.section {
  margin-bottom: 0;
}

.section {
  margin-bottom: 4rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: #ffffff;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0;
}

.hero-copy {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-cta, .btn-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: 1px solid rgba(254, 215, 170, 0.4);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.btn-cta:hover, .btn-orange:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #0f172a;
}

.btn-light:hover {
  background: #f1f5f9;
}

/* Photo Rotator / Carousel Cinemático */
.photo-rotator {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #091428;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.12);
  aspect-ratio: 16 / 7;
  max-height: 460px;
}

.photo-rotator::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 20, 40, 0.05) 0%, rgba(9, 20, 40, 0) 50%, rgba(9, 20, 40, 0.4) 100%);
  border-radius: 18px;
  z-index: 3;
}

.rotator-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.rotator-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0);
  transform-origin: center center;
  transition: opacity 0.75s ease-in-out, transform 4.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.rotator-image.zooming {
  transform: scale(1.06);
}

.rotator-image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

.rotator-image-primary {
  position: relative;
  z-index: 1;
}

.rotator-caption {
  display: none !important;
}

.rotator-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 30, 61, 0.75);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rotator-arrow:hover {
  background: #38bdf8;
  color: #0d1e3d;
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.rotator-arrow-prev { left: 1.25rem; }
.rotator-arrow-next { right: 1.25rem; }

.rotator-dots {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 10;
  background: rgba(9, 20, 40, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.rotator-dot {
  position: relative;
  width: 26px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.rotator-dot-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #f97316);
  border-radius: 999px;
}

.rotator-dot.active {
  width: 48px;
  background: rgba(56, 189, 248, 0.2);
}

@media (max-width: 640px) {
  .photo-rotator {
    border-radius: 12px;
    max-height: 260px;
  }
  .rotator-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .rotator-arrow-prev { left: 0.5rem; }
  .rotator-arrow-next { right: 0.5rem; }
  .rotator-dots {
    bottom: 0.6rem;
    padding: 4px 10px;
    gap: 0.4rem;
  }
  .rotator-dot {
    width: 18px;
    height: 4px;
  }
  .rotator-dot.active {
    width: 32px;
  }
}

/* Grids & Cards */
.service-grid, .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card, .testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card:hover, .testimonial-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.pill {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 0.75rem;
}

.service-card p, .testimonial-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card, .testimonial-card {
  display: flex;
  flex-direction: column;
}

.service-card p, .testimonial-card p {
  flex: 1;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  margin-top: 1rem;
  padding: 0.35rem 0;
  transition: all 0.25s ease;
  align-self: flex-start;
}

.service-cta-link span {
  display: inline-block;
  transition: transform 0.25s ease;
  color: #f97316;
}

.service-cta-link:hover {
  color: #ffffff;
}

.service-cta-link:hover span {
  transform: translateX(4px);
}

/* Split Panel & Checklists */
.split-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.check-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  padding-left: 1.75rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: 800;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffffff;
}

.metric-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .split-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .split-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }
}

/* Contact Panel & Forms */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: rgba(13, 30, 61, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
  width: 100%;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.contact-info-block h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.contact-lead-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.contact-direct-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-direct-card:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.25);
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-direct-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.contact-direct-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.contact-direct-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-direct-card:hover .contact-direct-value {
  color: #38bdf8;
}

.contact-form-wrap {
  width: 100%;
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="password"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px;
  font-size: 16px !important; /* Previne auto-zoom indesejado no iOS */
  font-weight: 500;
  color: #0f172a !important;
  outline: none;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.4) !important;
}

.contact-form select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

.contact-form .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
}

/* Responsividade do Card de Orçamento */
@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }

  .contact-info-block h2 {
    font-size: 1.35rem;
  }

  .contact-direct-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .contact-icon-circle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .contact-direct-value {
    font-size: 0.92rem;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    padding: 0.7rem 0.85rem;
  }
}

/* MODAL & BACKDROP (Área de Membros & Downloads) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: rgba(7, 16, 38, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-backdrop.open {
  display: flex !important;
  opacity: 1 !important;
}

.restricted-modal {
  background: linear-gradient(145deg, rgba(20, 52, 105, 0.96) 0%, rgba(13, 30, 61, 0.98) 100%);
  color: #f8fafc;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #0284c7 #09101f;
  padding: 2rem 2.25rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 35px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
  box-sizing: border-box;
}

.restricted-modal.admin-modal {
  max-width: 1040px;
}

.restricted-modal::-webkit-scrollbar {
  width: 8px;
}
.restricted-modal::-webkit-scrollbar-track {
  background: #09101f;
  border-radius: 8px;
}
.restricted-modal::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 8px;
}

.modal-backdrop.open .restricted-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
}

.modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.restricted-modal h2,
.restricted-modal h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-right: 2.2rem;
  text-align: left;
  letter-spacing: -0.01em;
}

.restricted-modal .eyebrow {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  display: block;
}

.restricted-modal p.hero-copy {
  color: #e2e8f0;
  font-size: 0.925rem;
  line-height: 1.5;
}

.modal-showcase-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.showcase-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.showcase-speed {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.modal-showcase-banner h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.showcase-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .showcase-items-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.showcase-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.showcase-item-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.showcase-item-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.showcase-item-info strong {
  font-size: 0.825rem;
  font-weight: 700;
  color: #f1f5f9;
}

.showcase-item-info small {
  font-size: 0.72rem;
  color: #94a3b8;
}

.auth-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  text-align: center;
}

.auth-guarantee span {
  color: #38bdf8;
}

.auth-tabs {
  display: flex;
  background: rgba(8, 19, 41, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px;
  border-radius: 14px;
  margin: 0 auto 1.35rem auto;
  gap: 6px;
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
}

.auth-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.auth-tab:hover:not(.active) {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
}

.auth-tab.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.auth-form.active {
  display: flex !important;
}

.auth-form[data-auth-pane="login"],
.auth-form[data-auth-pane="forgot"] {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.register-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
}

.register-bottom .btn {
  min-width: 160px;
  white-space: nowrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  box-sizing: border-box;
}

.restricted-modal label,
.auth-form label,
.contact-form label {
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.2rem !important;
}

/* CAIXAS DE TEXTO BRANCAS DE ALTO CONTRASTE */
.restricted-modal input[type="text"],
.restricted-modal input[type="email"],
.restricted-modal input[type="password"],
.restricted-modal input[type="url"],
.restricted-modal select,
.restricted-modal textarea,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  padding: 0.72rem 0.95rem !important;
  border-radius: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.925rem !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
}

.restricted-modal input::placeholder,
.restricted-modal textarea::placeholder,
.auth-form input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

.restricted-modal input:focus,
.restricted-modal select:focus,
.restricted-modal textarea:focus,
.auth-form input:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.restricted-modal select option {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 500 !important;
}

@media (max-width: 768px) {
  .register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
  }
}

@media (max-width: 580px) {
  .modal-backdrop {
    padding: 0.35rem;
  }

  .restricted-modal {
    padding: 1.15rem 0.95rem;
    border-radius: 16px;
    max-height: calc(100dvh - 0.75rem);
  }

  .modal-showcase-banner {
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
  }

  .modal-showcase-banner h4 {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
  }

  .showcase-badge-wrap {
    margin-bottom: 0.4rem;
    gap: 0.35rem;
  }

  .showcase-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
  }

  .showcase-speed {
    font-size: 0.72rem;
  }

  .showcase-items-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .showcase-item {
    padding: 0.45rem 0.65rem;
    gap: 0.5rem;
    border-radius: 8px;
  }

  .showcase-item-icon {
    font-size: 1.15rem;
  }

  .showcase-item-info strong {
    font-size: 0.8rem;
  }

  .showcase-item-info small {
    font-size: 0.7rem;
  }

  .auth-guarantee {
    font-size: 0.75rem;
    margin-top: 0.6rem;
  }

  .register-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem 0.6rem;
  }

  .auth-form input[type="text"],
  .auth-form input[type="email"],
  .auth-form input[type="password"],
  .restricted-modal input {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.85rem !important;
  }

  .restricted-modal label,
  .auth-form label {
    font-size: 0.78rem !important;
  }

  .register-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    position: sticky;
    bottom: -0.95rem;
    background: rgba(13, 30, 61, 0.98);
    z-index: 5;
  }

  .register-bottom .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .auth-tabs {
    padding: 4px;
    gap: 3px;
    margin-bottom: 0.85rem;
  }

  .auth-tab {
    padding: 7px 8px;
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.2;
  }

  .restricted-modal h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }
}

@media (max-height: 520px) {
  .restricted-modal {
    padding: 1rem 1.25rem;
  }

  .restricted-modal h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  .auth-tabs {
    margin-bottom: 0.65rem;
  }

  .auth-form {
    gap: 0.45rem;
  }

  .register-grid {
    gap: 0.4rem 0.65rem;
  }
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-field input {
  padding-right: 3rem !important;
}

.password-toggle {
  position: absolute;
  right: 0.4rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.password-toggle:hover,
.password-toggle.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.password-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.auth-help-link {
  align-self: flex-start;
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: -0.25rem;
  padding: 0;
}

.auth-help-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

.auth-help-text {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.terms-check {
  font-size: 0.825rem;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.4;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.terms-check:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecdd3;
}

.terms-check input[type="checkbox"] {
  margin-top: 2px;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  accent-color: #ef4444;
  cursor: pointer;
}

.restricted-box {
  background: #152238;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

/* Alerts */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.825rem;
  margin-bottom: 1rem;
}

.alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Footer */
.site-footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.825rem;
  color: var(--text-muted);
  background: rgba(11, 15, 25, 0.9);
}

/* Central de Downloads e Tutoriais (Modern UI) */
.dl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, rgba(23, 56, 112, 0.85) 0%, rgba(13, 30, 61, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Profile Menu Component (Top Header) */
.dl-profile-menu-wrap {
  position: relative;
  display: inline-block;
}

.dl-profile-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(10, 25, 52, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #f8fafc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dl-profile-toggle:hover,
.dl-profile-menu-wrap.open .dl-profile-toggle {
  background: rgba(13, 30, 61, 1);
  border-color: #38bdf8;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

.dl-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.dl-profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.dl-profile-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
}

.dl-profile-role {
  font-size: 0.725rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dl-profile-role .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.dl-profile-arrow {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.dl-profile-menu-wrap.open .dl-profile-arrow {
  transform: rotate(180deg);
  color: #38bdf8;
}

/* Floating Dropdown */
.dl-profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: linear-gradient(145deg, rgba(20, 52, 105, 0.98) 0%, rgba(13, 30, 61, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.dl-profile-menu-wrap.open .dl-profile-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dl-dropdown-userinfo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.4rem 0.75rem 0.4rem;
}

.dl-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.dl-dropdown-meta {
  display: flex;
  flex-direction: column;
}

.dl-dropdown-name {
  font-size: 0.95rem;
  color: #f8fafc;
  font-weight: 700;
}

.dl-dropdown-status {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dl-dropdown-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.dl-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.4rem 0;
}

.dl-dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.dl-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.dl-dropdown-item.admin:hover {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
}

.dl-dropdown-item.logout {
  color: #f87171;
}

.dl-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.dl-dropdown-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.dl-dropdown-label {
  display: flex;
  flex-direction: column;
}

.dl-dropdown-label strong {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.dl-dropdown-label small {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 400;
}

/* Central de Notificações / Avisos (Topo Header) */
.site-notif-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.site-notif-btn:hover,
.site-notif-wrap.open .site-notif-btn {
  background: rgba(30, 41, 59, 1);
  border-color: #38bdf8;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.site-notif-bell-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.site-notif-btn.has-unread .site-notif-bell-icon {
  animation: bellShake 3s infinite ease-in-out;
}

@keyframes bellShake {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(14deg); }
  90% { transform: rotate(-14deg); }
  95% { transform: rotate(8deg); }
}

.site-notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.685rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
  border: 2px solid #0f172a;
}

.site-notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: rgba(13, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  overflow: hidden;
}

.site-notif-wrap.open .site-notif-dropdown {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  background: rgba(30, 41, 59, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.site-notif-count-tag {
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

.site-notif-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: #0284c7 rgba(15, 23, 42, 0.5);
}

.site-notif-body::-webkit-scrollbar {
  width: 6px;
}
.site-notif-body::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}

.site-notif-empty {
  text-align: center;
  padding: 2.5rem 1rem;
}

.site-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-notif-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: background 0.2s ease;
}

.site-notif-card:hover {
  background: rgba(30, 41, 59, 0.9);
}

.site-notif-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.site-notif-type-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.site-notif-card-date {
  font-size: 0.725rem;
  color: #64748b;
}

.site-notif-card-title {
  margin: 0 0 0.35rem 0;
  font-size: 0.925rem;
  color: #f8fafc;
  font-weight: 700;
  line-height: 1.3;
}

.site-notif-card-msg {
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.5;
  word-break: break-word;
}

.site-notif-card-author {
  font-size: 0.725rem;
  color: #64748b;
  margin-top: 0.4rem;
  text-align: right;
}

.site-notif-footer {
  padding: 0.6rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.site-notif-admin-link {
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.site-notif-admin-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Container & Sections */
.dl-main-section {
  padding: 2rem 1.5rem 4rem 1.5rem;
}

.dl-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero Card */
.dl-hero-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.5) 0%, rgba(13, 30, 61, 0.8) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(7, 16, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.dl-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.dl-hero-text {
  max-width: 600px;
}

.dl-badge {
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.dl-hero-text h1,
.dl-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dl-hero-text .hero-copy {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.dl-stats-row {
  display: flex;
  gap: 1rem;
}

.dl-stat-box {
  background: rgba(10, 25, 52, 0.75);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dl-stat-box:hover {
  background: rgba(18, 42, 85, 0.95);
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35), 0 0 15px rgba(56, 189, 248, 0.25);
}

.dl-stat-box.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(37, 99, 235, 0.55) 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.dl-stat-icon {
  font-size: 1.6rem;
  transition: transform 0.2s ease;
}

.dl-stat-box:hover .dl-stat-icon {
  transform: scale(1.12);
}

.dl-stat-data {
  display: flex;
  flex-direction: column;
}

.dl-stat-data strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.dl-stat-data span {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.dl-stat-box:hover .dl-stat-data span,
.dl-stat-box.active .dl-stat-data span {
  color: #e2e8f0;
}

/* Control Card (Search & Filters) */
.dl-control-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.45) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 28px rgba(7, 16, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dl-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dl-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 280px;
}

.dl-search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.dl-search-magnifier {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.75;
}

.dl-search-input-wrap input {
  width: 100%;
  padding: 0.7rem 2.2rem 0.7rem 2.5rem;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  font-size: 0.925rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
}

.dl-search-input-wrap input::placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.dl-search-input-wrap input:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.dl-clear-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  padding: 0.2rem;
}

.dl-clear-btn:hover {
  color: #0f172a;
}

/* Formatação dos Botoes de Visao (Tudo, Vídeos, Downloads) */
.dl-view-tabs {
  display: flex;
  background: rgba(10, 25, 52, 0.85);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  gap: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dl-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dl-tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
}

.dl-tab-btn.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Formatação das Categorias (Chips) */
.dl-categories-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  padding-top: 0.95rem;
  margin-top: 0.2rem;
}

.dl-cat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dl-chips-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

.dl-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: rgba(10, 25, 52, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 30px;
  color: #e2e8f0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.dl-chip:hover:not(.active) {
  background: rgba(2, 132, 199, 0.2);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.dl-chip.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45), rgba(37, 99, 235, 0.45));
  border: 1.5px solid #38bdf8;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

/* Section Header */
.dl-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
}

.dl-section-header h2 {
  font-size: 1.4rem;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.dl-section-subtitle {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin: 0.35rem 0 0 0;
  line-height: 1.5;
}

.dl-count-tag {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Video Grid & Cards - Lado a Lado */
.dl-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .dl-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dl-video-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.45) 0%, rgba(13, 30, 61, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(7, 16, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dl-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.2);
}

.dl-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #020617;
}

.dl-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.dl-video-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.dl-video-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dl-cat-badge {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dl-cat-badge:hover {
  background: rgba(2, 132, 199, 0.45);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

.dl-type-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 600;
}

.dl-video-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.35;
}

.dl-video-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dl-admin-row {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  gap: 0.75rem;
}

.dl-admin-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.dl-admin-link:hover {
  text-decoration: underline;
}

.dl-admin-link.delete {
  color: #f87171;
}

/* File / Download Grid & Cards */
.dl-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .dl-file-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.dl-file-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.45) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(7, 16, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
  position: relative;
}

.dl-file-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
}

.dl-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.dl-card-badges-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.dl-card-select-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  margin: 0;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.dl-card-select-label:hover {
  background: rgba(56, 189, 248, 0.15);
}

.dl-file-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 800;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dl-file-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.dl-file-ext {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.dl-file-badge.ext-pdf {
  background: linear-gradient(135deg, #991b1b, #ef4444);
  color: #ffffff;
}

.dl-file-badge.ext-zip {
  background: linear-gradient(135deg, #b45309, #f59e0b);
  color: #ffffff;
}

.dl-file-badge.ext-exe {
  background: linear-gradient(135deg, #047857, #10b981);
  color: #ffffff;
}

.dl-file-badge.ext-doc {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #ffffff;
}

.dl-file-badge.ext-iso {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #ffffff;
}

.dl-file-badge.ext-img {
  background: linear-gradient(135deg, #c026d3, #e879f9);
  color: #ffffff;
}

.dl-file-badge.ext-apk {
  background: linear-gradient(135deg, #15803d, #22c55e);
  color: #ffffff;
}

.dl-file-badge.ext-link {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #ffffff;
}

.dl-file-badge.ext-default {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #ffffff;
}

/* Foto / Logo do Aplicativo no Card */
.dl-file-badge-app-img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dl-file-badge-app-img:hover {
  transform: scale(1.06);
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.3);
}

.dl-app-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.dl-app-card-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.52rem;
  font-weight: 800;
  padding: 1px 4px;
  border-top-left-radius: 4px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.dl-app-zoom-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.62rem;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 4px;
  padding: 1px 3px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.dl-file-badge-app-img:hover .dl-app-zoom-icon {
  opacity: 1;
}

/* Foto / Logo do Aplicativo na Tabela */
.dl-table-app-badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 1.2px solid rgba(56, 189, 248, 0.4);
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.dl-table-app-badge:hover {
  transform: scale(1.08);
  border-color: #38bdf8;
}

.dl-table-app-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  display: block;
}

.dl-table-app-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0 3px;
  border-top-left-radius: 3px;
  line-height: 1;
  color: #ffffff;
}

/* Modal Lightbox de Foto do Download */
.modal-foto-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-foto-box {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: modalFotoFadeIn 0.2s ease-out;
}

@keyframes modalFotoFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-foto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.modal-foto-title {
  margin: 0;
  font-size: 1.15rem;
  color: #f8fafc;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-foto-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-foto-close:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.modal-foto-img-wrap {
  width: 100%;
  max-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-foto-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.dl-file-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dl-file-type-pill.type-file {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dl-file-type-pill.type-link {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.dl-file-version-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}

.dl-file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dl-file-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  word-break: break-word;
}

.dl-file-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.25rem;
}

.dl-file-size {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

.dl-downloads-counter {
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
}

.dl-file-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  margin-top: auto;
  flex-wrap: wrap;
}

.dl-action-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}

.dl-admin-controls-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dl-file-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Empty State */
.dl-empty-state {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.4) 0%, rgba(13, 30, 61, 0.65) 100%);
  border: 1.5px dashed rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(7, 16, 38, 0.3);
}

.dl-empty-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.dl-empty-state h3 {
  font-size: 1.2rem;
  color: #f8fafc;
  margin: 0;
}

.dl-empty-state p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
  max-width: 400px;
}

/* Mobile Responsiveness for Central de Downloads */
@media (max-width: 900px) {
  .dl-hero-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.6rem 1.5rem;
    gap: 1.35rem;
  }

  .dl-stats-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .dl-stat-box {
    padding: 0.85rem 0.6rem;
    min-width: 0;
  }

  .dl-stat-data strong {
    font-size: 1.2rem;
  }
}

@media (max-width: 680px) {
  .dl-header {
    padding: 0.85rem 1rem;
  }

  .dl-btn-text {
    display: none;
  }

  .dl-action-btn {
    padding: 0.45rem 0.6rem;
  }

  .dl-hero-card {
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
    gap: 1.2rem;
  }

  .dl-hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
  }

  .dl-hero-text .hero-copy {
    font-size: 0.885rem;
    line-height: 1.45;
  }

  /* Stats Boxes no mobile: perfeitamente centrados e com os ícones sobre os números */
  .dl-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
  }

  .dl-stat-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.35rem;
    gap: 0.3rem;
    border-radius: 12px;
    background: rgba(10, 25, 52, 0.85);
  }

  .dl-stat-icon {
    font-size: 1.45rem;
    line-height: 1;
    display: block;
  }

  .dl-stat-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .dl-stat-data strong {
    font-size: 1.15rem;
    line-height: 1;
    color: #ffffff;
  }

  .dl-stat-data span {
    font-size: 0.725rem;
    line-height: 1.2;
    color: #94a3b8;
    margin-top: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    text-align: center;
  }

  /* Alinhamento perfeito do título das seções de vídeos e downloads no mobile */
  .dl-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.5rem !important;
  }

  .dl-section-header > div:first-child {
    width: 100%;
  }

  .dl-section-header h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    text-align: left;
  }

  .dl-section-subtitle {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 0.35rem;
    text-align: left;
  }

  .dl-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .dl-view-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .dl-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.5rem;
    font-size: 0.82rem;
  }

  /* Painel de Controle e Filtros no mobile */
  .dl-control-panel {
    padding: 0.95rem 0.85rem;
    gap: 0.85rem;
    border-radius: 14px;
  }

  .dl-control-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .dl-type-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
  }

  .dl-type-filter-btn {
    flex: 1 1 calc(50% - 0.35rem);
    justify-content: center;
    font-size: 0.76rem;
    padding: 0.4rem 0.5rem;
    text-align: center;
  }

  .dl-type-filter-btn:first-child {
    flex: 1 1 100%;
  }

  .dl-control-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .dl-sort-wrapper {
    flex: 1;
    min-width: 0;
    gap: 0.3rem;
  }

  .dl-sort-wrapper label {
    font-size: 0.78rem;
  }

  .dl-sort-select {
    flex: 1;
    min-width: 0;
    width: 100%;
    font-size: 0.78rem !important;
    padding: 0.35rem 0.5rem !important;
  }

  .playlist-view-selector {
    flex-shrink: 0;
  }

  /* Barra de Ações em Lote no Mobile */
  .dl-batch-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .dl-batch-left {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .dl-batch-actions {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }

  .dl-batch-btn-download {
    flex: 1;
    justify-content: center;
    font-size: 0.82rem;
  }

  .dl-batch-btn-clear {
    flex: 0 0 auto;
    font-size: 0.8rem;
  }

  /* Cards de Download no mobile */
  .dl-file-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 1rem;
    gap: 0.9rem;
    border-radius: 14px;
  }

  .dl-card-top-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .dl-card-badges-wrap {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
  }

  .dl-card-select-label {
    margin-left: auto;
  }

  .dl-file-info {
    width: 100%;
  }

  .dl-file-title {
    font-size: 0.98rem;
    word-break: break-word;
  }

  .dl-file-desc {
    font-size: 0.835rem;
    line-height: 1.45;
  }

  .dl-card-meta-row {
    gap: 0.65rem;
    font-size: 0.78rem;
  }

  .dl-file-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 0.65rem;
  }

  .dl-action-buttons-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .dl-btn-copy-link {
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .dl-file-btn {
    flex: 1 1 auto;
    width: auto;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .dl-admin-controls-row {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 0.4rem;
  }

  .dl-video-grid {
    grid-template-columns: 1fr;
  }

  .dl-file-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero, .split-panel, .contact-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header-right-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.3rem;
    padding: 0.4rem 0.65rem;
    min-height: 40px;
    min-width: 40px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
  }

  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    background: rgba(30, 41, 59, 1);
    border-color: #38bdf8;
    color: #38bdf8;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.85rem 1rem 3rem 1rem;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 9999;
    max-height: calc(100vh - 65px);
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #0284c7 rgba(15, 23, 42, 0.5);
  }

  .main-nav::-webkit-scrollbar {
    width: 6px;
  }
  .main-nav::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 4px;
  }

  .main-nav.open {
    display: flex !important;
  }

  .site-notif-wrap {
    position: relative;
    display: inline-flex;
    margin: 0;
  }

  .site-notif-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    min-height: 40px;
    min-width: 40px;
  }

  .dl-profile-menu-wrap {
    position: relative;
    display: inline-flex;
    margin: 0;
  }

  .dl-profile-toggle {
    padding: 0.3rem 0.6rem 0.3rem 0.35rem;
    gap: 0.45rem;
    border-radius: 30px;
  }

  .dl-profile-name {
    font-size: 0.8rem;
    max-width: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dl-profile-role {
    font-size: 0.68rem;
  }

  .dl-profile-dropdown {
    display: none !important;
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: auto !important;
    width: 290px !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 75px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 20px rgba(56, 189, 248, 0.2) !important;
    transform: translateY(0) scale(1) !important;
    border-radius: 16px !important;
    background: rgba(13, 23, 42, 0.98) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    z-index: 100000 !important;
  }

  .dl-profile-menu-wrap.open .dl-profile-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-notif-dropdown {
    display: none !important;
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: auto !important;
    width: 320px !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 75px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 20px rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px !important;
    background: rgba(13, 23, 42, 0.98) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    z-index: 100000 !important;
  }

  .site-notif-wrap.open .site-notif-dropdown {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dl-dropdown-item {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav-pill {
    padding: 0.75rem 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* Barra de Ações Diretas do Usuário Logado (Sempre Visível) */
.user-action-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.65);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.user-avatar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(30, 41, 59, 0.85);
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
}

.avatar-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.avatar-initial {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.user-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.user-pill.highlight {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.user-pill.admin {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.user-pill.logout {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-pill.logout:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* ==========================================
   ESTILOS DEDICADOS DO PAINEL ADMINISTRATIVO
   ========================================== */

.admin-page-bg {
  background: radial-gradient(circle at 50% 0%, #111c30 0%, #0b0f19 70%);
  min-height: 100vh;
  color: #f8fafc;
}

.admin-dashboard-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.admin-dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.admin-page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.2rem 0 0.4rem 0;
  letter-spacing: -0.02em;
}

.admin-page-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.admin-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.admin-header-badge .status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Vertical Layout & Sidebar */
.admin-layout-vertical {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.admin-sidebar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 1.25rem;
  position: sticky;
  top: 90px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.admin-sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin: 0 0 0.85rem 0.5rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.admin-nav-item:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
  transform: translateX(4px);
}

.admin-nav-item.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(37, 99, 235, 0.35));
  border: 1px solid #38bdf8;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

.admin-nav-item .nav-icon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.admin-nav-item.active .nav-icon {
  background: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.admin-nav-item .nav-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.admin-nav-item .nav-text strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-nav-item .nav-text small {
  font-size: 0.725rem;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 2px;
}

.admin-nav-item.active .nav-text small {
  color: #bae6fd;
}

/* Theme Cards & Content Panes */
.admin-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-theme-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-theme-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-theme-header .theme-icon {
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.admin-theme-header.theme-blue .theme-icon {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
}

.admin-theme-header.theme-purple .theme-icon {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
}

.admin-theme-header.theme-teal .theme-icon {
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #ffffff;
}

.admin-theme-header.theme-green .theme-icon {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
}

.admin-theme-header.theme-amber .theme-icon {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
}

.admin-theme-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.admin-theme-header p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0.25rem 0 0 0;
}

/* Subcards & Forms */
.admin-subcard {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.admin-subcard h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-theme-card input[type="text"],
.admin-theme-card input[type="url"],
.admin-theme-card input[type="file"],
.admin-theme-card select,
.admin-theme-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.admin-theme-card input:focus,
.admin-theme-card select:focus,
.admin-theme-card textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

/* Stats Cards Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.stat-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.stat-box:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.stat-box.highlight {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ==========================================
   CARDS E COMPONENTES MODERNOS DO ADMIN
   ========================================== */

.admin-hero-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.45) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(7, 16, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-wrap: wrap;
}

.admin-hero-text h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.35rem 0 0.5rem 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-hero-text .hero-copy {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.admin-stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-stat-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.4) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.15rem 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
  background: rgba(18, 42, 85, 0.9);
}

.admin-stat-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.admin-stat-card-icon.blue { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
.admin-stat-card-icon.pink { background: rgba(236, 72, 153, 0.2); border-color: rgba(236, 72, 153, 0.4); color: #f472b6; }
.admin-stat-card-icon.slate { background: rgba(148, 163, 184, 0.15); border-color: rgba(148, 163, 184, 0.3); color: #cbd5e1; }
.admin-stat-card-icon.green { background: rgba(34, 197, 94, 0.2); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }

.admin-stat-card-data {
  display: flex;
  flex-direction: column;
}

.admin-stat-card-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-stat-card-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-stat-card-sub {
  color: #64748b;
  font-size: 0.725rem;
  margin-top: 2px;
}

.admin-filter-bar {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.45) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 10px 28px rgba(7, 16, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 1.75rem;
}

.admin-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.admin-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-filter-field label {
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-filter-field input,
.admin-filter-field select {
  padding: 0.65rem 0.85rem;
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.admin-table-card {
  background: linear-gradient(135deg, rgba(23, 56, 112, 0.4) 0%, rgba(13, 30, 61, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(7, 16, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-x: auto;
}

.admin-table-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-table-card-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-table-card-header h3 span {
  color: #38bdf8;
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #f8fafc;
  font-size: 0.885rem;
}

.admin-users-table thead tr {
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  background: rgba(10, 25, 52, 0.6);
}

.admin-users-table thead th {
  padding: 0.9rem 0.85rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
}

.admin-users-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.admin-users-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.06);
}

.admin-users-table tbody td {
  padding: 0.9rem 0.85rem;
  vertical-align: middle;
}

.badge-gender {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
}

.badge-gender.masculino {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge-gender.feminino {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.badge-gender.outro,
.badge-gender.nao_informado {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.badge-role {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-role.admin {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.badge-role.membro {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status.ativo {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-status.inativo {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-action-status {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-action-status.inativar {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-action-status.inativar:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-1px);
}

.btn-action-status.ativar {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.btn-action-status.ativar:hover {
  background: rgba(34, 197, 94, 0.3);
  color: #ffffff;
  border-color: #22c55e;
  transform: translateY(-1px);
}

/* Logged Visitor Cards */
.visitor-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.visitor-item-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.visitor-item-card strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.visitor-item-card span {
  color: #cbd5e1;
}

.visitor-item-card small {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* Videos List inside Admin */
.video-admin-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.video-admin-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.video-admin-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.video-admin-item.is-editing {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, 0.15);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.25);
}

.v-thumb-wrap {
  position: relative;
  width: 120px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v-thumb-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.v-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #64748b;
  background: rgba(30, 41, 59, 0.6);
}

.video-admin-item .v-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 200px;
}

.video-admin-item .v-meta strong {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.3;
}

.video-admin-item .v-meta small {
  color: #94a3b8;
  font-size: 0.825rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-admin-item .v-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .video-admin-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .v-thumb-wrap {
    width: 100%;
    height: 140px;
  }
  .video-admin-item .v-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
}

/* Category Admin Boxes */
.categories-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.category-admin-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category-admin-box .cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.category-admin-box .cat-edit-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.category-admin-box input.input-sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.825rem;
}

/* Downloads Management */
.downloads-manage-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.download-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.download-manage-row .file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f8fafc;
  word-break: break-all;
}

/* Danger Buttons */
.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.pill-category {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  align-self: flex-start;
}

.pill-category.default {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}

.muted-text {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}

/* Mobile Responsiveness for Vertical Layout */
@media (max-width: 992px) {
  .admin-layout-vertical {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .user-action-group {
    width: 100%;
    border-radius: 16px;
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .user-avatar-badge {
    justify-content: center;
    width: 100%;
  }
  .user-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET (Chat Box + Pulsing Button)
   ========================================================================== */
.wa-float-container {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  font-family: var(--font-sans);
  pointer-events: auto !important;
}

.wa-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 0 12px rgba(18, 140, 126, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
  z-index: 99999;
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55), 0 0 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.wa-icon {
  flex-shrink: 0;
}

.wa-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50px;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

.wa-float-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #091122;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.wa-chat-box {
  display: none;
  flex-direction: column;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #0d172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.2);
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.wa-chat-box.open {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.wa-chat-header {
  background: linear-gradient(135deg, #065f46, #047857);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-chat-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  background: #091122;
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wa-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border: 2px solid #065f46;
  border-radius: 50%;
}

.wa-chat-info {
  display: flex;
  flex-direction: column;
}

.wa-chat-info strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.wa-chat-info small {
  font-size: 0.75rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-chat-info small i.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.wa-chat-body {
  padding: 16px;
  background: #091122;
  background-image: radial-gradient(circle at 50% 0%, rgba(18, 140, 126, 0.15), transparent 70%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
}

.wa-bubble {
  background: #152238;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  color: #f1f5f9;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
}

.wa-bubble p {
  margin: 0 0 4px 0;
}

.wa-time {
  font-size: 0.68rem;
  color: #64748b;
  display: block;
  text-align: right;
}

.wa-prompt-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-option-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 7px 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.wa-option-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateX(3px);
}

.wa-opt-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.wa-opt-text {
  flex: 1;
}

.wa-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.wa-chat-input-row input {
  flex: 1;
  background: #152238;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.825rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.wa-chat-input-row input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.wa-send-btn {
  background: #25D366;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.wa-send-btn:hover {
  background: #128C7E;
  transform: scale(1.08);
}

@media (max-width: 580px) {
  .wa-float-container {
    bottom: 16px !important;
    right: 16px !important;
  }
  .wa-float-text {
    display: none;
  }
  .wa-float-btn {
    padding: 12px;
    border-radius: 50%;
  }
  .wa-chat-box {
    width: calc(100vw - 32px);
    right: 0;
    max-height: calc(100dvh - 100px);
  }
}

/* ==========================================================================
   TESTIMONIALS / PROVA SOCIAL & STAR RATINGS
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.star-rating {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: #ffffff;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.author-meta strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
}

.author-meta span {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   LOCAL COVERAGE / CIDADES DA BAIXADA SANTISTA
   ========================================================================== */
.coverage-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.city-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.city-badge:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  gap: 1rem;
  outline: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #38bdf8;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #0284c7;
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
   VÍDEO PRINCIPAL & DEPOIMENTOS EM VÍDEO (CURSOS DIDÁTICOS)
   ========================================================================== */
.main-course-video-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 14, 28, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(2, 132, 199, 0.15);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}

@media (max-width: 960px) {
  .main-course-video-card {
    grid-template-columns: 1fr;
  }
}

.main-video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #020617;
}

.main-video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-video-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-testimonial-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.video-testimonial-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #020617;
}

.video-testimonial-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-testimonial-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.video-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.video-testimonial-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
}

.video-testimonial-desc {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

/* Estilos de Depoimentos Escritos & Badge de Aluno Verificado */
.star-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  color: #e2e8f0 !important;
  font-size: 0.925rem !important;
  line-height: 1.6 !important;
  font-style: italic;
  margin-bottom: 1.25rem !important;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-meta strong {
  color: #ffffff;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.author-meta span {
  color: #38bdf8;
  font-size: 0.775rem;
  font-weight: 500;
}

/* Redes Sociais da Happy Hardware - Botões em Ícones */
.courses-social-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.social-icons-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.social-icon-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  outline: none;
}

.social-icon-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}

.social-icon-btn:hover {
  transform: translateY(-5px) scale(1.08);
}

.social-icon-btn:hover svg {
  transform: scale(1.1);
}

/* YouTube Button */
.social-icon-yt {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-yt:hover {
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.5);
  border-color: #ffffff;
}

/* Instagram Button */
.social-icon-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-ig:hover {
  box-shadow: 0 12px 28px rgba(225, 48, 108, 0.5);
  border-color: #ffffff;
}

/* Facebook Button */
.social-icon-fb {
  background: linear-gradient(135deg, #1877f2, #0d65d9);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-fb:hover {
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.5);
  border-color: #ffffff;
}

/* ==========================================================================
   CARDS DE CURSOS EM FORMATO HORIZONTAL (MODERNO & RESPONSIVO)
   ========================================================================== */
.courses-horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.course-horizontal-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(13, 30, 61, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  align-items: center;
}

.course-horizontal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.2);
}

.course-horizontal-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 220px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at center, #0e1e38 0%, #060d1d 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.course-horizontal-thumb {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.course-horizontal-card:hover .course-horizontal-thumb {
  transform: scale(1.02);
}

.course-horizontal-thumb-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(15, 23, 42, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #38bdf8;
}

.course-horizontal-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.course-horizontal-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.course-horizontal-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.course-horizontal-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.2rem 0 0.1rem;
  line-height: 1.35;
}

.course-horizontal-desc {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
}

.course-horizontal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.course-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.course-horizontal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .courses-horizontal-list {
    gap: 1.15rem;
  }

  .course-horizontal-card {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.15rem 1rem;
    align-items: stretch;
  }

  .course-horizontal-media {
    width: 100%;
    min-height: 170px;
    max-height: 220px;
  }

  .course-horizontal-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .course-horizontal-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .course-horizontal-meta {
    gap: 0.45rem;
    padding: 0.5rem 0;
  }

  .course-meta-chip {
    font-size: 0.76rem;
    padding: 0.2rem 0.5rem;
  }

  .course-horizontal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .course-horizontal-footer > .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  .course-horizontal-footer > div {
    width: 100%;
    justify-content: space-between;
  }
}


/* ==========================================
   ESTILOS DE PLAYLIST (THEATER PLAYER & GRUPOS)
   ========================================== */

.playlist-view-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.3rem;
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.playlist-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.playlist-view-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.playlist-view-btn.active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* Playlist Theater Container */
.playlist-theater-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 17, 34, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.playlist-theater-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.playlist-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.playlist-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.playlist-active-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.playlist-counter-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.playlist-theater-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 0;
  min-height: 480px;
}

@media (max-width: 960px) {
  .playlist-theater-grid {
    grid-template-columns: 1fr;
  }
}

/* Primary Player Column */
.playlist-main-player-col {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(2, 6, 23, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .playlist-main-player-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.playlist-video-screen {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-video-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.playlist-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.playlist-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.playlist-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-nav-btn:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.playlist-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.playlist-current-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.playlist-current-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.playlist-current-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sidebar Playlist Queue */
.playlist-queue-col {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.85);
  max-height: 600px;
}

.playlist-queue-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.3);
}

.playlist-queue-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.playlist-queue-select {
  background: #0f172a !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.65rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  outline: none;
}

.playlist-queue-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  -webkit-overflow-scrolling: touch;
}

.playlist-queue-list::-webkit-scrollbar {
  width: 6px;
}
.playlist-queue-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.playlist-queue-list::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}

.playlist-queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.playlist-queue-item:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(3px);
}

.playlist-queue-item.is-active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.playlist-item-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  min-width: 22px;
  text-align: center;
}

.playlist-queue-item.is-active .playlist-item-num {
  color: #38bdf8;
}

.playlist-item-thumb {
  position: relative;
  width: 76px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-item-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.playlist-queue-item:hover .playlist-item-play-overlay {
  opacity: 1;
}

.playlist-queue-item.is-active .playlist-item-play-overlay {
  opacity: 1;
  background: rgba(2, 132, 199, 0.6);
}

.playlist-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.playlist-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.playlist-queue-item.is-active .playlist-item-title {
  color: #38bdf8;
}

.playlist-now-playing-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: pulse-dot 1.5s infinite;
}

/* Playlist Group Sections */
.playlist-group-block {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.playlist-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.playlist-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.playlist-group-title-wrap h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.playlist-watch-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
}

.playlist-watch-full-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
  color: #ffffff;
}

/* ==========================================
   DOWNLOAD CONTROLS, COMPACT TABLE & BATCH BAR
   ========================================== */

.dl-control-panel {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dl-control-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dl-type-filter-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.dl-type-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.dl-type-filter-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.3);
}

.dl-type-filter-btn.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

.dl-control-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.dl-sort-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.dl-sort-select {
  background: #0f172a !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 8px !important;
  padding: 0.38rem 0.75rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  outline: none;
}

/* Barra de Ações em Lote (Batch Download Bar) */
.dl-batch-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(30, 58, 138, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.25s ease-out;
  flex-wrap: wrap;
}

.dl-batch-bar.is-active {
  display: flex;
}

.dl-batch-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.dl-batch-count-tag {
  background: #0284c7;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.dl-batch-info-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 600;
}

.dl-batch-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dl-batch-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.dl-batch-btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.dl-batch-btn-clear {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dl-batch-btn-clear:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Custom Checkbox */
.dl-select-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #0284c7;
  cursor: pointer;
  border-radius: 4px;
}

/* Botão de Copiar Link */
.dl-btn-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dl-btn-copy-link:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.dl-btn-copy-link.copied {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}

/* MODO TABELA / LISTA COMPACTA DE DOWNLOADS */
.dl-table-container {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.dl-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.dl-table thead {
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dl-table th {
  padding: 0.9rem 1rem;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.dl-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.dl-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.06);
}

.dl-table tbody tr.is-selected {
  background: rgba(2, 132, 199, 0.15);
}

.dl-table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  color: #e2e8f0;
}

.dl-table-file-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dl-table-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dl-table-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-table-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.dl-table-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.dl-table-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .dl-table th.hide-mobile,
  .dl-table td.hide-mobile {
    display: none;
  }
}

/* Materiais Relacionados na Playlist */
.playlist-related-downloads {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(13, 30, 61, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.playlist-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  flex-wrap: wrap;
}

.playlist-related-header h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.playlist-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.85rem;
}

.playlist-related-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.playlist-related-item:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.12);
}

.playlist-related-item-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.playlist-related-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.playlist-related-item-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  word-break: break-word;
}

.playlist-related-item-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #94a3b8;
}

.playlist-related-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  width: 100%;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

@media (max-width: 860px) {
  .playlist-theater-card {
    border-radius: 16px;
    margin-bottom: 1.75rem;
  }

  .playlist-theater-header {
    padding: 0.85rem 1rem;
    gap: 0.65rem;
  }

  .playlist-header-info {
    width: 100%;
    justify-content: space-between;
  }

  .playlist-active-title {
    font-size: 1.05rem;
    width: 100%;
  }

  .playlist-main-player-col {
    padding: 1rem 0.85rem;
    gap: 0.85rem;
  }

  .playlist-player-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
  }

  .playlist-nav-btns {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .playlist-nav-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.45rem 0.5rem;
  }

  .playlist-current-title {
    font-size: 1.05rem;
  }

  .playlist-current-desc {
    font-size: 0.84rem;
    padding: 0.65rem 0.85rem;
  }

  .playlist-queue-col {
    max-height: 380px;
  }

  .playlist-queue-header {
    padding: 0.85rem 1rem;
  }

  .playlist-queue-list {
    padding: 0.6rem;
    gap: 0.5rem;
  }

  .playlist-queue-item {
    padding: 0.55rem 0.65rem;
    gap: 0.55rem;
  }

  .playlist-item-thumb {
    width: 68px;
    height: 42px;
  }

  .playlist-item-title {
    font-size: 0.8rem;
  }

  .playlist-related-downloads {
    margin-top: 1rem;
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }

  .playlist-related-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .playlist-related-item {
    padding: 0.85rem;
    gap: 0.65rem;
  }

  .playlist-related-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .playlist-related-item-actions .btn,
  .playlist-related-item-actions .dl-file-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .playlist-group-block {
    padding: 1.15rem 0.95rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
  }

  .playlist-group-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .playlist-watch-full-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Home Onboarding & Demonstration Video Section
   ========================================================================== */
.home-onboarding-section {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.65) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  margin: 2.5rem 0 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.home-onboarding-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-onboarding-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.home-onboarding-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.onboarding-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.home-onboarding-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.home-onboarding-header .hero-copy {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
}

.home-onboarding-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.home-onboarding-video-wrapper {
  display: flex;
  flex-direction: column;
}

.home-onboarding-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090e17;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-onboarding-iframe,
.home-onboarding-native-video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-onboarding-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-onboarding-placeholder:hover {
  background: radial-gradient(circle at center, rgba(30, 58, 95, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.onb-play-pulse {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: onbPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  transition: transform 0.2s ease;
}

.home-onboarding-placeholder:hover .onb-play-pulse {
  transform: scale(1.1);
}

.onb-play-icon {
  margin-left: 4px;
}

@keyframes onbPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

.onb-placeholder-info strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.onb-placeholder-info span {
  font-size: 0.88rem;
  color: #94a3b8;
  display: block;
  max-width: 320px;
  line-height: 1.4;
}

.onb-placeholder-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25rem;
}

.onb-tag {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
}

.home-onboarding-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.home-onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.onboarding-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.onboarding-step-item:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.step-number-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.step-details p {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
}

.onboarding-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.onboarding-btn-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.onboarding-logged-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  padding: 0.5rem 0.85rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
}

.onboarding-logged-status .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.onboarding-guarantee-note {
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 991px) {
  .home-onboarding-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .home-onboarding-section {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .home-onboarding-section {
    padding: 1.75rem 1.15rem;
    border-radius: 18px;
  }

  .onboarding-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .onboarding-btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Hotmart Courses Conversion Enhancements (Trust Bar, Lead Banner & FAQ)
   ========================================================================== */

/* Trust Bar */
.hotmart-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-bar-item .trust-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
}

.trust-bar-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.trust-bar-item small {
  display: block;
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hotmart-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 550px) {
  .hotmart-trust-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

/* YouTube Lead Magnet Banner */
.youtube-lead-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(14, 165, 233, 0.15) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.yt-banner-content {
  flex: 1;
  max-width: 750px;
}

.yt-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.yt-banner-content h2 {
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.yt-banner-content p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.yt-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.yt-guarantee-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

.yt-banner-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.yt-float-badge {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.yt-float-tag {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .youtube-lead-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .yt-banner-visual {
    flex-direction: row;
    align-items: center;
  }
}

/* FAQ Accordions */
.courses-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-accordion-item[open] {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: #f8fafc;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.1rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.faq-accordion-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.35rem 1.15rem 1.35rem;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-content strong {
  color: #e2e8f0;
}

/* Para Quem É / Para Quem Não É */
.course-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.fit-card {
  border-radius: 16px;
  padding: 1.75rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fit-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fit-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.fit-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.fit-card.is-for-you {
  border-color: rgba(52, 211, 153, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.fit-card.is-for-you .fit-card-badge {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.fit-card.is-not-for-you {
  border-color: rgba(244, 63, 94, 0.35);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.06) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.fit-card.is-not-for-you .fit-card-badge {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.fit-list li strong {
  color: #ffffff;
}

.fit-list-icon {
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .course-fit-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Conheça o Instrutor */
.instructor-spotlight {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.instructor-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.instructor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 3px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.instructor-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.instructor-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.instructor-details h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #ffffff;
}

.instructor-details p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.instructor-quote {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid #38bdf8;
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.instructor-highlights {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.instructor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .instructor-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .instructor-avatar-wrap {
    margin: 0 auto;
  }
  .instructor-highlights {
    justify-content: center;
  }
  .instructor-quote {
    text-align: left;
  }
}

/* Mobile Sticky CTA Bar & Mobile Floating Alignment */
.mobile-courses-sticky-cta {
  display: none;
}

@media (max-width: 860px) {
  .mobile-courses-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    padding: 0.65rem 0.85rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
  }

  .mobile-courses-sticky-cta a {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.7rem 0.5rem;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .mobile-courses-sticky-cta a:active {
    transform: scale(0.97);
  }

  /* Offset floating WhatsApp button on mobile when sticky CTA bar is present */
  body.has-sticky-cta .wa-float-container {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Give space at bottom of page on mobile so sticky bar doesn't obscure content */
  body.has-sticky-cta {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

/* Free Content Motivational Banner & Cards */
.free-unlock-section {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.free-unlock-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.free-unlock-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.free-unlock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.free-unlock-header h2 {
  font-size: 1.85rem;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
  line-height: 1.25;
}

.free-unlock-header p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.free-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.free-perk-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.free-perk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
}

.free-perk-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.free-perk-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
}

.free-perk-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.free-unlock-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  margin-top: 0.5rem;
}

.free-unlock-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.9rem 1.85rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.free-unlock-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.free-unlock-guarantee {
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 860px) {
  .free-perks-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .free-unlock-section {
    padding: 1.5rem 1.15rem;
  }
  .free-unlock-header h2 {
    font-size: 1.4rem;
  }
  .free-unlock-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }
}




