/* ============================================
   NEPHESH MEDIA — Design System & Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --gray-dark: #1a1a1a;
  --gray-mid: #888888;
  --gray-light: #cccccc;
  --off-white: #f5f3f0;
  --white: #ffffff;
  --merlot: #722F37;
  --merlot-dark: #5a252c;
  --merlot-light: #8a3a44;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --container: 1200px;
  --header-height: 80px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
}

/* Force dark color scheme across all browsers */
html {
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

button, input, select, textarea {
  font-family: var(--font-body);
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--merlot);
  color: var(--white);
}

/* --- Custom Cursor --- */
body.course-page .cursor {
  display: none !important;
}

body.course-page,
body.course-page * {
  cursor: default;
}

body.course-page a,
body.course-page button,
body.course-page input[type="radio"],
body.course-page input[type="checkbox"],
body.course-page select,
body.course-page label {
  cursor: pointer;
}

/* Admin Page — normal cursor */
body.admin-page .cursor {
  display: none !important;
}

body.admin-page,
body.admin-page * {
  cursor: default;
}

body.admin-page a,
body.admin-page button,
body.admin-page input[type="radio"],
body.admin-page input[type="checkbox"],
body.admin-page select,
body.admin-page label {
  cursor: pointer;
}

/* Roster Page — normal cursor */
body.roster-page .cursor {
  display: none !important;
}

body.roster-page,
body.roster-page * {
  cursor: default;
}

body.roster-page a,
body.roster-page button,
body.roster-page input[type="radio"],
body.roster-page input[type="checkbox"],
body.roster-page select,
body.roster-page label,
body.roster-page .roster-card {
  cursor: pointer;
}

/* Course Header - Student Portal Style */

.course-header .nav {
  display: flex;
  align-items: center;
}

.course-header .nav-label {
  font-family: var(--font-heading);
  font-style: italic;
}

.course-close-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--white) !important;
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  z-index: 100;
}

.course-close-btn:hover {
  background: var(--merlot);
  border-color: var(--merlot);
  transform: rotate(90deg);
}

body.light-mode .course-header {
  background: #fff;
  border-bottom: 1px solid #e5e0dc;
}

body.light-mode .course-header .header-logo img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(74%) saturate(3439%) hue-rotate(342deg) brightness(82%) contrast(101%);
}

body.light-mode .course-header .nav-label {
  color: #8B0A1A !important;
}

body.light-mode .course-header .nav-link {
  color: #333;
}

body.light-mode .course-header .nav-cta {
  background: #8B0A1A;
  color: #fff;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
  mix-blend-mode: difference;
}

.cursor.hover {
  width: 50px;
  height: 50px;
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.1);
}

.cursor.click {
  transform: translate(-50%, -50%) scale(0.8);
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--merlot);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--white);
  max-width: 600px;
  font-weight: 300;
}

.section-light .section-subtitle {
  color: #555;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s var(--ease);
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--merlot);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--merlot-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(0,0,0,0.2);
}

.btn-outline-dark:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.65rem;
}

.btn-cart {
  background: transparent;
  color: var(--merlot);
  border: 1px solid var(--merlot);
  padding: 10px 20px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.btn-cart:hover {
  background: var(--merlot);
  color: var(--white);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black) !important;
  backdrop-filter: none;
  transition: box-shadow 0.4s var(--ease);
}

.header.scrolled {
  background: var(--black) !important;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.header-logo img {
  height: 140px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white) !important;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
  font-weight: 500;
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 16px;
}

.header-social {
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.header-social a {
  font-size: 0.65rem;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.header-social a:hover {
  color: var(--merlot);
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  z-index: 999;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav .nav-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--white);
}

.mobile-nav .mobile-social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.mobile-nav .mobile-social a {
  color: var(--gray-mid);
  font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 40px;
}

.hero-content .section-label {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
  color: var(--white);
}

/* Interactive hero words */
.hero-word {
  display: inline-block;
  position: relative;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease, text-shadow 0.4s ease;
}

.hero-word:hover {
  transform: translateY(-4px) scale(1.08);
  color: var(--merlot);
  text-shadow: 0 0 30px rgba(114, 47, 55, 0.5), 0 0 60px rgba(114, 47, 55, 0.2);
}

.hero-word::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--merlot), #ffd700);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-word:hover::after {
  width: 100%;
}

@keyframes heroWordPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 20px rgba(114, 47, 55, 0.3); }
}

.hero-word.pulse {
  animation: heroWordPulse 2s ease-in-out;
}

.hero p {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-line {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--merlot), transparent);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.5s forwards;
}

/* --- Section Base --- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--dark);
}

.section-light {
  background: var(--off-white);
  color: var(--dark);
}

.section-black {
  background: var(--black);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.about-text p {
  color: var(--merlot);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-text p:first-of-type {
  color: var(--merlot);
  font-size: 1.1rem;
}

.value-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pillar-card {
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  transition: all 0.4s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--merlot);
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--merlot);
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--merlot);
  line-height: 1.6;
}

/* --- Services Section --- */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

.services-tabs-wrapper {
  text-align: center;
}

.tab-btn {
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray-mid);
  border: none;
  transition: all 0.3s var(--ease);
}

.tab-btn.active {
  background: var(--merlot);
  color: var(--white);
}

.tab-btn:hover:not(.active) {
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s var(--ease);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.4s var(--ease);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.service-card:hover::before {
  width: 100%;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--merlot);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.6;
}

/* Talent Grid */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Pricing Section --- */
#pricing .section-title {
  color: #0a0a0a !important;
}

#pricing .section-label {
  color: var(--merlot) !important;
}

.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.pricing-intro p {
  color: #0a0a0a !important;
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  padding: 48px 36px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card .payment-methods {
  margin-top: auto;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.pricing-card.featured {
  border-color: var(--merlot);
  box-shadow: 0 20px 60px rgba(114, 47, 55, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--merlot);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 20px;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #0a0a0a !important;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: #0a0a0a !important;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.75rem;
  color: #0a0a0a !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  font-size: 0.85rem;
  color: #0a0a0a !important;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '—';
  color: #0a0a0a !important;
  font-weight: 600;
}

.pricing-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Payment Methods --- */
.payment-methods {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.payment-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  border: none;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.payment-divider span {
  padding: 0 12px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  background: var(--white);
}

.btn-stripe {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  transition: all 0.3s var(--ease);
  margin-bottom: 10px;
}

.btn-stripe:hover {
  background: var(--merlot);
  transform: translateY(-1px);
}

.paypal-container {
  margin-bottom: 10px;
  min-height: 40px;
}

.qr-section {
  text-align: center;
  margin-top: 8px;
}

.qr-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  padding: 6px 12px;
  transition: color 0.3s var(--ease);
}

.qr-toggle:hover {
  color: var(--merlot);
}

.qr-code {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.qr-code img {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
}

/* Cart payment buttons */
.btn-stripe-checkout {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

#paypal-cart-container {
  min-height: 40px;
}

/* --- Additional Services --- */
.addservices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.addservice-card {
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.addservice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--merlot);
}

.addservice-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.addservice-card p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.addservice-card .price-tag {
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.addservice-note {
  font-size: 0.7rem;
  color: var(--gray-mid);
  font-style: italic;
  margin-top: 4px;
}

/* --- Brands Section --- */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
}

#brands {
  padding-bottom: 40px;
}

#about .section-title {
  color: var(--black);
}

#brands .section-title {
  color: var(--merlot);
}

#miami {
  padding-top: 40px;
}

#miami .section-title {
  color: var(--black);
}

.brand-chip {
  padding: 10px 22px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--merlot);
  text-transform: uppercase;
  color: #444;
  transition: all 0.3s var(--ease);
}

.brand-chip:hover {
  border-color: var(--merlot);
  color: var(--merlot);
  transform: translateY(-2px);
}

.brands-additional {
  text-align: center;
  max-width: 800px;
  margin: 48px auto 0;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.brands-additional h4 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.brands-additional p {
  font-size: 1.15rem;
  color: var(--gray-mid);
  line-height: 1.8;
}

.brands-disclaimer {
  text-align: center;
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--gray-mid);
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Section --- */
#contact {
  cursor: default;
}

#contact a,
#contact button,
#contact input,
#contact select,
#contact textarea,
#contact label {
  cursor: pointer;
}

#contact a:hover,
#contact button:hover {
  cursor: pointer;
  color: var(--merlot-light);
}

#contact .btn-primary {
  color: var(--white);
}

#contact .btn-primary:hover {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--white);
  margin-bottom: 32px;
}

.contact-info-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info-links a {
  font-size: 0.85rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease);
}

.contact-info-links a:hover {
  color: var(--merlot);
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.contact-social a {
  font-size: 0.85rem;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.contact-social a:hover {
  color: var(--merlot);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--merlot);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--merlot);
}

.form-checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}

/* --- Cart Drawer --- */
.cart-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--merlot);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 8px 32px rgba(114, 47, 55, 0.4);
  transition: all 0.3s var(--ease);
  opacity: 0;
  visibility: hidden;
}

.cart-toggle.visible {
  opacity: 1;
  visibility: visible;
}

.cart-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(114, 47, 55, 0.5);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--white);
  color: var(--merlot);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--dark);
  z-index: 960;
  transition: right 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.cart-close {
  background: var(--merlot);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cart-close:hover {
  background: var(--merlot-dark);
}

.cart-close-bottom {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cart-close-bottom:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-size: 0.75rem;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: var(--merlot);
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-mid);
  font-size: 0.9rem;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-total span:first-child {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.cart-total span:last-child {
  font-family: var(--font-heading);
  font-size: 1.6rem;
}

.cart-footer .btn {
  width: 100%;
}

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 200px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 0.6rem;
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 12px;
}

.footer-legal a {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent, #ffd700);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--white);
  font-size: 0.6rem;
  transition: color 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--merlot);
}

/* --- Blog Styles --- */
.blog-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  text-align: center;
}

.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-pill {
  padding: 8px 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-mid);
  transition: all 0.3s var(--ease);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--merlot);
  border-color: var(--merlot);
  color: var(--white);
}

