/* ==========================================================================
   Boost Brilliance Creator Network — Design System & Marketplace Styles
   Directly adapted from Google Stitch Editorial Creator Platform Design
   ========================================================================== */

:root {
  --cm-bg: #0C0D12;
  --cm-surface: #14151D;
  --cm-surface-card: #181924;
  --cm-surface-card-elevated: #202230;
  --cm-surface-container-low: #101117;
  --cm-surface-container: #161722;
  --cm-surface-container-high: #20222F;
  --cm-surface-container-highest: #2B2E3E;
  --cm-surface-container-lowest: #090A0E;

  /* Collabstr signature coral-pink gradient & accents */
  --cm-primary: #FF2E79;
  --cm-primary-container: #FF2E79;
  --cm-primary-coral: #FF5C35;
  --cm-primary-gradient: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  --cm-primary-glow: rgba(255, 46, 121, 0.4);
  --cm-secondary: #FF8BA7;
  --cm-tertiary: #3de273;
  --cm-whatsapp: #25D366;
  --cm-editorial-creme: #F7F5F2;
  --cm-editorial-creme-text: #1A1918;
  --cm-text-primary: #FFFFFF;
  --cm-text-secondary: #B4B8C5;
  --cm-border: rgba(255, 255, 255, 0.08);
  --cm-border-hover: rgba(255, 46, 121, 0.45);
  --cm-border-accent: rgba(255, 46, 121, 0.25);
  --cm-font-display: 'Montserrat', sans-serif;
  --cm-font-body: 'DM Sans', sans-serif;
  --cm-radius-sm: 8px;
  --cm-radius-md: 12px;
  --cm-radius-lg: 16px;
  --cm-radius-xl: 24px;
  --cm-radius-full: 9999px;
  --cm-shadow-card: 0 10px 32px rgba(0, 0, 0, 0.5);
  --cm-shadow-card-hover: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(255, 46, 121, 0.4);
}

/* Base resets & scoping */
.cm-page {
  background-color: var(--cm-bg);
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(255, 46, 121, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 50%, rgba(255, 92, 53, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(255, 46, 121, 0.04) 0%, transparent 50%);
  color: var(--cm-text-primary);
  font-family: var(--cm-font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.cm-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cm-container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .cm-container {
    padding: 0 1rem;
  }
}

/* Typography Helpers */
.cm-font-display {
  font-family: var(--cm-font-display);
}

.cm-headline-xl {
  font-family: var(--cm-font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cm-text-primary);
}

.cm-headline-lg {
  font-family: var(--cm-font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--cm-text-primary);
}

.cm-headline-md {
  font-family: var(--cm-font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--cm-text-primary);
}

.cm-headline-sm {
  font-family: var(--cm-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cm-text-primary);
}

.cm-lead {
  font-size: 1.05rem;
  color: var(--cm-text-secondary);
  line-height: 1.7;
}

.cm-subtext {
  font-size: 0.9rem;
  color: var(--cm-text-secondary);
}

.cm-meta-sm {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Utility Margins */
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }

/* Badges & Pills */
.cm-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: var(--cm-radius-full);
  background: rgba(255, 46, 121, 0.12);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.28);
  font-family: var(--cm-font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(255, 46, 121, 0.15);
}

.cm-pill-neutral {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: var(--cm-radius-full);
  background: rgba(255, 46, 121, 0.09);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.22);
  font-family: var(--cm-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(255, 46, 121, 0.1);
}

.cm-pill-neutral .material-symbols-outlined {
  color: #FF2E79 !important;
  font-size: 16px;
}

.cm-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--cm-radius-full);
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 12px rgba(255, 46, 121, 0.45);
}

.cm-verified-badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--cm-radius-full);
  background: rgba(255, 46, 121, 0.12);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Buttons */
