@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #1068EB;
  --primary-blue-hover: #0b56c6;
  --primary-blue-light: #EBF3FE;
  --navy-dark: #091C3E;
  --text-main: #334155;
  --text-muted: #64748B;
  --bg-outer: #E9EFF6;
  --bg-inner: #FFFFFF;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(16, 104, 235, 0.05), 0 4px 6px -2px rgba(16, 104, 235, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 20px 40px -15px rgba(9, 28, 62, 0.15);
  --shadow-search: 0 12px 30px -10px rgba(9, 28, 62, 0.08);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-outer);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

/* Framed App Mockup Container for Desktop */
.app-container {
  background-color: var(--bg-inner);
  width: 100%;
  max-width: 1200px;
  min-height: 720px;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(9, 28, 62, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Header & Navbar */
header {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy-dark);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary-blue);
  transition: transform var(--transition-normal);
}

.logo-container:hover .logo-icon {
  transform: rotate(45deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-text span {
  font-size: 1.2rem;
}

.logo-text span.small-logo-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-blue);
}

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

.nav-link.active {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Action Button */
.btn-primary {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px rgba(16, 104, 235, 0.25);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 104, 235, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  position: relative;
  z-index: 100;
}

.mobile-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--navy-dark);
  margin: 5px auto;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 3rem 4rem 1.5rem 4rem;
  position: relative;
  gap: 2rem;
}

/* Left Hero Block */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  z-index: 5;
  max-width: 540px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-main);
}

.hero-subtitle strong {
  color: var(--navy-dark);
  font-weight: 700;
}

/* Search bar container */
.search-container {
  position: relative;
  width: 100%;
}

.search-bar {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-search);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.search-bar:focus-within {
  border-color: rgba(16, 104, 235, 0.4);
  box-shadow: 0 15px 35px -10px rgba(16, 104, 235, 0.15);
}

.search-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy-dark);
  width: 100%;
  background: transparent;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--primary-blue-hover);
}

.search-btn:active {
  transform: scale(0.97);
}

/* Suggestion dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
  z-index: 999;
}

.suggestion-item {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.suggestion-item:hover {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* Right Hero Block (Interactive Cards Stack) */
.hero-right {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Radial Gradient background glow */
.glow-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16,104,235,0.18) 0%, rgba(16,104,235,0.02) 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(10px, -10px); opacity: 1; }
}

/* Card Stack */
.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Base Card Style */
.hero-card {
  position: absolute;
  background-color: var(--card-bg);
  border-radius: 18px;
  padding: 0.75rem;
  width: 210px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform var(--transition-slow), box-shadow var(--transition-normal), z-index 0s;
  cursor: pointer;
  user-select: none;
}

.hero-card:hover {
  transform: scale(1.06) rotate(0deg) translateY(-8px) !important;
  box-shadow: 0 30px 60px -10px rgba(9, 28, 62, 0.25);
  z-index: 30 !important;
}

/* Card Positions & Rotations */
.card-elias {
  bottom: 5%;
  left: 5%;
  transform: rotate(-5deg);
  z-index: 10;
  animation: float-elias 6s ease-in-out infinite alternate;
}

.card-sarah {
  top: 5%;
  left: 50%;
  margin-left: -118px;
  transform: rotate(5deg);
  z-index: 20;
  animation: float-sarah 7s ease-in-out infinite alternate;
}

.card-mia {
  bottom: 5%;
  right: 5%;
  transform: rotate(-1deg);
  z-index: 15;
  animation: float-mia 6.5s ease-in-out infinite alternate;
}

/* Card floating keyframes */
@keyframes float-elias {
  0% { transform: rotate(-5deg) translateY(0); }
  100% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes float-sarah {
  0% { transform: rotate(5deg) translateY(0); }
  100% { transform: rotate(3deg) translateY(-10px); }
}

@keyframes float-mia {
  0% { transform: rotate(-1deg) translateY(0); }
  100% { transform: rotate(1deg) translateY(-6px); }
}

/* Inside the Card Styling */
.card-image-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #F8FAFC;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-slow);
}

.hero-card:hover .card-image {
  transform: scale(1.05);
}

/* Floating overlay logo on image */
.company-logo-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 3px;
  overflow: hidden;
}

.company-logo-badge svg {
  width: 100%;
  height: 100%;
}

/* Card details text */
.card-info {
  padding: 0.65rem 0.25rem 0.25rem 0.25rem;
}

.card-name-age {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.15rem;
}

.card-role-company {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  min-height: 2rem;
}