.blog-search {
  max-width: 400px;
  margin: 24px auto 0;
}

.blog-search input {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.blog-search input:focus {
  border-color: var(--merlot);
}

.blog-search input::placeholder {
  color: var(--gray-mid);
}

.blog-featured {
  margin-bottom: 60px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.4s var(--ease);
}

.featured-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.featured-image {
  aspect-ratio: 16/10;
  background: var(--gray-dark);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s var(--ease);
}

.featured-card:hover .featured-image img {
  filter: grayscale(60%);
}

.featured-meta {
  font-size: 0.7rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.featured-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.featured-content p {
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: var(--gray-dark);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.blog-card:hover .blog-card-image img {
  filter: grayscale(60%);
  transform: scale(1.03);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-meta {
  font-size: 0.68rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-content p {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* Blog Post Page */
.post-hero {
  padding-top: calc(var(--header-height) + 40px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-hero .section-label {
  margin-bottom: 16px;
}

.post-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.75rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}

.post-hero-image {
  max-width: 900px;
  margin: 0 auto 60px;
  aspect-ratio: 16/9;
  background: var(--gray-dark);
  overflow: hidden;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
}

.post-content {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.post-content p {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.9;
}

.post-content h2 {
  font-size: 1.8rem;
  margin-top: 48px;
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.post-content ul, .post-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.post-content li {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  list-style: disc;
}

.post-share {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 60px;
}

.post-share span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.post-share a {
  font-size: 0.85rem;
  color: var(--gray-mid);
  transition: color 0.3s;
}

.post-share a:hover {
  color: var(--merlot);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* --- Academy Section --- */
.academy-hero {
  text-align: center;
  margin-bottom: 72px;
  padding: 48px 0 0;
}

.academy-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--merlot-light);
  margin-bottom: 16px;
  border: 1px solid var(--merlot);
  padding: 6px 20px;
}

.academy-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.academy-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--merlot-light);
  margin-bottom: 24px;
}

.academy-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.academy-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.academy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--merlot-light);
}

/* Phase Headers */
.academy-phase {
  text-align: center;
  margin: 72px 0 36px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.phase-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--merlot);
  margin-bottom: 10px;
}

.phase-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.phase-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* Module Cards */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.4s var(--ease);
  position: relative;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.4s var(--ease);
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.module-card:hover::before {
  width: 100%;
}

.module-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--merlot);
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1;
}

.module-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.module-card > p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 16px;
}

.module-topics {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.module-topics li {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  padding-left: 14px;
  position: relative;
  list-style: none;
}

.module-topics li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--merlot);
  font-weight: 600;
  font-size: 0.65rem;
}

/* Bonus Cards */
.module-card-bonus {
  border-color: rgba(114, 47, 55, 0.2);
  background: rgba(114, 47, 55, 0.04);
}

.module-card-bonus:hover {
  border-color: rgba(114, 47, 55, 0.4);
  background: rgba(114, 47, 55, 0.08);
}

/* Academy CTA */
.academy-cta {
  margin-top: 72px;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.academy-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.academy-cta h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
}

.academy-cta p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.academy-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Course Pricing Card */
.course-pricing-card {
  margin-top: 40px;
  padding: 48px 40px;
  border: 1px solid rgba(114, 47, 55, 0.3);
  background: rgba(114, 47, 55, 0.04);
  text-align: center;
}

.course-pricing-header {
  margin-bottom: 32px;
}

.course-pricing-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  margin: 8px 0 4px;
}

.course-pricing-period {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-pricing-features {
  text-align: left;
  max-width: 440px;
  margin: 0 auto 36px;
}

.course-pricing-features li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.course-pricing-features li::before {
  content: '\2713';
  color: var(--merlot-light);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.course-pricing-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.course-pricing-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .academy-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }

  .academy-stats {
    gap: 24px;
  }

  .academy-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =============================================
   COURSE PAGE
   ============================================= */

.course-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 80px;
  background: var(--black);
  cursor: default;
}

.course-layout *,
.course-layout a,
.course-layout button,
.course-layout input,
.course-layout select,
.course-layout textarea {
  cursor: default;
}

.course-layout button,
.course-layout a,
.course-layout input[type="radio"],
.course-layout input[type="checkbox"],
.course-layout select {
  cursor: pointer;
}

/* --- Sidebar --- */
.course-sidebar {
  width: 300px;
  min-width: 300px;
  background: #0a0a0a;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: fixed;
  top: 80px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  padding-bottom: 40px;
}

.sidebar-header {
  padding: 40px 28px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--merlot);
  display: block;
  margin-bottom: 8px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 24px;
}

.sidebar-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--merlot);
  transition: width 0.5s var(--ease);
  border-radius: 2px;
}

.progress-text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.sidebar-nav {
  padding: 20px 0;
}

.sidebar-phase {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8B0A1A;
  padding: 20px 28px 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.02);
}

.sidebar-link.active {
  color: var(--white);
  border-left-color: var(--merlot);
  background: rgba(114,47,55,0.08);
}

.sidebar-link.completed {
  color: #fff;
}

.sidebar-link.completed::after {
  content: '\2713';
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--merlot);
}

.sidebar-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.4;
  min-width: 20px;
}

/* --- Main Content --- */
.course-main {
  flex: 1;
  margin-left: 300px;
  padding: 60px 80px 100px;
  max-width: 900px;
}

.module {
  animation: fadeIn 0.4s ease;
}

/* Module Header */
.module-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.module-phase-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8B0A1A;
  display: inline-block;
  margin-bottom: 8px;
}

.module-num-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-block;
  margin-left: 16px;
}

.module-header h1,
.module-header h2 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-style: italic;
  color: #8B0A1A;
  line-height: 1.2;
  margin-bottom: 20px;
}

.module-intro {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.8;
  max-width: 640px;
}

/* Module Body */
.module-body {
  margin-bottom: 60px;
}

.module-body h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-style: italic;
  color: #8B0A1A;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.module-body h2:first-child {
  margin-top: 0;
}

.module-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 12px;
}

.module-body p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.85;
  margin-bottom: 18px;
}

.module-body ul, .module-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.module-body li {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 10px;
}

.module-body strong {
  color: var(--white);
}

/* Callout Box */
.module-callout {
  padding: 28px 32px;
  background: rgba(114,47,55,0.06);
  border-left: 3px solid var(--merlot);
  margin: 32px 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.8;
}

.module-callout strong {
  color: var(--merlot);
}

/* Action Step Box */
.module-action {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0;
}

.module-action h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--merlot);
  margin-bottom: 12px;
  margin-top: 0;
}

.module-action p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Comparison Grid */
.module-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.comparison-item {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

.comparison-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.comparison-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Quiz Section --- */
.quiz-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px;
}

.quiz-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 8px;
}

.quiz-intro {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quiz-question {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.quiz-question p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 16px;
}

.quiz-question label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  padding: 10px 12px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.quiz-question label:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
}

.quiz-question input[type="radio"] {
  margin-right: 10px;
  accent-color: var(--merlot);
}

.quiz-question.correct {
  border-color: rgba(50,180,100,0.4);
  background: rgba(50,180,100,0.04);
}

.quiz-question.incorrect {
  border-color: rgba(220,60,60,0.4);
  background: rgba(220,60,60,0.04);
}

.quiz-explanation {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(139, 10, 26, 0.1);
  border-left: 3px solid #8B0A1A;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.quiz-explanation strong {
  color: #8B0A1A;
}

.quiz-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.quiz-result {
  display: none;
  padding: 20px 28px;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.quiz-result.passed {
  background: rgba(50,180,100,0.06);
  border: 1px solid rgba(50,180,100,0.2);
  color: #6fdc9a;
}

.quiz-result.failed {
  background: rgba(220,60,60,0.06);
  border: 1px solid rgba(220,60,60,0.2);
  color: #e87070;
}

/* --- Module Navigation --- */
.module-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- Course Complete --- */
.course-complete {
  text-align: center;
  padding: 80px 40px;
  margin-top: 60px;
  border: 1px solid rgba(114,47,55,0.3);
  background: rgba(114,47,55,0.04);
}

.course-complete h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
}

.course-complete p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* --- Mobile Sidebar Toggle --- */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--merlot);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- Course Responsive --- */
@media (max-width: 992px) {
  .course-main {
    padding: 48px 40px 100px;
  }

  .module-header h1,
  .module-header h2 {
    font-size: 2.2rem;
  }

  .module-comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .course-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    min-width: 280px;
    height: 100vh;
    z-index: 100;
    transition: left 0.35s var(--ease);
    padding-top: 20px;
  }

  .course-sidebar.open {
    left: 0;
  }

  .course-main {
    margin-left: 0;
    padding: 40px 24px 120px;
  }

  .sidebar-toggle {
    display: block;
  }

  .module-header h1,
  .module-header h2 {
    font-size: 1.8rem;
  }

  .module-body h2 {
    font-size: 1.4rem;
  }

  .module-nav {
    flex-direction: column;
    gap: 12px;
  }

  .module-nav .btn {
    width: 100%;
    text-align: center;
  }

  .course-complete {
    padding: 60px 24px;
  }

  .course-complete h2 {
    font-size: 1.6rem;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid,
  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .addservices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-card {
    grid-template-columns: 1fr;
  }
}

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

  .nav, .header-social, .nav-cta, .lang-toggle {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-lang-toggle {
    display: flex;
  }

  .header {
    padding: 0 24px;
  }

  .header-logo img {
    height: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .services-grid,
  .talent-grid,
  .addservices-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, button, input, select, textarea {
    cursor: auto;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100vw;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .services-tabs {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }

  .brands-grid {
    gap: 8px;
  }

  .brand-chip {
    padding: 8px 14px;
    font-size: 0.62rem;
  }

  .header-logo img {
    height: 50px;
  }

  .form-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .tab-btn {
    padding: 12px 24px;
  }
}

/* ============================================
   AUTH — Account Page & Course Paywall
   ============================================ */

/* --- Account Hero --- */
.account-hero {
  padding-top: calc(var(--header-height) + 60px);
  min-height: 100vh;
}

/* --- Auth Tabs --- */
.auth-tabs-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.auth-tabs {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.15);
}

.auth-tab-btn {
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray-mid);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.auth-tab-btn.active {
  background: var(--merlot);
  color: var(--white);
}

.auth-tab-btn:hover:not(.active) {
  color: var(--white);
}

.auth-tab-panel {
  display: none;
}

.auth-tab-panel.active {
  display: block;
  animation: fadeIn 0.5s var(--ease);
}

/* --- Auth Form --- */
.auth-form {
  max-width: 440px;
  margin: 0 auto;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s var(--ease);
}

.auth-form input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--merlot);
}

