/* ==========================================================================
   AI ENGINEER PORTFOLIO - LUXURY CHARCOAL & METALLIC CHAMPAGNE GOLD SYSTEM
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  /* Color Palette */
  --bg-matte: #0a0a0c;
  --bg-charcoal: #121216;
  --bg-charcoal-card: #18181f;
  --bg-charcoal-card-hover: #22222b;
  --bg-input: #14141a;

  /* Metallic Champagne Gold Gradients & Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F5E6AD;
  --gold-dark: #9A7B38;
  --gold-accent: #E6CA65;
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-bright: rgba(245, 230, 173, 0.7);
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-gradient: linear-gradient(135deg, #F5E6AD 0%, #D4AF37 50%, #9A7B38 100%);
  --gold-gradient-text: linear-gradient(135deg, #FFFFFF 0%, #F5E6AD 40%, #D4AF37 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(245, 230, 173, 0.03) 100%);
  --gold-gradient-button: linear-gradient(135deg, #E6CA65 0%, #D4AF37 60%, #B89333 100%);

  /* Neutrals */
  --text-white: #FFFFFF;
  --text-primary: #ECECF1;
  --text-muted: #9DA0A8;
  --text-subtle: #6E717C;
  --border-muted: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-matte);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  forced-color-adjust: none;
  color-scheme: light;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.mobile-nav-cta {
  display: none !important;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Gold Utilities */
.gold-text {
  color: var(--gold-accent) !important;
}

.gold-gradient-text {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.white-text {
  color: var(--text-white) !important;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

/* Ambient Background */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--gold-primary);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #AA7C11;
  bottom: 10%;
  left: -150px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.6;
}

/* Container Structure */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(24, 24, 31, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border-bright), transparent);
  opacity: 0.6;
}

.glass-card:hover {
  border-color: rgba(245, 230, 173, 0.45);
  box-shadow: 0 20px 45px -10px rgba(212, 175, 55, 0.18);
  transform: translateY(-4px);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: var(--gold-gradient-button);
  color: #0A0A0C;
  box-shadow: var(--shadow-gold);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: 0.6s ease;
}

.btn-gold:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -5px rgba(212, 175, 55, 0.5);
}

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

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Header & Navbar */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.navbar-header.scrolled {
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  padding: 0.7rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  width: 95%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-matte);
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.profile-name-display {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-white);
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.6rem);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.85rem;
  color: var(--gold-primary);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-muted);
  color: var(--text-white);
  font-size: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

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

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-quick-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-muted);
}

.quick-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-subtle);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-muted);
}

/* Hero Image & Floating Cards */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-frame-container {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.photo-glow {
  position: absolute;
  inset: -15px;
  background: var(--gold-gradient);
  border-radius: var(--radius-lg);
  filter: blur(25px);
  opacity: 0.35;
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  background: #14141a;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s ease;
}

.photo-frame:hover .profile-photo {
  transform: scale(1.04);
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold-light);
  pointer-events: none;
}

.corner-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.corner-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.corner-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: 8%;
  right: -25px;
}

.badge-bottom-left {
  bottom: 8%;
  left: -25px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.floating-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Section Common Headers */
.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.gold-line {
  width: 70px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0 auto;
  border-radius: var(--radius-full);
}

/* About Section */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.about-card {
  padding: 2.5rem 2rem;
}

.card-icon-gold {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

/* Services Suite Section */
.services-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 22, 0.4) 50%, transparent 100%);
}

.service-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-border-bright);
  color: var(--gold-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-gradient);
  color: var(--bg-matte);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-muted);
}

.service-target {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.service-impact-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.inquire-btn {
  background: none;
  border: none;
  color: var(--gold-accent);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.inquire-btn:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

/* Calculator Section */
.calculator-section {
  padding: 6rem 0;
}

.calculator-wrapper {
  padding: 3.5rem 3rem;
}

.calculator-header {
  margin-bottom: 3rem;
}

.calculator-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

select.form-control option {
  background: var(--bg-charcoal);
  color: var(--text-white);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--bg-input);
  border: 1px solid var(--gold-border);
  position: relative;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.custom-checkbox input:checked ~ .checkmark {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
}

.custom-checkbox input:checked ~ .checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--bg-matte);
  font-size: 0.75rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
}

.results-card {
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.result-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-muted);
}

.result-item:last-of-type {
  margin-bottom: 2rem;
}