.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--cm-radius-full);
  font-family: var(--cm-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cm-btn:active {
  transform: scale(0.98);
}

.cm-btn-primary {
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(255, 46, 121, 0.4);
  border: none;
}

.cm-btn-primary:hover {
  background: linear-gradient(135deg, #FF1A6C 0%, #FF4B21 100%);
  box-shadow: 0 8px 30px rgba(255, 46, 121, 0.65);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.cm-btn-secondary {
  background: var(--cm-surface-container);
  color: var(--cm-text-primary);
  border: 1px solid var(--cm-border);
}

.cm-btn-secondary:hover {
  background: var(--cm-surface-container-high);
  border-color: rgba(255, 46, 121, 0.45);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 46, 121, 0.2);
  transform: translateY(-1px);
}

.cm-btn-whatsapp {
  background: var(--cm-whatsapp);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.cm-btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.cm-btn-whatsapp-outline {
  background: rgba(37, 211, 102, 0.12);
  color: var(--cm-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-weight: 700;
}

.cm-btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.22);
  color: #FFFFFF;
}

.cm-btn-full {
  width: 100%;
}

/* Sections */
.cm-section {
  padding: 4.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .cm-section {
    padding: 3rem 0;
  }
}

.cm-section-dark {
  background: var(--cm-surface-container-lowest);
}

/* Hero Section */
.cm-hero {
  padding: 8rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cm-hero {
    padding: 6.5rem 0 3rem;
  }
}

.cm-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .cm-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.cm-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}

.cm-hero-mosaic-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--cm-radius-lg);
}

.cm-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: radial-gradient(circle, rgba(255, 92, 53, 0.18) 0%, rgba(255, 92, 53, 0.03) 55%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.cm-mosaic-card {
  position: relative;
  z-index: 1;
  background: var(--cm-surface-container);
  border-radius: var(--cm-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--cm-shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  border: 1px solid var(--cm-border);
}

.cm-mosaic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cm-shadow-card-hover);
}

.cm-mosaic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cm-mosaic-card:hover img {
  transform: scale(1.05);
}

.cm-mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.45) 45%, transparent 100%);
  z-index: 1;
}

.cm-mosaic-content {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   COLLABSTR-STYLE HERO SECTION & VIDEO CREATOR CARDS
   ========================================================================== */
.cm-hero.collabstr-hero {
  padding: 8.5rem 1.5rem 5rem;
  position: relative;
  background: #141519;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .cm-hero.collabstr-hero {
    padding: 6.5rem 1rem 3.5rem;
    border-radius: 0 0 28px 28px;
  }
}

.collabstr-glow {
  background: radial-gradient(circle at 50% 30%, rgba(255, 46, 121, 0.18) 0%, rgba(255, 92, 53, 0.08) 40%, transparent 70%);
  filter: blur(60px);
}

.collabstr-hero-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3rem;
}