.auth-form textarea {
  resize: vertical;
}

/* --- Password Toggle --- */
.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover {
  color: rgba(255,255,255,0.8);
}

/* --- Auth Error Message --- */
.auth-error {
  color: var(--merlot-light);
  font-size: 0.8rem;
  min-height: 1.2em;
  margin-bottom: 16px;
}

/* --- Dashboard Card --- */
.dashboard-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 40px;
  text-align: center;
}

.dashboard-header {
  margin-bottom: 8px;
}

.dashboard-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.dashboard-email {
  color: var(--gray-mid);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

/* --- Enrollment Badge --- */
.enrollment-badge {
  display: inline-block;
  padding: 6px 18px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
}

.badge-enrolled {
  background: var(--merlot);
  color: var(--white);
}

.badge-pending {
  background: transparent;
  border: 1px solid var(--gray-mid);
  color: var(--gray-mid);
}

/* --- Dashboard Actions --- */
.dashboard-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.dashboard-actions .btn {
  min-width: 220px;
}

/* --- Course Paywall Overlay --- */
.course-paywall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.paywall-content {
  max-width: 480px;
  padding: 40px;
  position: relative;
  z-index: 9001;
}

.paywall-actions a {
  position: relative;
  z-index: 9002;
  cursor: pointer;
}

.paywall-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  margin: 12px 0 16px;
}

.paywall-content p {
  color: var(--gray-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.paywall-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.paywall-actions .btn {
  min-width: 220px;
}

.paywall-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--white) !important;
  font-size: 1.8rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 10;
}

.paywall-close-btn:hover {
  background: var(--merlot);
  border-color: var(--merlot);
  transform: rotate(90deg);
}

/* --- Auth Responsive --- */
@media (max-width: 600px) {
  .auth-tab-btn {
    padding: 12px 24px;
    font-size: 0.6rem;
  }

  .dashboard-card {
    padding: 32px 24px;
  }

  .dashboard-header h2 {
    font-size: 1.4rem;
  }

  .paywall-content h2 {
    font-size: 1.8rem;
  }
}

/* =============================================
   ADMIN DASHBOARD
   ============================================= */

/* Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.admin-stat-clickable {
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.admin-stat-clickable:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.admin-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.admin-stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* Toolbar */
.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-search-input {
  flex: 1;
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.admin-search-input:focus {
  border-color: var(--merlot);
}

.admin-search-input::placeholder {
  color: var(--gray-mid);
}

.admin-filter-select {
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  min-width: 160px;
}

.admin-filter-select option {
  background: var(--dark-gray);
  color: var(--white);
}

/* Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table thead {
  background: rgba(255,255,255,0.04);
}

.admin-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--off-white);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Badges */
.admin-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.badge-enrolled {
  background: rgba(114,47,55,0.2);
  color: var(--merlot-light);
}

.badge-pending {
  background: rgba(255,255,255,0.08);
  color: var(--gray-mid);
}

.badge-completed {
  background: rgba(39,174,96,0.15);
  color: #27ae60;
}

/* Progress bar in table */
.admin-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  min-width: 80px;
  overflow: hidden;
}

.admin-progress-fill {
  height: 100%;
  background: var(--merlot);
  border-radius: 3px;
  transition: width 0.3s;
}

.admin-progress-label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  white-space: nowrap;
}

/* Admin View Button */
.admin-view-btn {
  padding: 6px 16px !important;
  font-size: 0.75rem !important;
}

/* Modal Overlay */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal {
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray-mid);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.admin-modal-close:hover {
  color: var(--white);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.admin-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}

.admin-modal-email {
  color: var(--gray-mid);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.admin-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.admin-modal-info-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.admin-modal-info-value {
  font-size: 1rem;
  color: var(--off-white);
  font-weight: 500;
}

.admin-modal-section {
  margin-bottom: 24px;
}

.admin-modal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--off-white);
}

.admin-modal-section p {
  color: var(--gray-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Module breakdown grid */
.modal-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.modal-module-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.modal-module-item.completed {
  border-color: rgba(114,47,55,0.4);
  background: rgba(114,47,55,0.08);
}

.modal-module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.modal-module-num {
  font-size: 0.7rem;
  color: var(--gray-mid);
  letter-spacing: 1px;
}

.modal-module-check {
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.modal-module-item.completed .modal-module-check {
  color: var(--merlot-light);
}

.modal-module-name {
  font-size: 0.72rem;
  color: var(--off-white);
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 32px;
}

.modal-module-time {
  font-size: 0.7rem;
  color: var(--gray-mid);
}

/* Blog Cover Images — B&W Elegant */
.blog-cover-bw {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.blog-card:hover .blog-cover-bw {
  filter: grayscale(40%) contrast(1.05) brightness(1);
  transform: scale(1.04);
}

.featured-card .blog-cover-bw {
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

.featured-card:hover .blog-cover-bw {
  filter: grayscale(30%) contrast(1.1) brightness(1);
  transform: scale(1.03);
}

/* =============================================
   TALENT APPLICATION PAGE
   ============================================= */

/* Talent Hero */
.talent-hero {
  padding-top: calc(var(--header-height) + 60px);
}

/* Category Selection Cards */
.talent-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.talent-category-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--white);
}

.talent-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.4s var(--ease);
}

.talent-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.talent-category-card:hover::before {
  width: 100%;
}

.talent-category-card.active {
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.08);
  box-shadow: 0 0 0 1px var(--merlot);
}

.talent-category-card.active::before {
  width: 100%;
}

.talent-category-icon {
  font-size: 1.5rem;
  color: var(--merlot);
  margin-bottom: 16px;
}

.talent-category-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--white);
}

.talent-category-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* Talent Form Sections */
.talent-form-section {
  margin-bottom: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.talent-form-section:last-child {
  border-bottom: none;
}

.talent-section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 24px;
}

.talent-section-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Form Rows (2-column) */
.talent-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.talent-form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Checkbox Groups (chip-style) */
.talent-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.talent-chip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.talent-chip-label:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.talent-chip-label:has(input:checked) {
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.15);
  color: var(--white);
}

.talent-chip-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--merlot);
  margin: 0;
}

/* Upload Zones */
.talent-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.talent-upload-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.talent-upload-zone {
  border: 2px dashed rgba(255,255,255,0.12);
  padding: 48px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-upload-zone-sm {
  min-height: 160px;
  padding: 32px 16px;
}

.talent-upload-zone:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.02);
}

.talent-upload-zone.dragover {
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.06);
}

.talent-upload-zone.uploaded {
  border-color: var(--merlot);
  border-style: solid;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 2rem;
  color: var(--merlot);
  opacity: 0.6;
}

.upload-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.upload-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.upload-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.upload-remove:hover {
  background: var(--merlot);
}

.upload-progress {
  width: 80%;
  margin: 0 auto;
}

.upload-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  background: var(--merlot);
  transition: width 0.15s linear;
  width: 0;
}