.card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.card-footer-icon {
  width: 14px;
  height: 14px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.avatar-small {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* Floating Elements (Circles, badges, shapes) */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  transition: transform var(--transition-normal);
}

.floating-element:hover {
  transform: scale(1.15);
}

.fe-user {
  width: 2.25rem;
  height: 2.25rem;
  bottom: 35%;
  left: 22%;
  color: var(--primary-blue);
  animation: float-fe-user 5s ease-in-out infinite alternate;
}

.fe-heart {
  width: 2.25rem;
  height: 2.25rem;
  bottom: 25%;
  right: 14%;
  color: #EF4444;
  animation: float-fe-heart 4.5s ease-in-out infinite alternate;
}

.fe-icon {
  width: 1.1rem;
  height: 1.1rem;
}

@keyframes float-fe-user {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.05); }
}

@keyframes float-fe-heart {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(6px) scale(1.05); }
}

/* Connecting dotted lines in background */
.connecting-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Footer Section */
footer.app-footer {
  padding: 1.5rem 4rem;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 0.5rem;
}

.footer-btn:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Modal Overlay Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 28, 62, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-content {
  background-color: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px -10px rgba(9, 28, 62, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--navy-dark);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

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

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-dark);
}

.form-input {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(16, 104, 235, 0.1);
}

.form-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-btn {
  width: 100%;
}

.form-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.form-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.form-link:hover {
  text-decoration: underline;
}

/* Responsive Rules */

/* Mobile & Tablet view */
@media (max-width: 1023px) {
  body {
    padding: 0;
    background-color: var(--bg-inner);
  }
  
  .app-container {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    border: none;
  }
  
  header {
    padding: 1.25rem 2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -10px 0 30px rgba(9, 28, 62, 0.05);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 1.75rem;
    transition: right var(--transition-normal);
    z-index: 90;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-menu .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .mobile-toggle {
    display: block;
    position: fixed;
    top: 1.25rem;
    right: 2rem;
    z-index: 100;
  }
  
  /* Menu icon active state transformation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-left {
    max-width: 100%;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .search-bar {
    text-align: left;
  }
  
  .hero-right {
    height: 420px;
  }
  
  .card-elias {
    left: 5%;
    bottom: 5%;
    top: auto;
  }
  
  .card-sarah {
    left: 50%;
    margin-left: -118px;
    top: 5%;
    right: auto;
  }
  
  .card-mia {
    right: 5%;
    left: auto;
    bottom: 5%;
  }
  
  .fe-user {
    left: 15%;
  }
  
  .fe-heart {
    right: 8%;
  }
  
  footer.app-footer {
    padding: 1.5rem 2rem;
  }
}

/* Small Mobile views */
@media (max-width: 576px) {
  header {
    padding: 1rem 1.25rem;
  }
  
  .logo-text span {
    font-size: 1.05rem;
  }
  
  .hero {
    padding: 1.5rem 1.25rem;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .search-bar {
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    gap: 0.5rem;
  }
  
  .search-input {
    font-size: 0.85rem;
  }
  
  .search-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .hero-right {
    height: 380px;
  }
  
  .hero-card {
    width: 170px;
    padding: 0.5rem;
  }
  
  .card-image-wrapper {
    height: auto;
  }
  
  .card-name-age {
    font-size: 0.85rem;
  }
  
  .card-role-company {
    font-size: 0.7rem;
    min-height: 1.75rem;
  }
  
  .card-footer {
    font-size: 0.65rem;
  }
  
  .card-elias {
    left: 2%;
    bottom: 5%;
    top: auto;
  }
  
  .card-sarah {
    left: 50%;
    margin-left: -94px;
    top: 5%;
    right: auto;
  }
  
  .card-mia {
    right: 2%;
    left: auto;
    bottom: 5%;
  }
  
  .fe-user {
    left: 8%;
    bottom: 40%;
    width: 2rem;
    height: 2rem;
  }
  
  .fe-heart {
    right: 4%;
    bottom: 30%;
    width: 2rem;
    height: 2rem;
  }
  
  footer.app-footer {
    padding: 1.25rem 1.25rem;
  }
}

/* ==========================================
   INTERVIEWS PAGE SPECIFIC STYLES
   ========================================== */
.interviews-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  gap: 2rem;
  width: 100%;
}

/* Sidebar filter styling */
.filter-sidebar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 2rem;
}

.filter-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.filter-checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

/* Grid & Content Area */
.interviews-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.interviews-intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.interviews-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--navy-dark);
}

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

.interviews-results-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  align-self: flex-start;
}

.interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.75rem;
}

/* Grid interview cards override */
.interviews-grid .hero-card {
  position: relative;
  width: 100%;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  animation: none;
}

.interviews-grid .hero-card:hover {
  transform: scale(1.04) translateY(-5px) !important;
}

/* Responsive Overrides */
@media (max-width: 1023px) {
  .interviews-main {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }

  .filter-sidebar {
    position: relative;
    top: auto;
  }
}

/* ==========================================
   OPTION 2: SEARCH-FIRST SPECIFIC STYLES
   ========================================== */
.search-first-layout {
  flex: 1;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.search-first-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-pills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.filter-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

.filter-pill.active {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 104, 235, 0.25);
}

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2rem;
}

/* ==========================================
   OPTION 3: MAGAZINE SPECIFIC STYLES
   ========================================== */
.magazine-layout {
  flex: 1;
  padding: 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.magazine-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.magazine-card {
  display: flex;
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  padding: 1.5rem;
  gap: 2rem;
}

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

.magazine-card-left {
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.magazine-avatar-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #F8FAFC;
  position: relative;
}

.magazine-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.magazine-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-dark);
  line-height: 1.4;
  position: relative;
}

.magazine-bio {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

.magazine-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

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

.magazine-tag {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

/* Responsive Magazine Card */
@media (max-width: 768px) {
  .magazine-card {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .magazine-card-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .magazine-avatar-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }
  
  .magazine-meta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .magazine-meta-row .btn-primary {
    width: 100%;
  }
}

/* ==========================================
   DEMO SELECTOR BAR
   ========================================== */
.demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  background-color: #091C3E;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 2000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.demo-title {
  color: #94A3B8;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-link {
  color: #CBD5E1;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.demo-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.demo-link.active {
  color: #FFFFFF;
  background-color: var(--primary-blue);
}

body:has(.demo-bar) {
  padding-top: 5rem !important;
}

/* ==========================================
   RICH FOOTER FEATURES GRID (HOMEPAGE)
   ========================================== */
.footer-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
}

.footer-feature-card {
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.footer-feature-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(16, 104, 235, 0.1);
}

.footer-feature-icon-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  transition: transform var(--transition-fast);
}

.footer-feature-card:hover .footer-feature-icon-wrapper {
  transform: scale(1.1);
}

.footer-feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-dark);
}

.footer-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

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

/* ==========================================
   CARD HOVER OVERLAY (HOMEPAGE)
   ========================================== */
.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 28, 62, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  color: #FFFFFF;
  z-index: 5;
  border-radius: 12px;
}

.hero-card:hover .card-hover-overlay {
  opacity: 1;
}

.hover-overlay-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #FFFFFF;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.hero-card:hover .hover-overlay-icon {
  transform: translateY(0);
}

.hover-overlay-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: transform var(--transition-normal) 0.05s;
}

.hero-card:hover .hover-overlay-text {
  transform: translateY(0);
}

/* Update hero card hover depth & translation */
.hero-card:hover {
  transform: scale(1.06) rotate(0deg) translateY(-12px) !important;
  cursor: pointer;
}

/* Suggestion item keyboard selection */
.suggestion-item.selected {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  outline: none;
}

.no-results-item {
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  background-color: #F8FAFC;
  cursor: default;
  user-select: none;
}

/* ==========================================
   STICKY FLOATING SOCIAL SIDEBAR
   ========================================== */
.sticky-social-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}

.sticky-social-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: -2px 5px 15px rgba(0,0,0,0.05);
  width: 48px;
  overflow: hidden;
}