.collabstr-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: var(--cm-radius-full);
  background: rgba(255, 46, 121, 0.12);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.28);
  font-family: var(--cm-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collabstr-hero-title {
  font-family: var(--cm-font-display);
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.collabstr-gradient-text {
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.collabstr-italic-text {
  font-style: italic;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 46, 121, 0.4);
  text-underline-offset: 4px;
}

.collabstr-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: #A3A7AF;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2.25rem;
}

/* Collabstr Pill Search Bar */
.collabstr-search-wrapper {
  position: relative;
  z-index: 1000;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.collabstr-search-bar {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.collabstr-search-bar:focus-within {
  box-shadow: 0 18px 50px rgba(255, 46, 121, 0.3), 0 0 0 2px #FF2E79;
  transform: translateY(-2px);
}

.collabstr-platform-dropdown-wrapper {
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}

.collabstr-platform-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  outline: none;
  font-family: var(--cm-font-body);
}

.collabstr-platform-trigger:hover {
  background: rgba(0, 0, 0, 0.04);
}

.collabstr-dropdown-icon {
  font-size: 19px;
  color: #111827;
  flex-shrink: 0;
}

.collabstr-platform-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  white-space: nowrap;
}

.collabstr-chevron {
  font-size: 19px;
  color: #6B7280;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.collabstr-platform-dropdown-wrapper.open .collabstr-chevron {
  transform: rotate(180deg);
}

/* Custom Dropdown Menu Popup (Collabstr Style) */
.collabstr-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
  z-index: 99999;
  display: none;
  flex-direction: column;
  gap: 3px;
  animation: collabstrDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collabstr-platform-dropdown-wrapper.open .collabstr-dropdown-menu {
  display: flex;
}

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

.collabstr-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  color: #1F2937;
  font-family: var(--cm-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.18s ease;
  user-select: none;
}

.collabstr-dropdown-item:hover {
  background: #F3F4F6;
  color: #111827;
}

.collabstr-dropdown-item.active {
  background: rgba(255, 46, 121, 0.08);
  color: #FF2E79;
  font-weight: 700;
}

.collabstr-dropdown-item .item-icon {
  font-size: 19px;
  flex-shrink: 0;
}

.collabstr-dropdown-item .item-icon.ig-color { color: #E1306C; }
.collabstr-dropdown-item .item-icon.tt-color { color: #000000; }
.collabstr-dropdown-item .item-icon.ugc-color { color: #FF5C35; }
.collabstr-dropdown-item .item-icon.yt-color { color: #FF0000; }
.collabstr-dropdown-item .item-icon.all-color { color: #4B5563; }

.collabstr-dropdown-item .item-name {
  flex: 1;
  white-space: nowrap;
}

.collabstr-dropdown-item .item-check {
  font-size: 16px;
  color: #FF2E79;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.collabstr-dropdown-item.active .item-check {
  opacity: 1;
}

.collabstr-search-divider {
  width: 1px;
  height: 28px;
  background: #E5E7EB;
  margin: 0 12px;
  flex-shrink: 0;
}

.collabstr-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.collabstr-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--cm-font-body);
  font-size: 0.98rem;
  color: #111827;
  background: transparent;
  padding: 8px 4px;
}

.collabstr-search-input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.collabstr-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 12px 28px;
  font-family: var(--cm-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 46, 121, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.collabstr-search-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 26px rgba(255, 46, 121, 0.65);
}

.collabstr-search-btn .search-icon {
  font-size: 20px;
}

/* Mobile Search Bar — Single Horizontal Pill (Exact Collabstr Mobile UX) */
@media (max-width: 640px) {
  .collabstr-search-wrapper {
    margin: 0 auto 1.25rem;
    padding: 0 4px;
  }

  .collabstr-search-bar {
    padding: 4px 5px 4px 10px;
    border-radius: 9999px;
    height: 52px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .collabstr-platform-trigger {
    padding: 4px 6px;
    gap: 4px;
  }

  .collabstr-platform-label {
    font-size: 0.84rem;
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .collabstr-dropdown-icon {
    font-size: 16px;
  }

  .collabstr-chevron {
    font-size: 16px;
  }

  .collabstr-search-divider {
    height: 22px;
    margin: 0 6px;
  }

  .collabstr-search-input {
    font-size: 0.86rem;
    padding: 6px 2px;
  }

  .collabstr-search-input::placeholder {
    font-size: 0.82rem;
  }

  /* Round Circular Icon Search Button on Mobile */
  .collabstr-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 3px 14px rgba(255, 46, 121, 0.4);
    min-width: 42px;
  }

  .collabstr-search-btn .search-text {
    display: none;
  }

  .collabstr-search-btn .search-icon {
    font-size: 20px;
    margin: 0;
  }

  /* Dropdown popup full responsive width */
  .collabstr-dropdown-menu {
    left: -4px;
    min-width: 210px;
  }
}

/* Collabstr Quick Filter Pills */
.collabstr-pills-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.collabstr-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D1D5DB;
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: var(--cm-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.collabstr-pill-btn .material-symbols-outlined {
  font-size: 15px;
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.collabstr-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.collabstr-pill-btn.active {
  background: #FFFFFF;
  color: #0E0E0E;
  border-color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.collabstr-pill-btn.active .material-symbols-outlined {
  color: #0E0E0E;
}

/* Collabstr Showcase Cards Container */
.collabstr-cards-container {
  width: 100%;
  margin-top: 3.5rem;
  position: relative;
}

.collabstr-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .collabstr-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .collabstr-cards-container {
    margin-top: 2rem;
  }
  .collabstr-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
    margin: 0 auto;
  }
}

.collabstr-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  background: #191A1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.collabstr-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(255, 46, 121, 0.4);
  border-color: rgba(255, 46, 121, 0.3);
}

.collabstr-card-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #111;
}

.collabstr-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.collabstr-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.4s ease;
}

.collabstr-card-thumb.has-video-poster {
  opacity: 0.9;
}

.collabstr-card:hover .collabstr-card-thumb {
  transform: scale(1.05);
}

/* Floating Badges */
.collabstr-card-metric-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(14, 15, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 4px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.collabstr-platform-icon.yt { color: #FF0000; font-size: 11px; font-weight: bold; }
.collabstr-platform-icon.tt { color: #00F2FE; font-size: 12px; }

.collabstr-sound-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.collabstr-sound-btn:hover {
  background: #FF2E79;
  border-color: #FF2E79;
  transform: scale(1.1);
}

.collabstr-card-review-pill {
  position: absolute;
  top: 54px;
  left: 14px;
  z-index: 5;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #F1F5F9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 82%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Card Bottom Info Overlay */
.collabstr-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 3.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.collabstr-card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.collabstr-card-name {
  font-family: var(--cm-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.collabstr-verified-tick {
  font-size: 16px;
  color: #38BDF8;
}

.collabstr-card-niche {
  font-size: 0.76rem;
  color: #D1D5DB;
  line-height: 1.35;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collabstr-card-price {
  font-family: var(--cm-font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.collabstr-card-price {
  display: none !important;
}

@media (max-width: 640px) {
  .collabstr-card {
    border-radius: 22px;
    aspect-ratio: 9 / 14;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
    max-width: 100%;
  }
  .collabstr-card-metric-badge {
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .collabstr-sound-btn {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }
  .collabstr-sound-btn .material-symbols-outlined {
    font-size: 17px !important;
  }
  .collabstr-card-review-pill {
    top: 56px;
    left: 14px;
    font-size: 0.78rem;
    padding: 4px 12px;
    max-width: 86%;
  }
  .collabstr-card-overlay {
    padding: 3.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .collabstr-card-info {
    width: 100%;
  }
  .collabstr-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .collabstr-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .collabstr-verified-tick {
    font-size: 18px;
    flex-shrink: 0;
  }
  .collabstr-card-niche {
    font-size: 0.85rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #CBD5E1;
  }
  .collabstr-card-price {
    display: none !important;
  }
}

/* Trust Curation Feature Cards */
.cm-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .cm-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.cm-feature-card {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--cm-shadow-card);
}

.cm-feature-card:hover {
  background: var(--cm-surface-container-high);
  border-color: rgba(255, 46, 121, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 46, 121, 0.25);
  transform: translateY(-3px);
}

.cm-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--cm-radius-md);
  background: rgba(255, 46, 121, 0.12);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cm-feature-icon.green {
  background: rgba(37, 211, 102, 0.12);
  color: var(--cm-whatsapp);
  border-color: rgba(37, 211, 102, 0.25);
}

/* Verification Explanation Banner */
.cm-verify-banner {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  transition: border-color 0.25s ease;
}

.cm-verify-banner:hover {
  border-color: rgba(255, 46, 121, 0.3);
}

.cm-verify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.cm-verify-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cm-border);
  font-size: 0.88rem;
  color: var(--cm-text-secondary);
  line-height: 1.6;
}

/* Interactive Filter & Discovery Bar */
.cm-discovery-search {
  position: relative;
  margin-bottom: 1.25rem;
}

.cm-search-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3rem;
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-full);
  color: #FFFFFF;
  font-family: var(--cm-font-body);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.cm-search-input:focus {
  outline: none;
  background: var(--cm-surface-container-high);
  border-color: #FF2E79;
  box-shadow: 0 0 0 2px rgba(255, 46, 121, 0.3);
}

.cm-search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cm-text-secondary);
  pointer-events: none;
}

.cm-filter-scroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cm-filter-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.cm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--cm-radius-full);
  background: var(--cm-surface-container);
  color: var(--cm-text-secondary);
  border: 1px solid var(--cm-border);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  margin-right: 0.5rem;
}

.cm-chip:hover {
  color: #FFFFFF;
  background: var(--cm-surface-container-high);
  border-color: rgba(255, 46, 121, 0.3);
  transform: translateY(-1px);
}

.cm-chip.active {
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  color: #FFFFFF;
  border-color: #FF2E79;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 46, 121, 0.45);
}

.cm-city-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.cm-city-chip {
  padding: 0.4rem 0.95rem;
  border-radius: var(--cm-radius-full);
  background: var(--cm-surface-container);
  color: var(--cm-text-secondary);
  border: 1px solid var(--cm-border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cm-city-chip:hover {
  color: #FFFFFF;
  border-color: rgba(255, 46, 121, 0.3);
}

.cm-city-chip.active {
  background: rgba(255, 46, 121, 0.14);
  color: #FF2E79;
  border-color: rgba(255, 46, 121, 0.45);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 46, 121, 0.15);
}

/* Creator Profile Cards Grid */
.cm-creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .cm-creators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cm-creator-card {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-lg);
  overflow: hidden;
  box-shadow: var(--cm-shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cm-creator-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(255, 46, 121, 0.35);
  border-color: rgba(255, 46, 121, 0.4);
}

.cm-card-media {
  position: relative;
  height: 280px;
  background: var(--cm-surface-container-lowest);
  overflow: hidden;
}

.cm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cm-creator-card:hover .cm-card-media img {
  transform: scale(1.04);
}

.cm-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 31, 31, 1) 0%, rgba(32, 31, 31, 0.5) 35%, rgba(0, 0, 0, 0.3) 100%);
}

.cm-media-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.cm-media-bottom {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.cm-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.cm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cm-format-tag {
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--cm-surface-container-high);
  color: var(--cm-text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.cm-card-bio {
  font-size: 0.88rem;
  color: var(--cm-text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cm-card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  padding-top: 0.6rem !important;
  margin-top: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cm-card-actions .cm-btn {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 0.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  border-radius: 9999px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.cm-card-actions .cm-btn-secondary {
  border: 1px solid var(--cm-border) !important;
}

.cm-card-actions .cm-btn-whatsapp {
  border: 1px solid transparent !important;
}

/* Empty State */
.cm-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--cm-surface-container-lowest);
  border: 1px dashed var(--cm-border);
  border-radius: var(--cm-radius-lg);
  margin-top: 2rem;
}

.cm-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--cm-radius-full);
  background: var(--cm-surface-container-high);
  color: var(--cm-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* How it Works 3 Steps */
.cm-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .cm-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.cm-step-card {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--cm-shadow-card);
}

.cm-step-card:hover {
  background: var(--cm-surface-container-high);
  border-color: rgba(255, 46, 121, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 46, 121, 0.25);
  transform: translateY(-3px);
}

.cm-step-number {
  width: 46px;
  height: 46px;
  border-radius: var(--cm-radius-md);
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%);
  color: #FFFFFF;
  font-family: var(--cm-font-display);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(255, 46, 121, 0.45);
}

/* Creative Showcase Grid */
.cm-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .cm-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cm-showcase-tile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--cm-radius-md);
  overflow: hidden;
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  box-shadow: var(--cm-shadow-card);
}

.cm-showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.95rem;
}

/* Forms (Brand Brief & Creator Application) */
.cm-form-card {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-xl);
  padding: 2.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .cm-form-card {
    padding: 1.5rem;
    border-radius: var(--cm-radius-lg);
  }
}