/* Agreement Group */
.talent-agreement-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Talent Responsive */
@media (max-width: 992px) {
  .talent-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .talent-form-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .talent-upload-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .talent-hero {
    padding-top: calc(var(--header-height) + 32px);
  }

  .talent-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .talent-category-card {
    padding: 20px 16px;
  }

  .talent-category-card h4 {
    font-size: 1.05rem;
  }

  .talent-category-card p {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .talent-category-icon {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .talent-form-row,
  .talent-form-row-3 {
    grid-template-columns: 1fr;
  }

  .form-group select {
    font-size: 16px;
    min-height: 48px;
    width: 100%;
  }

  .talent-upload-row,
  .talent-upload-row-3 {
    grid-template-columns: 1fr;
  }

  .talent-upload-zone {
    min-height: 160px;
  }

  .talent-form-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
  }

  .talent-section-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .talent-section-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .talent-hero {
    padding-top: calc(var(--header-height) + 20px);
  }

  .talent-category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .talent-category-card {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .talent-category-icon {
    font-size: 1.3rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .talent-category-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .talent-category-card p {
    font-size: 0.72rem;
    display: none;
  }

  .talent-checkbox-group {
    gap: 8px;
  }

  .talent-chip-label {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .talent-form-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .talent-section-title {
    font-size: 1.2rem;
  }

  .talent-upload-zone {
    min-height: 140px;
    padding: 24px 16px;
  }

  .talent-upload-zone-sm {
    min-height: 120px;
    padding: 20px 12px;
  }
}

/* =============================================
   CERTIFICATE (hidden rendering)
   ============================================= */
#certificate-container {
  position: absolute;
  left: -9999px;
  top: 0;
}

/* =============================================
   RESPONSIVE — Admin & Certificate
   ============================================= */
@media (max-width: 992px) {
  .admin-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal-modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-modal-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Admin tabs: allow horizontal scroll on tablets */
  .admin-page .auth-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-tab-btn {
    padding: 12px 24px;
  }
}

@media (max-width: 768px) {
  /* --- Admin Stats --- */
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* --- Admin Toolbar --- */
  .admin-toolbar {
    flex-direction: column;
  }

  .admin-filter-select {
    min-width: unset;
    width: 100%;
  }

  /* --- Admin Table --- */
  .admin-table {
    font-size: 0.78rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 10px;
    white-space: nowrap;
  }

  /* --- Admin Tabs: scrollable row on mobile --- */
  .admin-page .auth-tabs-wrapper {
    margin-bottom: 28px;
  }

  .admin-page .auth-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100%;
  }

  .admin-page .auth-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab-btn {
    padding: 11px 18px;
    font-size: 0.62rem;
    flex-shrink: 0;
  }

  /* --- Admin Module Grid --- */
  .modal-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Admin Modal --- */
  .admin-modal {
    padding: 24px 18px;
    max-height: 90vh;
  }

  .admin-modal-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .admin-modal-header h2 {
    font-size: 1.2rem;
  }

  .admin-modal-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* --- Talent Modal: stack photo + info vertically --- */
  #talent-modal .admin-modal > div:first-of-type {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  #talent-modal .admin-modal > div:first-of-type img {
    width: 96px !important;
    height: 96px !important;
  }

  /* Force inline 4-col info grids to 2 cols */
  .admin-modal-info-grid[style*="repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* --- Analytics: stack 2-column grids --- */
  #tab-analytics > div[style*="grid-template-columns:1fr 1fr"],
  #tab-analytics > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* --- Client Info Selects: stack --- */
  .client-info-selects {
    flex-direction: column;
    gap: 10px;
  }

  .client-info-selects select {
    width: 100%;
  }

  /* --- Message Input --- */
  .message-input-row {
    flex-direction: column;
    gap: 8px;
  }

  .message-input-row .btn {
    width: 100%;
  }

  /* --- Admin Theme Toggle: reposition on mobile --- */
  .admin-theme-toggle {
    top: 18px;
    right: 72px;
    width: 38px;
    height: 38px;
  }

  /* --- Admin Page Container padding --- */
  .admin-page .account-hero > .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* --- Dashboard Section Title --- */
  .admin-page .section-title {
    font-size: 1.6rem;
  }

  .admin-page .section-subtitle {
    font-size: 0.82rem;
  }

  /* --- Admin Logout Button --- */
  #admin-dashboard-logout-btn {
    font-size: 0.78rem !important;
    padding: 7px 18px !important;
  }

  /* --- Roster Order Section --- */
  .roster-order-grid {
    gap: 4px;
  }

  .roster-order-card {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  /* --- Stats: single column on small phones --- */
  .admin-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .admin-stat-card {
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .admin-stat-number {
    font-size: 1.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .admin-stat-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  /* --- Admin Tabs: smaller on tiny screens --- */
  .admin-tab-btn {
    padding: 10px 14px;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  /* --- Module Grid --- */
  .modal-modules-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* --- Modal Info: single column --- */
  .admin-modal-info-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* --- Admin Modal: tighter padding --- */
  .admin-modal {
    padding: 20px 14px;
  }

  .admin-modal-header h2 {
    font-size: 1.1rem;
  }

  /* --- Table cells: smaller --- */
  .admin-table {
    font-size: 0.72rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 8px;
  }

  .admin-table th {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  /* --- Talent photos: smaller on mobile --- */
  #tmodal-photos {
    gap: 8px !important;
  }

  #tmodal-photos > div {
    flex: 0 0 calc(50% - 4px);
  }

  /* --- Analytics GA link card --- */
  #tab-analytics > div[style*="text-align:center"][style*="padding:32px"] {
    padding: 20px 14px !important;
  }

  /* --- Client modal tabs --- */
  .client-modal-tab {
    padding: 8px 12px;
    font-size: 0.65rem;
  }

  /* --- Admin page title area --- */
  .admin-page .section-title {
    font-size: 1.3rem;
  }
}

/* =============================================
   ROSTER PAGE — Public Talent Browsing
   ============================================= */

/* Roster Hero */
.roster-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
}

/* Filter Bar */
.roster-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
/* Gender Tabs under Roster title */
.roster-gender-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.gender-tab {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.3s, border-color 0.3s;
  border-bottom: 2px solid transparent;
}
.gender-tab:hover {
  color: var(--white);
}
.gender-tab.active {
  color: var(--white);
  border-bottom-color: var(--merlot);
}
.gender-tab-divider {
  color: rgba(255,255,255,0.15);
  font-size: 1rem;
  user-select: none;
}

/* Roster Grid */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Roster Card */
.roster-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--black);
  transition: all 0.4s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.roster-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.roster-card-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--gray-dark);
  overflow: hidden;
}

.roster-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-filter: grayscale(100%) !important;
  filter: grayscale(100%) !important;
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
  transform: scale(var(--crop-scale, 1));
  -webkit-transform: scale(var(--crop-scale, 1));
  transform-origin: var(--crop-ox, 50%) var(--crop-oy, 50%);
  -webkit-transform-origin: var(--crop-ox, 50%) var(--crop-oy, 50%);
}

.roster-card:hover .roster-card-image img {
  -webkit-filter: grayscale(0%) !important;
  filter: grayscale(0%) !important;
  transform: scale(calc(var(--crop-scale, 1) * 1.03));
  -webkit-transform: scale(calc(var(--crop-scale, 1) * 1.03));
}

.roster-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-mid);
}

/* Match Badge (on card) */
.roster-match-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  background: rgba(114, 47, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.roster-match-badge span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0;
}

/* Card Info */
.roster-card-info {
  padding: 20px;
  text-align: center;
}

.roster-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.roster-card-location {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 12px;
  padding: 0;
  letter-spacing: 0.08em;
  display: block;
}

.roster-card-info .btn {
  font-size: 0.6rem;
  padding: 8px 18px;
}

/* Category Badge */
.roster-category-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  margin-bottom: 8px;
}

.badge-cat-model {
  background: rgba(114, 47, 55, 0.2);
  color: var(--merlot-light);
}

.badge-cat-ugc {
  background: rgba(66, 133, 244, 0.15);
  color: #6ea8fe;
}

.badge-cat-influencer {
  background: rgba(226, 168, 54, 0.15);
  color: #e2a836;
}

.badge-cat-ambassador {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

/* Roster Modal */
.roster-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.roster-modal {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.roster-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.roster-modal-photo {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-dark);
}

.roster-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roster-modal-photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roster-modal-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.roster-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.roster-thumb:hover {
  opacity: 0.9;
}

.roster-thumb-active {
  opacity: 1;
  border-color: var(--merlot);
}

.roster-modal-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.roster-modal-match {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.roster-match-badge-lg {
  width: 56px;
  height: 56px;
  background: var(--merlot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roster-match-badge-lg .match-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.match-label-text {
  font-size: 0.75rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Detail items */
.roster-modal-details {
  margin-bottom: 20px;
}

.roster-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}

.detail-label {
  color: var(--gray-mid);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.detail-value {
  color: var(--off-white);
  text-align: right;
}

/* Social links in roster modal */
.roster-modal-socials {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.roster-modal-socials h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 12px;
}

.roster-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.roster-social-links a {
  font-size: 0.82rem;
  color: var(--merlot-light);
  transition: color 0.3s;
}

.roster-social-links a:hover {
  color: var(--white);
}

/* Roster Responsive */
@media (max-width: 1200px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Inquiry Form inside Roster Modal */
.roster-inquiry-form {
  padding: 0;
}

.roster-inquiry-back {
  background: none;
  border: none;
  color: var(--merlot-light);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.roster-inquiry-back:hover {
  color: var(--merlot);
}

.roster-inquiry-talent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-bottom: 24px;
}

.roster-inquiry-talent-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.inquiry-talent-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inquiry-talent-info strong {
  font-size: 1rem;
  color: var(--white);
}

#inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roster-inquiry-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.inquiry-success-icon {
  width: 56px;
  height: 56px;
  background: var(--merlot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
}

.roster-inquiry-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
}

.roster-inquiry-success p {
  color: var(--gray-mid);
  font-size: 0.9rem;
}

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

  .roster-modal-body {
    grid-template-columns: 1fr;
  }

  .roster-modal-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .roster-modal-photo-gallery {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Mobile Hero - cleaner spacing */
  .roster-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 24px;
  }

  .roster-hero .section-title {
    font-size: 2.5rem;
  }

  .roster-hero .section-subtitle {
    font-size: 0.9rem;
    margin: 8px auto 32px;
    padding: 0 16px;
  }

  /* Mobile Gender Tabs */
  .roster-gender-tabs {
    gap: 12px;
    margin-top: 8px;
  }

  .gender-tab {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  /* Mobile Filter Bar - horizontal scroll */
  .roster-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 8px;
    margin-top: 24px;
    justify-content: flex-start;
    gap: 10px;
  }

  .roster-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.75rem;
  }

  /* Mobile Grid - single column, centered */
  .roster-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 16px;
  }

  /* Mobile Card - clean look */
  .roster-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .roster-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  /* Mobile: Ensure black & white filter and crop settings work */
  .roster-card-image img {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
    transform: scale(var(--crop-scale, 1));
    transform-origin: var(--crop-ox, 50%) var(--crop-oy, 50%);
    -webkit-transform: scale(var(--crop-scale, 1));
    -webkit-transform-origin: var(--crop-ox, 50%) var(--crop-oy, 50%);
    transition: filter 0.3s ease;
  }

  /* On tap/touch, briefly show color */
  .roster-card:active .roster-card-image img {
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%) !important;
  }

  /* Mobile Card Info */
  .roster-card-info {
    padding: 16px;
  }

  .roster-card-info h4 {
    font-size: 1.1rem;
  }

  .roster-card-info .btn {
    padding: 10px 20px;
    font-size: 0.65rem;
  }

  /* Mobile Modal */
  .roster-modal-overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 60px;
  }

  .roster-modal {
    padding: 20px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }

  .roster-modal-body {
    flex-direction: column;
    gap: 20px;
  }

  .roster-modal-photo-gallery {
    max-width: 100%;
  }

  .roster-modal-photo {
    max-width: 100%;
    aspect-ratio: 3/4;
  }

  .roster-modal-info h2 {
    font-size: 1.5rem;
  }

  #inquire-to-book-btn {
    width: 100%;
    padding: 14px 24px;
  }

  /* Mobile Pagination */
  #roster-pagination {
    padding: 24px 16px;
  }

  #roster-pagination .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* =============================================
   ROSTER & INQUIRY FORM — Light Mode (Day)
   Only on screens wider than 768px (desktop/tablet)
   Phone stays in dark/night mode
   ============================================= */