.sticky-social-item span {
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 0.75rem;
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sticky-social-item:hover {
  width: 140px;
  color: #FFFFFF;
}

.sticky-social-item:hover span {
  opacity: 1;
  width: auto;
}

.sticky-social-item.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

.sticky-social-item.tiktok:hover {
  background-color: #000000;
  border-color: transparent;
}

.sticky-social-item.youtube:hover {
  background-color: #FF0000;
  border-color: transparent;
}

/* ==========================================
   FLOATING STORY CTA BUTTON
   ========================================== */
.floating-story-cta {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background-color: var(--primary-blue);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(16, 104, 235, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}

.floating-story-cta:hover {
  transform: scale(1.06) translateY(-4px);
  background-color: #0d5ad4;
  color: #FFFFFF;
}

/* ==========================================
   OPTION 4: HORIZONTAL AIRBNB DROPDOWNS
   ========================================== */
.horizontal-filter-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem auto 0 auto;
  max-width: 1000px;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  padding: 0 1.5rem;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown-trigger {
  background: #FFFFFF;
  color: var(--navy-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.filter-dropdown-trigger:hover, .filter-dropdown-trigger.active {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-color: var(--navy-dark);
}

.filter-dropdown-content {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  min-width: 250px;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}
.filter-dropdown.open .filter-dropdown-content {
  display: flex;
}

.filter-options label.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.filter-options label.disabled input {
  pointer-events: none;
}

.btn-reset-filters {
  background: #F1F5F9;
  color: var(--navy-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn-reset-filters:hover {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-color: var(--navy-dark);
}

.clean-grid-layout {
  max-width: 1000px;
  margin: 2rem auto;
  width: 100%;
}

/* ==========================================
   COMPACT HERO FEATURES GRID (Startseite)
   ========================================== */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.hero-feature-card {
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.hero-feature-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(16, 104, 235, 0.08);
}

.hero-feature-icon-wrapper {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.hero-feature-card:hover .hero-feature-icon-wrapper {
  transform: scale(1.08);
}

.hero-feature-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-dark);
  margin: 0;
}

.hero-feature-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
}

/* ==========================================
   YOUTUBE VIDEO PLAYER & CHAPTER MARKERS
   ========================================== */
.chapter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-dark);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.chapter-btn:hover {
  background-color: #FFFFFF;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -3px rgba(16, 104, 235, 0.08);
}

.chapter-btn.active {
  background-color: var(--primary-blue-light);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.chapter-btn-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.play-icon {
  color: var(--primary-blue);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.chapter-btn:hover .play-icon {
  transform: scale(1.15);
}

.chapter-btn.active .play-icon {
  transform: scale(1.1);
  color: var(--primary-blue);
}

.chapter-label {
  line-height: 1.4;
}

.chevron-icon {
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.chapter-btn:hover .chevron-icon {
  opacity: 0.8;
  transform: translateX(3px);
  color: var(--primary-blue);
}

/* ==========================================
   COMMUNITY Q&A & QUESTION FORM STYLES
   ========================================== */
.community-qa-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.community-qa-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qa-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.qa-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qa-bubble {
  max-width: 85%;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 0.95rem;
  position: relative;
}

.qa-bubble-question {
  background-color: #F1F5F9;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.qa-bubble-answer {
  background-color: #F0F7FF;
  color: var(--navy-dark);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid var(--primary-blue-light);
  box-shadow: var(--shadow-sm);
}

.qa-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qa-meta-question {
  align-self: flex-start;
  padding-left: 0.25rem;
}

.qa-meta-answer {
  align-self: flex-end;
  padding-right: 0.25rem;
  flex-direction: row-reverse;
}

.qa-empty-placeholder {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #F8FAFC;
  border: 1px dashed var(--border-color);
  border-radius: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Question Form Card */
.ask-question-card {
  background-color: #FFFFFF;
  border: 2px solid var(--primary-blue-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}

.ask-question-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qa-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .qa-form-grid {
    grid-template-columns: 1fr;
  }
}

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

.qa-form-group-full {
  grid-column: 1 / -1;
}

.qa-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.qa-input, .qa-select, .qa-textarea {
  font-family: var(--font-main);
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #F8FAFC;
  transition: all var(--transition-normal);
  width: 100%;
}

.qa-input:focus, .qa-select:focus, .qa-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 104, 235, 0.12);
}

.qa-textarea {
  resize: vertical;
  min-height: 110px;
}

.qa-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.qa-checkbox-input {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.qa-checkbox-label-text {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-main);
}

.btn-submit-qa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.btn-submit-qa:hover {
  background-color: #0d54c5;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(16, 104, 235, 0.3);
}

/* Success Modal Overlay */
.qa-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 28, 62, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.qa-success-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-color);
}

.qa-success-overlay.active .qa-success-content {
  transform: scale(1);
}

.qa-success-icon {
  width: 56px;
  height: 56px;
  background-color: #DCFCE7;
  color: #15803D;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.qa-success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 0.75rem 0;
}

.qa-success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.75rem 0;
}

/* ==========================================
   STYLE PREVIEW SWITCHER & TAB DESIGN ACCENTS
   ========================================== */
.tabs-header {
  display: none; /* Hidden in Option 1 & 2 */
  gap: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.tab-trigger {
  padding: 0.75rem 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-heading);
}

.tab-trigger:hover {
  color: var(--navy-dark);
}

.tab-trigger.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Style Switcher Floating Widget */
.style-switcher-widget {
  box-shadow: 0 10px 25px -5px rgba(16, 104, 235, 0.2) !important;
  animation: bounce-switcher 1s ease-in-out;
}

@keyframes bounce-switcher {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.switcher-btn {
  transition: all var(--transition-normal);
}

.switcher-btn:hover:not(.active) {
  background-color: #F1F5F9 !important;
}

/* =========================================================
   COMMUNITY Q&A - PERMANENT OPTION 3 (MODAL POPUP OVERLAY)
   ========================================================= */
#qa-flip-container {
  display: none;
}

.qa-active-modal #qa-flip-container {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 3000 !important;
}

#qa-flip-inner {
  transform: none !important;
  -webkit-transform: none !important;
  transform-style: flat !important;
  -webkit-transform-style: flat !important;
  width: 100% !important;
  height: 100% !important;
}

