:root {
  --zenith-void: #000000;
  --zenith-blood: #ff0000;
  --zenith-bone: #ffffff;
  --zenith-embers: #ff4d4d;
  --zenith-ash: #333333;
  --zenith-mist: rgba(255, 255, 255, 0.1); 
  
  --font-arabic: 'El Messiri', 'Scheherazade New', serif;
  --font-latin: 'Cinzel Decorative', serif;
  
  --quantum-unit: 1rem;
  --cosmic-gap: calc(var(--quantum-unit) * 1.618);
  
  --time-slow:1s cubic-bezier(0.77, 0, 0.175, 1);
  --time-medium: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  --time-fast: 0.2s cubic-bezier(0.77, 0, 0.175, 1);
}

body {
  font-family: var(--font-arabic);
  color: var(--zenith-bone);
  background: var(--zenith-void);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
 
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.zenith-welcome-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  padding-top: 80px; 
  padding-bottom: 80px; 
}

.welcome-container {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
}
  
.cosmic-background {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--zenith-void) 0%, #0a0a0a 100%);
  z-index: -3;
}

.quantum-dots {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, var(--zenith-bone) 1px, transparent 2px),
    radial-gradient(1px 1px at 30% 50%, var(--zenith-bone) 1px, transparent 2px),
    radial-gradient(1px 1px at 70% 80%, var(--zenith-bone) 1px, transparent 2px),
    radial-gradient(1px 1px at 90% 40%, var(--zenith-bone) 1px, transparent 2px);
  background-size: 200px 200px;
  z-index: -2;
  opacity: 0.1;
 
}

.zenith-signature {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  font-family: var(--font-latin);
  font-size: 1.5rem;
  color: var(--zenith-mist);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: -1;
  user-select: none;
  transition: all var(--time-medium);
  cursor: pointer;
}

.zenith-signature:hover {
  color: var(--zenith-embers);
  text-shadow: 0 0 10px var(--zenith-blood);
}
 

.zenith-title {
  font-family: var(--font-latin);
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--zenith-embers);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--zenith-blood);
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(20px);
  display: inline-flex;
  justify-content: center;
  width: 100%;
  contain: layout paint;
} 

.zenith-title::before, .zenith-title::after {
  content: '✧';
  position: absolute;
  color: var(--zenith-bone);
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.zenith-title::before { left: -50px; }
.zenith-title::after { right: -50px; }
  

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .zenith-title {
    opacity: 1 !important; 
    text-shadow: none !important;
    font-family: 'El Messiri', sans-serif;  
  }
  
  .cosmic-background, .quantum-dots {
    background-attachment: scroll !important;  
  }

  
  .welcome-image-column {
    order: 2;
  }
  
  .welcome-content-column {
    order: 1;
  }
}
 
.welcome-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.zenith-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
}

.zenith-main-title {
  font-family: var(--font-latin);
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--zenith-embers);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-shadow: 0 0 15px var(--zenith-blood);
  letter-spacing: 3px;
  contain: layout paint;
}

.zenith-main-title::before, 
.zenith-main-title::after {
  content: '✧';
  position: absolute;
  color: var(--zenith-bone);
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.zenith-main-title::before { left: -50px; }
.zenith-main-title::after { right: -50px; }

.title-decorator {
  color: var(--zenith-embers);
  font-size: 1.5rem;
  opacity: 0.7;
  transition: all var(--time-medium);
} 

.zenith-hero-image {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 2rem 0;
}

.dimensional-frame {
  position: relative;
  width: 100%;
  padding: 8px;
  background: linear-gradient(145deg, 
    rgba(255, 0, 0, 0.3), 
    rgba(255, 0, 0, 0.1), 
    rgba(255, 0, 0, 0.3));
  border-radius: 8px;
  box-shadow: 
    0 0 20px rgba(255, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 0, 0, 0.1);
  transition: all var(--time-medium);
}

.dimensional-frame:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 5px 30px rgba(255, 0, 0, 0.4),
    inset 0 0 30px rgba(255, 0, 0, 0.2);
}

.zenith-portrait {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  filter: grayscale(15%) contrast(110%);
  transition: all var(--time-medium);
}

.dimensional-frame:hover .zenith-portrait {
  filter: grayscale(0%) contrast(120%);
}