@media (prefers-color-scheme: light) and (min-width: 769px) {
  /* Modal overlay & container */
  .roster-modal-overlay {
    background: rgba(0,0,0,0.45);
  }
  .roster-modal {
    background: #ffffff;
    border-color: #e0e0e0;
    color: #1a1a1a;
  }

  /* Modal info text */
  .roster-modal-info h2 {
    color: #1a1a1a;
  }
  .match-label-text {
    color: #666;
  }
  .roster-modal-details .detail-label {
    color: #666;
  }
  .roster-modal-details .detail-value {
    color: #1a1a1a;
  }
  .roster-modal-socials h4 {
    color: #1a1a1a;
  }
  .roster-social-links a {
    color: var(--merlot);
  }

  /* Close button */
  .roster-modal .admin-modal-close {
    color: #666;
  }
  .roster-modal .admin-modal-close:hover {
    color: #1a1a1a;
  }

  /* Inquiry form */
  .roster-inquiry-back {
    color: var(--merlot);
  }
  .roster-inquiry-back:hover {
    color: var(--merlot-dark);
  }
  .roster-inquiry-talent-card {
    background: #f5f5f5;
    border-color: #e0e0e0;
  }
  .inquiry-talent-info strong {
    color: #1a1a1a;
  }

  /* Form fields in roster modal */
  .roster-inquiry-form .form-group label {
    color: #333;
  }
  .roster-inquiry-form .form-group input,
  .roster-inquiry-form .form-group select,
  .roster-inquiry-form .form-group textarea {
    background: #f9f9f9;
    border-color: #d0d0d0;
    color: #1a1a1a;
  }
  .roster-inquiry-form .form-group input:focus,
  .roster-inquiry-form .form-group select:focus,
  .roster-inquiry-form .form-group textarea:focus {
    border-color: var(--merlot);
  }
  .roster-inquiry-form .form-group input::placeholder,
  .roster-inquiry-form .form-group textarea::placeholder {
    color: #999;
  }
  .roster-inquiry-form .form-group select option {
    background: #fff;
    color: #1a1a1a;
  }

  /* Success state */
  .roster-inquiry-success h3 {
    color: #1a1a1a;
  }
  .roster-inquiry-success p {
    color: #666;
  }

  /* Roster grid cards */
  .roster-card {
    background: var(--black) !important;
    border-color: rgba(255,255,255,0.08);
  }
  .roster-card:hover {
    border-color: rgba(255,255,255,0.15);
  }
  .roster-card-name {
    color: #1a1a1a;
  }
  .roster-card-location {
    color: #666;
  }

  /* Filter pills */
  .filter-pill {
    background: #f0f0f0;
    color: #333;
    border-color: #d0d0d0;
  }
  .filter-pill.active {
    background: var(--merlot);
    color: #fff;
    border-color: var(--merlot);
  }

  /* Section background */
  .section-dark {
    background: var(--dark);
    color: var(--white);
  }

  /* Photo gallery area */
  .roster-modal-photo {
    background: #eee;
  }

  /* ---- Global light mode overrides ---- */
  body {
    background: var(--black);
    color: var(--white);
  }
  .section-black {
    background: var(--black);
  }
  .section-label {
    color: var(--merlot);
  }
  .section-title {
    color: var(--white);
  }
  .section-subtitle {
    color: rgba(255,255,255,0.7);
  }

  /* ---- Talent Application Form (light mode) ---- */

  /* Hero / page background */
  .talent-hero {
    background: #f5f5f5;
  }

  /* Section titles & descriptions */
  .talent-section-title {
    color: #1a1a1a;
  }
  .talent-section-desc {
    color: #555;
  }

  /* Category cards */
  .talent-category-card {
    background: #fff;
    border-color: #ddd;
    color: #1a1a1a;
  }
  .talent-category-card:hover {
    border-color: #bbb;
    background: #fafafa;
  }
  .talent-category-card.active {
    background: rgba(114, 47, 55, 0.06);
  }
  .talent-category-card h4 {
    color: #1a1a1a;
  }
  .talent-category-card p {
    color: #555;
  }

  /* Form labels & inputs (talent application only) */
  .talent-hero .form-group label {
    color: #1a1a1a;
  }
  .talent-hero .form-group input,
  .talent-hero .form-group select,
  .talent-hero .form-group textarea {
    background: #fff;
    border-color: #ccc;
    color: #1a1a1a;
  }
  .talent-hero .form-group input:focus,
  .talent-hero .form-group select:focus,
  .talent-hero .form-group textarea:focus {
    border-color: var(--merlot);
  }
  .talent-hero .form-group input::placeholder,
  .talent-hero .form-group textarea::placeholder {
    color: #999;
  }
  .talent-hero .form-group select option {
    background: #fff;
    color: #1a1a1a;
  }

  /* Chip labels (checkboxes) */
  .talent-chip-label {
    border-color: #ccc;
    color: #333;
  }
  .talent-chip-label:hover {
    border-color: var(--merlot);
  }

  /* Upload zones */
  .talent-upload-zone {
    border-color: #ccc;
  }
  .talent-upload-zone:hover {
    border-color: #999;
    background: #fafafa;
  }
  .upload-label {
    color: #1a1a1a;
  }
  .upload-hint {
    color: #888;
  }

  /* ─── Force talent form to stay dark/black ─── */
  #talent-form-section {
    background: var(--black, #0a0a0a) !important;
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .section-title,
  #talent-form-section .section-subtitle {
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .section-label {
    color: var(--merlot) !important;
  }
  #talent-form-section .talent-section-title {
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .talent-section-desc {
    color: rgba(255,255,255,0.6) !important;
  }
  #talent-form-section .talent-form-section {
    border-bottom-color: rgba(255,255,255,0.06) !important;
  }
  #talent-form-section label {
    color: rgba(255,255,255,0.85) !important;
  }
  #talent-form-section input,
  #talent-form-section select,
  #talent-form-section textarea {
    background: rgba(255,255,255,0.04) !important;
    color: var(--white, #f5f5f5) !important;
    border-color: rgba(255,255,255,0.1) !important;
  }
  #talent-form-section input::placeholder,
  #talent-form-section textarea::placeholder {
    color: rgba(255,255,255,0.35) !important;
  }
  #talent-form-section .talent-upload-zone {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .upload-label {
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .upload-hint {
    color: rgba(255,255,255,0.4) !important;
  }
  #talent-form-section .talent-category-card {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .talent-category-card h3 {
    color: var(--white, #f5f5f5) !important;
  }
  #talent-form-section .talent-category-card p {
    color: rgba(255,255,255,0.6) !important;
  }

  /* Talent hero also stays dark */
  .talent-hero {
    background: var(--black, #0a0a0a) !important;
    color: var(--white, #f5f5f5) !important;
  }
  .talent-hero .section-title {
    color: var(--white, #f5f5f5) !important;
  }
  .talent-hero .section-subtitle {
    color: rgba(255,255,255,0.6) !important;
  }

  /* ---- Force homepage section colors (light mode) ---- */

  /* Service cards: titles merlot, descriptions white */
  .service-card h4 {
    color: var(--merlot) !important;
  }
  .service-card p {
    color: var(--white) !important;
  }

  /* Pricing: all text black */
  .pricing-card h3 {
    color: var(--black) !important;
  }
  .pricing-price {
    color: var(--black) !important;
  }
  .pricing-period {
    color: var(--black) !important;
  }
  .pricing-features li {
    color: var(--black) !important;
  }

  /* About / Foundation pillars: merlot */
  .about-text p {
    color: var(--merlot) !important;
  }
  .pillar-card h4 {
    color: var(--merlot) !important;
  }
  .pillar-card p {
    color: var(--merlot) !important;
  }

  /* About / Foundation: black */
  #about .section-title {
    color: var(--black) !important;
  }

  /* Brands & Collaborations: title + chips merlot */
  #brands .section-title {
    color: var(--merlot) !important;
  }
  #miami .section-title {
    color: var(--black) !important;
  }
  .brand-chip {
    color: var(--merlot) !important;
  }

  /* Contact section: white text */
  .contact-info p {
    color: var(--white) !important;
  }
  .contact-info-links a {
    color: var(--white) !important;
  }
  .contact-social a {
    color: var(--white) !important;
  }

  /* FAQ: white text */
  .faq-question {
    color: var(--white) !important;
  }
  .faq-answer p {
    color: var(--white) !important;
  }
}

/* =============================================
   ADMIN — Talent Management Tab
   ============================================= */

/* Admin Tab buttons (reuses auth-tabs style) */
.admin-tab-btn {
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray-mid);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.admin-tab-btn.active {
  background: var(--merlot);
  color: var(--white);
}

.admin-tab-btn:hover:not(.active) {
  color: var(--white);
}

.answer-key-course-btn {
  display: inline-block;
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--gray-mid);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.answer-key-course-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.answer-key-course-btn.active {
  background: var(--merlot);
  color: #fff;
  border-color: var(--merlot);
}

/* Talent status badges */
.badge-talent-pending {
  background: rgba(226, 168, 54, 0.15);
  color: #e2a836;
}

.badge-talent-approved {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.badge-talent-denied {
  background: rgba(226, 85, 85, 0.15);
  color: #e25555;
}

/* Talent Social Media Grid (Admin Modal) */
.talent-socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.talent-social-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.talent-social-card:hover {
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.08);
}

.talent-social-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.talent-social-handle {
  font-size: 0.82rem;
  color: var(--merlot-light);
  word-break: break-all;
}

.talent-social-card:hover .talent-social-handle {
  color: var(--white);
}

@media (max-width: 768px) {
  .talent-socials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .talent-socials-grid {
    grid-template-columns: 1fr;
  }
}

/* Social Tags in Talent Table */
.social-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.talent-social-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.72rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  max-width: 180px;
}

.social-tag-handle {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  display: inline-block;
  color: rgba(255,255,255,0.7);
}

a.talent-social-tag:hover {
  border-color: var(--merlot);
  background: rgba(114, 47, 55, 0.12);
}

.social-tag-abbr {
  font-weight: 600;
  color: var(--merlot-light);
  letter-spacing: 0.05em;
}

a.talent-social-tag:hover .social-tag-handle {
  color: var(--white);
}

