/* 
   u-topia UI Styling & Design System
   Created: June 2026
   Tonalities: Deep Navy, Vibrant Orange, purple accents, glassmorphic panels.
*/

:root {
  --color-bg: #060913;
  --color-surface: rgba(15, 22, 42, 0.45);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #ff5a00; /* u-topia orange */
  --color-primary-rgb: 255, 90, 0;
  --color-secondary: #7b2cbf; /* purple accent */
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --font-family-title: 'Outfit', 'Inter', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.glow-orange {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.glow-purple {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: -200px;
  left: -150px;
}

/* General Elements */
h1, h2, h3 {
  font-family: var(--font-family-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff9e00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  background: rgba(255, 90, 0, 0.1);
  border: 1px solid rgba(255, 90, 0, 0.2);
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.glass-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2rem;
}

/* Buttons */
.btn {
  font-family: var(--font-family-title);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 90, 0, 0.3);
}

.btn-primary:hover {
  background: #ff7733;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 90, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Helpers */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- KEYCLOAK AUTH GATE --- */
.auth-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 15, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.status-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.status-box p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.pulse-dot.green {
  background-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.divider span {
  padding: 0 10px;
}

.dev-warning {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #fbbf24;
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 1rem;
}

/* --- MAIN APPLICATION INTERFACE --- */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Variations Header */
.variations-header {
  margin: 1.5rem 2rem 0 2rem;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo .logo-title {
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

/* Switcher Navigation */
.switcher-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem;
  border-radius: 30px;
  border: 1px solid var(--color-border);
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.nav-btn .num {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--color-text);
  font-weight: 700;
}

.nav-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.25);
}

.nav-btn.active .num {
  background: rgba(255, 255, 255, 0.2);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
}

.user-profile .avatar {
  font-size: 1.35rem;
}

.user-profile .user-meta {
  display: flex;
  flex-direction: column;
}

.user-profile .user-meta .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.user-profile .user-meta .role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.btn-logout-icon {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition);
}

.btn-logout-icon:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Main Content Wrapper */
.main-content {
  flex: 1;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variation-section {
  display: none;
  width: 100%;
  max-width: 1200px;
}

.variation-section.active {
  display: block;
}

/* --- HERO SPLIT (VAR 1 & 3) --- */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text .description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.cta-group {
  display: flex;
  gap: 1.25rem;
}

/* Formula Box (VAR 1) */
.formula-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 90, 0, 0.03);
  border: 1px solid rgba(255, 90, 0, 0.15);
}

.formula-box .term {
  font-family: var(--font-family-title);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
}

.formula-box .term small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.formula-box .plus, .formula-box .equals {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.4rem;
}

.formula-box .result {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 0.35rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.2);
}

/* Card Stack (VAR 1) */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.card-stack {
  position: relative;
  width: 380px;
  height: 240px;
  cursor: pointer;
  perspective: 1200px;
  transform-style: preserve-3d;
  user-select: none;
  margin-bottom: 2.5rem; /* Pushes the hint text below the fan-out cards */
}

.utopia-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), 
              z-index 0.6s step-end, 
              opacity 0.6s ease;
  backface-visibility: hidden;
}

.navy-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #030712 100%);
}