.frame-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 50%,
    rgba(255, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

.zenith-hero-actions {
  margin-top: 2rem;
  width: 100%;
  max-width: 300px;
}

.dimensional-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.2rem 2rem;
  background: transparent;
  color: var(--zenith-bone);
  border: 2px solid var(--zenith-blood);
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--time-medium);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dimensional-button:hover {
  background: var(--zenith-blood);
  color: var(--zenith-void);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.dimensional-button .button-icon {
  margin-right: 0.5rem;
  transition: transform var(--time-fast);
}
  
.zenith-manifesto {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.manifesto-container {
  position: relative;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
}

.manifesto-content {
  position: relative;
  z-index: 2;
}

.manifesto-text {
  font-family: var(--font-arabic);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--zenith-bone);
  line-height: 2;
  margin-bottom: 1.5rem;
  text-align: center;
}

.manifesto-line {
  display: block;
}

.manifesto-divider {
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, 
    transparent, 
    var(--zenith-blood), 
    transparent);
  margin: 1.5rem auto;
  opacity: 0.5;
}
  
@media (max-width: 768px) {
  .zenith-manifesto {
    padding: 0;
    max-width: 500%;
    width: 100%;
  }

  .manifesto-container {
    padding: 2rem 1.5rem !important;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid var(--zenith-blood) !important;
    box-shadow: 
      0 0 30px rgba(255, 0, 0, 0.4),
      inset 0 0 30px rgba(255, 0, 0, 0.3) !important;
    border-radius: 0 !important;

  }

  .manifesto-content {
    padding: 0;
  }

  .manifesto-text {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
  }

  .manifesto-line {
    display: block;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .manifesto-divider {
    width: 80% !important;
    margin: 1.2rem auto !important;
    height: 2px;
    background: linear-gradient(to right, 
      transparent, 
      var(--zenith-blood), 
      transparent) !important;
    opacity: 0.7 !important;
  }
}


/* FAQzenith */
.zenith-questionarium {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 0, 0, 0.3);
  margin: 3rem 0;
}

.zenith-questionarium::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/img/logo-zenith.webp') repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

.quantum-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.philosophical-prelude {
  text-align: center;
  margin-bottom: 3rem;
}

.existential-header {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--zenith-embers);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.ontological-subheader {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.dialectic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .dialectic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
 
.thesis-antithesis {
  position: relative;
  background: rgba(10, 10, 10, 0.5);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--time-medium); 
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: 
    0 0 20px rgba(255, 0, 0, 0.2),
    inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.thesis-antithesis::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, 
    rgba(255, 0, 0, 0.3), 
    rgba(255, 0, 0, 0.1), 
    rgba(255, 0, 0, 0.3));
  mask: linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: all var(--time-medium);
}

.thesis-antithesis:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 5px 30px rgba(255, 0, 0, 0.4),
    inset 0 0 30px rgba(255, 0, 0, 0.2);
}

.thesis-antithesis:hover::before {
  border-color: var(--zenith-blood);
  background: linear-gradient(145deg, 
    rgba(255, 0, 0, 0.5), 
    rgba(255, 0, 0, 0.2), 
    rgba(255, 0, 0, 0.5));
}
 
.query-text {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--zenith-bone);
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 77, 77, 0.3);
}

.synthesis-content {
  padding: 0 1.5rem 1.5rem;
  position: relative;
}

.synthesis-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 50%,
    rgba(255, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.synthesis-content p {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.existential-list {
  list-style-type: none;
  padding-right: 1rem;
}

.existential-list li {
  position: relative;
  padding-bottom: 0.5rem;
  font-family: var(--font-arabic);
  color: rgba(255,255,255,0.7);
}

.existential-list li::before {
  content: "•";
  position: absolute;
  right: -1rem;
  color: var(--zenith-embers);
}
  
 
@media (max-width: 767px) {
  .thesis-antithesis {
    margin-bottom: 1.5rem;
  }
  
  .query-text {
    font-size: 1.1rem;
  }
  
  .dialectic-grid {
    grid-template-columns: 1fr;
  }
}
   
.dimensional-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
  background: var(--zenith-blood);
  color: var(--zenith-void);
}
 
 
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}
 
[dir="rtl"] .zenith-signature {
  left: auto;
  right: 2rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

[dir="ltr"] .zenith-signature {
  right: auto;
  left: 2rem;
  writing-mode: vertical-lr;
  transform: none;
}
 
[dir="ltr"] .manifesto-text,
[dir="ltr"] .synthesis-content p,
[dir="ltr"] .query-text {
  text-align: left;
}

[dir="ltr"] .zenith-main-title::before {
  left: auto;
  right: -50px;
}

[dir="ltr"] .zenith-main-title::after {
  right: auto;
  left: -50px;
}

[dir="ltr"] .dimensional-button .button-icon {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="ltr"] .existential-list li::before {
  right: auto;
  left: -1rem;
}