/* Admin talent stats responsive */
@media (max-width: 768px) {
  .admin-stats-grid[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* =============================================
   CLIENT ECOSYSTEM — Admin CRM + Client Portal
   ============================================= */

/* --- Client Status Badges --- */
.badge-active {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.badge-paused {
  background: rgba(226, 168, 54, 0.15);
  color: #e2a836;
}

.badge-churned {
  background: rgba(226, 85, 85, 0.15);
  color: #e25555;
}

/* --- Client Modal Inner Tabs --- */
.client-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.client-modal-tab {
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

.client-modal-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.3s var(--ease);
}

.client-modal-tab.active {
  color: var(--white);
}

.client-modal-tab.active::after {
  width: 100%;
}

.client-modal-tab:hover:not(.active) {
  color: var(--white);
}

.client-modal-panel {
  display: none;
}

.client-modal-panel.active {
  display: block;
  animation: fadeIn 0.3s var(--ease);
}

/* --- Deliverable Cards (Admin) --- */
.deliverable-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  margin-bottom: 10px;
  transition: border-color 0.3s var(--ease);
}

.deliverable-card:hover {
  border-color: rgba(255,255,255,0.12);
}

.deliverable-card-info {
  flex: 1;
  min-width: 0;
}

.deliverable-card-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.deliverable-card-desc {
  font-size: 0.8rem;
  color: var(--gray-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deliverable-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  flex-shrink: 0;
}

.deliverable-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.deliverable-status-badge.in-progress {
  background: rgba(66, 133, 244, 0.15);
  color: #6ea8fe;
}

.deliverable-status-badge.review {
  background: rgba(226, 168, 54, 0.15);
  color: #e2a836;
}

.deliverable-status-badge.approved {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.deliverable-status-badge.delivered {
  background: rgba(114, 47, 55, 0.2);
  color: var(--merlot-light);
}

/* --- Message Bubbles --- */
.messages-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  position: relative;
}

.message-bubble.admin {
  background: rgba(114, 47, 55, 0.2);
  border: 1px solid rgba(114, 47, 55, 0.3);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.message-bubble.client {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--off-white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.message-sender {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.message-bubble.admin .message-sender {
  color: var(--merlot-light);
}

.message-bubble.client .message-sender {
  color: var(--gray-mid);
}

.message-time {
  font-size: 0.68rem;
  color: var(--gray-mid);
  margin-top: 6px;
}

.message-input-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.message-input-row input,
.message-input-row textarea {
  flex: 1;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.message-input-row input:focus,
.message-input-row textarea:focus {
  border-color: var(--merlot);
}

.message-input-row .btn {
  flex-shrink: 0;
}

/* --- Activity Log --- */
.activity-entry {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.activity-entry:last-child {
  border-bottom: none;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--merlot);
  margin-top: 6px;
  flex-shrink: 0;
}

.activity-dot.note { background: var(--merlot-light); }
.activity-dot.status-change { background: #e2a836; }
.activity-dot.deliverable { background: #6ea8fe; }

.activity-content {
  flex: 1;
}

.activity-text {
  font-size: 0.88rem;
  color: var(--off-white);
  line-height: 1.6;
}

.activity-meta {
  font-size: 0.72rem;
  color: var(--gray-mid);
  margin-top: 4px;
}

.activity-note-input {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.activity-note-input input {
  flex: 1;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.activity-note-input input:focus {
  border-color: var(--merlot);
}

/* --- Add Client Form --- */
.add-client-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.add-client-form .form-group {
  display: flex;
  flex-direction: column;
}

.add-client-form .form-group.full-width {
  grid-column: 1 / -1;
}

.add-client-form label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.add-client-form input,
.add-client-form select,
.add-client-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.add-client-form input:focus,
.add-client-form select:focus,
.add-client-form textarea:focus {
  border-color: var(--merlot);
}

.add-client-form select option {
  background: var(--dark);
  color: var(--white);
}

.add-client-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- Client Portal --- */
.portal-overview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.portal-overview-card {
  background: var(--dark-gray);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}

.portal-overview-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.portal-overview-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
}

/* Portal Tabs */
.portal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.portal-tab-btn {
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

.portal-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--merlot);
  transition: width 0.3s var(--ease);
}

.portal-tab-btn.active {
  color: var(--white);
}

.portal-tab-btn.active::after {
  width: 100%;
}

.portal-tab-btn:hover:not(.active) {
  color: var(--white);
}

.portal-tab-panel {
  display: none;
}

.portal-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s var(--ease);
}

/* Portal Deliverable Grid */
.portal-deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portal-deliverable-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s var(--ease);
}

.portal-deliverable-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}

.portal-deliverable-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.portal-deliverable-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
}

.portal-deliverable-desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.portal-deliverable-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--merlot-light);
  transition: color 0.3s;
}

.portal-deliverable-link:hover {
  color: var(--white);
}

/* Portal Account Info */
.portal-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
}

.portal-account-item {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
}

.portal-account-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.portal-account-value {
  font-size: 0.95rem;
  color: var(--off-white);
  font-weight: 400;
}

/* --- Deliverable Form (Admin Modal) --- */
.deliverable-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 16px;
}

.deliverable-form .form-group {
  display: flex;
  flex-direction: column;
}

.deliverable-form .form-group.full-width {
  grid-column: 1 / -1;
}

.deliverable-form label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.deliverable-form input,
.deliverable-form select,
.deliverable-form textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.deliverable-form input:focus,
.deliverable-form select:focus {
  border-color: var(--merlot);
}

/* --- Client Info Grid (Detail Modal) --- */
.client-info-selects {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.client-info-selects select {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.client-info-selects select option {
  background: var(--dark);
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-mid);
  font-size: 0.9rem;
}

/* --- Client Portal Responsive --- */
@media (max-width: 992px) {
  .portal-deliverable-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portal-overview-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-tabs {
    flex-wrap: wrap;
  }

  .portal-tab-btn {
    padding: 12px 20px;
  }

  .portal-account-grid {
    grid-template-columns: 1fr;
  }

  .add-client-form {
    grid-template-columns: 1fr;
  }

  .deliverable-form {
    grid-template-columns: 1fr;
  }

  .client-modal-tabs {
    flex-wrap: wrap;
  }

  .client-modal-tab {
    padding: 10px 16px;
    font-size: 0.68rem;
  }

  .messages-container {
    max-height: 300px;
  }

  .message-bubble {
    max-width: 90%;
  }
}

/* =============================================
   LIGHT MODE / DAY MODE FOR COURSE
   ============================================= */

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 1000;
  background: rgba(139, 10, 26, 0.9);
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Light Mode Styles */
body.light-mode {
  background: #f8f6f4;
}

body.light-mode .course-layout {
  background: #f8f6f4;
}

body.light-mode .course-sidebar {
  background: #fff;
  border-right: 1px solid #e5e0dc;
}

body.light-mode .sidebar-header {
  border-bottom: 1px solid #e5e0dc;
}

body.light-mode .sidebar-title {
  color: #1a1a1a;
}

body.light-mode .sidebar-eyebrow {
  color: #8B0A1A;
}

body.light-mode .sidebar-phase {
  color: #8B0A1A;
  background: rgba(139, 10, 26, 0.08);
}

body.light-mode .sidebar-link {
  color: #444;
}

body.light-mode .sidebar-link:hover,
body.light-mode .sidebar-link.active {
  color: #8B0A1A;
  background: rgba(139, 10, 26, 0.08);
}

body.light-mode .sidebar-num {
  color: #8B0A1A;
}

body.light-mode .progress-bar {
  background: #e5e0dc;
}

body.light-mode .progress-text {
  color: #666;
}

body.light-mode .course-main {
  background: #f8f6f4;
}

body.light-mode .module-header {
  border-bottom: 1px solid #e5e0dc;
}

body.light-mode .module-header h1,
body.light-mode .module-header h2 {
  color: #8B0A1A;
}

body.light-mode .module-phase-tag {
  color: #8B0A1A;
}

body.light-mode .module-num-tag {
  color: #666;
}

body.light-mode .module-intro {
  color: #333;
}

body.light-mode .module-body h2 {
  color: #8B0A1A;
}

body.light-mode .module-body h3 {
  color: #1a1a1a;
}

body.light-mode .module-body p {
  color: #333;
}

body.light-mode .module-body li {
  color: #333;
}

body.light-mode .module-body strong {
  color: #1a1a1a;
}

body.light-mode .module-callout {
  background: rgba(139, 10, 26, 0.06);
  color: #333;
}

body.light-mode .module-callout strong {
  color: #8B0A1A;
}

body.light-mode .module-action {
  background: #fff;
  border-color: #e5e0dc;
}

body.light-mode .module-action p {
  color: #555;
}

body.light-mode .comparison-item {
  background: #fff;
  border-color: #e5e0dc;
}

body.light-mode .comparison-item h4 {
  color: #8B0A1A;
}

body.light-mode .comparison-item p {
  color: #555;
}

body.light-mode .module-nav {
  border-top: 1px solid #e5e0dc;
}

body.light-mode .module-nav-btn {
  background: #fff;
  border-color: #e5e0dc;
  color: #333;
}

body.light-mode .module-nav-btn:hover {
  border-color: #8B0A1A;
  color: #8B0A1A;
}

body.light-mode .quiz-container {
  background: #fff;
  border-color: #e5e0dc;
}

body.light-mode .quiz-question {
  color: #1a1a1a;
}

body.light-mode .quiz-option {
  background: #f8f6f4;
  border-color: #e5e0dc;
  color: #333;
}

body.light-mode .quiz-option:hover {
  border-color: #8B0A1A;
}

body.light-mode .quiz-option label {
  color: #333;
}

body.light-mode .quiz-feedback {
  color: #333;
}

body.light-mode .quiz-result {
  color: #333;
}

body.light-mode .quiz-explanation {
  color: #333;
}

body.light-mode .quiz-container p {
  color: #333;
}

body.light-mode .quiz-container span {
  color: #333;
}

/* Comprehensive Quiz Light Mode Styles */
body.light-mode .quiz-section {
  border-top-color: #e5e0dc;
}

body.light-mode .quiz-section h2 {
  color: #8B0A1A;
}

body.light-mode .quiz-intro {
  color: #555;
}

body.light-mode .quiz-question {
  background: #fff;
  border-color: #e5e0dc;
}

body.light-mode .quiz-question p {
  color: #333;
}

body.light-mode .quiz-question label {
  color: #333;
}

body.light-mode .quiz-question label:hover {
  color: #1a1a1a;
  background: rgba(139, 10, 26, 0.05);
}

body.light-mode .quiz-form {
  color: #333;
}

body.light-mode .quiz-form * {
  color: #333;
}

body.light-mode .quiz-result.passed {
  background: rgba(50,180,100,0.1);
  color: #2d8a4e;
}

body.light-mode .quiz-result.failed {
  background: rgba(220,60,60,0.1);
  color: #c43c3c;
}

body.light-mode .quiz-explanation {
  background: rgba(139, 10, 26, 0.08);
  color: #333;
}

body.light-mode .quiz-explanation strong {
  color: #8B0A1A;
}

body.light-mode .quiz-submit {
  color: #fff !important;
}

body.light-mode .module-prev {
  color: #8B0A1A !important;
  border-color: #8B0A1A !important;
}

body.light-mode .module-prev:hover {
  background: rgba(139, 10, 26, 0.1);
}

body.light-mode .sidebar-toggle {
  background: #8B0A1A;
  color: #fff;
}

body.light-mode .theme-toggle {
  background: #1a1a1a;
}

/* Light mode for What You'll Need box */
body.light-mode .module-callout li {
  color: #333 !important;
}

body.light-mode .module-callout a {
  color: #333 !important;
}

body.light-mode .module-callout p {
  color: #333 !important;
}

body.light-mode .module-callout span {
  color: #333 !important;
}

/* ============================================
   Brand Email Directory
   ============================================ */
.brand-directory {
  margin-top: 60px;
  padding: 60px 0;
  border-top: 1px solid rgba(114,47,55,0.2);
}

.brand-directory-header {
  text-align: center;
  margin-bottom: 40px;
}

.brand-directory-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}

.brand-directory-header p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 24px;
}