.result-label {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 0.35rem;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Solutions & Case Studies Section */
.case-studies-section {
  padding: 6rem 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.solution-card {
  padding: 2.2rem 2rem;
}

.solution-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.solution-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold-accent);
}

.solution-status {
  font-size: 0.78rem;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.solution-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.solution-impact {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.impact-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.impact-chip i {
  color: var(--gold-primary);
}

/* Contact & Social Section */
.contact-section {
  padding: 6rem 0 8rem;
}

.contact-wrapper {
  padding: 3.5rem 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-heading {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.contact-subtext {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-md);
  position: relative;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.item-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.item-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
}

.copy-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  color: var(--gold-light);
}

/* Social Hub Cards */
.social-hub {
  margin-top: 2rem;
}

.social-title {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.85rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  transition: var(--transition-normal);
}

.social-card i {
  color: var(--gold-accent);
  font-size: 1.1rem;
}

.social-card:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.social-card#social-facebook:hover i {
  color: #1877f2;
}

.social-card#social-instagram:hover i {
  color: #e4405f;
}

.social-card#social-linkedin:hover i {
  color: #0a66c2;
}

.social-card#social-youtube:hover i {
  color: #ef4444;
}

.social-card#social-couch-ig:hover i {
  color: #e1306c;
}

.contact-form-wrapper {
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
}

/* Modal Window System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 640px;
  padding: 2.5rem 2.2rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

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

.modal-desc {
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

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

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-message {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.4rem;
  background: #14161F;
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-md);
  color: var(--text-white);
  box-shadow: var(--shadow-card);
  animation: slideIn 0.3s ease forwards;
  font-size: 0.9rem;
}

.toast-message i {
  color: var(--gold-accent);
  font-size: 1.1rem;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-muted);
  padding: 3rem 0;
  background: var(--bg-matte);
}

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

.footer-brand {
  font-size: 1.05rem;
}

.footer-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-copyright {
  font-size: 0.88rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-quick-stats {
    justify-content: center;
  }

  .calculator-body, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 1024px) {
  .nav-desktop-cta {
    display: none !important;
  }

  .mobile-nav-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }
}

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

  .hero-section {
    padding: 6.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.5rem);
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.05rem;
  }

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

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .photo-frame-container {
    max-width: 310px;
    margin: 0 auto;
  }

  .badge-top-right {
    top: -15px;
    right: -5px;
    padding: 0.6rem 0.85rem;
  }

  .badge-bottom-left {
    bottom: -15px;
    left: -5px;
    padding: 0.6rem 0.85rem;
  }

  .floating-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .floating-title {
    font-size: 0.8rem;
  }

  .floating-sub {
    font-size: 0.68rem;
  }

  .calculator-wrapper, .contact-wrapper {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .contact-heading, .calculator-header h2 {
    font-size: 1.8rem;
  }

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

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-item {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .item-value {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

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

  .logo-text {
    max-width: 170px;
  }

  .profile-name-display {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  .hero-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-plus {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.2px;
  }

  .service-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    flex: 1 1 auto;
    text-align: center;
  }

  .about-card, .service-card, .solution-card {
    padding: 1.5rem 1.15rem;
  }

  .service-header {
    margin-bottom: 0.85rem;
  }

  .results-card, .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }

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

  .social-card {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
  }

  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .toast-message {
    padding: 0.85rem 1rem;
    font-size: 0.825rem;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .photo-frame-container {
    max-width: 250px;
  }

  .badge-top-right {
    top: -20px;
    right: -12px;
  }

  .badge-bottom-left {
    bottom: -20px;
    left: -12px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-title span[style] {
    font-size: 1.1rem !important;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  .calc-results {
    padding: 0;
  }
}

/* ==========================================================================
   MEDIA & TELEVISION BROADCAST SHOWCASE SYSTEM
   ========================================================================== */

.media-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 65%);
}

.tv-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.media-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Media Bento Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: rgba(20, 20, 26, 0.85);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), opacity 0.3s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 230, 173, 0.55);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.22);
}

/* 12-Column Grid Item Spanning */
.media-featured {
  grid-column: span 7;
}

.media-card:nth-child(2) {
  grid-column: span 5;
}

.media-card:nth-child(3),
.media-card:nth-child(4),
.media-card:nth-child(5),
.media-card:nth-child(6),
.media-card:nth-child(7),
.media-card:nth-child(8) {
  grid-column: span 4;
}

/* Image Wrapper with Signature Golden Corners */
.media-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #14141c;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.media-featured .media-img-wrapper {
  height: 380px;
}