.flip-card-front {
  display: none !important; /* Hide front face, directly show the form modal */
}

#ask-question-card {
  transform: none !important;
  -webkit-transform: none !important;
  margin-top: 0 !important;
  display: block !important;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  
  /* Fixed Centered Modal Layout */
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1) !important;
  -webkit-transform: translate(-50%, -50%) scale(1) !important;
  width: calc(100% - 2rem) !important;
  max-width: 500px !important;
  z-index: 3001 !important;
  box-shadow: 0 25px 60px rgba(9, 28, 62, 0.25) !important;
}

.btn-close-form {
  display: block !important; /* Show close button */
}

/* Glassmorphic backdrop backdrop blur */
.qa-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 28, 62, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qa-active-modal .qa-drawer-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Floating Action Button (Permanent Option 3) */
#btn-floating-qa-form {
  display: inline-flex !important;
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2998;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.95rem 1.6rem;
  border: none;
  color: #FFFFFF;
  background: var(--primary-blue);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(16, 104, 235, 0.35);
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  outline: none;
}

#btn-floating-qa-form:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 104, 235, 0.45);
}


/* ==========================================
   MOBILE OPTIMIERUNG – FIXES & POLISH
   ========================================== */

/* --- Filter Bar (interviews.html) --- */
@media (max-width: 768px) {
  .horizontal-filter-bar {
    padding: 0 1rem;
    gap: 0.6rem;
  }

  .filter-pill {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  .filter-dropdown-trigger {
    font-size: 0.82rem;
    padding: 0.6rem 0.9rem;
  }

  /* Prevent dropdown from going off-screen to the right */
  .filter-dropdown-content {
    left: auto;
    right: 0;
    min-width: 200px;
  }

  /* First dropdown stays left-aligned */
  #dropdown-branche .filter-dropdown-content {
    left: 0;
    right: auto;
  }

  .btn-reset-filters {
    font-size: 0.82rem;
    padding: 0.6rem 0.9rem;
  }

  .interviews-title {
    font-size: 1.6rem;
  }

  .magazine-layout {
    padding: 1.5rem 1.25rem;
  }

  .magazine-quote {
    font-size: 1.05rem;
  }

  .magazine-bio {
    font-size: 0.88rem;
  }
}

/* --- Sticky Social Sidebar: hide on mobile --- */
@media (max-width: 768px) {
  .sticky-social-bar {
    display: none;
  }

  .floating-story-cta {
    bottom: 1.25rem;
    left: auto;
    right: 1rem;
    font-size: 0.82rem;
    padding: 0.7rem 1.1rem;
  }

  /* Give the footer enough bottom padding so content isn't hidden behind the floating button */
  .app-footer {
    padding-bottom: 5rem !important;
  }
}

/* --- Homepage Hero: fix on very small screens --- */
@media (max-width: 480px) {
  .hero-right {
    height: 340px;
  }

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

  .filter-pill {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.5rem 0.5rem;
  }
}

/* --- Impressum page mobile --- */
@media (max-width: 600px) {
  .impressum-wrapper {
    padding: 2rem 1.25rem 4rem;
  }

  .impressum-card {
    padding: 1.5rem 1.25rem;
  }

  .impressum-title {
    font-size: 1.8rem;
  }
}

/* --- Sub-footer: stack on mobile --- */
@media (max-width: 576px) {
  .sub-footer {
    flex-direction: column !important;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ==========================================
   FOOTER SOCIAL LINKS ROW
   ========================================== */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-color: transparent;
}

.footer-social-link.tiktok:hover {
  background: #000;
  color: #fff;
  border-color: transparent;
}

.footer-social-link.youtube:hover {
  background: #FF0000;
  color: #fff;
  border-color: transparent;
}

