.brand-search-wrap {
  max-width: 420px;
  margin: 0 auto 12px;
}

.brand-search {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s;
}

.brand-search::placeholder {
  color: rgba(255,255,255,0.35);
}

.brand-search:focus {
  border-color: var(--merlot);
}

.brand-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* Category Tabs */
.brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.brand-tab {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.brand-tab:hover {
  border-color: var(--merlot);
  color: var(--white);
}

.brand-tab.active {
  background: var(--merlot);
  border-color: var(--merlot);
  color: var(--white);
}

/* Brand Cards Grid */
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.brand-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 20px;
  transition: border-color 0.3s, background 0.3s;
}

.brand-card:hover {
  border-color: rgba(114,47,55,0.4);
  background: rgba(114,47,55,0.04);
}

.brand-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.brand-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 500;
}

.brand-card-category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--merlot-light);
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid rgba(114,47,55,0.3);
  flex-shrink: 0;
}

.brand-card-type {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  line-height: 1.5;
}

.brand-card-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.brand-email-text {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  padding: 4px;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.brand-copy-btn:hover {
  color: var(--merlot-light);
}

.brand-copy-btn.copied {
  color: #4caf50;
}

.brand-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

.brand-disclaimer {
  text-align: center;
  margin-top: 32px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Paywall Features */
.paywall-features {
  list-style: none;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 28px;
  padding: 0;
}

.paywall-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.paywall-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--merlot-light);
  font-weight: 600;
}

/* Brand Directory Responsive */
@media (max-width: 768px) {
  .brand-directory {
    padding: 40px 0;
  }

  .brand-directory-header h2 {
    font-size: 1.6rem;
  }

  .brand-cards-grid {
    grid-template-columns: 1fr;
  }

  .brand-tabs {
    gap: 6px;
  }

  .brand-tab {
    padding: 6px 12px;
    font-size: 0.65rem;
  }
}

/* ─── Light Mode: Brand Directory ─── */
body.light-mode .brand-directory {
  border-top-color: #e5e0dc;
}

body.light-mode .brand-directory-header h2 {
  color: #8B0A1A;
}

body.light-mode .brand-directory-header p {
  color: #555;
}

body.light-mode .brand-search {
  border-color: #e5e0dc;
  background: #fff;
  color: #1a1a1a;
}

body.light-mode .brand-search::placeholder {
  color: #aaa;
}

body.light-mode .brand-search:focus {
  border-color: #8B0A1A;
}

body.light-mode .brand-count {
  color: #888;
}

body.light-mode .brand-tab {
  border-color: #e5e0dc;
  color: #666;
}

body.light-mode .brand-tab:hover {
  border-color: #8B0A1A;
  color: #1a1a1a;
}

body.light-mode .brand-tab.active {
  background: #8B0A1A;
  border-color: #8B0A1A;
  color: #fff;
}

body.light-mode .brand-card {
  border-color: #e5e0dc;
  background: #fff;
}

body.light-mode .brand-card:hover {
  border-color: rgba(139,10,26,0.3);
  background: rgba(139,10,26,0.02);
}

body.light-mode .brand-card-name {
  color: #1a1a1a;
}

body.light-mode .brand-card-category {
  color: #8B0A1A;
  border-color: rgba(139,10,26,0.2);
}

body.light-mode .brand-card-type {
  color: #666;
}

body.light-mode .brand-card-email {
  background: #f8f6f4;
  border-color: #e5e0dc;
}

body.light-mode .brand-email-text {
  color: #333;
}

body.light-mode .brand-copy-btn {
  color: #999;
}

body.light-mode .brand-copy-btn:hover {
  color: #8B0A1A;
}

body.light-mode .brand-empty {
  color: #aaa;
}

body.light-mode .brand-disclaimer {
  color: #999;
}

/* ============================================
   Premium Brand Directory — Upsell Card
   ============================================ */
.premium-upsell {
  position: relative;
  margin-top: 48px;
  padding: 48px 32px 40px;
  border: 2px solid rgba(114,47,55,0.35);
  background: linear-gradient(135deg, rgba(114,47,55,0.08) 0%, rgba(30,30,30,0.6) 100%);
  text-align: center;
  overflow: hidden;
}

.premium-upsell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--merlot), var(--merlot-light), var(--merlot));
}

.premium-upsell-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--merlot-light);
  border: 1px solid rgba(114,47,55,0.4);
  padding: 4px 14px;
  margin-bottom: 20px;
}

.premium-upsell-lock {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.3);
}

.premium-upsell-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}

.premium-upsell-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.premium-upsell-features {
  list-style: none;
  text-align: left;
  max-width: 380px;
  margin: 0 auto 28px;
  padding: 0;
}

.premium-upsell-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.premium-upsell-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--merlot-light);
  font-weight: 600;
}

.premium-upsell-btn {
  font-size: 0.95rem;
  padding: 14px 40px;
  letter-spacing: 0.06em;
}

.premium-upsell-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  letter-spacing: 0.03em;
}

/* Premium directory reuses .brand-directory classes — just adds spacing */
.premium-brand-directory {
  margin-top: 48px;
}

/* ─── Light Mode: Premium Upsell ─── */
body.light-mode .premium-upsell {
  border-color: rgba(139,10,26,0.25);
  background: linear-gradient(135deg, rgba(139,10,26,0.04) 0%, #f8f6f4 100%);
}

body.light-mode .premium-upsell::before {
  background: linear-gradient(90deg, #8B0A1A, #c4656e, #8B0A1A);
}

body.light-mode .premium-upsell-badge {
  color: #8B0A1A;
  border-color: rgba(139,10,26,0.3);
}

body.light-mode .premium-upsell-lock {
  color: #ccc;
}

body.light-mode .premium-upsell-title {
  color: #8B0A1A;
}

body.light-mode .premium-upsell-desc {
  color: #555;
}

body.light-mode .premium-upsell-features li {
  color: #444;
}

body.light-mode .premium-upsell-features li::before {
  color: #8B0A1A;
}

body.light-mode .premium-upsell-note {
  color: #aaa;
}

/* Premium Upsell Responsive */
@media (max-width: 768px) {
  .premium-upsell {
    padding: 36px 20px 32px;
  }

  .premium-upsell-title {
    font-size: 1.4rem;
  }
}

body.light-mode .paywall-features li {
  color: rgba(255,255,255,0.75);
}

/* ============================================
   Course Preview Popup (Nav)
   ============================================ */
.course-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.course-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.course-popup {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 36px 32px 40px;
  position: relative;
  text-align: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.course-popup-overlay.active .course-popup {
  transform: scale(1);
  opacity: 1;
}

.course-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.course-popup-close:hover {
  color: var(--white);
}

.course-popup .section-label {
  display: block;
  margin-bottom: 4px;
}

.course-popup-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white);
  margin: 4px 0 6px;
}

.course-popup-subtitle {
  color: var(--gray-mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.course-popup .paywall-features {
  margin: 0 auto 24px;
}

.course-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.course-popup-actions .btn {
  min-width: 240px;
}

@media (max-width: 600px) {
  .course-popup {
    padding: 28px 20px 32px;
  }

  .course-popup-title {
    font-size: 1.5rem;
  }

  .course-popup-actions .btn {
    min-width: 100%;
  }
}

/* ============================================
   Language Toggle
   ============================================ */
.lang-toggle {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.lang-btn.active {
  background: var(--merlot);
  border-color: var(--merlot);
  color: var(--white);
}

/* Mobile language toggle (inside mobile nav) */
.mobile-lang-toggle {
  display: none;
  gap: 8px;
  padding: 16px 0 8px;
  justify-content: center;
}

.mobile-lang-toggle .lang-btn {
  font-size: 0.75rem;
  padding: 6px 14px;
}

/* Japanese font support */
html[lang="ja"] body,
html[lang="ja"] .btn,
html[lang="ja"] input,
html[lang="ja"] textarea,
html[lang="ja"] select {
  font-family: 'Noto Sans JP', var(--font-body), sans-serif;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] .section-title,
html[lang="ja"] .hero h1 {
  font-family: 'Noto Sans JP', var(--font-heading), serif;
}

@media (max-width: 900px) {
  .lang-toggle {
    margin-left: auto;
    margin-right: 12px;
    gap: 2px;
  }
  .lang-toggle .lang-btn {
    font-size: 0.55rem;
    padding: 3px 6px;
  }
}

/* Light-mode overrides for lang toggle */
body.light-mode .lang-btn {
  border-color: rgba(0,0,0,0.15);
  color: rgba(0,0,0,0.4);
}

body.light-mode .lang-btn:hover {
  color: #000;
  border-color: rgba(0,0,0,0.4);
}

body.light-mode .lang-btn.active {
  background: var(--merlot);
  border-color: var(--merlot);
  color: #fff;
}

/* ============================================
   Talent Success Popup
   ============================================ */
.talent-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(4px);
}

.talent-success-overlay.active {
  opacity: 1;
}

.talent-success-modal {
  position: relative;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s var(--ease-out);
}

.talent-success-overlay.active .talent-success-modal {
  transform: scale(1) translateY(0);
}

.talent-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--merlot);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.talent-success-modal h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
}

.talent-success-modal p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 32px;
}