.cm-form-group {
  margin-bottom: 1.15rem;
}

.cm-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.cm-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cm-text-secondary);
  margin-bottom: 0.45rem;
}

.cm-input,
.cm-select,
.cm-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cm-surface-container-high);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-sm);
  color: #FFFFFF;
  font-family: var(--cm-font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.cm-input:focus,
.cm-select:focus,
.cm-textarea:focus {
  outline: none;
  background: var(--cm-surface-container-highest);
  border-color: #FF2E79;
  box-shadow: 0 0 0 2px rgba(255, 46, 121, 0.3);
}

/* Form Header & Title Components */
.cm-form-header {
  margin-bottom: 1.25rem;
}

.cm-form-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cm-form-title-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cm-form-title-icon {
  color: #FF2E79;
  font-size: 24px;
  flex-shrink: 0;
}

.cm-form-title {
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.25;
  color: #FFFFFF;
}

.cm-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--cm-radius-full);
  background: rgba(255, 46, 121, 0.12);
  color: #FF2E79;
  border: 1px solid rgba(255, 46, 121, 0.28);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.cm-form-subtext {
  margin-bottom: 0 !important;
}

.cm-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--cm-text-secondary);
  line-height: 1.5;
}

.cm-checkbox-label input {
  margin-top: 0.2rem;
  accent-color: #FF2E79;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Form Action Buttons Container */
.cm-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
}