.media-card:not(.media-featured) .media-img-wrapper {
  height: 270px;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.media-card[data-category="podcast"] .media-img {
  object-position: center 25%;
}

/* Couch Podcast - Tech x Business episode: preserve taller guest face within frame */
.media-card .media-img[src*="couch-1"],
.media-img.couch-guest-tall {
  object-position: center top !important;
}

.media-card:hover .media-img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.media-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.08) 60%, rgba(10, 10, 14, 0.4) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.media-card:hover .media-overlay-gradient {
  opacity: 0.6;
}

/* Floating Broadcast Badge */
.media-broadcast-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.live-air-badge {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
}

.podcast-badge {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #FCA5A5;
}

.podcast-badge i {
  color: #EF4444;
}

.live-rec-dot {
  width: 7px;
  height: 7px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #EF4444;
  animation: livePulse 1.4s infinite;
}

/* Hover Zoom Button Overlay */
.media-zoom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.media-card:hover .media-zoom-overlay {
  opacity: 1;
  pointer-events: auto;
}

.media-zoom-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.media-card:hover .media-zoom-btn {
  transform: scale(1);
}

.media-zoom-btn:hover {
  background: var(--gold-primary);
  color: #0A0A0C;
  transform: scale(1.1) !important;
}

/* Card Body */
.media-card-body {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.media-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.media-status-chip {
  font-size: 0.72rem;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.podcast-chip {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  font-weight: 600;
}

.podcast-chip i {
  color: #EF4444;
}

.media-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.media-card:hover .media-title {
  color: var(--gold-light);
}

.media-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.media-card-action {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.couch-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  transition: all var(--transition-fast);
}

.couch-yt-btn i {
  color: #EF4444;
  transition: color var(--transition-fast);
}

.couch-yt-btn:hover {
  background: #DC2626;
  border-color: #EF4444;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.couch-yt-btn:hover i {
  color: #FFFFFF;
}

.couch-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.couch-ig-btn i {
  color: #E1306C;
  transition: color var(--transition-fast);
}

.couch-ig-btn:hover {
  background: rgba(225, 48, 108, 0.18);
  border-color: #E1306C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
}

.couch-ig-btn:hover i {
  color: #FFFFFF;
}

/* The Couch Podcast Spotlight Banner */
.couch-spotlight {
  padding: 2.6rem 2.8rem;
  background: linear-gradient(135deg, rgba(20, 20, 28, 0.92) 0%, rgba(220, 38, 38, 0.06) 50%, rgba(212, 175, 55, 0.08) 100%);
  border-color: rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.couch-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #EF4444 0%, var(--gold-primary) 100%);
}

.couch-spotlight-content {
  flex: 1;
  max-width: 820px;
}

.couch-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #F87171;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.couch-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.couch-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.couch-desc strong,
.couch-desc em {
  color: var(--text-primary);
}

.couch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.couch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.couch-chip i.fa-youtube {
  color: #EF4444;
}

.couch-chip i.fa-instagram {
  color: #E1306C;
}

.couch-spotlight-action {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.couch-spotlight-action .btn {
  white-space: nowrap;
}

.couch-ig-banner-btn {
  border-color: rgba(225, 48, 108, 0.55) !important;
  color: #FFFFFF !important;
  background: rgba(225, 48, 108, 0.08) !important;
}

.couch-ig-banner-btn i {
  color: #E1306C;
}

.couch-ig-banner-btn:hover {
  background: rgba(225, 48, 108, 0.22) !important;
  border-color: #E1306C !important;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35) !important;
  transform: translateY(-2px);
}

/* Quote / Authority Banner */
.media-quote-banner {
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(24, 24, 31, 0.85) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.media-quote-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  opacity: 0.75;
  flex-shrink: 0;
}

.media-quote-content {
  flex: 1;
}

.media-quote-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
}

.media-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.media-quote-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.media-quote-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   DEDICATED LUXURY MEDIA LIGHTBOX MODAL
   ========================================================================== */

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.media-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.media-lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-lightbox.active .media-lightbox-container {
  transform: scale(1);
}

.media-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(20, 20, 26, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.lightbox-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.lightbox-close-btn {
  background: none;
  border: 1px solid transparent;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--text-white);
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.15);
  transform: rotate(90deg);
}

/* Lightbox Stage */
.media-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  min-height: 280px;
  max-height: 64vh;
  overflow: hidden;
}

.media-lightbox-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: #0A0A0C;
  border-color: var(--gold-light);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: 1.25rem;
}