.talent-modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-mid);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s ease;
}
.talent-modal-x:hover {
  color: var(--white);
}

/* Admin photo upload & delete */
.admin-upload-photo-wrap {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

.admin-upload-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  color: var(--gray-mid);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: 260px;
}

.admin-upload-photo-btn:hover {
  border-color: var(--merlot);
  color: var(--merlot);
  background: rgba(128, 0, 32, 0.08);
}

.admin-upload-photo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.15);
}

.admin-upload-icon {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
}

.admin-upload-progress {
  width: 260px;
  margin: 8px auto 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.admin-upload-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--merlot);
  border-radius: 3px;
  transition: width 0.2s;
}

.admin-upload-progress-text {
  position: absolute;
  top: -18px;
  right: 0;
  font-size: 0.65rem;
  color: var(--gray-mid);
}

.admin-photo-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}

.admin-photo-delete-btn:hover {
  background: #c0392b;
  border-color: #c0392b;
}

.admin-photo-dl-btn:hover {
  border-color: var(--merlot) !important;
  color: var(--merlot) !important;
}

.admin-download-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gray-mid);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: 260px;
  justify-content: center;
}

.admin-download-all-btn:hover {
  border-color: var(--merlot);
  color: var(--merlot);
  background: rgba(128, 0, 32, 0.08);
}

.talent-success-close {
  min-width: 160px;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 40px 24px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--merlot-light);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--merlot-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-answer p {
  padding: 0 0 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Light section FAQ override */
.section-light .faq-item {
  border-bottom-color: rgba(0,0,0,0.1);
}
.section-light .faq-question {
  color: var(--white);
}
.section-light .faq-answer p {
  color: var(--white);
}

/* ============================================
   Floating Language Switcher (FAB)
   ============================================ */
.lang-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.lang-fab-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--merlot);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: all 0.3s var(--ease);
}

.lang-fab-trigger:hover {
  background: #a00d24;
  box-shadow: 0 6px 28px rgba(0,0,0,0.45);
  transform: translateY(-2px);
}

.lang-fab-trigger svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.lang-fab-current {
  text-transform: uppercase;
}

.lang-fab-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.lang-fab.open .lang-fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-fab-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease);
}

.lang-fab-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lang-fab-btn.active {
  background: var(--merlot);
  color: #fff;
}

/* Light mode */
body.light-mode .lang-fab-menu {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

body.light-mode .lang-fab-btn {
  color: rgba(0,0,0,0.55);
}

body.light-mode .lang-fab-btn:hover {
  background: rgba(0,0,0,0.05);
  color: #000;
}

body.light-mode .lang-fab-btn.active {
  background: var(--merlot);
  color: #fff;
}

/* FAB responsive */
@media (max-width: 480px) {
  .lang-fab {
    bottom: 20px;
    right: 20px;
  }
  .lang-fab-trigger {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}

/* ============================================
   Instagram Follow Popup
   ============================================ */
.ig-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(4px);
  cursor: default;
}

.ig-popup-overlay * {
  cursor: auto;
}

.ig-popup-overlay.active {
  opacity: 1;
}

.ig-popup {
  position: relative;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 48px 40px 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s var(--ease-out);
}

.ig-popup-overlay.active .ig-popup {
  transform: scale(1) translateY(0);
}

.ig-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--gray-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s;
}

.ig-popup-close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.ig-popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

.ig-popup-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  margin-bottom: 6px;
}

.ig-popup-handle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--merlot-light);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.ig-popup-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.ig-popup-btn {
  display: inline-block;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 4px;
  transition: opacity 0.3s, transform 0.3s;
  margin-bottom: 16px;
  cursor: pointer;
}

.ig-popup-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ig-popup-dismiss {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--gray-mid);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
}

.ig-popup-dismiss:hover {
  color: var(--white);
}

@media (max-width: 480px) {
  .ig-popup {
    padding: 40px 24px 28px;
    border-radius: 12px;
  }
  .ig-popup-title {
    font-size: 1.3rem;
  }
  .ig-popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .ig-popup-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* =============================================
   FORCE DARK MODE ON MOBILE (max-width: 768px)
   Overrides any browser/in-app light mode
   ============================================= */
@media (max-width: 768px) {
  html {
    color-scheme: dark !important;
  }
  body {
    background: #0a0a0a !important;
    color: #f5f5f5 !important;
  }
  .section-dark {
    background: #111 !important;
    color: #f5f5f5 !important;
  }
  .section-black {
    background: #0a0a0a !important;
    color: #f5f5f5 !important;
  }
  .section-label {
    color: var(--merlot) !important;
  }
  .section-title {
    color: #f5f5f5 !important;
  }
  .section-subtitle {
    color: rgba(255,255,255,0.7) !important;
  }
  .form-group label {
    color: #f5f5f5 !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #f5f5f5 !important;
  }
  .form-group select option {
    background: #111 !important;
    color: #f5f5f5 !important;
  }
  .talent-section-title {
    color: #f5f5f5 !important;
  }
  .talent-section-desc {
    color: rgba(255,255,255,0.6) !important;
  }
  .talent-category-card {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f5f5f5 !important;
  }
  .talent-category-card h4 {
    color: #f5f5f5 !important;
  }
  .talent-category-card p {
    color: rgba(255,255,255,0.6) !important;
  }
  .talent-chip-label {
    border-color: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.7) !important;
  }
  .talent-upload-zone {
    border-color: rgba(255,255,255,0.12) !important;
    background: transparent !important;
  }
  .upload-label {
    color: #f5f5f5 !important;
  }
  .upload-hint {
    color: rgba(255,255,255,0.4) !important;
  }
  .talent-form-section {
    border-bottom-color: rgba(255,255,255,0.06) !important;
  }
  /* Pricing section: keep black text on light background */
  #pricing .section-title {
    color: #0a0a0a !important;
  }
  #pricing .section-label {
    color: var(--merlot) !important;
  }
  .pricing-intro p {
    color: #333 !important;
  }
  .pricing-card {
    color: #0a0a0a !important;
  }
  .pricing-card h3 {
    color: #0a0a0a !important;
  }
  .pricing-price {
    color: #0a0a0a !important;
  }
  .pricing-period {
    color: #0a0a0a !important;
  }
  .pricing-features li {
    color: #0a0a0a !important;
  }
  .pricing-features li::before {
    color: #0a0a0a !important;
  }
  .addservice-card .price-tag {
    color: #0a0a0a !important;
  }
  .addservice-card h4 {
    color: #0a0a0a !important;
  }
  .addservice-card p {
    color: #444 !important;
  }
  .header.scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
  }
  .nav-link {
    color: #f5f5f5 !important;
  }
  .hamburger span {
    background: #f5f5f5 !important;
  }
  .mobile-nav {
    background: #0a0a0a !important;
  }
  .mobile-nav .nav-link {
    color: #f5f5f5 !important;
  }
}

/* ============================================
   ADMIN — Roster Order Drag & Drop
   ============================================ */
.roster-order-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.roster-order-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: grab;
  transition: border-color 0.15s, opacity 0.15s;
  user-select: none;
  flex-shrink: 0;
}

.roster-order-card:hover {
  border-color: rgba(255,255,255,0.22);
}

.roster-order-card:active {
  cursor: grabbing;
}

.roster-order-dragging {
  opacity: 0.35;
}

.roster-order-drop-above {
  border-left: 2px solid var(--merlot);
}

.roster-order-drop-below {
  border-right: 2px solid var(--merlot);
}

.roster-order-drag-handle {
  font-size: 0.7rem;
  color: var(--gray-mid);
  flex-shrink: 0;
  line-height: 1;
}

.roster-order-thumb {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.roster-order-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.06);
  color: var(--gray-mid);
  font-size: 0.8rem;
  border-radius: 4px;
}

.roster-order-info {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.roster-order-name {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.roster-order-badge {
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Day mode overrides */
body.admin-day-mode .roster-order-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}

body.admin-day-mode .roster-order-card:hover {
  border-color: rgba(0,0,0,0.2);
}

body.admin-day-mode .roster-order-name {
  color: #1a1a1a;
}

body.admin-day-mode .roster-order-drag-handle {
  color: #bbb;
}

/* Roster visibility toggle */
.roster-order-visibility-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  color: #27ae60;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.roster-order-visibility-btn:hover {
  transform: scale(1.2);
}
.roster-order-hidden .roster-order-visibility-btn {
  color: #e25555;
}

.roster-vis-toggle {
  font-size: 0.8rem !important;
  padding: 4px 12px !important;
  border-width: 2px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: opacity 0.15s, border-color 0.15s, color 0.15s;
}
.roster-vis-toggle:hover {
  opacity: 0.8;
}

.roster-order-card.roster-order-hidden {
  opacity: 0.4;
}
.roster-order-card.roster-order-hidden .roster-order-name {
  text-decoration: line-through;
}