.cm-form-actions .cm-btn {
  margin-bottom: 0 !important;
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 1.25rem;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Success States */
.cm-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cm-success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--cm-radius-full);
  background: rgba(61, 226, 115, 0.15);
  color: var(--cm-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Campaign Card */
.cm-campaign-card {
  background: var(--cm-surface-card);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--cm-shadow-card);
}

.cm-campaign-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 46, 121, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(255, 46, 121, 0.35);
}

/* FAQ Accordion */
.cm-faq-item {
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-radius: var(--cm-radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cm-faq-item:hover {
  border-color: rgba(255, 46, 121, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cm-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--cm-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.cm-faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--cm-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cm-faq-answer.open {
  display: block;
}

.cm-faq-icon {
  transition: transform 0.3s ease;
  color: var(--cm-text-secondary);
}

.cm-faq-icon.rotate {
  transform: rotate(180deg);
  color: var(--cm-primary);
}

/* Creator Profile Dossier Drawer (Slide-up modal) */
.cm-drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cm-drawer-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.cm-drawer-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 680px;
  margin: 0 auto;
  max-height: 88vh;
  background: var(--cm-surface-container);
  border: 1px solid var(--cm-border);
  border-bottom: none;
  border-radius: var(--cm-radius-xl) var(--cm-radius-xl) 0 0;
  box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.75rem 2rem 2.5rem;
  scrollbar-width: thin;
  pointer-events: none;
  visibility: hidden;
}

.cm-drawer-sheet.open {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.cm-drawer-handle {
  width: 48px;
  height: 5px;
  background: var(--cm-surface-container-highest);
  border-radius: var(--cm-radius-full);
  margin: 0 auto 1.5rem;
}

.cm-drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: var(--cm-radius-full);
  background: var(--cm-surface-container-high);
  color: var(--cm-text-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cm-drawer-close:hover {
  background: var(--cm-surface-container-highest);
  color: #FFFFFF;
}

/* Material Symbols Outlined Icon Fix */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* ==========================================================================
   Responsive Grid Systems (replacing inline grids)
   ========================================================================== */
.cm-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .cm-two-col-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.cm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .cm-benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.cm-final-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cm-final-cta-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.cm-profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .cm-profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.cm-profile-header-pad {
  padding: 0 2.5rem 2.5rem;
  position: relative;
}

.cm-profile-top-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
  margin-top: -65px;
  margin-bottom: 2rem;
}

.cm-profile-cta-wrap {
  margin-left: auto;
}

@media (max-width: 768px) {
  .cm-profile-header-pad {
    padding: 0 1.25rem 2rem;
  }

  .cm-profile-top-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: -45px;
  }

  .cm-profile-cta-wrap {
    margin-left: 0;
    width: 100%;
  }

  .cm-profile-cta-wrap .cm-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Human Touch Refinements (< 768px & < 480px)
   ========================================================================== */
.cm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.cm-hero-pill {
  white-space: normal;
  line-height: 1.45;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cm-hero {
    padding: 6.5rem 0 2.5rem;
    overflow: hidden;
  }

  .cm-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cm-headline-xl {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .cm-headline-lg {
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.25;
    word-break: break-word;
  }

  .cm-hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .cm-hero-actions .cm-btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
  }

  .cm-pill-neutral {
    font-size: 0.72rem;
    padding: 0.45rem 0.85rem;
  }

  .cm-hero-mosaic {
    gap: 0.75rem;
  }

  .cm-mosaic-card {
    padding: 0.75rem;
  }

  .cm-feature-card {
    padding: 1.25rem 1.15rem;
    gap: 1rem;
  }

  .cm-feature-icon {
    width: 42px;
    height: 42px;
  }

  /* Filter bar touch friendly */
  .cm-filter-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0 0.75rem;
    margin-bottom: 0.85rem;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
  }

  .cm-chip {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  .cm-city-chips {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .cm-city-chip {
    padding: 0.38rem 0.8rem;
    font-size: 0.78rem;
  }

  /* Creator Cards on mobile */
  .cm-creators-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cm-card-media {
    height: 250px;
  }

  .cm-card-body {
    padding: 1.15rem;
  }

  .cm-card-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cm-card-actions .cm-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 0.35rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  .cm-card-actions .cm-btn span.material-symbols-outlined {
    font-size: 16px !important;
  }

  .cm-card-actions .cm-btn-secondary {
    border: 1px solid var(--cm-border) !important;
  }

  .cm-card-actions .cm-btn-whatsapp {
    border: 1px solid transparent !important;
  }

  /* Form Cards on mobile */
  .cm-form-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--cm-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }

  /* Form Header on mobile */
  .cm-form-title-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cm-form-title {
    font-size: 1.25rem;
  }

  .cm-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cm-form-group {
    margin-bottom: 1rem;
  }

  .cm-input,
  .cm-select,
  .cm-textarea {
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
  }

  .cm-checkbox-label {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Journey steps on mobile - keep horizontal stepper */
  .cm-journey-steps {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .cm-journey-arrow {
    display: inline-flex !important;
    font-size: 14px !important;
    opacity: 0.6;
    flex-shrink: 0;
  }

  /* Drawer on mobile */
  .cm-drawer-sheet {
    padding: 1.25rem 1.15rem 2rem;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
  }
}

@media (max-width: 480px) {
  .cm-headline-xl {
    font-size: 1.85rem;
  }

  .cm-form-actions .cm-btn {
    min-height: 46px;
    height: 46px;
    font-size: 0.84rem;
    padding: 0 0.65rem;
    gap: 0.35rem;
  }

  .cm-form-actions .cm-btn span.material-symbols-outlined {
    font-size: 16px !important;
  }

  .cm-headline-lg {
    font-size: 1.4rem;
  }

  .cm-hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .cm-mosaic-card {
    padding: 0.6rem;
    border-radius: var(--cm-radius-md);
  }

  .cm-mosaic-card .cm-verified-badge {
    font-size: 9px;
    padding: 1px 5px;
  }

  .cm-step-card {
    padding: 1.25rem 1rem;
    gap: 0.85rem;
  }

  .cm-step-number {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .cm-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .cm-faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .cm-faq-answer {
    padding: 0 1.15rem 1rem;
    font-size: 0.88rem;
  }
}

/* ========================================================
   Mobile Navigation Overlay Fix:
   Prevent invisible/closed nav links from intercepting taps/clicks
   over hero text, buttons, and other elements
   ======================================================== */
@media (max-width: 768px) {
  .nav-links:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  .nav-links:not(.active) * {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  .nav-links.active {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .nav-links.active * {
    pointer-events: auto !important;
    visibility: visible !important;
  }
}

/* ========================================================
   UNIVERSAL REEL & VIDEO AUTO-SYNC STYLES
   ======================================================== */
.collabstr-card-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  background: #000;
  object-fit: cover;
}

.collabstr-sound-btn.is-active,
.reel-sound-btn.is-active {
  background: linear-gradient(135deg, #FF2E79 0%, #FF5C35 100%) !important;
  border-color: #FFB800 !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(255, 46, 121, 0.6) !important;
  transform: scale(1.08);
}

/* Creator Profile 3-4 Reels Showcase */
.cm-reels-showcase-wrap {
  margin-bottom: 2.5rem;
}

.cm-reels-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cm-reels-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cm-reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .cm-reels-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
  }
}

.cm-reel-card {
  aspect-ratio: 9/16;
  min-height: 440px;
  max-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0E0F14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cm-reel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 121, 0.5);
  box-shadow: 0 14px 35px rgba(255, 46, 121, 0.2);
}

.cm-reel-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050608;
  z-index: 1;
}

.cm-reel-media,
.cm-reel-iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}

.cm-reel-thumb-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cm-reel-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.cm-reel-platform-tag {
  background: rgba(14, 15, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}

.reel-sound-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.reel-sound-btn:hover {
  transform: scale(1.12);
  border-color: #FF2E79;
}

.cm-reel-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(10, 11, 15, 0.96) 0%, rgba(10, 11, 15, 0.75) 60%, transparent 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-reel-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reel-audio-hint {
  font-size: 0.72rem;
  color: #aaa;
  font-weight: 500;
}

.cm-reel-source-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #FF5C35;
  text-decoration: none;
  background: rgba(255, 92, 53, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-reel-source-link:hover {
  background: #FF5C35;
  color: #fff;
}