.lightbox-nav-btn.next {
  right: 1.25rem;
}

/* Lightbox Caption */
.media-lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.6rem;
  background: rgba(20, 20, 26, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lightbox-caption-main {
  flex: 1;
}

.media-lightbox-caption h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.media-lightbox-caption p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lightbox-caption-action {
  flex-shrink: 0;
}

.lightbox-btn-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lightbox-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid #F87171 !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  transition: all var(--transition-fast);
}

.lightbox-yt-link:hover {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
}

.lightbox-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(225, 48, 108, 0.15) !important;
  color: #FFFFFF !important;
  border: 1px solid #E1306C !important;
  transition: all var(--transition-fast);
}

.lightbox-ig-link i {
  color: #E1306C;
  transition: color var(--transition-fast);
}

.lightbox-ig-link:hover {
  background: #E1306C !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.lightbox-ig-link:hover i {
  color: #FFFFFF;
}

/* Responsive Breakpoints for Media System */
@media (max-width: 1024px) {
  .media-featured {
    grid-column: span 12;
  }
  .media-card:nth-child(2) {
    grid-column: span 12;
  }
  .media-card:nth-child(3),
  .media-card:nth-child(4),
  .media-card:nth-child(5),
  .media-card:nth-child(6),
  .media-card:nth-child(7),
  .media-card:nth-child(8) {
    grid-column: span 6;
  }
  .media-featured .media-img-wrapper {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .media-section {
    padding: 5rem 0;
  }
  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .media-featured,
  .media-card:nth-child(2),
  .media-card:nth-child(3),
  .media-card:nth-child(4),
  .media-card:nth-child(5),
  .media-card:nth-child(6),
  .media-card:nth-child(7),
  .media-card:nth-child(8) {
    grid-column: span 1;
  }
  .couch-spotlight {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.4rem;
    gap: 1.5rem;
  }
  .couch-spotlight-action {
    width: 100%;
  }
  .couch-spotlight-action .btn {
    width: 100%;
    justify-content: center;
  }
  .media-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
  }
  .lightbox-caption-action {
    width: 100%;
  }
  .lightbox-caption-action .btn {
    width: 100%;
    justify-content: center;
  }
  .media-featured .media-img-wrapper,
  .media-card:not(.media-featured) .media-img-wrapper {
    height: 220px;
  }
  .media-quote-banner {
    flex-direction: column;
    padding: 1.8rem 1.4rem;
    text-align: center;
    gap: 1rem;
  }
  .media-quote-icon {
    font-size: 2rem;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .lightbox-nav-btn.prev {
    left: 0.5rem;
  }
  .lightbox-nav-btn.next {
    right: 0.5rem;
  }
  .media-lightbox {
    padding: 0.5rem;
  }
  .media-lightbox-caption {
    padding: 1rem;
  }
  .media-lightbox-caption h4 {
    font-size: 1.05rem;
  }
  .media-lightbox-caption p {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   FEATURED AI PROJECTS & OPEN SOURCE SECTION SYSTEM
   ========================================================================== */

.projects-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.projects-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.projects-badge-pill i {
  color: var(--gold-primary);
  font-size: 1rem;
}

.project-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Projects Grid: 3-column luxury layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(20, 20, 26, 0.82);
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 230, 173, 0.55);
  box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.22);
}

/* Project Image & Overlay */
.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #14141c;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(1.06) contrast(1.03);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.06);
  filter: brightness(1.15) contrast(1.05);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.1) 60%, rgba(10, 10, 14, 0.45) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-img-overlay {
  opacity: 0.6;
}

/* Project Status Badges */
.project-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.project-status-badge.badge-gold {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-border-bright);
  color: var(--gold-light);
}

.project-status-badge.badge-blue {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.6);
  color: #93C5FD;
}

.project-status-badge.badge-green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #6EE7B7;
}

.project-status-badge.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.6);
  color: #D8B4FE;
}

/* Project Card Content */
.project-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
  transition: all var(--transition-fast);
}