.orange-card {
  background: linear-gradient(135deg, #ff5a00 0%, #ff7a00 50%, #b43500 100%);
}

.anthracite-card {
  background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #030712 100%);
}

.mastercard-pro-card {
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%), linear-gradient(135deg, #020617 0%, #0c1e3a 50%, #1e1b4b 100%);
}

.visa-ecommerce-card {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 25%, #cbd5e1 50%, #94a3b8 75%, #f1f5f9 100%);
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

.visa-ecommerce-card .card-chip {
  background: linear-gradient(135deg, #94a3b8 0%, #475569 100%) !important;
}

.visa-ecommerce-card .card-number {
  color: #0f172a !important;
}

.visa-ecommerce-card .card-holder-name {
  color: #334155 !important;
}

.visa-infinity-card {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  position: relative;
  overflow: hidden;
}

.visa-infinity-card .infinity-glow-container {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 70%;
  opacity: 0.9;
  pointer-events: none;
}

.visa-infinity-card .infinity-svg {
  width: 100%;
  height: 100%;
}

.visa-universe-card {
  background: linear-gradient(135deg, #020617 0%, #0a0f1d 50%, #030712 100%);
  position: relative;
  overflow: hidden;
}

.visa-universe-card .universe-dots-container {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 110%;
  height: 110%;
  opacity: 0.95;
  pointer-events: none;
}

.visa-universe-card .universe-dots-svg {
  width: 100%;
  height: 100%;
}

/* Card Header Brand & Layout Elements */
.utopia-card .card-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.utopia-card .card-header-brand .shield-icon {
  width: 22px;
  height: 26px;
}

.utopia-card .card-header-brand .card-brand-name {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.utopia-card .card-holder-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.logo-mastercard {
  display: flex;
  position: relative;
  width: 36px;
  height: 22px;
}

.logo-mastercard span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  position: absolute;
}

.logo-mastercard .circle-red {
  background-color: #eb001b;
  left: 0;
}

.logo-mastercard .circle-orange {
  background-color: #f79e1b;
  left: 14px;
  opacity: 0.85;
}

.logo-mastercard .mastercard-text {
  display: none;
}

.visa-logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 0.9;
}

.visa-logo-box .visa-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  font-style: italic;
}

.visa-logo-box .visa-text.text-white {
  color: #fff;
}

.visa-logo-box .visa-text.text-dark {
  color: #0f172a;
}

.visa-logo-box .visa-sub {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: -2px;
}

.visa-logo-box .visa-sub.text-white-mute {
  color: rgba(255, 255, 255, 0.6);
}

.visa-logo-box .visa-sub.text-dark-mute {
  color: rgba(15, 23, 42, 0.7);
}

/* Stacking positions (7 cards) */
.pos-0 {
  transform: translate3d(0, 0, 45px) rotate(-1.5deg);
  z-index: 7;
  opacity: 1;
}

.pos-1 {
  transform: translate3d(-24px, 14px, 20px) rotate(-5deg);
  z-index: 6;
  opacity: 0.92;
}

.pos-2 {
  transform: translate3d(-48px, 28px, -5px) rotate(-8.5deg);
  z-index: 5;
  opacity: 0.78;
}

.pos-3 {
  transform: translate3d(-72px, 42px, -30px) rotate(-12deg);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

.pos-4 {
  transform: translate3d(-72px, 42px, -30px) rotate(-12deg);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.pos-5 {
  transform: translate3d(-72px, 42px, -30px) rotate(-12deg);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.pos-6 {
  transform: translate3d(-72px, 42px, -30px) rotate(-12deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Shuffle animation (card slides out to the right) */
.shuffling {
  transform: translate3d(320px, -40px, 80px) rotate(22deg) scale(0.9) !important;
  opacity: 0 !important;
  z-index: 1 !important;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.28s ease !important;
}

/* Hint Text */
.card-deck-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  pointer-events: none;
  position: relative;
  z-index: 10;
}

.card-stack:hover + .card-deck-hint {
  color: var(--color-primary);
  opacity: 1;
  background: rgba(255, 90, 0, 0.05);
  border-color: rgba(255, 90, 0, 0.15);
}

.utopia-card .card-logo {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.utopia-card .card-chip {
  width: 44px;
  height: 32px;
  background: linear-gradient(135deg, #ffe066 0%, #f5b041 100%);
  border-radius: 6px;
  margin-top: 1rem;
}

.utopia-card .card-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 1.5rem 0 0.5rem 0;
}

.utopia-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utopia-card .card-footer .card-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.utopia-card .card-footer .card-contactless {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Features Grid (VAR 1) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 0, 0.25);
  box-shadow: 0 10px 30px rgba(255, 90, 0, 0.05);
}

.feature-item .feat-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.feature-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- SHARE MATCH CALCULATOR (VAR 2) --- */
.calc-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.calc-info .description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.info-alert {
  display: flex;
  gap: 1.25rem;
  background: rgba(123, 44, 191, 0.05);
  border: 1px solid rgba(123, 44, 191, 0.2);
  align-items: center;
}

.info-alert .alert-icon {
  font-size: 1.8rem;
}

.info-alert p {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* The Calculator Card */
.calc-card {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.calc-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.calc-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

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

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
}

.slider-labels label {
  color: var(--color-text);
}

.slider-value {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(255,90,0,0.1);
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
}

/* Custom Select Input */
.select-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.6)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.select-input:hover {
  border-color: rgba(255, 90, 0, 0.4);
  background-color: rgba(15, 23, 42, 0.8);
}

.select-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 90, 0, 0.2);
}

.select-input option {
  background-color: #0d1326;
  color: var(--color-text);
}

/* Custom Range Slider */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 3px solid #000;
  box-shadow: 0 0 10px rgba(255, 90, 0, 0.4);
  transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Calc Results Panel */
.calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.calc-results .res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.calc-results .res-row .highlight {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.res-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-box .layer-title {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.detail-box .layer-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.detail-box.locked {
  opacity: 0.55;
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.02);
  transition: all 0.3s ease;
}

.detail-box.locked .layer-val {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
}

.res-total-shares {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: rgba(255, 90, 0, 0.05);
  border: 1px solid rgba(255, 90, 0, 0.12);
  border-radius: 10px;
}

.total-shares-info, .total-value-info {
  display: flex;
  flex-direction: column;
}

.total-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.total-val {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 1.5rem;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
}

/* --- RWA SHOWCASE (VAR 3) --- */
.rwa-showcase {
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-header h3 {
  font-size: 1.25rem;
}

.live-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-indicator .dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1s infinite;
}

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

.asset-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.asset-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.asset-row .asset-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.asset-row .asset-trend {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
}

.asset-trend.positive {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.asset-trend.negative {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.showcase-footer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Stats Card (VAR 3) */
.stats-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-box .stat-num {
  font-family: var(--font-family-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .calc-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .variations-header {
    flex-direction: column;
    gap: 1rem;
    border-radius: 20px;
    padding: 1rem;
  }
  
  .switcher-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .user-profile {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .main-content {
    padding: 2rem 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .formula-box {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .card-3d-wrap {
    width: 300px;
    height: 190px;
  }
  
  .utopia-card {
    padding: 1.25rem;
  }
  
  .utopia-card .card-logo {
    font-size: 1.25rem;
  }
  
  .utopia-card .card-chip {
    width: 32px;
    height: 24px;
  }
  
  .utopia-card .card-number {
    font-size: 1rem;
  }
}

/* --- CLICKABLE FEATURE CARDS & OVERLAYS --- */

.clickable-feature {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s ease, 
              background-color 0.3s ease,
              border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.clickable-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255, 90, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 90, 0, 0.3);
}

.learn-more-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.8;
  transition: var(--transition);
}

.clickable-feature:hover .learn-more-link {
  opacity: 1;
  transform: translateX(5px);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 650px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.96) 0%, rgba(10, 15, 30, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem 2rem 3.5rem 2rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Custom Scrollbar for Modal Card */
.modal-card::-webkit-scrollbar {
  width: 6px;
}

.modal-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb {
  background: rgba(255, 90, 0, 0.35);
  border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 90, 0, 0.6);
}

.modal-overlay:not(.hidden) .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 2.25rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 10;
}

.modal-close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Modal Inner Content Styles */
.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

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

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

.modal-section h4 {
  font-family: var(--font-family-title);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

/* Key Value List inside Modal */
.kv-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.kv-item {
  display: flex;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.kv-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.kv-item h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.kv-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Mock Dashboard (U-Bank) */
.mock-wallet {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.wallet-balances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.balance-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
}

.balance-item.crypto {
  border-left-color: #f59e0b;
}

.balance-item span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.balance-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.wallet-actions {
  display: flex;
  gap: 0.75rem;
}

.wallet-actions .btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Pay Comparison Table (U-Pay) */
.compare-container {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.compare-input-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  width: 120px;
  font-size: 1rem;
  font-weight: 700;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th, .compare-table td {
  padding: 0.75rem;
  text-align: left;
  font-size: 0.85rem;
}

.compare-table th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-weight: 600;
}

.compare-table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table tr.highlight-row {
  background: rgba(255, 90, 0, 0.1);
}

.compare-table tr.highlight-row td {
  color: #fff;
  font-weight: 600;
}

.compare-table tr.highlight-row td:first-child {
  border-left: 3px solid var(--color-primary);
}

/* Income Stream Selector & Calculator (U-Earn) */
.stream-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stream-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.stream-tab.active {
  background: var(--color-primary);
  color: #fff;
}

.stream-content {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: 16px;
  min-height: 250px;
}

.stream-calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stream-calc-results {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--color-primary);
}

.stream-calc-results h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
}

/* Language Selector Dropdown */
.lang-selector-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000; /* Floating above everything, including modal and auth-gate */
}

.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-family-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lang-selector-btn .arrow-icon {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.lang-selector-btn.active .arrow-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 160px;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-dropdown-menu.hidden {
  display: none;
}

/* Custom Scrollbar for Language Dropdown */
.lang-dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
.lang-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lang-option.selected {
  background: rgba(255, 90, 0, 0.15);
  color: var(--color-primary);
  font-weight: 600;
}

.lang-option .flag-icon {
  font-size: 1.1rem;
}

/* RTL (Right to Left) Styles */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .lang-selector-container {
  right: auto;
  left: 1.5rem;
}

html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-split {
  flex-direction: row-reverse;
}

html[dir="rtl"] .switcher-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .card-stack {
  direction: ltr; /* Card stack remains in LTR to keep rotations looking correct */
}

html[dir="rtl"] .res-row, 
html[dir="rtl"] .total-shares-info,
html[dir="rtl"] .total-value-info {
  flex-direction: row-reverse;
}

html[dir="rtl"] .detail-box {
  text-align: right;
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.5rem;
}

html[dir="rtl"] .user-profile {
  flex-direction: row-reverse;
}


/* --- CTA Forms, Calendar Downloads, and Email Simulator Styling --- */

/* CTA Modal customization */
.cta-modal-card {
  max-width: 580px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
}

/* Custom form components */
.cta-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

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

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

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

.cta-label {
  font-family: var(--font-family-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.cta-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}

.cta-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
}

.cta-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.cta-select {
  cursor: pointer;
}

/* Radio groups & segment controls */
.contact-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.method-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.method-tab:hover {
  background: rgba(255, 255, 255, 0.08);
}

.method-tab.active {
  border-color: var(--color-primary);
  background: rgba(255, 90, 0, 0.1);
  color: var(--color-primary);
}

/* Checkbox scheduling list */
.times-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

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

.time-checkbox-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.time-checkbox-wrapper:hover {
  background: rgba(255, 255, 255, 0.06);
}

.time-checkbox-wrapper.checked {
  border-color: var(--color-primary);
  background: rgba(255, 90, 0, 0.06);
}

.time-checkbox-wrapper input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.time-label-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Consent Checkbox */
.consent-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

.consent-checkbox-wrapper input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  cursor: pointer;
}

.consent-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Validation errors */
.validation-error {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.25rem;
  display: none;
}

.cta-input.error-border {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

/* Success layout */
.success-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: bounce 1s infinite alternate;
}

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

.success-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.success-desc {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  max-width: 440px;
}

.calendar-downloads-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-downloads-box h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.btn-download-cal {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-download-cal:hover {
  background: rgba(255, 90, 0, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --- Toast Notifications --- */
.toast-container-top-right {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-notification {
  background: rgba(15, 22, 42, 0.85);
  border: 1px solid var(--color-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(120%);
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: var(--transition);
}

.toast-notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -5px rgba(255, 90, 0, 0.2);
}

.toast-notification.hide {
  animation: slideOutToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
  to { transform: translateX(0); }
}

@keyframes slideOutToast {
  from { transform: translateX(0); }
  to { transform: translateX(120%); }
}

/* --- Floating Email Badge --- */
.email-badge-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 22, 42, 0.6);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: floatEmailBtn 3s ease-in-out infinite;
}

@keyframes floatEmailBtn {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.email-badge-floating:hover {
  background: rgba(255, 90, 0, 0.15);
  border-color: var(--color-primary);
  transform: scale(1.08) translateY(-3px);
  animation-play-state: paused;
}

.email-badge-floating .email-icon {
  font-size: 1.5rem;
}

.email-badge-floating .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* --- Simulated Email Inbox Drawer Overlay --- */
.email-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 15, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.email-inbox-card {
  width: 460px;
  max-width: 100%;
  height: 100vh;
  border-radius: 0;
  border-left: 1px solid var(--color-border);
  border-top: none;
  border-right: none;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: -15px 0 30px rgba(0, 0, 0, 0.4);
  animation: slideDrawerIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDrawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.email-inbox-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email-inbox-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

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

.email-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.email-inbox-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  position: relative;
}

/* Email list */
.email-list-view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.email-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.email-item.unread {
  border-left: 3px solid var(--color-primary);
  background: rgba(255, 90, 0, 0.03);
}

.email-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.email-item-sender {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.email-item-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.email-item-subject {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-item-preview {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Email Reader view */
.email-reader-view {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.email-meta-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.email-meta-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.email-meta-info span {
  color: #fff;
}

.email-body-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  white-space: pre-line;
  padding: 0 0.5rem;
}

/* RTL adjustment for email drawer */
html[dir="rtl"] .email-modal-overlay {
  justify-content: flex-start;
}

html[dir="rtl"] .email-inbox-card {
  border-left: none;
  border-right: 1px solid var(--color-border);
  animation: slideDrawerInRtl 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDrawerInRtl {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

html[dir="rtl"] .email-item.unread {
  border-left: none;
  border-right: 3px solid var(--color-primary);
}

/* Running Ticker Bar for Recent Leads */
.leads-ticker-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(13, 19, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
  font-family: var(--font-family-body);
  font-size: 0.85rem;
  color: #fff;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.leads-ticker-bar.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-marquee 25s linear infinite;
  font-weight: 500;
}

.ticker-content span {
  display: inline-block;
  padding-right: 3rem;
  color: rgba(255, 255, 255, 0.95);
}

.ticker-content strong {
  color: var(--color-primary);
  font-weight: 700;
}

@keyframes ticker-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Interactive Slideshow Modal Mode --- */
.cta-modal-card.slideshow-mode {
  max-width: 900px !important;
  width: 95% !important;
  max-height: 95vh !important;
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.slideshow-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

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

.slideshow-title {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Language Toggle Group */
.slideshow-lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2px;
}

.lang-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-family-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 90, 0, 0.3);
}

/* Viewport with 16:9 Aspect Ratio */
.slideshow-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090b11;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.slideshow-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease-in-out;
}

/* Navigation Arrows */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(13, 19, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 300;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slideshow-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255, 90, 0, 0.4);
}

.slideshow-arrow.prev-btn {
  left: 1rem;
  padding-right: 2px;
}

.slideshow-arrow.next-btn {
  right: 1rem;
  padding-left: 2px;
}

/* Fullscreen Button */
.slideshow-fullscreen-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(13, 19, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slideshow-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.slideshow-fullscreen-btn .fs-icon {
  font-size: 1rem;
}

/* Fullscreen Mode Styling */
.slideshow-viewport.fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 99999 !important;
}

.slideshow-viewport.fullscreen .slideshow-img {
  max-width: 100vw;
  max-height: 100vh;
}

/* Controls Footer */
.slideshow-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.slideshow-counter {
  font-family: var(--font-family-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Progress bar style */
.slideshow-dots {
  flex: 1;
  max-width: 180px;
  margin-left: 1.5rem;
}

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

.slideshow-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.2s ease-in-out;
}

/* Persistent CTA Banner */
.slideshow-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 0, 0.2);
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.04) 0%, rgba(147, 51, 234, 0.04) 100%);
  margin-bottom: 0.5rem;
}

.cta-banner-text {
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.cta-banner-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  white-space: nowrap;
  animation: pulse-button 2.5s infinite;
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 90, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 0, 0);
  }
}

/* Calendar Button Adjustments for Slideshow Success Screen */
.slideshow-cal-box {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 1.25rem !important;
  border-radius: 12px !important;
}

.slideshow-cal-box h4 {
  font-size: 0.85rem !important;
  margin-bottom: 0.25rem !important;
}

.slideshow-cal-box p {
  margin-bottom: 0.75rem !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .cta-modal-card.slideshow-mode {
    padding: 1rem !important;
    width: 95% !important;
    max-height: 98vh !important;
  }
  
  .slideshow-title {
    font-size: 1.1rem;
  }
  
  .slideshow-viewport {
    aspect-ratio: 16 / 10; /* slightly taller on mobile to fit controls better */
  }
  
  .slideshow-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }
  
  .slideshow-arrow.prev-btn {
    left: 0.5rem;
  }
  
  .slideshow-arrow.next-btn {
    right: 0.5rem;
  }
  
  .slideshow-cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .cta-banner-btn {
    width: 100%;
  }
  
  .slideshow-dots {
    display: none; /* hide dots on mobile to save space */
  }
  
  .slideshow-controls {
    margin-bottom: 1rem;
  }
}

/* --- Q&A / FAQ SECTION STYLES (VAR 4) --- */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.faq-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  align-items: start;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-search-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.faq-search-box input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 90, 0, 0.2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar for FAQ List */
.faq-list::-webkit-scrollbar {
  width: 4px;
}
.faq-list::-webkit-scrollbar-track {
  background: transparent;
}
.faq-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.faq-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.faq-item-btn {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.faq-item-btn.active {
  background: rgba(255, 90, 0, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(255, 90, 0, 0.1);
}

.faq-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.faq-item-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.faq-item-time {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.faq-item-question {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-content-pane {
  padding: 2.5rem;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.faq-pane-text-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-pane-video-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.faq-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.2);
}

.faq-video-wrapper iframe,
.faq-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}

/* Frage-Overlay über dem Video */
.video-question-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-question-overlay.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-question-overlay .overlay-text {
  font-family: var(--font-family-title);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.video-permanent-title {
  font-family: var(--font-family-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 90, 0, 0.08);
  border-left: 3px solid var(--color-primary);
  padding: 0.6rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 90, 0, 0.15);
  border-left-width: 3px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s ease;
}

/* Qualitäts-Steuerung */
.video-quality-controls {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 12;
  opacity: 0.2; /* Dezent ausgeblendet standardmäßig */
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

/* Zeigen bei Hover auf den gesamten Video-Wrapper */
.faq-video-wrapper:hover .video-quality-controls {
  opacity: 1;
}

.quality-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 15px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quality-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.quality-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 90, 0, 0.4);
}

.faq-group-title {
  font-family: var(--font-family-title);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin: 1.5rem 0 0.75rem 0;
  padding-left: 0.5rem;
  border-left: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-group-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.3) 0%, rgba(255, 90, 0, 0) 100%);
  margin-left: 0.5rem;
}

.faq-group-title:first-of-type {
  margin-top: 0.5rem;
}

@media (max-width: 1100px) {
  .faq-content-pane {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.pane-header-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.faq-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 90, 0, 0.15);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 90, 0, 0.25);
  letter-spacing: 0.05em;
}

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

.faq-content-pane h2 {
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #fff;
}

.active-faq-body-container {
  flex: 1;
}

.faq-content-pane p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.faq-content-pane p strong {
  color: #fff;
  font-weight: 700;
}

.faq-video-ref {
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.faq-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

.faq-no-results {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Responsive adjustment for FAQ split layout */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  
  .faq-list {
    max-height: 300px;
  }
}