.project-card:hover .tech-tag {
  border-color: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.project-card:hover .project-title {
  color: var(--gold-light);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* PyPI Box */
.project-pypi-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  margin-bottom: 1.2rem;
  font-family: 'Courier New', Courier, monospace;
}

.project-pypi-box code {
  color: var(--gold-light);
  font-size: 0.85rem;
}

.copy-cmd-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.copy-cmd-btn:hover {
  color: var(--gold-light);
}

/* Project Metric Chips */
.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.metric-chip {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
}

/* Actions Footer */
.project-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.project-actions .btn {
  flex: 1;
}

/* GitHub Callout Banner */
.projects-github-banner {
  padding: 2.8rem 2.2rem;
  background: linear-gradient(135deg, rgba(24, 24, 31, 0.88) 0%, rgba(212, 175, 55, 0.06) 100%);
  border-color: rgba(212, 175, 55, 0.35);
}

.github-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  flex-wrap: wrap;
}

.github-banner-icon {
  font-size: 3rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.github-banner-text {
  flex: 1;
  min-width: 260px;
}

.github-banner-text h3 {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.github-banner-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .projects-section {
    padding: 5rem 0;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .github-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .project-actions {
    flex-direction: column;
  }
  .project-img-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.08) 60%, rgba(10, 10, 14, 0.38) 100%);
  }
  .media-overlay-gradient {
    background: linear-gradient(180deg, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.05) 60%, rgba(10, 10, 14, 0.32) 100%);
  }
  .project-img {
    filter: brightness(1.1) contrast(1.04);
  }
  .media-img {
    filter: brightness(1.04);
  }
}

/* Project Live Badges & Social Proof */
.project-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.75rem 0 1rem;
  align-items: center;
}

.project-badges-strip a {
  display: inline-flex;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.project-badges-strip a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.badge-shield {
  height: 20px;
  border-radius: 4px;
  vertical-align: middle;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Spotlight Showcase & 5-Second Rotation System
   ========================================================================== */
.spotlight-controller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 500px;
  margin: 0 auto 1.75rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-charcoal-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.spotlight-controller::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.spotlight-controller.spotlight-hidden {
  display: none !important;
}

.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.spotlight-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.spotlight-stepper .stepper-active {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}

.spotlight-stepper .stepper-divider {
  color: var(--gold-primary);
  opacity: 0.6;
}

.spotlight-progress-wrap {
  flex: 1;
  min-width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.spotlight-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient-button);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  transition: width 0.1s linear;
}

.spotlight-progress-bar.animating {
  transition: width 5s linear !important;
  width: 100% !important;
}

.spotlight-progress-bar.paused {
  transition: none !important;
}

.spotlight-arrows {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.spotlight-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.spotlight-nav-btn:hover {
  background: var(--gold-primary);
  color: #0A0A0C;
  border-color: var(--gold-light);
  transform: scale(1.08);
}

.spotlight-toggle-wrap {
  margin: 1.5rem 0 3.5rem;
}

.toggle-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-medium);
  backdrop-filter: blur(12px);
}

.toggle-catalog-btn:hover {
  background: var(--gold-gradient-soft);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
}

/* Spotlight mode grid overrides: Single stacked cell for seamless, calm crossfade */
.projects-grid.spotlight-mode {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  justify-items: center !important;
  align-items: start !important;
  max-width: 460px !important;
  margin: 0 auto 1.5rem !important;
  position: relative !important;
  isolation: isolate;
}

.media-grid.spotlight-mode {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  justify-items: center !important;
  align-items: start !important;
  max-width: 680px !important;
  margin: 0 auto 1.5rem !important;
  position: relative !important;
  isolation: isolate;
}

.projects-grid.spotlight-mode .project-card,
.media-grid.spotlight-mode .media-card {
  grid-area: 1 / 1 / 2 / 2 !important;
  display: flex !important;
  width: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(0.992);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.85s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.85s;
  will-change: opacity, transform;
  z-index: 1;
}

.projects-grid.spotlight-mode .project-card {
  max-width: 460px !important;
}

.media-grid.spotlight-mode .media-card {
  max-width: 440px !important;
}

.media-grid.spotlight-mode .media-card.media-featured {
  max-width: 680px !important;
}

.projects-grid.spotlight-mode .project-card.spotlight-active,
.media-grid.spotlight-mode .media-card.spotlight-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 3 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
}

.projects-grid.spotlight-mode .project-card.spotlight-active:hover,
.media-grid.spotlight-mode .media-card.spotlight-active:hover {
  transform: translateY(-4px) scale(1.005) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.65);
}

.project-filters.spotlight-hidden,
.media-filters.spotlight-hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .spotlight-controller {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .spotlight-progress-wrap {
    order: 3;
    width: 100%;
    min-width: 100%;
  }
  .spotlight-meta {
    gap: 0.75rem;
  }
  .spotlight-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}
